|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#include <aes_helper.hpp>
Static Public Member Functions | |
| static ByteVector | AESEncrypt (const ByteVector &data, const ByteVector &key, const ByteVector &iv_data) |
| static ByteVector | AESDecrypt (const ByteVector &data, const ByteVector &key, ByteVector const &iv_data) |
Static Private Member Functions | |
| static ByteVector | AESRun (const ByteVector &data, const ByteVector &key, const ByteVector &iv_data, bool crypt) |
Some static AES helper method with a very easy to use API.
|
static |
Decrypt data using key key and iv_data.
If iv_data is empty, use a null IV.
Returns the decrypted buffer.
|
static |
Encrypt data using key key and iv_data.
If iv_data is empty, use a null IV.
Returns the encrypted buffer.
|
staticprivate |
1.9.6