728x90
반응형

이슈
input length must be multiple of 16 when decrypting with padded cipher
원인
암호화는 됐는데 복호화가 안됨
HttpServletRequest nextElement()로 파라미터 값을 가져올때 '+'를 공백으로 처리해서 암호화되던게 바껴서 형식이 안맞아 복호화 오류가 나는 문제였다.
해결
replace로 공백을 '+'로 바꿔주었다.
728x90
반응형
'Programming > error' 카테고리의 다른 글
| [Tibero] Expression is not in a GROUP BY clause. (0) | 2023.02.16 |
|---|---|
| [SVN] commit 할때 svn out of date 오류 (0) | 2023.02.03 |
| prettier 오류 (0) | 2022.05.30 |
| [Vue.js error] delete `␍`eslint 해결하기 (0) | 2022.05.08 |
| [spring] Could not find 'tools.jar' in the active JRE. 오류 (0) | 2022.03.14 |