Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
constant_time_encoding
Commits
3f3bf064
Commit
3f3bf064
authored
2 years ago
by
Paragon Initiative Enterprises
Browse files
Options
Download
Patches
Plain Diff
Add Base64::decodeNoPadding() and Base32::decodeNoPadding()
This is a strict decoding method that doesn't tolerate '=' padding.
parent
1e4988b9
master
v2.6.3
v2.6.2
v2.6.1
v2.6.0
No related merge requests found
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
src/Base32.php
+45
-2
src/Base32.php
src/Base32Hex.php
+1
-1
src/Base32Hex.php
src/Base64.php
+37
-4
src/Base64.php
src/Base64DotSlash.php
+1
-1
src/Base64DotSlash.php
src/Base64DotSlashOrdered.php
+1
-1
src/Base64DotSlashOrdered.php
src/Base64UrlSafe.php
+1
-1
src/Base64UrlSafe.php
src/Binary.php
+1
-1
src/Binary.php
src/EncoderInterface.php
+1
-1
src/EncoderInterface.php
src/Encoding.php
+1
-1
src/Encoding.php
src/Hex.php
+1
-1
src/Hex.php
src/RFC4648.php
+1
-1
src/RFC4648.php
tests/Base32HexTest.php
+8
-0
tests/Base32HexTest.php
tests/Base32Test.php
+28
-0
tests/Base32Test.php
tests/Base64DotSlashOrderedTest.php
+9
-0
tests/Base64DotSlashOrderedTest.php
tests/Base64DotSlashTest.php
+9
-0
tests/Base64DotSlashTest.php
tests/Base64Test.php
+8
-0
tests/Base64Test.php
tests/Base64UrlSafeTest.php
+8
-0
tests/Base64UrlSafeTest.php
with
161 additions
and
15 deletions
+161
-15
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets