@1auth/crypto 0.0.0-alpha.31 → 0.0.0-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import { hash as secretHash, verify as secretVerify } from '@node-rs/argon2'
|
|
|
13
13
|
|
|
14
14
|
const options = {
|
|
15
15
|
// randomBytes(32).toString('hex') // 256 bits
|
|
16
|
+
encryptionContextKey: null,
|
|
16
17
|
encryptionSharedKey: '',
|
|
17
18
|
encryptionMethod: 'chacha20-poly1305', // AES-256 GCM (aes-256-gcm) or ChaCha20-Poly1305 (chacha20-poly1305)
|
|
18
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1auth/crypto",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"url": "https://github.com/willfarrell/1auth/issues"
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/willfarrell/1auth",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "3750bef3d7e376c48f7d680e5f2181ee809213b9",
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@node-rs/argon2": "1.8.3"
|
|
50
50
|
}
|