Docs/Security Utils/GET /v1/hash

GET /v1/hashCompute hash with multiple algorithms

Security Utils lf-security-utils

Turns text into a fingerprint that cannot be turned back into the original. Computes a hash using md5, sha1, sha256, sha384, sha512, or 'all' to compute all five at once.

Query Parameters

ParameterTypeRequiredDescription
inputstringYesText to hash
algorithmstringNoAlgorithm (md5/sha1/sha256/sha384/sha512/all)

Response Schema

success (boolean): Operation success
input (string): Original input
algorithm (string): Algorithm used
hash (string): Resulting hash
results (object): All hashes when algorithm=all

cURL Example

curl 'https://lf-security-utils.laminarforge.dev/v1/hash?input=hello&algorithm=sha256' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-security-utils.laminarforge.dev/v1/hash'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'input': 'hello', 'algorithm': 'sha256'}
response = requests.get(url, headers=headers, params=params)
print(response.json())