Module utils

Source

Traits§

FromBase64String
Trait to add base64 decoding functionality to strings
FromHexString
Trait to add hex decoding functionality to strings
ToArray32
ToHexString
Trait to add hex encoding functionality to byte arrays and vectors

Functions§

private_key_from_hex
Convert a private key in hex format to a Secp256r1PrivateKey.
private_key_to_hex_string
Converts a private key to its hexadecimal string representation.
private_key_to_public_key
Convert a private key to a public key.
public_key_from_hex
Convert a public key in hex format to a Secp256r1PublicKey.
public_key_to_hex_string
Converts a public key to its hexadecimal string representation.