decryptWithKey
decryptWithKey(
input,ciphertext):object
Defined in: packages/core/src/utils/encrypt.ts:64
Like decrypt, also reporting which key matched.
Parameters
Section titled “Parameters”ciphertext
Section titled “ciphertext”string
Returns
Section titled “Returns”object
keyUsed
Section titled “keyUsed”keyUsed:
KeyUsed
plaintext
Section titled “plaintext”plaintext:
string