JAVA BASE64 (ENCODE, DECODE) to String
1 | import org.apache.commons.codec.binary.Base64; |
2 |
3 | String value = "TEST" ; |
4 | String result; |
5 |
6 | result = new String(Base64.decodeBase64(value.getBytes()), "UTF-8" ); |
by 동호 윤 · Published · Updated
1 | import org.apache.commons.codec.binary.Base64; |
2 |
3 | String value = "TEST" ; |
4 | String result; |
5 |
6 | result = new String(Base64.decodeBase64(value.getBytes()), "UTF-8" ); |
by 동호 윤 · Published 2021년 11월 04일 · Last modified 2025년 03월 29일
by 동호 윤 · Published 2021년 03월 03일 · Last modified 2025년 03월 29일
by 동호 윤 · Published 2021년 03월 17일 · Last modified 2025년 03월 29일
Follow:
최신 댓글