https://github.com/djdeveloperr/deno_cryptr
Deno port of Node.js `cryptr` using Web Crypto API
https://github.com/djdeveloperr/deno_cryptr
Last synced: 3 months ago
JSON representation
Deno port of Node.js `cryptr` using Web Crypto API
- Host: GitHub
- URL: https://github.com/djdeveloperr/deno_cryptr
- Owner: DjDeveloperr
- License: mit
- Created: 2022-02-16T17:36:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T06:57:29.000Z (over 1 year ago)
- Last Synced: 2025-01-22T02:35:26.041Z (5 months ago)
- Language: TypeScript
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deno_cryptr
Port of https://github.com/MauriceButler/cryptr to Web Crypto API.
```ts
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.
## License
MIT licensed. All rights reserved.
Copyright 2024 © DjDeveloperr