mirror of
https://github.com/gchq/CyberChef
synced 2025-01-04 00:38:41 +00:00
Merge branch 'fix-to-base45' of https://github.com/mikecat/CyberChef
This commit is contained in:
commit
d6f9e216a6
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,10 @@ class ToBase45 extends Operation {
|
|||
|
||||
if (chars < 2) {
|
||||
res.push("0");
|
||||
chars++;
|
||||
}
|
||||
if (pair.length > 1 && chars < 3) {
|
||||
res.push("0");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue