mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
fix "To Base45" ( #1351 )
This commit is contained in:
parent
477e4a7421
commit
11da4188ee
@ -65,6 +65,10 @@ class ToBase45 extends Operation {
|
|||||||
|
|
||||||
if (chars < 2) {
|
if (chars < 2) {
|
||||||
res.push("0");
|
res.push("0");
|
||||||
|
chars++;
|
||||||
|
}
|
||||||
|
if (pair.length > 1 && chars < 3) {
|
||||||
|
res.push("0");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user