module Cox
Defined in:
cox.crcox/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
- .decrypt(data, nonce : Nonce, sender_public_key : PublicKey, recipient_secret_key : SecretKey)
- .encrypt(data, nonce : Nonce, recipient_public_key : PublicKey, sender_secret_key : SecretKey)
- .encrypt(data, recipient_public_key : PublicKey, sender_secret_key : SecretKey)
- .sign_detached(message, secret_key : SignSecretKey)
- .verify_detached(signature, message, public_key : SignPublicKey)
Class Method Detail
def self.decrypt(data, nonce : Nonce, sender_public_key : PublicKey, recipient_secret_key : SecretKey)
#
def self.encrypt(data, nonce : Nonce, recipient_public_key : PublicKey, sender_secret_key : SecretKey)
#