Forum: VB.NET Mar 17th, 2008 |
| Replies: 1 Views: 2,551 Hi guys im trying to telnet to an IP address that is entered into a textbox from the click of a button but im having problems as it just gives me errors when i run it. Here is my code:
... |
Forum: Java Dec 10th, 2007 |
| Replies: 1 Views: 2,012 Hi guys,
I am working on an encryption/decryption vigenere cipher at present. Ive been reading and writing to text files using integer arrays and then modding them together in order to get the... |
Forum: Java Dec 7th, 2007 |
| Replies: 4 Views: 2,087 the length is dependant on the key and message (in a text file) length. Can anyone shed some light on how to encrypt these int arrays to ASCII values and then decrypt back to standard?
Thanks for... |
Forum: Java Dec 7th, 2007 |
| Replies: 4 Views: 2,087 So if i wanted to encrypt plaintext into full ASCII values and then decrypt back to plaintext how would i do this?
I was hoping to mod the plaintext by 255 and then reverse mod back again, but if... |
Forum: Java Dec 7th, 2007 |
| Replies: 4 Views: 2,087 Hi,
I am wanting to reverse mod 128 or 255 on ASCII values, does anyone know how to do this?
Thanks |
Forum: Java Dec 6th, 2007 |
| Replies: 8 Views: 949 Thanks for the quick reply. I understand it now.
Many thanks |
Forum: Java Dec 6th, 2007 |
| Replies: 8 Views: 949 thanks guys but its still not sinking in tonight :(.
So to map each key character (e.g.10 characters) to my file characters (e.g. 200 characters in total) what do i need to do to change my code?... |
Forum: Java Dec 6th, 2007 |
| Replies: 8 Views: 949 I am wanting to add the arrays togther.But why does (i) suddenly jump to 10 from 0 after the 1st key mapping?shouldnt it stay constant?
Thanks |
Forum: Java Dec 6th, 2007 |
| Replies: 8 Views: 949 thank you, but i dont think it works.
Here is a snippet of my code:
for ( int i = 0; i < file.length;i+=key.length)
{
for (int k = 0; k <key.length;k++)
{
... |
Forum: Java Dec 6th, 2007 |
| Replies: 8 Views: 949 Hi people,
I am wantng to read a key in as an argument that will duplicate itself to the exact character length as the plaintext , read from a text file.
E.g. key = deceptive
Then i need it... |