iron-webcrypto-vvo
v0.0.2
Published
a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification
Downloads
38
Maintainers
Readme
iron-webcrypto
This module is a drop-in replacement for
@hapi/iron
, written using the
Web Crypto API
that makes it compatible with browser and edge environments.
Installation
To use this module, run:
npm add iron-webcrypto
npm remove @hapi/iron
and change:
const Iron = require('@hapi/iron');
// or
import Iron from '@hapi/iron';
to:
const Iron = require('iron-webcrypto');
// or
import * as Iron from 'iron-webcrypto';