Skip to content

Instantly share code, notes, and snippets.

@jorgeatorres
Created June 17, 2010 13:13
Show Gist options
  • Save jorgeatorres/442094 to your computer and use it in GitHub Desktop.
Save jorgeatorres/442094 to your computer and use it in GitHub Desktop.
obfuscated HelloWorld java program
public class HelloWorld {public static void main(String[] args){
int[][] t = new int[][]{{202,1026,1100,396,324,1080,192,609,555,888,72,432},
{3,9,8,5},{2,2,5,9},{4,6,1,9,2,11},{4,6,1,9,3,2,11,7,0,5,10},{2,1,5,9},{1,9,2,5},{0,2,10,5,1,6,3,11,8,4},{10,4,2,6},
{1,10,2,3,5,9,7,4,11,6},{7,0,3,6},{2,9,10,1},{7,1,10,6},{12,0,-0}};do{while(t[13][1]+1<t[t[13][0]].length){
t[13][2]=t[0][t[t[13][0]][t[13][1]]];t[0][t[t[13][0]][t[13][1]]]=t[0][t[t[13][0]][++t[13][1]]];t[0][t[t[13][0]][t[13][1]++]]=t[13][2];}
}while(!(--t[13][0]<=(int)Math.sin(Math.PI))&&((t[13][1]=0)<1));
while(t[4][2]<=t[9][5]+3)System.out.print((char)(t[0][t[4][2]-1]/t[4][2]++));}}
@Oracle-SQLDeveloper-UserDefinedReports

Would this be possible to understand your code logic? I would love to use this obfuscation for my JDBC connection to oracle database where I want to hide (obfuscate username / password.

@Oracle-SQLDeveloper-UserDefinedReports

How the same technique can be applied to obfuscate my password?
if you get a minute, would you please reply to ora10g@gmail.com

@sonvirgo
Copy link

What kind of encryption is that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment