mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Fixing the babel, scrypt, and base58 issues
This commit is contained in:
parent
5155d0ed56
commit
f4de4de8c1
5 changed files with 40 additions and 3 deletions
|
@ -62,7 +62,7 @@ class Scrypt extends Operation {
|
|||
* @returns {string}
|
||||
*/
|
||||
run(input, args) {
|
||||
const salt = Utils.convertToByteString(args[0].string || "", args[0].option),
|
||||
const salt = Buffer.from(Utils.convertToByteArray(args[0].string || "", args[0].option)),
|
||||
iterations = args[1],
|
||||
memFactor = args[2],
|
||||
parallelFactor = args[3],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue