0.4.1 • Published 1 year ago
sbt-encrypt v0.4.1
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')