Liking cljdoc? Tell your friends :D

monkey.ci.vault.scw

Scaleway implementation of crypto functionality

Scaleway implementation of crypto functionality
raw docstring

decrypt-dekclj

(decrypt-dek client dek)

Given an encrypted DEK, decrypts it using the configured Scaleway encryption key and returns the unencrypted value (base64 encoded). This value can then be passed to common/encrypt and common/decrypt, in combination with an initialization vector.

Given an encrypted DEK, decrypts it using the configured Scaleway encryption key
and returns the unencrypted value (base64 encoded).  This value can then be passed
to `common/encrypt` and `common/decrypt`, in combination with an initialization
vector.
sourceraw docstring

generate-dekclj

(generate-dek client)

Generates a new AES256 data encryption key (DEK). Returns a deferred that contains the generated key and it's encrypted value (for storage). The DEK should be used to encrypt data, or other encryption keys. The key should be decoded from base64 before passing it to common/encrypt.

Generates a new AES256 data encryption key (DEK).  Returns a deferred that 
contains the generated key and it's encrypted value (for storage).  The DEK 
should be used to encrypt data, or other encryption keys.  The key should 
be decoded from base64 before passing it to `common/encrypt`.
sourceraw docstring

make-clientclj

(make-client config)

Creates a Scaleway api client using given config

Creates a Scaleway api client using given config
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close