Author Topic: Secure (Ish) Cipher  (Read 5441 times)

0 Members and 1 Guest are viewing this topic.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Secure (Ish) Cipher
« Reply #15 on: December 02, 2010, 08:42:46 pm »
It takes forever to pick the key to begin with.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Secure (Ish) Cipher
« Reply #16 on: December 02, 2010, 08:51:48 pm »
How long does a 16 bit key takes to get factored on-calc? What about a recent computer?
16 bits means 2^16 possibilities or 65,536 different options.  So about a millisecond either way. (Depending on the algorithm.  Counting 1-256 would be faster, and that's all you need to count to find factors)

Also, sadly, I just became un-evil'ed.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Secure (Ish) Cipher
« Reply #17 on: December 03, 2010, 01:51:13 am »
I see, pretty fast then, lol. :P

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Secure (Ish) Cipher
« Reply #18 on: December 03, 2010, 09:46:54 am »
How long does a 16 bit key takes to get factored on-calc? What about a recent computer?
...okay, so it can be human-factored in under 5 minutes. It was a proof of concept XD
See you, space cowboy...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Secure (Ish) Cipher
« Reply #19 on: December 03, 2010, 05:20:56 pm »
To discourage people from cheating in BASIC games by modifying save data, if you can't use a complex encryption method and the save files can be decrypted pretty fast, I just make the save file be deleted completely upon game loading if the game detects it was modified and has invalid values. In Mana Force 2, when you tried to load a save file where you're Level 120 for example, it started a new game instead.