NHOSLQGG4CIWBE7VKL5MB7PSY3RZ5IVDFENMGZG6X755GGZ6B3VQC
MCS77Y4VJGB6TU2HOLASGSRW4B6MT74XABD4KYALIRS54GGN2DDQC
7FRJYUI62VW257VVFQXND6OKSAILVTHGEJCXFE6CG6FIOIUTDVYAC
2WEO7OZLWJJPUYK4WXLT5FD46G2MAEIHEYMDW5GASCBUNKOPXCVAC
TFYJ3P2AJXRWFYSG6MV7SVN6SOKMO2H2YZD7M6PYQJO6KGYBDCOAC
FT67GGO45RNEBZZXT5RRIQOOQKZ5IW2CJXORMCCGITC7VOBGKDJAC
634OYCNMVRRKALVMFBHK2S4L2AFLAJB6F5XASS4CWYMVSCEQQWHAC
use openssl::hash::*;
let hash = {
let mut hasher = Hasher::new(MessageDigest::sha256())?;
hasher.update(&buffer)?;
hasher.finish()?
};
Ok(hash)
use sha2::Digest;
let mut hasher = sha2::Sha256::new();
hasher.update(&buffer);
Ok(hasher.finalize())
use openssl::hash::*;
let hash = {
let mut hasher = Hasher::new(MessageDigest::sha256())?;
hasher.update(&buffer)?;
hasher.finish()?
let hash = {
use sha2::Digest;
let mut hasher = sha2::Sha256::new();
hasher.update(&buffer[..]);
hasher.finalize()