@substrate-system/keys 0.2.26 → 0.2.28
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 +3 -3
- package/dist/_base.min.js.map +2 -2
- package/dist/aes/index.min.js.map +2 -2
- package/dist/browser/index.js +4 -6
- package/dist/browser/index.min.js +1 -1
- package/dist/crypto.cjs +4 -6
- package/dist/crypto.cjs.map +2 -2
- package/dist/crypto.d.ts +4 -4
- package/dist/crypto.d.ts.map +1 -1
- package/dist/crypto.js +4 -6
- package/dist/crypto.js.map +2 -2
- package/dist/crypto.min.cjs +1 -1
- package/dist/crypto.min.cjs.map +3 -3
- package/dist/crypto.min.js +1 -1
- package/dist/crypto.min.js.map +3 -3
- package/dist/ecc/index.cjs.map +2 -2
- package/dist/ecc/index.js.map +2 -2
- package/dist/ecc/index.min.cjs.map +2 -2
- package/dist/ecc/index.min.js.map +2 -2
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +3 -3
- package/dist/meta.json +6 -6
- package/dist/rsa/index.min.js.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ reading the private key, but the keys can be persisted and re-used indefinitely.
|
|
|
22
22
|
> to tell the browser not to delete from `indexedDB`.
|
|
23
23
|
>
|
|
24
24
|
|
|
25
|
-
Each instance of `Keys` has two keypairs
|
|
25
|
+
Each instance of `Keys` has two keypairs — one for signing, and another for
|
|
26
26
|
encrypting.
|
|
27
27
|
|
|
28
28
|
See also, [the API docs generated from typescript](https://substrate-system.github.io/keys/).
|
|
@@ -163,13 +163,13 @@ console.assert(keys.DID === keysAgain.DID) // true
|
|
|
163
163
|
This is the [DID string](https://www.w3.org/TR/did-1.0/) for the signing key for
|
|
164
164
|
this instance. The DID looks like this:
|
|
165
165
|
|
|
166
|
-
|
|
166
|
+
##### Ed25519 DID
|
|
167
167
|
|
|
168
168
|
```
|
|
169
169
|
did:key:zStERvoWtx7FQS432smzbGENZHjsN55X8pUZ3np8DXGhZFf3TCorijCPeJoLytwb
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
##### RSA DID
|
|
173
173
|
|
|
174
174
|
```
|
|
175
175
|
did:key:z13V3Sog2YaUKhdGCmgx9UZuW1o1ShFJYc6DvGYe7NTt689NoL2HdpC46K4PjfsUVAopaqmnySjJV8T6K9dMB2FUXhqfKYLUz9o9fA7xkgiNr25sUQq4vJPuPfP1kbSqtYXe5V2CZTUMucF2jfNMrWjHHRUZpEzPwGeZd5prsu9pxnVhPKnVxxKTJAVqQCp3CDRASeYKQmqVRmyPSrdQaYz4AoQxaBd52mNC7dEC4xXKbVw45dhQc52j5chR8YKCeaNANWh8DEZ7U8Dtb89PL5qP8817oxswQhz4e97p8EGtJDVrGbCXN4EucnpYaacRane4YPcmevs1pMYV8iqzJd8UZLWtDcUBNrCkeVTdnzXnM4Rq9sWiFwF3nYk6fxqfUZDfYyfPtxacSoGaSjo38ye
|