spotify-launcher 0.5.2

Client for spotify's apt repository in Rust for Arch Linux
Documentation
1
2
3
4
5
6
7
8
use sha2::{Digest, Sha256};

pub fn sha256sum(bytes: &[u8]) -> String {
    let mut hasher = Sha256::new();
    hasher.update(bytes);
    let result = hasher.finalize();
    format!("{:x}", result)
}