pub fn sha256(pw: &str) -> Vec<u8> {
    let mut hasher = Sha256::default();
    hasher.input(pw);
    let result = hasher.result();

    result.to_vec()
}
/// Hashes a text to a sha256.
Hashes a text to a sha256.
Hashes a text to a sha256 .
pub fn sha256(pw: &str) -> Vec<u8> {
    let mut hasher = Sha256::default();
    hasher.input(pw);
    let result = hasher.result();
    result.to_vec()
}
pub fn sha256 ( pw : & str ) -> Vec < u8 > { let mut hasher = Sha256 :: default ( ) ; hasher . input ( pw ) ; let result = hasher . result ( ) ; result . to_vec ( ) }
Hashes a text to a sha256.
Hashes a text to a sha256 .
pw
&str