Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Column hashing salts

Preview a column hashing salt

POST/column-hashing-salts/{uuid}/preview

Hashes a sample string value with this salt using the same function used by Artie's pipelines (HMAC-SHA256 keyed on the salt, or SHA-256 if the salt is empty). Returns the hex-encoded hash.

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request POST \
  --url https://api.artie.com/column-hashing-salts/{uuid}/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": "<string>"
}'

Path parameters

  • uuidstringrequired

Body

application/json

  • valuestringrequired

Responses

200OKapplication/json

  • hashstringrequired

400Bad Request

404Not Found

500Internal Server Error

200 OK
{
  "hash": "<string>"
}

Was this page helpful?