Improve explanation of key format in README

This commit is contained in:
Chris Clark
2015-10-06 16:35:05 -07:00
parent bdb749d198
commit 1b44bb068b

View File

@@ -14,7 +14,7 @@ Generate a seed that can be used to generate keypairs. Entropy can be provided a
``` ```
deriveKeypair(seed: string) -> {privateKey: string, publicKey: string} deriveKeypair(seed: string) -> {privateKey: string, publicKey: string}
``` ```
Derive a public and private key from a seed. The keys are represented as hexadecimal strings. A single metadata byte is prepended so the keys are 33 bytes long. Derive a public and private key from a seed. The keys are represented as 33-byte hexadecimal strings.
``` ```
sign(message: string, privateKey: string) -> string sign(message: string, privateKey: string) -> string