
function dredric (input) {
var i, j, v, vs = [], c = 0, output, dredric_values = {
1: '.08Oo',
2: '69:D',
3: '&\'(),-/1BCIJPQSU\\_`abcdeglpqs|~',
4: '!237;<>?@LV^hijnruv{}',
5: '%45AGNRTZ[]myz',
6: '"$+=FMWXYftwx',
7: 'EHKk',
9: '*',
12: '#'
};
switch (typeof input) {
case 'object':
output = '';
for (i = 0; i < input.length; i ++) {
for (j = 0; j < input[i].length; j ++) {
for (v in dredric_values) {
if (dredric_values[v].indexOf(input[i][j]) != -1) {
c += parseInt(v);
}
}
}
output += String.fromCharCode(96 + c);
c = 0;
}
break;
case 'string':
input = input.toLowerCase().replace(/[^a-z]/g, '');
for (v in dredric_values) {
vs.push(v);
}
output = [];
for (i = 0; i < input.length; i ++) {
c = input.charCodeAt(i) - 96;
output[i] = '';
while (c > 0) {
if ((v = vs[Math.floor(Math.random() * vs.length)]) <= c) {
output[i] += dredric_values[v][Math.floor(Math.random() * dredric_values[v].length)];
c -= v;
}
}
}
break;
}
return output;
}


syncmaster1990 wrote:wel i have a friens witch is a hacker and he uses that language between his other friends with the same hobby, ocupation wathever u want to call it.......Period.End of my topic.

zenithSmil3 wrote:syncmaster1990 wrote:wel i have a friens witch is a hacker and he uses that language between his other friends with the same hobby, ocupation wathever u want to call it.......Period.End of my topic.
Okay, stop being retarded.


zobier wrote:Dredric1 wrote:{II..} { ::O} { LLL } { O:::.( } { ()():.}
I get 'helko'.
public static }void(exception x = new exception(null)){
Dredric1 wrote:zobier wrote:Dredric1 wrote:{II..} { ::O} { LLL } { O:::.( } { ()():.}
I get 'helko'.
good catch i actualy wanted to say hello
but miss counted![]()
after all i insisted on counting
i should have checked it my self
lol


zobier wrote:Dredric1 wrote:{II..} { ::O} { LLL } { O:::.( } { ()():.}
I get 'helko'., did you see the analysis and the JavaScript function I posted, is it correct?
Cheers,
z
public static }void(exception x = new exception(null)){
Users browsing this forum: No registered users and 0 guests