Skip to main content

encode_key

Function encode_key 

Source
pub fn encode_key(bytes: &[u8]) -> String
Expand description

Encodes raw key bytes as a URL-safe base64 string — the canonical on-wire / on-disk key encoding, symmetric with decode_key. The server stores machine public keys this way.