Function: encryptContent()
ts
function encryptContent(content, options): Promise<string>;
Defined in: packages/valaxy/node/utils/encrypt.ts:40
Parameters
content
string
options
iv
Uint8Array
password
string
salt
Uint8Array
Returns
Promise
<string
>
See
https://github.com/mdn/dom-examples/blob/main/web-crypto/encrypt-decrypt/aes-cbc.js