An open API service indexing awesome lists of open source software.

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

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