static int checkSumDrmKey(String key) { int sum = 0; for (int i = 0; i < key.length; i++) { sum += key.codeUnitAt(i); } return sum; }