Port of https://github.com/MauriceButler/cryptr to Web Crypto API.
const cryptr = new Cryptr("secret");
const encrypted = await cryptr.encrypt("my secret message");
const decrypted = await cryptr.decrypt(encrypted);
console.log(decrypted); // my secret message
A notable difference in API is Deno Cryptr is async.
MIT licensed. All rights reserved.
Copyright 2024 © DjDeveloperr