10 ms·
Yes, that looks dodgy - a 64-bit 'N' being renamed 'logN', and its value changed to `1` left shifted by its prior self? I think there's a good bet that's just z
by OJFord 8y ago
Yes, that looks dodgy - a 64-bit 'N' being renamed 'logN', and its value changed to `1` left shifted by its prior self? I think there's a good bet that's just zeroing it out.
- XCSme 8y agoIt's just doing 2^logN...
- deleted 8y ago[deleted]
- OJFord 8y agoWhich ought to be just N - but notice the argument passed in is mysteriously renamed. It may be nothing - I'm not even sure what N is here - I just agree that it looks weird.
- jnewell 8y agohttps://github.com/barrysteyn/node-scrypt/pull/119 https://github.com/barrysteyn/node-scrypt/pull/119