Generate a hash

Generate a hashed value using a variety of different hashing algorithms, such as MD5, SHA-1, SHA-256 and others.

Face with waiting expression Nothing to see yet!

Loading takeymakey...
TakeyMakey code
Want this tool to do something else? Edit the code below and make it do whatever you want.
({
  take: [
    { type: "text", label: "Content" },
    {
      label: "Type",
      type: "dropdown",
      options: [
        "MD5",
        "SHA1",
        "SHA224",
        "SHA256",
        "SHA3",
        "SHA384",
        "SHA512",
        "RIPEMD160",
      ],
    },
    {
      type: "import",
      value: "https://cdn.skypack.dev/crypto-js",
      module: true,
    },
  ],
  make: ([message, type, lib]) => {
    return {
      type: "code",
      value: lib[type](message).toString(),
    }
  },
})