Skip to main content

key_id

Function key_id 

Source
pub fn key_id(name: &str, kind: u8, public_key: &[u8]) -> [u8; 4]
Expand description

The key id of a key under a name: the first four bytes of SHA-256(name || 0x0A || type || public key).