mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Fixed lint issues
This commit is contained in:
parent
215e7a5f5d
commit
c378bcb00b
2 changed files with 5 additions and 5 deletions
|
@ -33,8 +33,8 @@ class EncodeCitrixCTX1 extends Operation {
|
|||
* @returns {byteArray}
|
||||
*/
|
||||
run(input, args) {
|
||||
let utf16pass = Buffer.from(cptable.utils.encode(1200, input));
|
||||
let result = [];
|
||||
const utf16pass = Buffer.from(cptable.utils.encode(1200, input));
|
||||
const result = [];
|
||||
let temp = 0;
|
||||
for (let i = 0; i < utf16pass.length; i++) {
|
||||
temp = utf16pass[i] ^ 0xa5 ^ temp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue