1.0.4 • Published 2 years ago

aes-wasm-quocanhv v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Usage

const aes = require('aes-wasm-quocanhv');

aes().then((aesApi) => {
	const { enc, dec } = aesApi;
	// encrypt and decrypt here
	// Length of secret key should be 16, 24 or 32
	const cipher = enc(key, plainText, iv, mode);
	const plaintext = dec(key, cipherText, iv, mode);
});
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago