Gets the external library calls that replace our cryptographic method calls
Sets external library calls that replace our cryptographic method calls
Returns if the underlying cryptographic library is of the Node.js C++ Addon type
Returns the underlying cryptographic library name
Returns the underlying cryptographic library type
Static
external_Gets the external library calls that replace our cryptographic method calls
Sets external library calls that replace our cryptographic method calls
Static
is_Returns if the underlying cryptographic library is of the Node.js C++ Addon type
Static
library_Returns the underlying cryptographic library name
Static
library_Returns the underlying cryptographic library type
Decrypts the data from the provided hexidecimal encoded encrypted string using the supplied password
Optional
iterations: numberChecks a borromean ring signature to verify that it was created by one of the candidate public keys
Checks that a Bulletproof proof is valid
Checks that a Bulletproof+ proof is valid
Checks a CLSAG ring signature to verify that it was created by one of the candidate public keys.
Optional
commitments: string[]Verifies that the sum of output pedersen commitments plus a pedersen commitment of the transaction fee are equal to the sum of pseudo pedersen commitments
Verifies the proof provides using the public ephemerals by decoding the Base58 proof, extracting the key images, the signatures, and then verifying if those signatures are all valid, in which case, the key images are returned
Checks a Triptych ring signature to verify that it was created by one of the candidate public keys.
Completes a previously prepared borromean ring signature
Completes a previously prepared CLSAG ring signature
Completes a previously prepared Triptych ring signature
Recovers entropy from a mnemonic phrase or a list of mnemonic phrase words
Generates a borromean ring signature for the message digest using the secret key specified and the list of all possible public key signing candidates
Generates a Bulletproof Zero-Knowledge proof of the amount(s) specified
Generates a Bulletproof+ Zero-Knowledge proof of the amount(s) specified
Generates a Hierarchical Deterministic Key Pair using the provided path
Optional
purposeOrPath: string | numberthe purpose (numeric) or path (e.g. m/44'/0'/1/3)
Optional
coin_type: numberOptional
account: numberOptional
change: numberOptional
address_index: numberGenerates a CLSAG ring signature for the message digest using the secret key specified and the list of all possible public key signing candidates.
Optionally, we also include proof that we have the real values of the values hidden within pedersen commitments
Optional
input_blinding_factor: stringOptional
public_commitments: string[]Optional
pseudo_blinding_factor: stringOptional
pseudo_commitment: stringGenerates a secret & public key pair
Generates proof of having the secret ephemerals specified by generating the relevant public keys, key_images, and signature for each and encoding the necessary information into a Base58 encoded string that can be provided to a verified that already has the public ephemerals
Generates a list of random blinding factors and pseudo output commitments from the list of input amounts and the output commitments while proving them to a zero-sum
Generates a Triptych ring signature for the message digest using the secret key specified and the list of all possible public key signing candidates.
Optionally, we also include proof that we have the real values of the values hidden within pedersen commitments
Generates a hardened Hierarchical Deterministic Key path
Optional
purposeOrPath: string | numberthe purpose (numeric) or path (e.g. m/44'/0'/1/3)
Optional
coin_type: numberOptional
account: numberOptional
change: numberOptional
address_index: numberDecodes a mnemonic phrase or list of mnenomic words into as seed value
Encodes the supplied seed into a list of mnemonic words
Returns the index number of the specified mnemonic word
Prepares a borromean ring signature for the message digest such that it can be completed in later stages of signature construction
Prepares a CLSAG ring signature for the message digest such that it can be completed in later stages of signature construction
Optional
input_blinding_factor: stringOptional
public_commitments: string[]Optional
pseudo_blinding_factor: stringOptional
pseudo_commitment: stringPrepares a Triptych ring signature for the message digest such that it can be completed in later stages of signature construction
Calculates the secret scalar and public key for the provided ED25519 private key (aka seed)
Generates a random entropy value
Optional
entropy: stringMuch like derive_public_key() but calculates the public_key used from the public ephemeral
Note: B = P - [H(D || output_index) mod l]
Returns the list of mnemonic words
Returns the list of mnemonic words that have been trimmed to the minimum number of characters per word
Static
force_Static
force_Static
initInitializes a new instance of this class after attempting to load the underlying cryptographic library in the order the fastest running library to the slowest
We cannot create a new instance using this method as we need to await the loading of an underlying module, hence, we need to await the static init() method on this class to receive an instance of the class