SBT Encrypt
Use algon2 + chacha20.
Usage
import { decrypt, encrypt } from 'sbt-encrpyt'
const encrypted = await encrypt('data', 'password')
const decrypted = await decrypt(encrypted, 'password')
Use algon2 + chacha20.
import { decrypt, encrypt } from 'sbt-encrpyt'
const encrypted = await encrypt('data', 'password')
const decrypted = await decrypt(encrypted, 'password')
npm i sbt-encrypt
1
0.4.1
none
6.68 kB
6