Skip to main content

Module sign

Module sign 

Source

Enums§

SigningError
VerifyingError

Functions§

sign_bytes
Signs msg with secret_key: plain Ed25519 (RFC 8032), no pre-hash.
sign_xdr
verify_bytes
Verifies signature over msg with public_key: plain Ed25519 (RFC 8032) under the ZIP-215 validation rules.
verify_envelope
Verifies that envelope.signature is a valid signature over the XDR encoding of envelope.statement produced by the secret key matching envelope.statement.node_id.
verify_xdr