Text

MD5 Verify

0calls
Free

Downloaded a file, want to confirm it was not damaged during transmission? Verify MD5 value is the most way.

POST
uapis.cn
/api/v1/text/md5/verify
Body
hash
string
required

The MD5 hash value to compare against (32-character lowercase hexadecimal string).

text
string
required

The original text to be verified, its MD5 will be calculated and compared with the hash provided.

Overview

You provide original text and an MD5 hash value, we help you calculate the hash of the text and compare it with the hash you provided, telling you whether they match. This is very useful in scenarios such as file integrity verification.

Request body

hash
stringrequired

The MD5 hash value to compare against (32-character lowercase hexadecimal string).

text
stringrequired

The original text to be verified, its MD5 will be calculated and compared with the hash provided.

Response

200 / OK

Successful response

JSON
{
  "match": true
}

400 / Bad Request

Invalid request parameters

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing 'text' or 'hash' field."
}