git.delta.rocks / jrsonnet / refs/commits / 0831da3ed8d9

difftreelog

source

crates/jrsonnet-stdlib/src/hash.rs182 Bsourcehistory
1use jrsonnet_evaluator::{error::Result, function::builtin, IStr};23#[builtin]4pub fn builtin_md5(str: IStr) -> Result<String> {5	Ok(format!("{:x}", md5::compute(&str.as_bytes())))6}