Cryptographic functions, for encrypting/decrypting sensitive data
Cryptographic functions, for encrypting/decrypting sensitive data
(b64-dek? x)
Checks if argument is a base64-encoded DEK
Checks if argument is a base64-encoded DEK
(crypto-iv req)
(crypto-iv st org-id)
Looks up crypto initialization vector for the org associated with the request. If no crypto record is found, one is generated.
Looks up crypto initialization vector for the org associated with the request. If no crypto record is found, one is generated.
(dek? x)
Checks if the argument is a valid data encryption key
Checks if the argument is a valid data encryption key
(generate-build-dek rt org-id)
Generates a new build-specific DEK, encrypted using the DEK of the org.
Generates a new build-specific DEK, encrypted using the DEK of the org.
(generate-dek req org-id)
Generates a new DEK using request context for given org id. Returns both the encrypted and unencrypted key.
Generates a new DEK using request context for given org id. Returns both the encrypted and unencrypted key.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close