안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요.날씨가 더운데 다들 수고가 많으십니다.
다름이 아니라 구글의 In-App 빌링에 대해서 찾던 중 우연히 구글링을 하다가 보니
다른 외국 어플리케이션이 In-App Crack 이 된 버전이 올라가 있는걸 보고 아래 주소로 보고
http://developer.android.com/guide/google/play/billing/billing_best_practices.html 에 내용을 참고 해서 할려구 하는데
클라,서버에 대해서 설명은 되어 있지만 추가적인 방법이나 다른 방법이 없는 지 궁금해서 글을 올립니다
In-App Crack 막는 방법 아시는분 덧글 부탁드립니다.




Protect your Google Play public key
To keep your public key safe from malicious users and hackers, do not embed it in any code as a literal string. Instead, construct the string at runtime from pieces or use bit manipulation (for example, XOR with some other string) to hide the actual key. The key itself is not secret information, but you do not want to make it easy for a hacker or malicious user to replace the public key with another key.
raw 폴더에 txt 를 XOR 연산을 해서 암호화 한다음에 Security.java에서 암호를 풀어서 사용하라는거 같은데요
String base64EncodedPublicKey = "your public key here";
물론 난독화를 해야 이 로직도 숨길수 있겠죠..
아놔.. 이거 만들어야 하나보네..ㅠㅠ