![]() |
AnCH Framework
0.1
Another C++ Hack Framework
|
PKCS5 padding implementation. More...
#include <pkcs5Padding.hpp>
Static Public Member Functions | |
| static void | pad (uint8_t *data, std::size_t len, std::size_t expLen) |
| static std::size_t | length (uint8_t *data, std::size_t len) |
PKCS5 padding implementation.
Padding used in PKCS5 public-key cryptography standard.
|
static |
Unpad data
| data | the data to unpad |
| len | the block length |
|
static |
Pad data
| data | the data to pad |
| len | the data length |
| expLen | the expected length |
1.8.11