I\'m trying to decrypt a Windows WiFi password on the same machine using Java which is supposed to work with cryptUnprotectData() but I\'m getting the following error:
You're using getBytes() on a hex string, when you should be parsing the hex string into bytes.
getBytes()
Choose your preferred way from the following links.
In Java, how do I convert a hex string to a byte[]?
Convert a string representation of a hex dump to a byte array using Java?