mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 08:16:17 -04:00
'Show Base64 offsets' operation show supports base64 input. Closes #276
This commit is contained in:
parent
00058bd5c7
commit
61f2f2d2e3
2 changed files with 11 additions and 1 deletions
|
@ -81,6 +81,7 @@ export function fromBase64(data, alphabet="A-Za-z0-9+/=", returnType="string", r
|
|||
return returnType === "string" ? "" : [];
|
||||
}
|
||||
|
||||
alphabet = alphabet || "A-Za-z0-9+/=";
|
||||
alphabet = Utils.expandAlphRange(alphabet).join("");
|
||||
|
||||
const output = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue