[Android] SNS 로그인 키해시(key hash) 추출
SNS 로그인 연동시 확인해야 할 키해시는 아래와 같이 총 3가지가 필요하다. - debug key hash - release key hash - google app signing key hash 디버그모드 (개발자 테스트)용으로 로그인 확인할 때는 debug ke..
puch-android.tistory.com
참고한블로그
private void getReleaseHashKey() {
byte[] sha1 = {
(byte)0xDA, (byte)0x22, (byte)0xD9, (byte)0x0D, (byte)0xBD, (byte)0x8F,
(byte)0xC6, (byte)0xC4, (byte)0xB8, (byte)0x1E, (byte)0xCE, (byte)0xE6,
(byte)0x57, (byte)0x1D, (byte)0xFB, (byte)0x64, (byte)0x19, (byte)0x3D,
(byte)0xF6, (byte)0x8C};
// Log.i(StringUtil.TAG, "getReleaseHashKey: " + Base64.encodeToString(sha1, Base64.NO_WRAP));
}
'안드로이드' 카테고리의 다른 글
[Android] APK 추출하기 (1) | 2024.09.03 |
---|---|
[안드로이드] 카카오 release 키 (0) | 2021.04.29 |
[Android] email 정규식 pattern check (0) | 2021.04.06 |
[firestorage] IllegalArgumentException: location should not be a full URL. (0) | 2021.04.05 |
[android] progressBar 두께 조절 및 속성 (0) | 2021.03.25 |