@decryption/core 0.5.0 → 0.5.2
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/README.md +13 -0
- package/package.json +13 -15
package/README.md
CHANGED
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
<a href="https://github.com/constructive-io/decryption/actions/workflows/ci.yml">
|
|
9
9
|
<img height="20" src="https://github.com/constructive-io/decryption/actions/workflows/ci.yml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
|
+
<a href="https://github.com/constructive-io/decryption/blob/main/LICENSE">
|
|
12
|
+
<img height="20" alt="MIT license" src="https://img.shields.io/badge/license-MIT-blue.svg" />
|
|
13
|
+
</a>
|
|
11
14
|
<a href="https://www.npmjs.com/package/@decryption/core"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/decryption?filename=packages%2Fcore%2Fpackage.json"/></a>
|
|
12
15
|
</p>
|
|
13
16
|
|
|
@@ -193,6 +196,16 @@ const sealed = sealWithKey(key, plaintext, 'context');
|
|
|
193
196
|
const opened = openWithKey(key, sealed, 'context');
|
|
194
197
|
```
|
|
195
198
|
|
|
199
|
+
## Credits
|
|
200
|
+
|
|
201
|
+
**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
|
|
202
|
+
|
|
203
|
+
## Disclaimer
|
|
204
|
+
|
|
205
|
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
206
|
+
|
|
207
|
+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
|
208
|
+
|
|
196
209
|
---
|
|
197
210
|
|
|
198
211
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decryption/core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Versioned authenticated envelope encryption: Argon2id + XChaCha20-Poly1305",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -19,15 +19,6 @@
|
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/constructive-io/decryption/issues"
|
|
21
21
|
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"copy": "makage assets",
|
|
24
|
-
"clean": "makage clean",
|
|
25
|
-
"prepublishOnly": "npm run build",
|
|
26
|
-
"build": "makage build",
|
|
27
|
-
"lint": "eslint . --fix",
|
|
28
|
-
"test": "jest",
|
|
29
|
-
"test:watch": "jest --watch"
|
|
30
|
-
},
|
|
31
22
|
"keywords": [
|
|
32
23
|
"encryption",
|
|
33
24
|
"argon2",
|
|
@@ -36,12 +27,19 @@
|
|
|
36
27
|
"envelope"
|
|
37
28
|
],
|
|
38
29
|
"dependencies": {
|
|
39
|
-
"@decryption/
|
|
40
|
-
"@decryption/
|
|
41
|
-
"@decryption/
|
|
30
|
+
"@decryption/ciphers": "0.4.1",
|
|
31
|
+
"@decryption/hashes": "0.4.1",
|
|
32
|
+
"@decryption/base": "0.4.1"
|
|
42
33
|
},
|
|
43
34
|
"devDependencies": {
|
|
44
35
|
"makage": "0.3.0"
|
|
45
36
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
37
|
+
"scripts": {
|
|
38
|
+
"copy": "makage assets",
|
|
39
|
+
"clean": "makage clean",
|
|
40
|
+
"build": "makage build",
|
|
41
|
+
"lint": "eslint . --fix",
|
|
42
|
+
"test": "jest",
|
|
43
|
+
"test:watch": "jest --watch"
|
|
44
|
+
}
|
|
45
|
+
}
|