RunKit + npm: cryptr

node v10.24.1
endpointsharetweet
const Cryptr = require('cryptr'); const cryptr = new Cryptr('myTotalySecretKey'); const encryptedString = cryptr.encrypt('I love pizza!'); const decryptedString = cryptr.decrypt(encryptedString); console.log(encryptedString); // 5590fd6409be2494de0226f5d7 console.log(decryptedString); // bacon
Created from: https://npm.runkit.com/cryptr
Loading…