FOF30\Encrypt\Base32::mapBin PHP Méthode

mapBin() private méthode

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
Résultat string String of 0's and 1's
    private function mapBin($chr)
    {
        return sprintf('%08b', strpos(self::CSRFC3548, $chr));
    }