Dcrypt\Support::bin2dec PHP Method

bin2dec() protected static method

Reverses dec2bin
protected static bin2dec ( string $bin ) : string
$bin string Binary string to convert to decimal
return string
    protected static function bin2dec($bin)
    {
        return \hexdec(\bin2hex($bin));
    }