Bug report: Generate all hashes - RangeError. Message: Out of range index
Describe the bug
Recipe failing with error message:
Generate all hashes - RangeError in file:/CyberChef/modules/Crypto.js on line 2.<br><br>Message: Out of range index
To Reproduce Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug: Use the following recipe and enter some characters into input window:
Pseudo-Random_Number_Generator(32,'Raw')
Generate_all_hashes('All',true)
Expected behaviour A proper list of hashes in output window.
Desktop (if relevant, please complete the following information):
- OS: Windows
- Browser: Palemoon
- CyberChef version: 10.18.3
This looks like because LM Hash is failing for some input.
One of input to cause it fail: 09409aa79b41eff65fdf0c9158e4992399c360fb7f3edbbd8a3c3aede8aca3e2 (hex)
Another input to make LM Hash fail: cf df 26 2e 2d 2b 2c 30 21 25 21 53 28 2a