Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FOF30
Encrypt
Base32
mapCharset
FOF30\Encrypt\Base32::mapCharset PHP Method
Base32 Class Documentation
Show file
Open project: akeeba/fof
mapCharset()
private
method
Used with array_map to map the bits from a binary string directly into a base32 character set
private
mapCharset
(
string
$str
) :
string
$str
string
The string of 0's and 1's you want to convert
return
string
Resulting base32 character
private function mapCharset($str) { // Huh! $x = self::CSRFC3548; return $x[bindec($str)]; }
Base32
bin2str
decode
encode
fromBin
mapBin
mapCharset
str2bin
toBin