Skip to main content

message_prime

Function message_prime 

Source
pub fn message_prime(ctx: &[u8], message: &[u8]) -> Option<Vec<u8>>
Expand description

M' = Prefix ‖ Label ‖ len(ctx) u8 ‖ ctx ‖ SHA-512(M), or None when ctx exceeds 255 bytes.