FOF30\Encrypt\Base32::mapBin PHP Method

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));
    }