({
take: [
{ type: "text", label: "Content" },
{
label: "Type",
type: "dropdown",
options: [
"MD5",
"SHA1",
"SHA224",
"SHA256",
"SHA3",
"SHA384",
"SHA512",
"RIPEMD160",
],
},
],
make: ([message, type]) =>
import("https://cdn.skypack.dev/crypto-js").then((lib) => {
return {
type: "code",
value: lib[type](message).toString(),
}
}),
})