No one on the Internet has mentioned this kind of problem. This BUG is very secretive. The encryption end does not have this "\n" newline character, but the decryption end has this newline character "\n", which is the key length abnormality caused by this.
Process the AES key when loading it, replacing "\n".
Solve AES encryption error: java.security.InvalidKeyException: Unsupported key size: xx bytes
Guess you like
Origin blog.csdn.net/qq_41490274/article/details/115347241
Recommended
Ranking