I know that Java comes with support for several algorithms when it comes to cryptography. Is there a way to write your own algorithm or a custom one ?
Thanks in advance
Custom Algorithm
Started by Victor, Jul 05 2008 10:16 PM
4 replies to this topic
#1
Posted 05 July 2008 - 10:16 PM
|
|
|
#2
Posted 06 July 2008 - 06:08 PM
Why would you not be able to write your own algorithm? That would make absolutely no sense.
#3
Posted 07 July 2008 - 05:53 PM
I'm having kind of a hard time explaining. If I write my algorithm, how can I use it like a regular algorithm. If I have algorithm ABC, how can I make keys and use ciphers etc...
I hope I explained well enough
I hope I explained well enough
#4
Posted 07 July 2008 - 08:33 PM
Victor said:
I'm having kind of a hard time explaining. If I write my algorithm, how can I use it like a regular algorithm. If I have algorithm ABC, how can I make keys and use ciphers etc...
I hope I explained well enough
I hope I explained well enough
Hey, I recommend you do a little research online about cryptography. Its important to study it before you use it, because you need to understand the whole system to prevent security holes.
The main advice I can give is to use the commercial stuff for anything real. Crypto is a mathematicians game, mortals like you and me can't make the strong stuff. But if your interested in playing with it, you could start by making a rotor. Take a password (called key) and convert the letters to numbers, and convert the letters in the message you want to encrypt to numbers. then add the value of the password letters to each letter in the message in a loop. This encrypted message is called the "cipher". Then, somebody else with the key can reverse the process by subtracting the values of the password letters from the cipher the same way. Anybody without the key will just get gibberish. You can then move on a make a version of the Nazi enigma machine if you want something a little harder.
This stuff will keep most casual users out, but shouldn't be used for real business information or anything like that...
#5
Posted 08 July 2008 - 05:03 PM


Sign In
Create Account


Back to top









