npm.io
1.0.3 • Published 1 year ago

tiny-webcrypto

Licence
MIT
Version
1.0.3
Deps
0
Size
8 kB
Vulns
0
Weekly
0

Tiny WebCrypto

A tiny isomorphic WebCrypto object, it just gives you the native one the current platform provides.

Install

npm install tiny-webcrypto

Usage

import WebCrypto from 'tiny-webcrypto';

// Let's use some WebCrypto API

WebCrypto.randomUUID (); // => '43e16416-7a2a-4c00-b2e8-1ea7a57adfb9'

License

MIT Fabio Spampinato

Keywords