Skip to main content

randomart

Function randomart 

Source
pub fn randomart(data: &[u8], label: &str) -> String
Expand description

Render an OpenSSH-style randomart fingerprint of data.

label annotates the header (e.g. "ED25519 256"); pass "" for none. The art is a deterministic function of data; label only affects the header.