CryptoSys API
6.22.1
|
Character conversion routines. More...
Static Public Member Functions | |
static bvec_t | FromBase64 (const std::string &s) |
Decodes a base64-encoded string as an array of bytes. More... | |
static bvec_t | FromHex (const std::string &s) |
Decodes a hexadecimal-encoded string as an array of bytes. More... | |
static std::string | ShortPathName (const std::wstring &filePath) |
Retrieve the Windows short path form of the specified path. More... | |
static std::string | ToBase64 (const bvec_t &bv) |
Encodes an array of bytes as a base64-encoded string. More... | |
static std::string | ToBase64 (const std::string &s) |
Encodes a string as a base64-encoded string. More... | |
static std::string | ToHex (const bvec_t &bv) |
Encodes an array of bytes as a hexadecimal-encoded string. More... | |
static std::string | ToHex (const std::string &s) |
Encodes a string as a hexadecimal-encoded string. More... | |
Character conversion routines.
|
static |
Decodes a base64-encoded string as an array of bytes.
s | Base64-encoded data to be decoded. |
|
static |
Decodes a hexadecimal-encoded string as an array of bytes.
s | Hexadecimal-encoded data to be decoded. |
|
static |
Retrieve the Windows short path form of the specified path.
filePath | Path name in wide characters. |
|
static |
Encodes an array of bytes as a base64-encoded string.
bv | Input byte array. |
|
static |
Encodes a string as a base64-encoded string.
s | String to be endoded. |
|
static |
Encodes an array of bytes as a hexadecimal-encoded string.
bv | Input byte array. |
|
static |
Encodes a string as a hexadecimal-encoded string.
s | String to be endoded. |