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 aesEncryptedData: Gen[AesEncryptedData]
  5. def aesIV: Gen[AesIV]
  6. def aesKey: Gen[AesKey]
  7. def aesKey128Bit: Gen[AesKey]
  8. def aesKey192Bit: Gen[AesKey]
  9. def aesKey256Bit: Gen[AesKey]
  10. def aesPassword: Gen[AesPassword]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. 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

  13. def bip39SeedNoPassword: Gen[BIP39Seed]

    Generates a valid BIP39 seed from an mnemonic with no password

  14. def bip39SeedWithPassword: Gen[BIP39Seed]

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

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

    Generates a random digital signature

  17. def doubleSha256Digest: Gen[DoubleSha256Digest]

    Generates a random DoubleSha256Digest

  18. def doubleSha256DigestSeq(num: Int): Gen[Seq[DoubleSha256Digest]]

    Generates a sequence of DoubleSha256Digest

    Generates a sequence of DoubleSha256Digest

    num

    the number of digets to generate

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def extKey: Gen[ExtKey]
  22. def extPrivateKey: Gen[ExtPrivateKey]

    Generates an ExtPrivateKey

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

    Generates a random HashType

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

    Generates a BIP39 valid mnemonic phrase

  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def nonZeroFieldElement: Gen[FieldElement]
  43. def nonZeroPrivKey: Gen[ECPrivateKey]

    Generates a random non-zero private key

  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. def privateKey: Gen[ECPrivateKey]
  47. 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

  48. 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

  49. 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

  50. def publicKey: Gen[ECPublicKey]

    Generates a random public key

  51. def reallySmallFieldElement: Gen[FieldElement]
  52. def schnorrDigitalSignature: Gen[SchnorrDigitalSignature]
  53. def schnorrNonce: Gen[SchnorrNonce]
  54. def schnorrPublicKey: Gen[SchnorrPublicKey]
  55. def sha256Digest: Gen[Sha256Digest]
  56. def sha256Hash160Digest: Gen[Sha256Hash160Digest]

    Generates a random Sha256Hash160Digest

  57. def smallFieldElement: Gen[FieldElement]
  58. def smallPrivateKeySeqWithRequiredSigs: Gen[(Seq[ECPrivateKey], Int)]

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

  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def toString(): String
    Definition Classes
    AnyRef → Any
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  64. object entropy

Inherited from AnyRef

Inherited from Any

Ungrouped