Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
秘密鍵ファイルを読み取っていますが、ターゲット ディレクトリから読み取ると例外が発生します。
原因: javax.crypto.BadPaddingException: 指定された最終ブロックが適切にパディングされていません
src ディレクトリから読み取ると、正常に動作します。
これはエンコードの問題ですか?どうすれば修正できますか?