use crate::exec::function::FunctionRegistry;
use crate::{define_pure_function, register_functions};
define_pure_function!(CryptoBlake3, "crypto::blake3", (value: Any) -> String, crate::fnc::crypto::blake3);
define_pure_function!(CryptoJoaat, "crypto::joaat", (value: Any) -> String, crate::fnc::crypto::joaat);
define_pure_function!(CryptoMd5, "crypto::md5", (value: Any) -> String, crate::fnc::crypto::md5);
define_pure_function!(CryptoSha1, "crypto::sha1", (value: Any) -> String, crate::fnc::crypto::sha1);
define_pure_function!(CryptoSha256, "crypto::sha256", (value: Any) -> String, crate::fnc::crypto::sha256);
define_pure_function!(CryptoSha512, "crypto::sha512", (value: Any) -> String, crate::fnc::crypto::sha512);
pub fn register(registry: &mut FunctionRegistry) {
register_functions!(
registry,
CryptoBlake3,
CryptoJoaat,
CryptoMd5,
CryptoSha1,
CryptoSha256,
CryptoSha512,
);
}