← 开发者工具

所有算法哈希

GET /hash/all

使用所有支持的算法一次性生成输入字符串的哈希值(MD5、SHA-1、SHA-256、SHA-384、SHA-512)。在单次响应中返回所有五个哈希值。适用于比较算法输出或同时生成多个校验和。

参数

input 必填

String to hash

请求示例

基本用法
curl "https://nordapi.ee/api/v1/hash/all?input=hello+world"
Hash a simple string
curl "https://nordapi.ee/api/v1/hash/all?input=hello+world"
Hash an email address
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
}