1 ImportJava.text.DecimalFormat;2 ImportJava.text.NumberFormat;3 ImportJava.text.SimpleDateFormat;4 ImportJava.util.Calendar;5 6 Public classMyeclipsecrack {7 //8 Public Static Final voidMain (string[] args) {9 //SubscriberTenString id = "Admin"; OneString num = "999"; ASystem.out.println ("Subscriber:" +ID); -System.out.println ("Subscription Code:" -+ getserial (ID, "+", num,false)); the } - - Public Staticstring Getserial (String userId, string version, -String Licensenum,Booleanselected) { +Calendar cal =calendar.getinstance (); -Cal.add (1, 3); +Cal.add (6,-1); ANumberFormat NF =NewDecimalFormat ("000"); atLicensenum =Nf.format (integer.valueof (Licensenum)); -String Vertime = selected? (NewStringBuffer ("-"). Append ( -(NewSimpleDateFormat ("YyMMdd") . Format (Cal.gettime ())). Append ( - //1612310 Time, if the registration code expires, change the "-1612310" to the time you want. (where "1612310" is the meaning of December 31, 2016) -"0"). ToString (): "-1612310"; -String type = "ye3mb-"; inString need = (NewStringBuffer (string.valueof (userid.substring (0, 1)))) - . Append (Type). Append (Version). Append (Licensenum) to . Append (Vertime). toString (); +String dx = (NewStringBuffer (string.valueof (need))) - . Append ( the"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. ") * . Append (userId). toString (); $ intSuf =decode (DX);Panax NotoginsengString Code = (NewStringBuffer (string.valueof (need))). Append ( - string.valueof (Suf)). toString (); the returnChange (code); + } A the Private Staticstring Change (string s) { + byteAbyte0[] =s.getbytes (); - CharAc[] =New Char[S.length ()]; $ inti = 0; $ for(intK = Abyte0.length; I < K; i++) { - intj =Abyte0[i]; - if(J >= && J <= 57) thej = ((j-48) + 5)% 10 + 48; - Else if(J >= && J <= 90)Wuyij = ((j-65) + 13)% 26 + 65; the Else if(J >= && J <= 122) -j = ((j-97) + 13)% 26 + 97; WuAc[i] = (Char) J; - } About returnstring.valueof (AC); $ } - - Private Static intDecode (String s) { - inti = 0; A CharAc[] =S.tochararray (); + intj = 0; the for(intK = Ac.length; J < K; J + +) -i = * i +Ac[j]; $ returnMath.Abs (i); the } the}
myEclipse6.5 Registration code Generation