Class ParagonIE_Sodium_Core_Base64
Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
package | Default |
---|
decode(string $src,boolean $strictPadding = false): string
Base64 character set "./[A-Z][a-z][0-9]"
psalm-suppress | RedundantCondition |
---|---|
Throws |
|
string
boolean
string
decode6Bits(integer $src): integer
Base64 character set: [A-Z] [a-z] [0-9] + / 0x41-0x5a, 0x61-0x7a, 0x30-0x39, 0x2b, 0x2f
integer
integer
doEncode(string $src,boolean $pad = true): string
Throws |
|
---|
string
boolean
Include = padding?
string
encode(string $src): string
Base64 character set "[A-Z][a-z][0-9]+/"
Throws |
|
---|
string
string
encode6Bits(integer $src): string
integer
string
encodeUnpadded(string $src): string
Base64 character set "[A-Z][a-z][0-9]+/"
Throws |
|
---|
string
string