Skip to main content

generate_keypair_bytes

Function generate_keypair_bytes 

Source
pub fn generate_keypair_bytes() -> ([u8; 32], [u8; 32])
Expand description

Generate a new Ed25519 key pair, returning raw byte arrays.

Returns (secret_key_bytes, public_key_bytes). This avoids callers needing to depend on ed25519_dalek types directly.