Encryption

Decrypt data

post

This endpoint takes a list of encrypted data items, where each item is an object with key-value pairs of encrypted strings. It processes these items and returns their decrypted string counterparts

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
chevron-right
200

OK

application/json
post
/api/v1/encryption/decrypt

Encrypt data

post

This endpoint accepts a list of data items (objects with key-value pairs of strings to be encrypted), along with options to specify if an envelope should be used for encryption, whether to include a hash of the original data, and an optional encryption provider. It returns the encrypted data and, if requested, the corresponding hash for each item.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
envelopebooleanRequired
providerstring | nullOptional
with_hashbooleanRequired
Responses
chevron-right
200

OK

application/json
post
/api/v1/encryption/encrypt

Generate hash

post

This endpoint takes a list of data items (objects with key-value pairs of strings) and returns the corresponding hash value for each string provided

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
chevron-right
200

OK

application/json
post
/api/v1/encryption/hash

Provider list

get

This endpoint retrieves the encryption provider configuration. It returns the ID encryption provider.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

OK

application/json
get
/api/v1/encryption/provider

Last updated