toCiphertextEnvelopeString
toCiphertextEnvelopeString(
ciphertext):string
Defined in: packages/core/src/crypto/types.ts:535
Serializes provider ciphertext for storage. An envelope object must be a v1 envelope; a string is the provider’s own serialized form and is kept as is.
Parameters
Section titled “Parameters”ciphertext
Section titled “ciphertext”string | CryptoEnvelope
Returns
Section titled “Returns”string