Sha256: 316d65b760ffa58beb6aa678be24359eb21a744e9e143bc99c11fe1907659245
Contents?: true
Size: 285 Bytes
Versions: 8
Compression:
Stored size: 285 Bytes
Contents
#[cfg(feature = "v3")] pub(crate) fn hash(ns: &[u8], src: &[u8]) -> [u8; 16] { use md5::{Digest, Md5}; let mut hasher = Md5::new(); hasher.update(ns); hasher.update(src); let mut bytes = [0; 16]; bytes.copy_from_slice(&hasher.finalize()[..16]); bytes }
Version data entries
8 entries across 8 versions & 1 rubygems