Liking cljdoc? Tell your friends :D

thi.ng.crypto.core


closing-streamclj

(closing-stream streams)

decrypt-streamclj

(decrypt-stream src out sec-key pass)

Takes a src stream, output stream & public key. Writes decrypted file to output.

Takes a src stream, output stream & public key. Writes decrypted
file to output.
raw docstring

dsa-keypairclj


elgamal-keypairclj


encrypt-fileclj

(encrypt-file in out pub-key)

Takes a in file path, output target path & public key. Writes encrypted file to target stream.

Takes a in file path, output target path & public key. Writes encrypted
file to target stream.
raw docstring

encrypt-streamclj

(encrypt-stream in out pub-key)

Takes an input stream, output stream & public key. Writes encrypted file to output.

Takes an input stream, output stream & public key. Writes encrypted
file to output.
raw docstring

encrypted-streamclj

(encrypted-stream out-stream pub-key buf-size)

export-keypairclj

(export-keypair key out-pub out-sec & [armored?])

Takes a secret key and two output targets/streams/filepaths to write public & secret keys to. An optional truthy arg can be added to write keys as armored ASCII.

Takes a secret key and two output targets/streams/filepaths to write
public & secret keys to. An optional truthy arg can be added to write
keys as armored ASCII.
raw docstring

extract-private-keyclj

(extract-private-key key pass)

Takes a secret key & passphrase, extracts encrypted private key.

Takes a secret key & passphrase, extracts encrypted private key.
raw docstring

generate-keypair*clj

(generate-keypair* algorithm)

generate-secret-keyclj

(generate-secret-key pair ident pass)

Generates secret key from given keypair, identity & passphrase.

Generates secret key from given keypair, identity & passphrase.
raw docstring

public-keyclj

(public-key path)

Retrieves first public key which can be used for encryption from given stream/path.

Retrieves first public key which can be used for encryption from
given stream/path.
raw docstring

rsa-keypairclj


secret-keyclj

(secret-key path)

Retrieves first secret key which is usable for signing from given stream/path. Also checks that related public key is not revoked.

Retrieves first secret key which is usable for signing from given
stream/path. Also checks that related public key is not revoked.
raw docstring

zipped-streamclj

(zipped-stream out buf-size)

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

× close