Jump to content




Caesar cipher API


13 replies to this topic

#1 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 30 March 2015 - 10:46 AM

Here's an API for you.
This provides functionality to encode and decode caesar ciphers.

To download, run
 pastebin get L73wHypz Caesar

Documentation
Spoiler


#2 Rougeminner

  • Members
  • 151 posts

Posted 04 April 2015 - 04:35 AM

i don't think i have seen a computercraft ported Caesar Cipher i am shocked i didn't think of it my self. :D this will allow for an extra layer of encryption for my code.A simple on. but i will confuse the ones you try to crack it. Should work along a i don't to

Caeser.encrypt("Hello",26)

#3 Creeper9207

  • Members
  • 211 posts

Posted 27 April 2015 - 06:10 PM

binary data of password as rotation times, Encryption! :D

#4 Anavrins

  • Members
  • 775 posts

Posted 04 May 2015 - 03:26 AM

View PostCreeper9207, on 27 April 2015 - 06:10 PM, said:

binary data of password as rotation times, Encryption! :D
Very weak Encryption :D
https://f00l.de/hacking/vigenere.php

#5 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 06 May 2015 - 09:43 PM

I think there is AES fo CC. Now, let's talk about weak encryption.

#6 Creeper9207

  • Members
  • 211 posts

Posted 10 May 2015 - 04:48 AM

its computercraft, not the national U.S. bank

View PostAnavrins, on 04 May 2015 - 03:26 AM, said:

View PostCreeper9207, on 27 April 2015 - 06:10 PM, said:

binary data of password as rotation times, Encryption! :D
Very weak Encryption :D
https://f00l.de/hacking/vigenere.php

View PostCreator, on 06 May 2015 - 09:43 PM, said:

I think there is AES fo CC. Now, let's talk about weak Encryption.

Edited by Creeper9207, 10 May 2015 - 04:49 AM.


#7 Anavrins

  • Members
  • 775 posts

Posted 23 May 2015 - 03:16 AM

View PostCreeper9207, on 10 May 2015 - 04:48 AM, said:

its computercraft, not the national U.S. bank

View PostAnavrins, on 04 May 2015 - 03:26 AM, said:

View PostCreeper9207, on 27 April 2015 - 06:10 PM, said:

binary data of password as rotation times, Encryption! :D/>
Very weak Encryption :D/>
https://f00l.de/hacking/vigenere.php

View PostCreator, on 06 May 2015 - 09:43 PM, said:

I think there is AES fo CC. Now, let's talk about weak Encryption.
It's not the U.S. Bank, but those strong Encryption are doable in CC, so "Why not"

#8 biggest yikes

  • Members
  • 573 posts

Posted 14 June 2015 - 11:22 PM

View PostAnavrins, on 04 May 2015 - 03:26 AM, said:

View PostCreeper9207, on 27 April 2015 - 06:10 PM, said:

binary data of password as rotation times, Encryption! :D
Very weak Encryption :D
https://f00l.de/hacking/vigenere.php
You're right, it is very weak, but it seems that none of the vigenere decrypting websites can decrypt anything to save it's life. I made a string encrypted with the key "z" and the one you linked thought it was 7 characters, another one thought it was 4.

#9 Anavrins

  • Members
  • 775 posts

Posted 15 June 2015 - 02:56 AM

View PostAtenefyr, on 14 June 2015 - 11:22 PM, said:

View PostAnavrins, on 04 May 2015 - 03:26 AM, said:

View PostCreeper9207, on 27 April 2015 - 06:10 PM, said:

binary data of password as rotation times, Encryption! :D
Very weak Encryption :D
https://f00l.de/hacking/vigenere.php
You're right, it is very weak, but it seems that none of the vigenere decrypting websites can decrypt anything to save it's life. I made a string encrypted with the key "z" and the one you linked thought it was 7 characters, another one thought it was 4.
That's because a key of one character is generally considered a Caesar cipher, the site attempts to crack a message assuming the vigenere cipher is used (Key larger than one)
Longer messages also have more chance of successful decryption since it allows more letter frequency analysis, which is the key of breaking those ciphers.

#10 biggest yikes

  • Members
  • 573 posts

Posted 15 June 2015 - 03:41 PM

View PostAnavrins, on 15 June 2015 - 02:56 AM, said:

That's because a key of one character is generally considered a Caesar cipher
I guess that explains why the key "zz" is equivalent to "z"

It also seems like if a vigenere key contains a non-alphanumeric character (for example, an asterisk) most online crackers can't crack it

Edited by Atenefyr, 15 June 2015 - 04:01 PM.


#11 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 15 June 2015 - 06:19 PM

View PostAtenefyr, on 15 June 2015 - 03:41 PM, said:

I guess that explains why the key "zz" is equivalent to "z"

It also seems like if a vigenere key contains a non-alphanumeric character (for example, an asterisk) most online crackers can't crack it

How would you even encode with a non a-z vigenere key? Most primitive ciphers only work with the English alphabet.

#12 Anavrins

  • Members
  • 775 posts

Posted 15 June 2015 - 06:57 PM

I would guess an alternative would be to do the XOR operation, whatever if the byte value is a letter or not.

Edited by Anavrins, 15 June 2015 - 06:58 PM.


#13 biggest yikes

  • Members
  • 573 posts

Posted 16 June 2015 - 02:59 PM

Just double checked, seems like the key "AB" is equivalent to "AB()". Huh. Maybe I need to learn more about this kind of stuff.

Edited by Atenefyr, 16 June 2015 - 03:00 PM.


#14 Waitdev_

  • Members
  • 432 posts
  • LocationAdelaide

Posted 15 July 2015 - 08:29 AM

idk really, if you want to encrypt something it can easily be decoded :/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users