1
0
mirror of synced 2024-11-28 00:20:48 +01:00

Merge pull request #94 from surevine/base32-issue

Fixed an issue with Base32 encoding
This commit is contained in:
n1474335 2017-03-23 15:26:25 +00:00 committed by GitHub
commit 456aeeda7e

View File

@ -103,7 +103,7 @@ var Base64 = {
enc3 = (chr2 >> 1) & 31;
enc4 = ((chr2 & 1) << 4) | (chr3 >> 4);
enc5 = ((chr3 & 15) << 1) | (chr4 >> 7);
enc6 = (chr4 >> 2) & 63;
enc6 = (chr4 >> 2) & 31;
enc7 = ((chr4 & 3) << 3) | (chr5 >> 5);
enc8 = chr5 & 31;