GET /v1/blake2BLAKE2b hash / keyed MAC (256/512)
Security Utils lf-security-utils
Makes a fast fingerprint code of text, optionally keyed for extra security. BLAKE2b hash / keyed MAC (256/512)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Data to hash |
bits | string | No | 256 or 512 |
key | string | No | Optional key for keyed MAC mode |
Response Schema
algorithm (string): BLAKE2 variant
hex (string): Hex digest
keyed (boolean): Whether keyed mode used
cURL Example
curl 'https://lf-security-utils.laminarforge.dev/v1/blake2?text=<text>' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-security-utils.laminarforge.dev/v1/blake2'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'text': '<text>'}
response = requests.get(url, headers=headers, params=params)
print(response.json())