decrypt
decrypt(
ciphertext,decryptionKey):Uint8Array
Defined in: crypto.ts:179
Decrypt with the identity’s decryption key (G1, 48 bytes compressed). Throws when the ciphertext does not open consistently under that key (wrong key, or a ciphertext changed after encryption).
Parameters
Section titled “Parameters”ciphertext
Section titled “ciphertext”decryptionKey
Section titled “decryptionKey”Returns
Section titled “Returns”Uint8Array