Skip to main content

key_algorithm_name

Function key_algorithm_name 

Source
pub fn key_algorithm_name(id: u8) -> Option<&'static str>
Expand description

Get key algorithm name from ID

Note: This handles both asymmetric keys (Ed25519, X25519, etc.) and symmetric encryption keys (ChaCha20-Poly1305, AES-256-GCM, etc.)