sealed abstract class CryptoGenerators extends AnyRef
Created by chris on 6/22/16.
- Alphabetic
- By Inheritance
- CryptoGenerators
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def adaptorSignature: Gen[ECAdaptorSignature]
- def aesEncryptedData: Gen[AesEncryptedData]
- def aesIV: Gen[AesIV]
- def aesKey: Gen[AesKey]
- def aesKey128Bit: Gen[AesKey]
- def aesKey192Bit: Gen[AesKey]
- def aesKey256Bit: Gen[AesKey]
- def aesPassword: Gen[AesPassword]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def bip39SeedNoPassword: Gen[BIP39Seed]
Generates a valid BIP39 seed from an mnemonic with no password
- def bip39SeedWithPassword: Gen[BIP39Seed]
Generates a valid BIP39 seed from an mnemonic with a random password
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def digitalSignature: Gen[ECDigitalSignature]
Generates a random digital signature
- def digitalSignatureWithSigHash: Gen[ECDigitalSignature]
- def doubleSha256Digest: Gen[DoubleSha256Digest]
Generates a random DoubleSha256Digest
- def doubleSha256DigestBE: Gen[DoubleSha256DigestBE]
- def doubleSha256DigestSeq(num: Int): Gen[Seq[DoubleSha256Digest]]
Generates a sequence of DoubleSha256Digest
Generates a sequence of DoubleSha256Digest
- num
the number of digets to generate
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extKey: Gen[ExtKey]
- def extPrivateKey: Gen[ExtPrivateKey]
Generates an ExtPrivateKey
- def extPublicKey: Gen[ExtPublicKey]
- def extVersion: Gen[ExtKeyVersion]
- def fieldElement: Gen[FieldElement]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def genKey: Gen[SipHashKey]
- def genPMRand: Gen[(UInt8, UInt64, UInt64)]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashType: Gen[HashType]
Generates a random HashType
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def largeFieldElement: Gen[FieldElement]
- def mnemonicCode: Gen[MnemonicCode]
- def mnemonicCode128Bits: Gen[MnemonicCode]
- def mnemonicCode160Bits: Gen[MnemonicCode]
- def mnemonicCode192Bits: Gen[MnemonicCode]
- def mnemonicCode224Bits: Gen[MnemonicCode]
- def mnemonicCode256Bits: Gen[MnemonicCode]
- def mnemonicPhrase: Gen[Vector[String]]
Generates a BIP39 valid mnemonic phrase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonZeroFieldElement: Gen[FieldElement]
- def nonZeroPrivKey: Gen[ECPrivateKey]
Generates a random non-zero private key
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def privateKey: Gen[ECPrivateKey]
- 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
- 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
- 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
- def publicKey: Gen[ECPublicKey]
Generates a random public key
- def reallySmallFieldElement: Gen[FieldElement]
- def schnorrDigitalSignature: Gen[SchnorrDigitalSignature]
- def schnorrDigitalSignatureHashType: Gen[SchnorrDigitalSignature]
- def schnorrDigitalSignatureNoHashType: Gen[SchnorrDigitalSignature]
- def schnorrNonce: Gen[SchnorrNonce]
- def schnorrPublicKey: Gen[SchnorrPublicKey]
- def sha256Digest: Gen[Sha256Digest]
- def sha256DigestBE: Gen[Sha256DigestBE]
- def sha256Hash160Digest: Gen[Sha256Hash160Digest]
Generates a random Sha256Hash160Digest
- def smallFieldElement: Gen[FieldElement]
- def smallPrivateKeySeqWithRequiredSigs: Gen[(Seq[ECPrivateKey], Int)]
A generator with 7 or less private keys -- useful for creating smaller scripts
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def taprootHashType: Gen[HashType]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def xOnlyPubKey: Gen[XOnlyPubKey]
- object entropy