Hash
The /hash endpoint converts a string into a hash, i.e. a string of characters that cannot be reversed into the original string.
posthttps://api.moxon.dev /v6/hash
Try itpost/v6/hash
curl -X POST \ "https://api.moxon.dev/v6/hash" \ -H "Content-Type: application/json" \ -d '{ "encoding": "hex" }'Send the request to see the response here.
textstringrequiredThe string to hash (word, sentence, paragraph, etc.)
methodstringrequiredThe hashing method to use (see available methods below)
- sha256
- sha512
- sha3-256
- blake2b512
- md5
- +47 more
encoding"hex" | "base64"optionalDefault:
hex.Output encoding:
hex(default) orbase64
methodstringHashing method used
hashstringResulting hash string (hex or base64 encoded digest)
encodingstringEncoding of the digest:
hexorbase64
If parameters are missing or invalid, the API will return an error:
- 400
Please provide a text (?text={text})Thetextparameter is missing - 400
Text is requiredThetextparameter is empty - 400
Please provide a valid hash algorithm (&method={algorithm})Themethodparameter is missing or invalid - 400
Unsupported method. Use one of: {methods}The method is not a supported hash algorithm - 400
Encoding must be one of: hex, base64Invalidencodingvalue
Last updated on October 17, 2026