Getting MD5 Hash String in Deno

Published on April 6, 2021

In Deno MD5 hash of a given string can be created using the hash library. This is a standard library which is reviewed by the Deno team.

import { createHash } from "";

// input string
let str = "1234567890";

// create new hash instance
let hash = createHash("md5");
let hashed_str = hash.toString();

// "e807f1fcf82d132f9bb018ca6738a19f"
In this Tutorial