Click to See Complete Forum and Search --> : help with encryption algorithm


anthonyvidal
September 1st, 2004, 08:31 PM
In VB.net, I am writing an encryption algorithm where, for every letter in the input, a number is assigned to it in order from 1 and up. The input is then alphebetized and the numbers that were assaigned are arranged the same way the letters were. The input, when encrypte might look like "a g m y x z" and then the numbers might be "2 4 1 6 3 5". When the encrypted file is decrypted, it will look for 1 in the numbers and the character in the equivelant position in the encrypted file and place that as the first letter of the decrypted file and so on. Can anyone help me with coding this into my application?