Encrypt a String
Optional
import { string } from "@rjweb/utils"string.encrypt('Hello', 'secret', { algorithm: 'aes-256-cbc', output: 'hex' }) // df4d0fe46e0210d4ef46368a6c3d56bb Copy
import { string } from "@rjweb/utils"string.encrypt('Hello', 'secret', { algorithm: 'aes-256-cbc', output: 'hex' }) // df4d0fe46e0210d4ef46368a6c3d56bb
1.0.0
nodejs
Encrypt a String