Post: [Idea] Cryptography Program (Is it possible?)
11-09-2013, 10:20 AM #1
Dan
I'm a god.
(adsbygoogle = window.adsbygoogle || []).push({}); Today I started to look into Cryptography, now before we go on, if you don't know the correct meaning of Cryptography please take the time to read up on it. Now back to what we're looking at, I was wondering if you could make a program that converts text to different encryptions (I.E. The Caesar Cipher, The Polyalphabetic Cipher, The One Time Pad, etc.). I've made the UI so you guys/gals can get an idea of what I mean, but the down side to this is a program that can decrypt the message would have to be made. Though it shouldn't be that hard since you'd have the key?

You must login or register to view this content.

The dropdown:
You must login or register to view this content.
Last edited by Dan ; 11-09-2013 at 10:32 AM.

The following user groaned Dan for this awful post:

Bruno
11-11-2013, 04:53 PM #11
Originally posted by spudeeelad View Post
I wasn't writing to be precise or give a working code.

However, personally, I never use case unless I have more than 5 if statements (general rule I use) as there isn't much difference performance wise unless you have a significant amount of ifs.

I also never use else if. I prefer;
    
if()
{
}

if()
{
}

if()
{
}

if()
{
}

else
{
}


But you're not wrong. It just depends on your individual way of writing.


True, it really comes down to the user's selection haha.
11-13-2013, 12:08 AM #12
SNMT| Havoc
Do a barrel roll!
all you need is the keys then read on the decryption and put the keys where it shows something like "key here" and make the same type
of thing as the encrypt that i showed you

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo