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
mapBin
FOF30\Encrypt\Base32::mapBin PHP Method
Base32 Class Documentation
Show file
Open project: akeeba/fof
mapBin()
private
method
Used with array_map to map the characters from a base32 character set directly into a binary string
private
mapBin
(
string
$chr
) :
string
$chr
string
The caracter to map
return
string
String of 0's and 1's
private function mapBin($chr) { return sprintf('%08b', strpos(self::CSRFC3548, $chr)); }
Base32
bin2str
decode
encode
fromBin
mapBin
mapCharset
str2bin
toBin