|
template<typename _ChTy > |
XString< _ChTy > | winux::UrlEncode (void const *buf, size_t size) |
| URL编码 更多...
|
|
template<> |
XString< char > | winux::UrlEncode (void const *buf, size_t size) |
| URL编码 更多...
|
|
template<> |
XString< wchar > | winux::UrlEncode (void const *buf, size_t size) |
| URL编码 更多...
|
|
template<> |
XString< char16 > | winux::UrlEncode (void const *buf, size_t size) |
| URL编码 更多...
|
|
template<> |
XString< char32 > | winux::UrlEncode (void const *buf, size_t size) |
| URL编码 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::UrlEncode (AnsiString const &data) |
|
template<typename _ChTy > |
XString< _ChTy > | winux::UrlEncodeBuffer (Buffer const &buf) |
|
template<typename _ChTy > |
AnsiString | winux::UrlDecode (XString< _ChTy > const &encodedStr) |
| URL编码,与UrlEncode()配套 更多...
|
|
template<> |
AnsiString | winux::UrlDecode (XString< char > const &encodedStr) |
|
template<> |
AnsiString | winux::UrlDecode (XString< wchar > const &encodedStr) |
|
template<> |
AnsiString | winux::UrlDecode (XString< char16 > const &encodedStr) |
|
template<> |
AnsiString | winux::UrlDecode (XString< char32 > const &encodedStr) |
|
template<typename _ChTy > |
Buffer | winux::UrlDecodeBuffer (XString< _ChTy > const &encodedStr) |
| URL编码,与UrlEncodeBuffer()配套 更多...
|
|
template<> |
Buffer | winux::UrlDecodeBuffer (XString< char > const &encodedStr) |
|
template<> |
Buffer | winux::UrlDecodeBuffer (XString< wchar > const &encodedStr) |
|
template<> |
Buffer | winux::UrlDecodeBuffer (XString< char16 > const &encodedStr) |
|
template<> |
Buffer | winux::UrlDecodeBuffer (XString< char32 > const &encodedStr) |
|
AnsiString | winux::UrlDecode (AnsiString const &encodedStr) |
|
Buffer | winux::UrlDecodeBuffer (AnsiString const &encodedStr) |
|
template<typename _ChTy > |
XString< _ChTy > | winux::UriComponentEncode (void const *buf, size_t size) |
| URI组成部分编码,遵循RFC1738. 更多...
|
|
template<> |
XString< char > | winux::UriComponentEncode (void const *buf, size_t size) |
| URI组成部分编码,遵循RFC1738. 更多...
|
|
template<> |
XString< wchar > | winux::UriComponentEncode (void const *buf, size_t size) |
| URI组成部分编码,遵循RFC1738. 更多...
|
|
template<> |
XString< char16 > | winux::UriComponentEncode (void const *buf, size_t size) |
| URI组成部分编码,遵循RFC1738. 更多...
|
|
template<> |
XString< char32 > | winux::UriComponentEncode (void const *buf, size_t size) |
| URI组成部分编码,遵循RFC1738. 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::UriComponentEncode (AnsiString const &data) |
|
template<typename _ChTy > |
XString< _ChTy > | winux::UriComponentEncodeBuffer (Buffer const &buf) |
|
template<typename _ChTy > |
AnsiString | winux::UriComponentDecode (XString< _ChTy > const &encodedStr) |
| URI组成部分编码,与UriComponentEncode()配套 更多...
|
|
template<> |
AnsiString | winux::UriComponentDecode (XString< char > const &encodedStr) |
|
template<> |
AnsiString | winux::UriComponentDecode (XString< wchar > const &encodedStr) |
|
template<> |
AnsiString | winux::UriComponentDecode (XString< char16 > const &encodedStr) |
|
template<> |
AnsiString | winux::UriComponentDecode (XString< char32 > const &encodedStr) |
|
template<typename _ChTy > |
Buffer | winux::UriComponentDecodeBuffer (XString< _ChTy > const &encodedStr) |
| URI组成部分编码,与UriComponentEncodeBuffer()配套 更多...
|
|
template<> |
Buffer | winux::UriComponentDecodeBuffer (XString< char > const &encodedStr) |
|
template<> |
Buffer | winux::UriComponentDecodeBuffer (XString< wchar > const &encodedStr) |
|
template<> |
Buffer | winux::UriComponentDecodeBuffer (XString< char16 > const &encodedStr) |
|
template<> |
Buffer | winux::UriComponentDecodeBuffer (XString< char32 > const &encodedStr) |
|
AnsiString | winux::UriComponentDecode (AnsiString const &encodedStr) |
|
Buffer | winux::UriComponentDecodeBuffer (AnsiString const &encodedStr) |
|
String | winux::UrlEncodeString (String const &str, bool asUtf8=sizeof(String::value_type)==sizeof(wchar)) |
| URL编码 更多...
|
|
String | winux::UrlDecodeString (String const &encodedStr, bool isUtf8=sizeof(String::value_type)==sizeof(wchar)) |
| URL解码,与UrlEncodeString()配套 更多...
|
|
String | winux::UriComponentEncodeString (String const &str, bool asUtf8=sizeof(String::value_type)==sizeof(wchar)) |
| URI组成部分编码,遵循RFC1738. 更多...
|
|
String | winux::UriComponentDecodeString (String const &encodedStr, bool isUtf8=sizeof(String::value_type)==sizeof(wchar)) |
| URI组成部分解码,与UriComponentEncodeString()配套 更多...
|
|
String | winux::HtmlEncode (String const &str) |
| HTML编码。作用字符:'&', '<', '>', ' '. 更多...
|
|
String | winux::HtmlDecode (String const &str) |
| HTML解码。与HtmlEncode()配套 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Base64Encode (void const *buf, size_t size) |
| Base64编码 更多...
|
|
template<> |
XString< char > | winux::Base64Encode (void const *buf, size_t size) |
| Base64编码 更多...
|
|
template<> |
XString< wchar > | winux::Base64Encode (void const *buf, size_t size) |
| Base64编码 更多...
|
|
template<> |
XString< char16 > | winux::Base64Encode (void const *buf, size_t size) |
| Base64编码 更多...
|
|
template<> |
XString< char32 > | winux::Base64Encode (void const *buf, size_t size) |
| Base64编码 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Base64Encode (AnsiString const &data) |
| Base64编码 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Base64EncodeBuffer (Buffer const &buf) |
| Base64编码 更多...
|
|
template<typename _ChTy > |
AnsiString | winux::Base64Decode (XString< _ChTy > const &base64Str) |
| Base64解码,与Base64Encode()配套 更多...
|
|
template<> |
AnsiString | winux::Base64Decode (XString< char > const &base64Str) |
|
template<> |
AnsiString | winux::Base64Decode (XString< wchar > const &base64Str) |
|
template<> |
AnsiString | winux::Base64Decode (XString< char16 > const &base64Str) |
|
template<> |
AnsiString | winux::Base64Decode (XString< char32 > const &base64Str) |
|
template<typename _ChTy > |
Buffer | winux::Base64DecodeBuffer (XString< _ChTy > const &base64Str) |
| Base64解码,与Base64Encode()配套 更多...
|
|
template<> |
Buffer | winux::Base64DecodeBuffer (XString< char > const &base64Str) |
|
template<> |
Buffer | winux::Base64DecodeBuffer (XString< wchar > const &base64Str) |
|
template<> |
Buffer | winux::Base64DecodeBuffer (XString< char16 > const &base64Str) |
|
template<> |
Buffer | winux::Base64DecodeBuffer (XString< char32 > const &base64Str) |
|
AnsiString | winux::Base64Decode (AnsiString const &base64Str) |
| Base64解码,与Base64Encode()配套 更多...
|
|
Buffer | winux::Base64DecodeBuffer (AnsiString const &base64Str) |
|
template<typename _ChTy > |
XString< _ChTy > | winux::BufferToHex (Buffer const &buf) |
| 二进制数据转成16进制串 更多...
|
|
template<> |
XString< char > | winux::BufferToHex (Buffer const &buf) |
| 二进制数据转成16进制串 更多...
|
|
template<> |
XString< wchar > | winux::BufferToHex (Buffer const &buf) |
| 二进制数据转成16进制串 更多...
|
|
template<> |
XString< char16 > | winux::BufferToHex (Buffer const &buf) |
| 二进制数据转成16进制串 更多...
|
|
template<> |
XString< char32 > | winux::BufferToHex (Buffer const &buf) |
| 二进制数据转成16进制串 更多...
|
|
template<typename _ChTy > |
Buffer | winux::HexToBuffer (XString< _ChTy > const &hexStr) |
| 16进制串转成二进制数据 更多...
|
|
template<> |
Buffer | winux::HexToBuffer (XString< char > const &hexStr) |
|
template<> |
Buffer | winux::HexToBuffer (XString< wchar > const &hexStr) |
|
template<> |
Buffer | winux::HexToBuffer (XString< char16 > const &hexStr) |
|
template<> |
Buffer | winux::HexToBuffer (XString< char32 > const &hexStr) |
|
Buffer | winux::HexToBuffer (AnsiString const &hexStr) |
| 16进制串转成二进制数据 更多...
|
|
Buffer | winux::Md5 (void const *buf, size_t size) |
| 将数据进行md5编码,返回二进制数据 更多...
|
|
Buffer | winux::Md5 (Buffer const &buf) |
| 将数据进行md5编码,返回二进制数据 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Md5Hex (void const *buf, size_t size) |
| 将数据进行md5编码,返回16进制数字符串 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Md5Hex (Buffer const &buf) |
| 将数据进行md5编码,返回16进制数字符串 更多...
|
|
Buffer | winux::Sha1 (void const *buf, size_t size) |
| 将数据进行sha1编码,返回二进制数据 更多...
|
|
Buffer | winux::Sha1 (Buffer const &buf) |
| 将数据进行sha1编码,返回二进制数据 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha1Hex (void const *buf, size_t size) |
| 将数据进行sha1编码,返回16进制数字符串 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha1Hex (Buffer const &buf) |
| 将数据进行sha1编码,返回16进制数字符串 更多...
|
|
Buffer | winux::Sha224 (void const *buf, size_t size) |
| 将数据进行sha224编码,返回二进制数据 更多...
|
|
Buffer | winux::Sha224 (Buffer const &buf) |
| 将数据进行sha224编码,返回二进制数据 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha224Hex (void const *buf, size_t size) |
| 将数据进行sha224编码,返回16进制数字符串 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha224Hex (Buffer const &buf) |
| 将数据进行sha224编码,返回16进制数字符串 更多...
|
|
Buffer | winux::Sha256 (void const *buf, size_t size) |
| 将数据进行sha256编码,返回二进制数据 更多...
|
|
Buffer | winux::Sha256 (Buffer const &buf) |
| 将数据进行sha256编码,返回二进制数据 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha256Hex (void const *buf, size_t size) |
| 将数据进行sha256编码,返回16进制数字符串 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha256Hex (Buffer const &buf) |
| 将数据进行sha256编码,返回16进制数字符串 更多...
|
|
Buffer | winux::Sha384 (void const *buf, size_t size) |
| 将数据进行sha384编码,返回二进制数据 更多...
|
|
Buffer | winux::Sha384 (Buffer const &buf) |
| 将数据进行sha384编码,返回二进制数据 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha384Hex (void const *buf, size_t size) |
| 将数据进行sha384编码,返回16进制数字符串 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha384Hex (Buffer const &buf) |
| 将数据进行sha384编码,返回16进制数字符串 更多...
|
|
Buffer | winux::Sha512 (void const *buf, size_t size) |
| 将数据进行sha512编码,返回二进制数据 更多...
|
|
Buffer | winux::Sha512 (Buffer const &buf) |
| 将数据进行sha512编码,返回二进制数据 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha512Hex (void const *buf, size_t size) |
| 将数据进行sha512编码,返回16进制数字符串 更多...
|
|
template<typename _ChTy > |
XString< _ChTy > | winux::Sha512Hex (Buffer const &buf) |
| 将数据进行sha512编码,返回16进制数字符串 更多...
|
|
int | winux::RawEncrypt (byte const *data, size_t dataSize, byte *buf, size_t bufSize, size_t *outSize) |
| 未进行C++包装的内容加密 更多...
|
|
int | winux::RawDecrypt (byte const *encryptData, size_t dataSize, byte *buf, size_t bufSize, size_t *outSize) |
| 未进行C++包装的内容解密,与RawEncrypt()配套 更多...
|
|
AnsiString | winux::EncryptContent (AnsiString const &content) |
| 内容加密 更多...
|
|
Buffer | winux::EncryptContent (Buffer const &content) |
| 内容加密 更多...
|
|
AnsiString | winux::DecryptContent (AnsiString const &encryptContent) |
| 内容解密,与EncryptContent()配套 更多...
|
|
Buffer | winux::DecryptContent (Buffer const &encryptContent) |
| 内容解密,与EncryptContent()配套 更多...
|
|