-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Base 32 Pattern Check BASE 32 works in groups of 8 Characters. Valid Final 8 Characters(with / without padding): CC====== CC CCCC==== CCCC CCCCC=== CCCCC CCCCCCC= CCCCCCC CCCCCCCC Invalid Final 8 Characters(with / without padding): C======= C CCCCCC== CCCCCC Invalid 8 characters group should throw an error, since it won't be possible to uncoded them back. * Allow empty string & update tests * Add tests for incorrect padding * Fix on Empty String Empty string was not raising TealInputError. * Allowing Empty strings Sorry about that, first I understood that the issue was that empty strings were allowed. I rolled it back. Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
- Loading branch information
1 parent
158202a
commit 4e8d5cf
Showing
4 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters