sealed abstract class CryptoGenerators extends AnyRef

Created by chris on 6/22/16.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CryptoGenerators
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adaptorSignature: Gen[ECAdaptorSignature]
  5. def aesEncryptedData: Gen[AesEncryptedData]
  6. def aesIV: Gen[AesIV]
  7. def aesKey: Gen[AesKey]
  8. def aesKey128Bit: Gen[AesKey]
  9. def aesKey192Bit: Gen[AesKey]
  10. def aesKey256Bit: Gen[AesKey]
  11. def aesPassword: Gen[AesPassword]
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def bip39Password: Gen[String]

    Generates a password that can be used with bip39

    Generates a password that can be used with bip39

    See also

    https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#From_mnemonic_to_seed

  14. def bip39SeedNoPassword: Gen[BIP39Seed]

    Generates a valid BIP39 seed from an mnemonic with no password

  15. def bip39SeedWithPassword: Gen[BIP39Seed]

    Generates a valid BIP39 seed from an mnemonic with a random password

  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  17. def digitalSignature: Gen[ECDigitalSignature]

    Generates a random digital signature

  18. def digitalSignatureWithSigHash: Gen[ECDigitalSignature]
  19. def doubleSha256Digest: Gen[DoubleSha256Digest]

    Generates a random DoubleSha256Digest

  20. def doubleSha256DigestBE: Gen[DoubleSha256DigestBE]
  21. def doubleSha256DigestSeq(num: Int): Gen[Seq[DoubleSha256Digest]]

    Generates a sequence of DoubleSha256Digest

    Generates a sequence of DoubleSha256Digest

    num

    the number of digets to generate

  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def extKey: Gen[ExtKey]
  25. def extPrivateKey: Gen[ExtPrivateKey]

    Generates an ExtPrivateKey

  26. def extPublicKey: Gen[ExtPublicKey]
  27. def extVersion: Gen[ExtKeyVersion]
  28. def fieldElement: Gen[FieldElement]
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  30. def genKey: Gen[SipHashKey]
  31. def genPMRand: Gen[(UInt8, UInt64, UInt64)]
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hashType: Gen[HashType]

    Generates a random HashType

  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def largeFieldElement: Gen[FieldElement]
  37. def mnemonicCode: Gen[MnemonicCode]
  38. def mnemonicCode128Bits: Gen[MnemonicCode]
  39. def mnemonicCode160Bits: Gen[MnemonicCode]
  40. def mnemonicCode192Bits: Gen[MnemonicCode]
  41. def mnemonicCode224Bits: Gen[MnemonicCode]
  42. def mnemonicCode256Bits: Gen[MnemonicCode]
  43. def mnemonicPhrase: Gen[Vector[String]]

    Generates a BIP39 valid mnemonic phrase

  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def nonZeroFieldElement: Gen[FieldElement]
  46. def nonZeroPrivKey: Gen[ECPrivateKey]

    Generates a random non-zero private key

  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. def privateKey: Gen[ECPrivateKey]
  50. def privateKeySeq(num: Int): Gen[Seq[ECPrivateKey]]

    Generate a sequence of private keys

    Generate a sequence of private keys

    num

    maximum number of keys to generate

  51. def privateKeySeqWithRequiredSigs: Gen[(Seq[ECPrivateKey], Int)]

    Generates a random number of private keys less than 15.

    Generates a random number of private keys less than 15. Also generates a random 'requiredSigs' number that a transaction needs to be signed with

  52. def privateKeySeqWithRequiredSigs(num: Int): Gen[(Seq[ECPrivateKey], Int)]

    Generates a sequence of private keys, and determines an amount of 'required' private keys that a transaction needs to be signed with

    Generates a sequence of private keys, and determines an amount of 'required' private keys that a transaction needs to be signed with

    num

    the maximum number of keys to generate

  53. def publicKey: Gen[ECPublicKey]

    Generates a random public key

  54. def reallySmallFieldElement: Gen[FieldElement]
  55. def schnorrDigitalSignature: Gen[SchnorrDigitalSignature]
  56. def schnorrDigitalSignatureHashType: Gen[SchnorrDigitalSignature]
  57. def schnorrDigitalSignatureNoHashType: Gen[SchnorrDigitalSignature]
  58. def schnorrNonce: Gen[SchnorrNonce]
  59. def schnorrPublicKey: Gen[SchnorrPublicKey]
  60. def sha256Digest: Gen[Sha256Digest]
  61. def sha256DigestBE: Gen[Sha256DigestBE]
  62. def sha256Hash160Digest: Gen[Sha256Hash160Digest]

    Generates a random Sha256Hash160Digest

  63. def smallFieldElement: Gen[FieldElement]
  64. def smallPrivateKeySeqWithRequiredSigs: Gen[(Seq[ECPrivateKey], Int)]

    A generator with 7 or less private keys -- useful for creating smaller scripts

  65. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  66. def taprootHashType: Gen[HashType]
  67. def toString(): String
    Definition Classes
    AnyRef → Any
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  71. def xOnlyPubKey: Gen[XOnlyPubKey]
  72. object entropy

Inherited from AnyRef

Inherited from Any

Ungrouped