BitPay.KeyUtils

Summary

retrieves the compressed public key from a pem file

generates a pem file

creates a base58 encoded SIN from a pem file

retrieves the private key as a base16 string from the pem file

signs the input with the key retrieved from the pem file

Functions

compressed_public_key(pem)

retrieves the compressed public key from a pem file

generate_pem()

generates a pem file

get_sin_from_pem(pem)

creates a base58 encoded SIN from a pem file

private_key(pem)

retrieves the private key as a base16 string from the pem file

sign(payload, pem)

signs the input with the key retrieved from the pem file