Class: RbNaCl::AEAD::ChaCha20Poly1305Legacy

Inherits:
Base
  • Object
show all
Extended by:
Sodium
Defined in:
lib/rbnacl/aead/chacha20poly1305_legacy.rb

Overview

This class contains wrappers for the original libsodium implementation of Authenticated Encryption with Additional Data using ChaCha20-Poly1305

Constant Summary

Constants inherited from Base

Base::KEYBYTES, Base::NPUBBYTES

Method Summary

Methods included from Sodium

primitive, sodium_constant, sodium_function, sodium_function_with_return_code, sodium_primitive, sodium_type

Methods inherited from Base

#decrypt, #encrypt, #initialize, #key_bytes, key_bytes, nonce_bytes, #nonce_bytes, #primitive, tag_bytes, #tag_bytes

Constructor Details

This class inherits a constructor from RbNaCl::AEAD::Base