lib/symmetricCrypto
Api Code Documentation / Exports / lib/symmetricCrypto
#
Table of contents#
Functions#
Functions#
decryptâ–¸ decrypt(organizationSecret
, hexEncodedCiphertext
): Type
<string
>
Decrypts a hex-encoded ciphertext and returns the resulting string.
#
ParametersName | Type |
---|---|
organizationSecret | string |
hexEncodedCiphertext | string |
#
ReturnsType
<string
>
#
Defined in#
encryptâ–¸ encrypt(organizationSecret
, plaintext
): string
Encrypts a string and returns resulting hex-encoded ciphertext.
#
ParametersName | Type |
---|---|
organizationSecret | string |
plaintext | string |
#
Returnsstring