use mim::{Mozaic};
use sha2::{Sha256,Digest};
use hex;
fn main() {
let mut hasher = Sha256::new();
hasher.update("certificate contents would typically go here");
let fingerprint = hasher.finalize();
let moz = Mozaic::new(&fingerprint);
println!("Fingerprint: {}", hex::encode(&fingerprint));
println!("\n{}", &moz.ansi());
}