|
static | decode ($encoded_string) |
| Convert a binary string into a hexadecimal string without cache-timing leaks.
|
|
static | decode5Bits ($src) |
| Uses bitwise operators instead of table-lookups to turn 5-bit integers into 8-bit integers.
|
|
static | decode5BitsUpper ($src) |
| Uses bitwise operators instead of table-lookups to turn 5-bit integers into 8-bit integers.
|
|
static | decodeUpper ($src, $strictPadding=false) |
| Decode an uppercase Base32-encoded string into raw binary.
|
|
static | doDecode ($src, $upper=false, $strictPadding=true) |
| Base32 decoding.
|
|
static | doEncode ($src, $upper=false, $pad=true) |
| Base32 Decoding.
|
|
static | encode ($src) |
| Encode into Base32 (RFC 4648)
|
|
static | encode5Bits ($src) |
| Uses bitwise operators instead of table-lookups to turn 8-bit integers into 5-bit integers.
|
|
static | encode5BitsUpper ($src) |
| Uses bitwise operators instead of table-lookups to turn 8-bit integers into 5-bit integers.
|
|
static | encodeUnpadded ($src) |
| Encode into Base32 (RFC 4648)
|
|
static | encodeUpper ($src) |
| Encode into uppercase Base32 (RFC 4648)
|
|
static | encodeUpperUnpadded ($src) |
| Encode into uppercase Base32 (RFC 4648)
|
|
static | safeSubstr ( $str, $start=0, $length=null) |
| Safe substring.
|
|
|
*Copyright(c) 2016 - 2017 Paragon Initiative Enterprises. *Copyright(c) 2014 Steve "Sc00bz" Thomas(steve at tobtu dot com) **Permission is hereby granted free of | charge |
|
*Copyright(c) 2016 - 2017 Paragon Initiative Enterprises. *Copyright(c) 2014 Steve "Sc00bz" Thomas(steve at tobtu dot com) **Permission is hereby granted free of | charge |
|
*Copyright(c) 2016 - 2017 Paragon Initiative Enterprises. *Copyright(c) 2014 Steve "Sc00bz" Thomas(steve at tobtu dot com) **Permission is hereby granted free of | charge |
|
| else |
|
*Copyright(c) 2016 - 2017 Paragon Initiative Enterprises. *Copyright(c) 2014 Steve "Sc00bz" Thomas(steve at tobtu dot com) **Permission is hereby granted free of to any person obtaining a copy *of this software and associated documentation files(the "Software") to deal *in the Software without | restriction |
|
*Copyright(c) 2016 - 2017 Paragon Initiative Enterprises. *Copyright(c) 2014 Steve "Sc00bz" Thomas(steve at tobtu dot com) **Permission is hereby granted free of to any person obtaining a copy *of this software and associated documentation files(the "Software") to deal *in the Software without | restriction |
|
*Copyright(c) 2016 - 2017 Paragon Initiative Enterprises. *Copyright(c) 2014 Steve "Sc00bz" Thomas(steve at tobtu dot com) **Permission is hereby granted free of to any person obtaining a copy *of this software and associated documentation files(the "Software") to deal *in the Software without | restriction |
|