[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
Copyright (c) 2016 - 2022 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
File Size: | 519 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
decode(string $encodedString, bool $strictPadding = false) X-Ref |
Decode a Base32-encoded string into raw binary param: string $encodedString param: bool $strictPadding return: string |
decodeUpper(string $src, bool $strictPadding = false) X-Ref |
Decode an uppercase Base32-encoded string into raw binary param: string $src param: bool $strictPadding return: string |
encode(string $binString) X-Ref |
Encode into Base32 (RFC 4648) param: string $binString return: string |
encodeUnpadded(string $src) X-Ref |
Encode into Base32 (RFC 4648) param: string $src return: string |
encodeUpper(string $src) X-Ref |
Encode into uppercase Base32 (RFC 4648) param: string $src return: string |
encodeUpperUnpadded(string $src) X-Ref |
Encode into uppercase Base32 (RFC 4648) param: string $src return: string |
decode5Bits(int $src) X-Ref |
Uses bitwise operators instead of table-lookups to turn 5-bit integers into 8-bit integers. param: int $src return: int |
decode5BitsUpper(int $src) X-Ref |
Uses bitwise operators instead of table-lookups to turn 5-bit integers into 8-bit integers. Uppercase variant. param: int $src return: int |
encode5Bits(int $src) X-Ref |
Uses bitwise operators instead of table-lookups to turn 8-bit integers into 5-bit integers. param: int $src return: string |
encode5BitsUpper(int $src) X-Ref |
Uses bitwise operators instead of table-lookups to turn 8-bit integers into 5-bit integers. Uppercase variant. param: int $src return: string |
decodeNoPadding(string $encodedString, bool $upper = false) X-Ref |
param: string $encodedString param: bool $upper return: string |
doDecode(string $src,bool $upper = false,bool $strictPadding = false) X-Ref |
Base32 decoding param: string $src param: bool $upper param: bool $strictPadding return: string |
doEncode(string $src, bool $upper = false, $pad = true) X-Ref |
Base32 Encoding param: string $src param: bool $upper param: bool $pad return: string |