Home
last modified time | relevance | path

Searched refs:encodedString (Results 1 – 4 of 4) sorted by relevance

/plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/
H A DBase64.php119 * @param string $encodedString
126 public static function decode(string $encodedString, bool $strictPadding = false): string argument
129 $srcLen = Binary::safeStrlen($encodedString);
136 if ($encodedString[$srcLen - 1] === '=') {
138 if ($encodedString[$srcLen - 1] === '=') {
148 if ($encodedString[$srcLen - 1] === '=') {
154 $encodedString = \rtrim($encodedString, '=');
155 $srcLen = Binary::safeStrlen($encodedString);
163 $chunk = \unpack('C*', Binary::safeSubstr($encodedString, $i, 4));
180 $chunk = \unpack('C*', Binary::safeSubstr($encodedString, $i, $srcLen - $i));
H A DHex.php93 * @param string $encodedString
98 public static function decode(string $encodedString, bool $strictPadding = false): string argument
103 $hex_len = Binary::safeStrlen($encodedString);
111 $encodedString = '0' . $encodedString;
117 $chunk = \unpack('C*', $encodedString);
H A DEncoderInterface.php47 * @param string $encodedString
51 public static function decode(string $encodedString, bool $strictPadding = false): string; argument
H A DBase32.php39 * @param string $encodedString
43 public static function decode(string $encodedString, bool $strictPadding = false): string argument
45 return static::doDecode($encodedString, false, $strictPadding);