Skip to content

Commit 0464668

Browse files
committed
Update crypto.md
1 parent f062b63 commit 0464668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/crypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Verify an [Ed25519](http://en.wikipedia.org/wiki/EdDSA) signature.
7777

7878
Name|Type|Description
7979
:---|:---|:----------
80-
`privateKey`|ArrayBuffer|The 33 byte public half of the key used to produce the signature.
80+
`publicKey`|ArrayBuffer|The 33 byte public half of the key used to produce the signature.
8181
`dataToSign`|ArrayBuffer|The data that was signed. May be any length.
8282
`purportedSignature`|ArrayBuffer|The purported signature to check.
8383

@@ -126,4 +126,4 @@ Name|Type|Description
126126
:---|:---|:----------
127127
`key`|ArrayBuffer|The 32 byte cipher key used to encrypt the data.
128128
`ciphertext`|ArrayBuffer|The data to be decrypted. Should have a length that is a multiple of 16 bytes.
129-
`iv`|ArrayBuffer|The 16 byte initialisation vector used to encrypt the data.
129+
`iv`|ArrayBuffer|The 16 byte initialisation vector used to encrypt the data.

0 commit comments

Comments
 (0)