package |
ParagonIE\ConstantTime
|
Methods
RFC 4648 Base32 decoding
base32Decode(string $str): string
static
Arguments
Response
string
RFC 4648 Base32 decoding
base32DecodeUpper(string $str): string
static
Arguments
Response
string
RFC 4648 Base32 encoding
base32Encode(string $str): string
static
Arguments
Response
string
RFC 4648 Base32 encoding
base32EncodeUpper(string $str): string
static
Arguments
Response
string
RFC 4648 Base32Hex decoding
base32HexDecode(string $str): string
static
Arguments
Response
string
RFC 4648 Base32Hex decoding
base32HexDecodeUpper(string $str): string
static
Arguments
Response
string
RFC 4648 Base32 encoding
base32HexEncode(string $str): string
static
Arguments
Response
string
RFC 4648 Base32Hex encoding
base32HexEncodeUpper(string $str): string
static
Arguments
Response
string
RFC 4648 Base64 decoding
base64Decode(string $str): string
static
Arguments
Response
string
Decode from base64 to raw binary
base64DecodeDotSlash(string $str): string
static
Base64 character set "./[A-Z][a-z][0-9]"
Throws |
- \RangeException
- \TypeError
|
Arguments
Response
string
Decode from base64 to raw binary
base64DecodeDotSlashOrdered(string $str): string
static
Base64 character set "[.-9][A-Z][a-z]" or "./[0-9][A-Z][a-z]"
Throws |
- \RangeException
- \TypeError
|
Arguments
Response
string
RFC 4648 Base64 encoding
base64Encode(string $str): string
static
Arguments
Response
string
Encode into Base64
base64EncodeDotSlash(string $str): string
static
Base64 character set "./[A-Z][a-z][0-9]"
Arguments
Response
string
Encode into Base64
base64EncodeDotSlashOrdered(string $str): string
static
Base64 character set "[.-9][A-Z][a-z]" or "./[0-9][A-Z][a-z]"
Arguments
Response
string
Convert a hexadecimal string into a binary string without cache-timing
leaks
hexDecode(string $hex_string): string
static
Arguments
Response
string
(raw binary)
Convert a binary string into a hexadecimal string without cache-timing
leaks
hexDecodeUpper(string $bin_string): string
static
Arguments
$bin_string
string
(raw binary)
Response
string
Convert a binary string into a hexadecimal string without cache-timing
leaks
hexEncode(string $bin_string): string
static
Arguments
$bin_string
string
(raw binary)
Response
string
Convert a binary string into a hexadecimal string without cache-timing
leaks
hexEncodeUpper(string $bin_string): string
static
Arguments
$bin_string
string
(raw binary)
Response
string