Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.time('decrypt');
- var decoded = new Array(); //this is where our result will go
- for(i=0;i<cKey.height;i++){
- console.time('loop1');
- decoded[i] = new Array();
- for(j=0;j<cKey.width;j++){
- //console.time('----loop2');
- decoded[i][j] = 0;
- for(x=0;x<cKey.width;x++){
- for(y=0;y<cKey.height;y++){
- decoded[i][j] += 1;
- }
- }
- //console.timeEnd('----loop2');
- }
- console.count('loop1');
- console.timeEnd('loop1');
- }
- console.timeEnd('decrypt');
Add Comment
Please, Sign In to add comment