|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| ecb_t (ecb_t &&) noexcept=default | |
| ecb_t & | operator= (ecb_t &&) noexcept=default |
| ecb_t (const aes_t &key, bool padding=true) | |
| int | encrypt (const std::string_view &plaintext, std::vector< std::uint8_t > &cipher) |
| int | decrypt (const std::string_view &cipher, std::vector< std::uint8_t > &plaintext) |
Additional Inherited Members | |
| Public Attributes inherited from crypto::cipher::cipher_t | |
| cipher_ctx_t | decrypt_ctx |
| cipher_ctx_t | encrypt_ctx |
| aes_t | key |
| bool | padding |
| crypto::cipher::ecb_t::ecb_t | ( | const aes_t & | key, |
| bool | padding = true ) |
Definition at line 334 of file crypto.cpp.
| int crypto::cipher::ecb_t::decrypt | ( | const std::string_view & | cipher, |
| std::vector< std::uint8_t > & | plaintext ) |
Definition at line 219 of file crypto.cpp.
| int crypto::cipher::ecb_t::encrypt | ( | const std::string_view & | plaintext, |
| std::vector< std::uint8_t > & | cipher ) |
Definition at line 246 of file crypto.cpp.