diff --git a/index.html b/index.html index 359c925..1887835 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - libp2p-crypto 0.17.1 | Documentation + libp2p-crypto 0.16.3 | Documentation @@ -15,7 +15,7 @@

libp2p-crypto

-
0.17.1
+
0.16.3
- + src/keys/rsa-class.js @@ -134,7 +134,7 @@ The public key is a protobuf encoding containing a type and the DER encoding of the PKCS SubjectPublicKeyInfo.

- +
id(callback: function (Error, id)): undefined
@@ -146,13 +146,26 @@ of the PKCS SubjectPublicKeyInfo.

+
Parameters
+
+ +
+
+ callback (function (Error, id)) + +
+ +
+ +
+
Returns
- Promise<String>: + undefined: @@ -185,7 +198,7 @@ of the PKCS SubjectPublicKeyInfo.

- + src/keys/rsa-class.js @@ -194,7 +207,7 @@ of the PKCS SubjectPublicKeyInfo.

Exports the key into a password protected PEM format

-
export(password: string, format: string?): KeyInfo
+
export(format: string?, password: string, callback: function (Error, KeyInfo)): undefined
@@ -209,6 +222,15 @@ of the PKCS SubjectPublicKeyInfo.

Parameters
+
+
+ format (string?) + Defaults to 'pkcs-8'. + +
+ +
+
password (string) @@ -220,10 +242,8 @@ of the PKCS SubjectPublicKeyInfo.

- format (string? - = 'pkcs-8') - Defaults to 'pkcs-8'. - + callback (function (Error, KeyInfo)) +
@@ -236,7 +256,7 @@ of the PKCS SubjectPublicKeyInfo.

Returns
- KeyInfo: + undefined: @@ -269,7 +289,7 @@ of the PKCS SubjectPublicKeyInfo.

- + src/keys/ed25519-class.js @@ -281,7 +301,7 @@ of the PKCS SubjectPublicKeyInfo.

The public key is a protobuf encoding containing a type and the DER encoding of the PKCS SubjectPublicKeyInfo.

- +
id(callback: function (Error, id)): undefined
@@ -293,13 +313,26 @@ of the PKCS SubjectPublicKeyInfo.

+
Parameters
+
+ +
+
+ callback (function (Error, id)) + +
+ +
+ +
+
Returns
- Promise<String>: + undefined: @@ -332,7 +365,7 @@ of the PKCS SubjectPublicKeyInfo.

- + src/pbkdf2.js