Android

ECB encryption mode should not be used (was

aucd29 2017. 10. 10. 14:55
lint 체크중..

ECB encryption mode should not be used (was "AES/ECB/PKCS5Padding") 경고가 발생하였고 찾아보니

https://stackoverflow.com/questions/36016288/cipher-with-ecb-mode-should-not-be-used

Android Studio 버그라는 글이 존재한다. 해당 메소드에 @SuppressLint("GetInstance") 를 추가하여 무시하도록 한다.

이슈 리포트 : https://code.google.com/p/android/issues/detail?id=204099