Package Myeclipse;import java.io.*; public class Myeclipsegen { private static final String LL = "Decompiling This copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright A CT of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). Under section 1204 of the "DMCA, penalties range up to a $500,000 fine" or "up" five years imprisonment for a first offense . Think about it; Pay for a license, avoid prosecution, and feel better about yourself. "; public string getserial (string userId, String licensenum) { Java.uti L.calendar cal = java.util.Calendar.getInstance (); Cal.add (1, 3); CA L.add (6,-1); Java.text.NumberFormat NF = new Java.text.DecimalFormat ("$"); &NB Sp Licensenum = Nf.format (integer.valueof (licensenum)); String vertime = new StriNgbuilder ("-"). Append ( new Java.text.SimpleDateFormat ("YyMMdd"). Format (Cal.gettime ())) Append ("0"). ToString (); & nbsp String type = "ye3mp-"; String need = new StringBuilder (userid.substring (0, 1)). Append (t ype) Append ("+"). Append (Licensenum). Append (vertime). toString (); String dx = new StringBuilder (need). Append (LL). Append (userId) &N Bsp . toString (); int suf = this.decode (dx); String Code = new StringBuilder (need). Append (string.valueof (SUF)) . Tostri Ng (); return This.change (code); } private int decode (STR ing s) { &nbsP int i; char[] ac; int j; int K;&NB Sp i = 0; AC = S.tochararray (); j = 0;   ; k = ac.length; while (J < K) { i = (3 1 * i) + ac[j]; j++; } Retu RN Math.Abs (i); } private string change (string s) { byte [] abyte0; char[] ac; int i; int k; int j; ABYTE0 = s.getbytes (); AC = new char[s. Length ()]; i = 0; k = abyte0.length; Whil E (I < k) {  j = abyte0[i]; if ((J >=) && (j <=) { J = (((j-48) + 5)%) + 48; &N Bsp Else if ((J >=) && (J <=)) { J = ((((j-65) +)%) + 65; } else if ((J >=) && (J <= 122)) { J = (((j-97) + +) + 97; &NBSP ; } ac[i] = (char) j; i++; &N Bsp } return string.valueof (AC); } public Myec Lipsegen () { super (); } public static void main (string[] Args { Try { SYSTEM.OUT.PRINTLN ("Please input register nam E: "); BufferedReader reader = new BufferedReader (new InputStreamReader ( &NB Sp system.in); String Useri D = null; userId = Reader.readline (); My Eclipsegen Myeclipsegen = new Myeclipsegen (); String res = myeclipsegen.getserial (UserId, "20"); Unlimited edition changes 20 to 0 SYSTEM.OUT.PRINTLN ("Serial:" + res); &NBS P Reader.readline (); } catch (IOException ex) { } }}
Eclipse Verification Code