Closed fanatid closed 7 years ago
IIRC it actually throws an asm.js error if you try to initialize it twice -- it can't resize the array after it's been initialized. If there's a way to make this work, I think re-initializing scrypt could make sense, so you could initialize it with a different memory size.
Should we initialize scrypt every time? Not sure.