Online Hash Calculator for Strings using Different Algorithms
This online String hash tool generates the hash values for the given strings using different hashing algorithms. The current hash algorithms supported via API are: md2, md4, md5, sha1, sha224, sha256, sha384, sha512/224, sha512/256, sha512, sha3-224, sha3-256, sha3-384, sha3-512, ripemd128, ripemd160, ripemd256, ripemd320, whirlpool, tiger128,3, tiger160,3, tiger192,3, tiger128,4, tiger160,4, tiger192,4, snefru, snefru256, gost, gost-crypto, adler32, crc32, crc32b, crc32c, fnv132, fnv1a32, fnv164, fnv1a64, joaat, haval128,3, haval160,3, haval192,3, haval224,3, haval256,3, haval128,4, haval160,4, haval192,4, haval224,4, haval256,4, haval128,5, haval160,5, haval192,5, haval224,5, haval256,5
You can use this: Compute File Hash (FileReader) to compute the MD5/CRC32/SHA256. for a given file. You can also use this: Online String MD5 Hash to compute the MD5 hash for strings.
This Hash tool is also available in Chinese: 在线字符串哈希算法
String Hash Algorithms API (Application Programming Interface)
https://helloacm.com/api/hash/?cached&s=HelloIt will return JSON-encoded object that consists of several hash values using different hash algorithms such as MD5, SHA256..
{ "md2": "b27af65e6a4096536dd1252e308c2427", "md4": "a58fc871f5f68e4146474ac1e2f07419", "md5": "8b1a9953c4611296a827abf8c47804d7", "sha1": "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0", "sha224": "4149da18aa8bfc2b1e382c6c26556d01a92c261b6436dad5e3be3fcc", "sha256": "185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969", "sha384": "3519fe5ad2c596efe3e276a6f351b8fc0b03db861782490d45f7598ebd0ab5fd5520ed102f38c4a5ec834e98668035fc", "sha512/224": "0d075258abfd1f8b81fc0a5207a1aa5cc82eb287720b1f849b862235", "sha512/256": "7e75b18b88d2cb8be95b05ec611e54e2460408a2dcf858f945686446c9d07aac", "sha512": "3615f80c9d293ed7402687f94b22d58e529b8cc7916f8fac7fddf7fbd5af4cf777d3d795a7a00a16bf7e7f3fb9561ee9baae480da9fe7a18769e71886b03f315", "sha3-224": "4cf679344af02c2b89e4a902f939f4608bcac0fbf81511da13d7d9b9", "sha3-256": "8ca66ee6b2fe4bb928a8e3cd2f508de4119c0895f22e011117e22cf9b13de7ef", "sha3-384": "df7e26e3d067579481501057c43aea61035c8ffdf12d9ae427ef4038ad7c13266a11c0a3896adef37ad1bc85a2b5bdac", "sha3-512": "0b8a44ac991e2b263e8623cfbeefc1cffe8c1c0de57b3e2bf1673b4f35e660e89abd18afb7ac93cf215eba36dd1af67698d6c9ca3fdaaf734ffc4bd5a8e34627", "ripemd128": "eb507c265df625d5aa16c08f64cd0e65", "ripemd160": "d44426aca8ae0a69cdbc4021c64fa5ad68ca32fe", "ripemd256": "f42494cfc6bf93a47026de7cbcbe67b23725b406276d8f39a5f12872557b4d0e", "ripemd320": "ff2bd9b513aa7c77ecaf21f66a92d284d69f04e1f0fa3baa5115d5a8a5a18407f6806ca52efebdb8", "whirlpool": "00acca7b4456c52a74c589d668b48e1b3d33c9620a0a9b61635111aa92ed8488f21372e27b2122735e561491f8050ed2775a6fb55f7f8b24075d1166bf326bca", "tiger128,3": "a931f1630ed3b9a700d3f57747789121", "tiger160,3": "a931f1630ed3b9a700d3f57747789121ed3c7037", "tiger192,3": "a931f1630ed3b9a700d3f57747789121ed3c703700d4df26", "tiger128,4": "d609cbba2b55235db6ebaa9d0ff65506", "tiger160,4": "d609cbba2b55235db6ebaa9d0ff655063d17949f", "tiger192,4": "d609cbba2b55235db6ebaa9d0ff655063d17949fce163872", "snefru": "bd456c6c33df28257b8736f798e40ac57d9b61996d94ada339abaa8d2a97ec86", "snefru256": "bd456c6c33df28257b8736f798e40ac57d9b61996d94ada339abaa8d2a97ec86", "gost": "88b7f68f7e33a84ae7df2d8216e5f76f2031c14f4d4be685c80c01df42af2e1e", "gost-crypto": "f379a47bcf66e9c8fe51a6ae395de41174eebc83f792a0b0c50ac3072293e5aa", "adler32": "058c01f5", "crc32": "9264541a", "crc32b": "f7d18982", "fnv132": "3726bd47", "fnv1a32": "f55c314b", "fnv164": "fa365282a44c0ba7", "fnv1a64": "63f0bfacf2c00f6b", "joaat": "715ce7ec", "haval128,3": "4002d17f7b08e80048c27a6179552198", "haval160,3": "73c70cb6ef52db1457443b038784584317137581", "haval192,3": "28ab2de0468ccf4b87e6e84b79544fd8ef3c50743ed2e220", "haval224,3": "7c3883e323bfca15ea58bb4a75eb42f772fb4998dbffae54f9142f05", "haval256,3": "a6a9682bb0ed9c852369b327e02d9132ecda1e76e0fea87f81c3cf5920367c28", "haval128,4": "7505fb2cd3e17faf26c060d90feac153", "haval160,4": "6992a805b29cf46b78482a0d830a0dcf59a97dc7", "haval192,4": "484ac833b792bc2937b2430ef95027e86c7abc86bd1147e8", "haval224,4": "29894b2a534f61dc77ac52c2a7a446246c6ef7728b84bb77a3dc6977", "haval256,4": "ee43c751e7f77a021ce4ee5726a06c5c3bff1702326f0e8d259d2055ca27d52e", "haval128,5": "b9fe471d6a1e2961925ba31820f8e73a", "haval160,5": "3b737f8f953fdf8aeee2047eee534d04e03e8513", "haval192,5": "4c3e872cf484706251b26f65b3c75dd0fe644c6a33a5ce9c", "haval224,5": "eae0475bcd938756990fec658c07e851d78b6a5a3c97da3295a5dfa9", "haval256,5": "3808fc5186e1dab0fd35742305787a0017bdb41900bf43882404972788e36480" }Parameter s is the input string. If $_GET parameter s is not specified, this API will use the $_POST variable s instead. It is recommended to pass the variable via _POST method as this is more secure, and allows you to deal with a lengthy input.
curl -X POST https://helloacm.com/api/hash/?cached -d "s=MD5 Rocks!"
Hash Algorithm API Servers:
6 Servers are currently available. All API calls are subject to fair use policy. If you abuse the use, then your IP may be blocked permanently. Please note that if you pass the variable via $_GET, the API may be blocked by the CloudFlare Web Firewall e.g. suspicious SQL injection or malicious code.
- Load Balancer: https://api.justyy.workers.dev/api/
Complete API Source Code (PHP) for String Hash Algorithms
$s = ''; if (isset($_GET['s'])) { $s = $_GET['s']; } else { if (isset($_POST['s'])) { $s = $_POST['s']; } } $data = array(); foreach (hash_algos() as $v) { $r = hash($v, $s, false); $data[$v] = $r; } header("Access-Control-Allow-Origin: *"); header('Content-Type: application/json'); die(json_encode($data));