GET /v1/md5Compute MD5 hash
Security Utils lf-security-utils
Makes a short fingerprint code of a piece of text. Computes the MD5 hash of an input string and returns the hex digest.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | Yes | Text to hash |
Response Schema
input (string): Original input
md5 (string): MD5 hex digest
input_length (integer): Input length
cURL Example
curl 'https://lf-security-utils.laminarforge.dev/v1/md5?input=hello' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-security-utils.laminarforge.dev/v1/md5'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'input': 'hello'}
response = requests.get(url, headers=headers, params=params)
print(response.json())