Get algorithm information
Algorithm metadata
Generate a new MAYO-2 keypair
Sign a message using the secret key
Message to sign (arbitrary length)
Secret key for signing (24 bytes)
Digital signature (up to 186 bytes)
Verify a signature against a message using the public key
Original message that was signed
Signature to verify
Public key for verification (4912 bytes)
True if signature is valid, false otherwise
MAYO-2 digital signature wrapper class
MAYO2
Description
High-level wrapper for MAYO-2 signature operations. Provides secure key generation, signing, and verification with automatic memory management.
Memory Management:
Example