libves 1.0.4 → 2.0.1
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 +39 -7
- package/libVES.node.js +1248 -322
- package/libves-2.0.1.tgz +0 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -1,15 +1,47 @@
|
|
|
1
1
|
## libVES
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Simple, safe and secure e2e encryption for data at-rest.
|
|
5
|
+
|
|
4
6
|
|
|
5
7
|
https://VESvault.com
|
|
8
|
+
|
|
6
9
|
https://VES.host
|
|
7
10
|
|
|
8
|
-
- Deposit and retrieve encrypted items into VESvault repository using end-to-end encryption
|
|
9
|
-
- Manage asymmetric encryption keys in the VESvault repository using end-to-end encryption
|
|
10
|
-
- [VESrecovery](https://www.vesvault.com/#vault)™ operations: set VESrecovery friends, assist in VESrecovery
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
; Instantiate libVES
|
|
13
|
+
|
|
14
|
+
var VES = new libVES({domain: 'x-myapp'});
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
; Authorize with VES in the same browser window
|
|
18
|
+
|
|
19
|
+
VES.flow(true).then(....)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
; Or, authorize in a popup window
|
|
23
|
+
|
|
24
|
+
VES.delegate().then(....)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
; Store an e2e encrypted value
|
|
28
|
+
|
|
29
|
+
VES.putValue('item-id', 'value')
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
; Store a value and e2e share with other VES accounts
|
|
33
|
+
|
|
34
|
+
VES.putValue('item-id', 'value', [{externalId: 'me@acme.com'}, {externalId: 'user1@acme.com'}, {externalId: 'user2@acme.com'}])
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
; Retrieve a previously stored value
|
|
38
|
+
|
|
39
|
+
VES.getValue('item-id').then(function(value) { .... })
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
See https://demo.ves.world
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Full API Docs:
|
|
13
46
|
|
|
14
|
-
API Documentation:
|
|
15
47
|
https://ves.host/docs/libVES
|