@libp2p/keychain 6.0.10 → 6.0.11-2a3e54738

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 CHANGED
@@ -45,7 +45,7 @@ The key management and naming service API all return a `KeyInfo` object. The `i
45
45
 
46
46
  The **key id** is the SHA-256 [multihash](https://github.com/multiformats/multihash) of its public key.
47
47
 
48
- The *public key* is a [protobuf encoding](https://github.com/libp2p/js-libp2p/blob/main/packages/crypto/src/keys/keys.proto.js) containing a type and the [DER encoding](https://en.wikipedia.org/wiki/X.690) of the PKCS [SubjectPublicKeyInfo](https://www.ietf.org/rfc/rfc3279.txt).
48
+ The *public key* is a [protobuf encoding](https://github.com/libp2p/js-libp2p/blob/main/packages/crypto/src/keys/keys.proto) containing a type and the [DER encoding](https://en.wikipedia.org/wiki/X.690) of the PKCS [SubjectPublicKeyInfo](https://www.ietf.org/rfc/rfc3279.txt).
49
49
 
50
50
  ## Private key storage
51
51
 
@@ -55,7 +55,7 @@ The default options for generating the derived encryption key are in the `dek` o
55
55
 
56
56
  ```TypeScript
57
57
  const defaultOptions = {
58
- // See https://cryptosense.com/parameter-choice-for-pbkdf2/
58
+ // See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
59
59
  dek: {
60
60
  keyLength: 512 / 8,
61
61
  iterationCount: 1000,