enprot::crypto
pub fn hexdigest( alg: &str, data: &[u8], policy: &Box<dyn CryptoPolicy>) -> Result<String, &'static str>