Skip to main content

Module crypto

Module crypto 

Source

Functionsยง

ed25519_sign
Sign a payload with an Ed25519 key (for DID-based PoI signatures).
read_key_file
Read a key file and return the raw bytes.
sign_eip4361_message
Sign an EIP-4361 message with an Ethereum private key. Returns the hex-encoded signature.