GET /hash/all
使用所有支持的算法一次性生成输入字符串的哈希值(MD5、SHA-1、SHA-256、SHA-384、SHA-512)。在单次响应中返回所有五个哈希值。适用于比较算法输出或同时生成多个校验和。
input
必填
String to hash
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
input |
是 | - | String to hash |
curl "https://nordapi.ee/api/v1/hash/all?input=hello+world"
curl "https://nordapi.ee/api/v1/hash/all?input=hello+world"
curl "https://nordapi.ee/api/v1/hash/all?input=user@example.com"
{
"data": {
"hashes": {
"md5": "5eb63bbbe01eeed093cb22bb8f5acdc3",
"sha1": "2aae6c35c94fcfb415dbe95f408b9ce91ee846ed",
"sha256": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
"sha384": "fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd",
"sha512": "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f"
},
"input": "hello world"
},
"success": true
}