해시값1 [Kotlin] 키해시값 얻는 코드 override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) try { val info = packageManager.getPackageInfo(packageName, PackageManager.GET_SIGNING_CERTIFICATES) val signatures = info.signingInfo.apkContentsSigners val md = MessageDigest.getInstance("SHA") for (signature in signatures) { val md: MessageDigest md = MessageDigest.ge.. 2019. 4. 8. 이전 1 다음