Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Fun with Cryptography

Author
Message
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th May 2004 17:54 Edited at: 17th May 2004 17:57
I am testing some simple encryption algorithms here

see if you can decipher the following:




* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
Andy Igoe
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 17th May 2004 17:57
I could maybe write a decypher routine to do it but i'd need a reference for it to search for - to already I need a database of the English language (assuming it is in English). Then I need to test all manner of fractal seeds and encryption algorythm possibilities on a recurssive test tying my machine up for an unknown period of time.

Do you mind if I just pass please?


God created the world in 7 days, but we're still waiting for the patch.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th May 2004 17:59
it's a one-step programmatic cipher, no heavy duty encryption.


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 17th May 2004 18:04


[beat the machine that works in your head]
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th May 2004 18:11 Edited at: 17th May 2004 18:12
great work The Winch! Can you explain how you did that?




* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
Andy Igoe
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 17th May 2004 20:57
smug git.


God created the world in 7 days, but we're still waiting for the patch.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th May 2004 20:59
Andy, certainly you refer to the_winch, and not myself, eh?


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 17th May 2004 21:13
I'm curious as well, I'm interesting in using cyphers in some projects and if they can be broken that quickly I might need to use something more robust.
--
TAZ

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th May 2004 21:18
that cipher was just a simple ascii value shift + 2 up

here is the vb.net function I wrote that ciphers/deciphers depending on the passed in offset:


it was just a test as I am learning about encryption in .net - I could have posted something with RSA standards Encryption but that's not what this was about - just for fun. I am still curious how Winch broke it. Trial and error I guess. I assume that is the first thing tested, to see if simple character switching was used. Like I said I don't know jack about cryptography.


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
Andy Igoe
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 17th May 2004 21:18
Dont worry Zircher, peeps who can break encryption can generally break all encryption given enough time. It's like hacking, once you know how to do it you know how to do it. It's not a matter of easy and hard, it's a matter of perseverance.

I think I probably could - if I could be bothered - break Cattle Rustlers code myself, but i'd have to write the tools to do so and I just cant be naffed.

I would imagine our Winchy friend probably already has the tools written - or perhaps has downloaded some already. You can try to defeat the tool if you like, but that just meens there'll be an update.


God created the world in 7 days, but we're still waiting for the patch.
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 17th May 2004 21:31
Ah, I was thinking of something like a 36 byte key that scrambles text and digits rather than shifting the ascii values. Perhaps something that rescrambles the key every X number of digits to spoof pattern and letter analysis.
--
TAZ

the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 17th May 2004 21:45
75% of the time when someone posts something and asks you to decript it all they have done is shifted all the ascii values by the same number.
All i did was increase the ascii values until it produced something readable.

[beat the machine that works in your head]
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th May 2004 22:03
cool.
When I have something more clever I will post it.


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 18th May 2004 00:22
Any of you decrypt this?



It's a combination of 3 phrases.

Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 18th May 2004 03:19
Quote: "I could maybe write a decypher routine to do it but i'd need a reference for it to search for - to already I need a database of the English language (assuming it is in English). Then I need to test all manner of fractal seeds and encryption algorythm possibilities on a recurssive test tying my machine up for an unknown period of time."


If it was a decent algorithm, your machine would be down for weeks, maybe months. Or until you ctrl+alt+del . Some of the better ones out there would take a modern supercomputer weeks to brute force through.

Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 18th May 2004 11:07
Quote: "75% of the time when someone posts something and asks you to decript it all they have done is shifted all the ascii values by the same number.
All i did was increase the ascii values until it produced something readable."


Yeah, that's what I was going to do. Actually, as soon as I saw the encryption I recognised that the " character was appearing quite regularly and assumed it would represent the space so I would've just done the ASCII val for " and minus the ASCII val for space to get the shift amount. Then I went down a few posts and found you'd already decrypted it, so much for that.


"Computers are useless they can only give you answers."
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 18th May 2004 12:49
Here's one, my password security system at work:

Username 'Van-B'
Password 'dogbiscuit'
Key=93076

Username 'Test'
Key=48450
Password ?

Dunno how tricky this would be, it is a pretty simple encrypt routine - only really designed to protect against the idiots I work beside.


Van-B


The nature of Monkey was irrepressible!.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 18th May 2004 19:30 Edited at: 18th May 2004 19:39
Here's another simple one:
SJIBWNTUZQI

