mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Merge pull request #94 from surevine/base32-issue
Fixed an issue with Base32 encoding
This commit is contained in:
commit
456aeeda7e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ var Base64 = {
|
||||||
enc3 = (chr2 >> 1) & 31;
|
enc3 = (chr2 >> 1) & 31;
|
||||||
enc4 = ((chr2 & 1) << 4) | (chr3 >> 4);
|
enc4 = ((chr2 & 1) << 4) | (chr3 >> 4);
|
||||||
enc5 = ((chr3 & 15) << 1) | (chr4 >> 7);
|
enc5 = ((chr3 & 15) << 1) | (chr4 >> 7);
|
||||||
enc6 = (chr4 >> 2) & 63;
|
enc6 = (chr4 >> 2) & 31;
|
||||||
enc7 = ((chr4 & 3) << 3) | (chr5 >> 5);
|
enc7 = ((chr4 & 3) << 3) | (chr5 >> 5);
|
||||||
enc8 = chr5 & 31;
|
enc8 = chr5 & 31;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue