# Packages
No description provided by the author
# Functions
Check verifies the validity of the signature of a given content with a public key.
Decrypt recovers data encrypted with ECIES algorithm using the private key and the decompressed public key TODO Try not to use the public key, only the private.
ECDSAPrivateKeyFrom ...
ECDSAPublicKeyFrom ...
ECIESKeyPairFrom transforms an ECDSA keypair in byte array to its ECIES counterparts.
Encrypt uses ECIES algorithm to encrypt a message with a decompressed public key.
GenerateKeyPair is the function that should be used whenever a keypair is needed in the Rooot project.
GenerateRandomKeyPair generates a random keypair.
Hash is the hashing function that should be used whenever hashing in the Rooot™ project.
ImportSignature parses a DER ECDSA signature as in `ecies-geth` JavaScript module to produce the appropriate 64-byte [R||S] signature @see https://github.com/cryptocoinjs/secp256k1-node/blob/90a04a2e1127f4c1bfd7015aa5a7b22d08edb811/lib/elliptic.js.
IsCompatibleKeyPair tests whether a decompressed public key and a private key form an actual valid keypair.
IsHashedValue ...
ParsePrivateKey ...
ParsePublicKey ...
ParsePublicKeyFromCompressed ...
Sign signs a content using secp256k1 elliptic curve.
SSHPublicKey2String returns the stringified version of the passed SSH public key.
# Constants
IDKEY_TEST_STRING ...
PATH_1_STRING ...
PUBLIC_COMPRESSED_KEY_1_STRING ...
PUBLIC_DECOMPRESSED_KEY_1_STRING ...
SECRET_KEY_1_STRING ...
SEED_TEST_STRING ...
# Structs
Account ...
BIP32PrivateKey houses all the information of an extended private key.
BIP32PublicKey is the structure layout for an extended public key.
Indices ...
# Type aliases
Path is the string representation of a BIP32 path, eg.