As8DJoin Date: 2009-12-24 Post Count: 2907 |
Hey, everyone!
Since Pre kept talking about his yeCrypter all the time, I just took off a few minutes and developed an old encoding function of mine into something... that I don't want to make a decoding function for right now.
So, I have a challenge for you (mostly Prehistoricman, but yes, you too)!
First of all, I will tell you what the function require, and a tiny hint about what you will need knowledge in:
The encoding function requires two arguments: A string to be encoded and a salt-string to make the encoding even harder to decode. There's a pre-set security-string too, but I'll give you all these strings at the end of this thread.
You will need to know about:
Hexdecimals
Binary numbers
Math?
Oh yeah, ascii codes!
So, here's what you get to work with:
__________________________________________
Salt string : fish cake
Security string : v9e,t ut8bTEbr99 9t er9tu548 tu54 sdfoSFi ffjsfsijfsfwfhefuwhU UHWUEFHUFH eu ufsf
Output : f8/92/c4/8d/d3/c6/9b/cb/9f/dc/b8/e5/d2/cf/92/df/8d/86/d8/8b/c4/d9/9b/9c/ca/91/99/c9/bf/d5/c7/9a/95/81/91/f0/c7/d0/c8/eb/f9/c8/93/c1/eb/de/c4/db/ca/c4/d2/89/
May the best man, fish or planet win!
- As, the security string is just crap I wrote down. Slam keyboard! It's code! Or... string... |
|
|
This is unfair, you haven't given us an input string.
Or if 'salt string' is your input, it is TINY and makes it much harder. |
|
MunimRJoin Date: 2011-06-26 Post Count: 1538 |
xD...
This dominates yeCrypt |
|
|
^
I made yeCrypt in about 10 minutes.
Give me a break. |
|
MunimRJoin Date: 2011-06-26 Post Count: 1538 |
Never |
|
jobro13Join Date: 2009-08-05 Post Count: 2865 |
print("Decoded string")
Nu. Y u no work. |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
Pre,
encode(the_string_you_have_to_find_out, "fish cake")
And the weird security string is declared in the function.
Also, it doesn't matter how long the salt-string is. I'm using modulus :P
- As, %As... OMG, INFINITE!!!!!! |
|
JoshuzzzJoin Date: 2009-01-17 Post Count: 17 |
I think dCrypter is best
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddDddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
ddddDddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddDdddddddddddddddddddddddddddddddddddddddddddddddddddddddd
ddddddddddddddddddddddddddddddddddddddddddddddddddddDdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddD |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
Okay, here's some more to work with:
EXAMPLE TO WORK FROM
_____________________________________
Salt string : oh, I am a salt string! OMG!
Used on the sentence below...
_____________________________________
This sentence would look like this:
_____________________________________
e4/9a/c2/99/98/9f/da/d4/82/c8/f2/ec/c0/83/89/90/9e/9b/d6/cc/c5/d7/98/d1/9a/91/97/94/94/93/c7/96/93/95/d6/
_____________________________________
- As, byebye, school n' exam-st00fz. |
|
|
I got øÄÓÆ›ËŸÜ¸åÒϒ߆؋ÄÙÊÉ¿ÕÇ‘ðÇÐÈëùÈÁëÞÄÛÊÄÒ0
I don't think that's right
http://youtu.be/-NuONuafxwk |
|
|
I am posting these at Reddit /codes so someone tries to solve them as well. There is a guy that is solving yeCryption and he already found how it works.. |
|
|
|
Now I've gotten 89r99r 99t u999u99t9rt r9 retrr94r9r58r9e5urtrr99
hah
http://youtu.be/-NuONuafxwk |
|
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
I will give more examples later.
Also, the encoding function is simply a modified version of one of the encoding algorithms you can find in my MetaInstances model.
- As, railroads and ropes! And more UI. |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
More examples:
______________________________________________
Input : Hello world
Salt : fish cake
Output : f8/92/c4/8d/d3/ca/cc/dd/82/c5/fc/
______________________________________________
Input : Hello world
Salt : fish cak
Output : f4/94/c0/88/d2/cd/c5/d4/81/c0/fe/
______________________________________________
Input : Hello world
Salt : cake
Output : f2/9a/c2/89/d4/c7/cd/dc/82/c5/fc/
______________________________________________
Know of the encoding algorithm called DES? Look it up, it should be similar to the algorithm I've constructed.
Btw, here's the source code for the TotallyImpossiblCrypter (encoded using TotallyImpossiblCrypter!!!!):
______________________________________________
d9/81/c4/84/ca/8f/d4/dc/de/f4/d6/df/9b/d9/db/d0/8f/df/b5/e3/d1/d9/8b/c7/c9/96/dc/c1/8b/9a/c2/c5/db/89/ca/d4/c4/c4/89/ac/a2/81/9e/de/88/93/b4/cc/d6/c7/a6/a2/d3/d5/d7/c8/d4/dd/c3/d5/9e/cb/ef/86/c0/fa/f6/cc/e1/e1/eb/fc/e5/fb/c6/c2/cd/82/97/a6/bc/c1/d6/df/df/98/cc/94/97/d4/84/c2/b2/ae/d6/89/d7/dd/88/82/d4/8a/d1/ca/d5/9d/cc/92/9a/9c/ec/b3/ba/81/9f/99/9d/d0/c0/88/dd/ae/a5/82/da/8c/88/9c/99/88/8e/8d/9b/9c/91/8f/8a/85/83/9f/8c/9b/81/d3/91/e4/f8/f7/f9/91/85/ed/f2/f0/ef/fa/87/cc/dd/ce/da/c7/cc/f3/cb/98/c7/91/cb/c2/c1/db/8a/cd/f5/a1/a0/aa/fa/85/8c/80/ce/99/c1/94/9a/d3/c7/93/d7/96/9d/d1/d4/8e/d1/81/9e/d4/82/87/89/e7/e9/d0/81/d8/85/84/9f/8b/8e/a8/a9/c5/d3/c4/bb/a1/d7/c8/c3/ca/cb/cf/b8/94/fc/eb/ff/c4/f0/e8/e9/ea/fa/b1/db/99/84/c4/96/8d/db/c9/d6/a0/d0/8a/d6/9a/d0/96/c0/9f/b0/a6/89/da/96/99/b9/8c/d2/82/df/d7/db/89/8e/d1/d7/d3/88/db/d5/ac/81/86/82/c9/c1/84/90/ac/a2/8a/cb/ce/c9/ca/ea/d3/d5/cb/d0/c3/91/90/97/87/87/cc/c5/dd/e6/dd/fb/81/ea/f4/ae/ab/a2/a3/a5/f8/e4/ec/b9/d8/db/89/c9/df/93/85/95/db/8c/83/d2/85/e0/c1/9e/cb/e0/ff/87/8b/c1/8e/e4/95/d7/8b/a4/b2/93/d5/d0/92/96/d5/83/c0/c6/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5/9d/9e/94/9d/9d/d6/8f/ed/92/d4/e6/92/da/f0/ea/d9/c6/de/81/8b/93/ce/dc/d0/c9/96/94/8c/96/da/dc/cd/8a/97/df/d7/ce/c5/c6/cb/c7/d3/a2/a7/87/d8/87/89/89/d0/80/90/8f/9d/81/9e/8b/86/8f/d5/cd/c7/ce/9c/89/b3/df/ba/b4/fb/e1/f9/f2/aa/b2/a6/8f/e6/a7/d3/89/d8/c1/d9/88/d9/98/da/d5/9a/d4/98/d5/86/c5/cd/ff/cb/eb/95/9d/86/89/cc/97/84/d4/93/c6/cc/c9/89/8b/84/92/90/94/c5/c7/ce/8b/80/89/81/b9/a3/cc/83/d9/db/87/90/97/88/8b/83/83/d5/8d/90/80/97/8a/80/9e/9a/83/ef/8f/e2/f2/ba/b1/ae/bd/a7/a1/e2/f7/9a/cd/95/d8/96/a2/b3/a2/d5/9d/cc/8b/d6/c6/d1/d3/9b/9e/a5/b2/8c/c0/89/fc/e2/fa/d4/81/d1/94/8f/99/80/c4/cf/da/d1/99/de/91/f4/ef/e7/bc/c0/c1/cc/af/cc/db/b3/8f/96/85/89/8c/98/87/f4/ef/ef/83/e7/f8/f0/83/cd/d1/d6/92/c4/9e/c6/a2/b1/f9/e1/e0/ab/c4/f0/dc/c4/86/9e/88/da/c6/86/fb/c0/a9/84/f7/b7/e7/d9/d7/93/a3/97/8a/ce/dd/91/c3/cd/cc/85/9e/c4/d5/81/d6/dc/9a/80/de/92/d3/d9/94/99/df/89/d2/c3/c8/c1/ec/a4/cd/87/ce/94/88/9e/8c/80/8a/88/8f/8c/80/b6/a5/a7/d9/c5/c7/ea/d1/ef/d1/a2/a6/ec/fd/fe/de/f6/e1/a8/a0/c8/8b/cb/9c/d6/c5/d3/c8/95/90/c1/94/df/8f/c7/9a/d4/8a/e4/b6/84/9c/92/9d/81/c6/97/c6/85/9a/df/98/97/df/ef/fb/8b/d3/dc/f0/f6/98/83/c9/d7/d2/cf/be/fc/dd/9e/fb/db/d5/b6/c8/d7/cb/
______________________________________________
Good luck everyone!
______________________________________________
function XOR(a, b)
return (a ~= b and 1) or 0
end
function num_to_binary(num)
if type(num) ~= "number" then
return {0, 0, 0, 0, 0, 0, 0, 0}
end
function bin_short(ratio)
return math.floor(num / ratio) % 2
end
return {bin_short(128), bin_short(64), bin_short(32), bin_short(16), bin_short(8), bin_short(4), bin_short(2), bin_short(1)}
end
______________________________________________
- As, look up a few lines, I've posted 2 useful functions! |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
uh... Do you need even more help? J:
- As, the >salt< string is obfuscated too :D math.sqrt(something1 ^ 2 + something2 * 2), I guess... |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
Okay...
>>> SPOILER <<<
I've decided to give you the obfuscation/encryption algorithm for the salt string, as I told you earlier that the salt string is obfuscated/encrypted/whatever.
_______________________________________________________
First, let's find out what's what and what do we need?
rsalt is the salt-string argument you put into the encoding function.
We use math.sqrt, the string methods ect.
_______________________________________________________
function encode(str, rsalt)
local salt = 1
local tsalt = {rsalt:byte(1, #rsalt)}
for _,c in pairs(tsalt) do
salt = math.sqrt(salt + c * 2)
end
salt = tostring(salt):reverse()
--and some code you have to figure out.
_______________________________________________________
So yeah, I hope this will help. Really, all you have to do now is to combine the information I've given you and add in some fancy math to make the string length of the salt string and random dfeo e e9fejg string not to matter. % all the way!
- As, oh yeah. -, +, string.sub and whatever. AND string.byte! Maybe "(i - 1) % #salt + 1" |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
Damn...
Have you given up? D:
Really, all we have is:
string Salt1
string Salt2
string Output
and we need to find
string Input
(P.S., Salt2 is the static key-phrase defined inside the function.)
- As, string.format("%X", ... |
|
OysiJoin Date: 2009-07-06 Post Count: 9058 |
[ Content Deleted ] |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
Oysi...
Wouldn't it be better for you to make your own thread about this then? :/
That would get more attention and not just end up as a post just getting scrolled past.
Also... still not solved? D: Urgh.
- As, nice one Oysi, but using string.byte then converting it to hex-decimals would be better. |
|
As8DJoin Date: 2009-12-24 Post Count: 2907 |
Tell me if you're completely dead.
Struggle to win, everyone!
- As, a summer day should last forever. |
|