Skip to main content

Hashing & Security Endpoints

Hash Generator​

Generate hash digests (SHA-256, SHA-1, MD5).

POST /api/v1/hash

Parameters​

NameTypeRequiredDescription
inputstringYesString to hash
algorithmstringYes"sha256", "sha1", or "md5"

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/hash \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"input": "Hello, World!", "algorithm": "sha256"}'
{ "result": "dffd6021bb2bd5b0af676290809ec3a5...", "algorithm": "sha256" }

HMAC Generator​

Generate HMAC signatures (SHA-256, SHA-1, SHA-384, SHA-512).

POST /api/v1/hmac

Parameters​

NameTypeRequiredDescription
messagestringYesMessage to sign
secretstringYesSecret key
algorithmstringNo"sha256", "sha1", "sha384", or "sha512" (default sha256)

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/hmac \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"message": "Hello", "secret": "my-secret", "algorithm": "sha256"}'
{ "result": "a1b2c3d4e5f6...", "algorithm": "sha256" }

Password Generator​

Generate cryptographically secure passwords.

POST /api/v1/password-generate

Parameters​

NameTypeRequiredDescription
lengthnumberNoPassword length (4-128, default 16)
countnumberNoNumber of passwords (1-50, default 1)
lowercasebooleanNoInclude lowercase (default true)
uppercasebooleanNoInclude uppercase (default true)
numbersbooleanNoInclude numbers (default true)
symbolsbooleanNoInclude symbols (default true)

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/password-generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"length": 24, "count": 5, "symbols": true}'
{ "result": ["x@K9m#Lp2$vR...", "..."], "length": 24, "count": 5 }