mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
correcting loop
This commit is contained in:
parent
0ebafdc7f2
commit
ba9127c9c8
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ async function sign(input, context, privateKey) {
|
|||
const messageTypedArr = new Uint8Array(input);
|
||||
const messageArr = reserve(offset, messageTypedArr.length);
|
||||
|
||||
for (let i = 0; i < input.length; i++) {
|
||||
for (let i = 0; i < messageTypedArr.length; i++) {
|
||||
messageArr.set([messageTypedArr.at(i)], i);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue