clipse 1.2.2

a cli clipboard manager for linux
Documentation
1
2
3
4
5
6
7
8
9
10
use sha2::{Sha256, Digest};

pub fn encrypt(msg: &str) -> String {

    let mut hasher = Sha256::new();

    hasher.update(msg);

    format!("{:x}", hasher.finalize())
}