where is pre shared key stored?
For WPA/WPA2 preshared keys, the DataOut.pbData will contain the plaintext password. Unlike WPA/WPA2 keys, WEP keys are stored in hex format, i.e., the output buffer will store the key in its binary representation. A single post-processing step is required to convert the binary string to hex: