← Arendustööriistad

Arvuta räsi

GET /hash

Genereerige a cryptographic hash of any input string using your choice of algorithm. Toetab MD5, SHA-1, SHA-256, SHA-384, and SHA-512. Kasulik checksum verification, data integrity checks, and development testing. Computed locally with zero external dependencies.

Parameetrid

input kohustuslik

String to hash

algoritm valikuline vaikeväärtus: sha256

Algorithm: md5, sha1, sha256, sha384, sha512

Näidispäringud

Põhikasutus
curl "https://nordapi.ee/api/v1/hash?input=hello+world&algorithm=sha256"
SHA-256 hash
curl "https://nordapi.ee/api/v1/hash?input=hello+world&algorithm=sha256"
MD5 hash
curl "https://nordapi.ee/api/v1/hash?input=test123&algorithm=md5"
SHA-512 hash
curl "https://nordapi.ee/api/v1/hash?input=my+secret+data&algorithm=sha512"

Reaalajas vastus

{
  "data": {
    "algorithm": "sha256",
    "hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
    "input": "hello world",
    "length": 64
  },
  "success": true
}