module Cox

Defined in:

cox.cr
cox/key.cr
cox/key_pair.cr
cox/lib_sodium.cr
cox/nonce.cr
cox/public_key.cr
cox/secret_key.cr
cox/sign_key_pair.cr
cox/sign_public_key.cr
cox/sign_secret_key.cr
cox/version.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.decrypt(data, nonce : Nonce, sender_public_key : PublicKey, recipient_secret_key : SecretKey) #

[View source]
def self.encrypt(data, nonce : Nonce, recipient_public_key : PublicKey, sender_secret_key : SecretKey) #

[View source]
def self.encrypt(data, recipient_public_key : PublicKey, sender_secret_key : SecretKey) #

[View source]
def self.sign_detached(message, secret_key : SignSecretKey) #

[View source]
def self.verify_detached(signature, message, public_key : SignPublicKey) #

[View source]