osmosis-authenticators 0.22.0-alpha.19

utilities for writing osmosis authenticators
Documentation
use sha2::{Digest, Sha256};

pub fn sha256(data: &[u8]) -> Vec<u8> {
    let mut hasher = Sha256::new();
    hasher.update(data);
    hasher.finalize().to_vec()
}