Advertisement
Guest User

Decrypt Adobe Acrobat Keys

a guest
Jan 26th, 2017
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.79 KB | None | 0 0
  1. public static String decrypt(String encryptedKey) {
  2.     String[] AdobeCipher = { "0000000001", "5038647192", "1456053789", "2604371895", "4753896210", "8145962073",
  3.             "0319728564", "7901235846", "7901235846", "0319728564", "8145962073", "4753896210", "2604371895",
  4.             "1426053789", "5038647192", "3267408951", "5038647192", "2604371895", "8145962073", "7901235846",
  5.             "3267408951", "1426053789", "4753896210", "0319728564" };
  6.  
  7.     String sAdobeDecryptedKey = "";
  8.     for (int i = 0; i < 24; i++) {
  9.         if (i % 4 == 0 && i > 0)
  10.             sAdobeDecryptedKey += '-';
  11.         String ndx=encryptedKey.substring(i, i+1);
  12.         int tmp=Integer.parseInt(ndx);
  13.         sAdobeDecryptedKey += AdobeCipher[i].substring(tmp, tmp+1);
  14.     }
  15.     return sAdobeDecryptedKey;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement