crypto-aes-gcm
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "crypto-aes-gcm", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Uses the SubtleCrypto interface of the Web Cryptography API to encrypt and decrypt text using AES-GCM (AES Galois counter mode)", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -12,3 +12,3 @@ # crypto-aes-gcm | ||
```js | ||
import { aes_gcm_encrypt, aes_gcm_decrypt } from '../index.js'; | ||
import { aes_gcm_encrypt, aes_gcm_decrypt } from 'crypto-aes-gcm'; | ||
const password = '123456'; | ||
@@ -15,0 +15,0 @@ const message = 'i will never let you go'; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4045
0