Clues:
1) It's the most delicious encription out there...
2) Only letters, no spaces/numbers
3) that's how it starts...
4) You can never have enough of it. (well I can't anyway.)

This is more fun than talking in Binary.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 18th May 2004 20:12
J!ibwf!op!jefb!xibu!uibu!tbzt!;*


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 18th May 2004 20:13
cheesecake? if its right i got it from the clues no decryption!

Just to add to the confusion.
Look at my avatar
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 18th May 2004 20:15
not enough letters in cheescake to be that


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 18th May 2004 20:17 Edited at: 18th May 2004 20:31
You're close, RichS. But the clues hint towards the Key used, not the actual message.
Here's another clue: The key is a number.

TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 18th May 2004 20:40 Edited at: 18th May 2004 21:08
Quote: " J!ibwf!op!jefb!xibu!uibu!tbzt!;*"


I got yours, CattleRustler
The exclamations gave it away:


CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 18th May 2004 21:29
ya it was offset +1 ascii - not intended to be secure


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 18th May 2004 22:42
wouldnt, for a simple thing, u just encript the text so the first one is the ascii code +1, second 2, etc
then have a second n third layer using an annoyin formula


David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 18th May 2004 23:43
mmmmmmm, encyption

Modulus is quite nice to use, so is CRC.

Zenincanin 14
20
Years of Service
User Offline
Joined: 14th Apr 2004
Location: In The Cat Lair at Peter Criss\'s House.
Posted: 18th May 2004 23:46
How do you decipher this?


Good Games Are Made by Powerful Coders
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 19th May 2004 04:25
Wow, I thought that by now someone would have gotten mine!
Look at clue #3: "That's how it starts..."
So it starts with 3. Anybody know a really famous number that starts
with 3? No? How about 3.14159264358979323? Still no?
Somebody raise your hand if you know the NAME of that number.
That's right! The one, the only number you can eat,
your friend and mine, PI!! Now, I've NEVER met ANYONE who doesn't
like Pie.
Now, instead of adding 1, try to guess the rest will you?

Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 19th May 2004 10:53
Whatchu talkin bout?


"Computers are useless they can only give you answers."
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 19th May 2004 12:26
Pah, I bet nobodies even looked at mine.

It could well be an uncrackable FBI style ecryption system - How leet is I?

Actually it does have one very nasty trap that can throw crackers off - notice the length of both the keys...


Van-B


The nature of Monkey was irrepressible!.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 19th May 2004 14:38 Edited at: 19th May 2004 14:39
Why not use a CRC32 system - unless the text needs to be printable (but then you could UUEncode it afterwards anyway).
It will then take a bit of processing power if they know your key or a while if they dont.

If you want to go really secure, use something like Blowfish.


The place for all great plug-ins.
Keep your friends close, and your cats even closer.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 19th May 2004 15:58
Actually, Van B, I did take a look at yours. How did you get variable password lengths into a fixed 5-digit number?

Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 19th May 2004 16:24
Another clue?

Well the password key won't get any longer than that, it will never go above 99999, but it can easily be less, like 6179 for instance.

For example:
Username='Andrew'
Password='a'
Key=6179

Username='Andrew'
Password='b'
Key=11632

Keeping the key below 100000 is not only good for data storage, it also makes things fairly tricky to crack. It's part of a purchasing system where the users manager and the MD etc all have to digitally sign purchase orders.


Van-B


The nature of Monkey was irrepressible!.
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 19th May 2004 22:43
ive started making a little encoding system (dont ask me y)



*not finished*


TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th May 2004 00:01 Edited at: 20th May 2004 00:24
Wow, N30F15H, it's huge
Since I made mine in C, it's pretty small:
#include <stdio.h>
main(){
char pi[]="314159265358979323";
char wte[60];
int x, z;
fgets(wte,60,stdin);
for(z=x=0; wte[x]!='\0' && wte[x]!='\n'; x++,z++){
z=(z>17)?0:z;
wte[x]=toupper(wte[x])+pi[z]-48;
while(wte[x]>90) wte[x]=wte[x]-26;
}
printf("\n%s",wte);
system("PAUSE");
}

Andy Igoe
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 20th May 2004 17:12
LOL TKF1SH, that was mostly formatting - look again:



Is the actual encodey bit


God created the world in 7 days, but we're still waiting for the patch.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th May 2004 18:36
Yeah, I guess you're right. What's the +"00" for?
That'll probably give problems on larger messages.
Letter A=65 and a=97. If the message where 159 characters long, it'd be
adding 159 to 97, resulting in 256. What do you get for "a$=chr$(256)"?
On mine, it makes sure the result is below "Z" resulting in an encripted message made of only letters. Of course, this means the input can only be letters too. If you put spaces inside, they won't decrypt properly.

Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 20th May 2004 21:46
im not really sure. yes it is really formattin, ive done some more, so you can decode it (manually), and the encoding thing is a little different



Login to post a reply

Server time is: 2024-09-21 22:38:37
Your offset time is: 2024-09-21 22:38:37