| | |
Reversing ASCII space in notepad
![]() |
•
•
Join Date: Dec 2007
Posts: 10
Reputation:
Solved Threads: 0
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 full ASCII character set.
the problem i am facing is, when i am encrypting, the spaces dissapear which is brilliant, but when im decrypting the message, using the same key, i get the plaintext back but the spaces are symbols
An example is shown below:
Due§to$thisÆxample
It should decrypt back to the message:
Due to this Example
Any ideas how i can get the spaces back? a space i think is ASCII value 32 if that helps.
Thanks in advance
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 full ASCII character set.
the problem i am facing is, when i am encrypting, the spaces dissapear which is brilliant, but when im decrypting the message, using the same key, i get the plaintext back but the spaces are symbols

An example is shown below:
Due§to$thisÆxample
It should decrypt back to the message:
Due to this Example
Any ideas how i can get the spaces back? a space i think is ASCII value 32 if that helps.
Thanks in advance
Could you please provide the code that dictates the decryption? I would normally ask only for certain parts of code, but I would need to see the whole thing to figure out where it's messing up.
That is, unless, you've pin-pointed to the specific spot in the algorithm where the ASCII values are getting messed up.
That is, unless, you've pin-pointed to the specific spot in the algorithm where the ASCII values are getting messed up.
Angel-headed hipsters burning for the ancient heavenly connection, to the starry dynamo in the machinery of the night.
-Ginsburg
Don't tell me to "google it" - I already have.
-Ginsburg
Don't tell me to "google it" - I already have.
![]() |
Other Threads in the Java Forum
- Previous Thread: java gui question
- Next Thread: null pionter Exception
| Thread Tools | Search this Thread |
2dgraphics account android api apple applet application array arrays automation banking bidirectional binary binarytree birt bluetooth chatprogramusingobjects class client code columns component database derby design designadrawingapplicationusingjavajslider eclipse encryption error errors expand fractal game givemetehcodez graphics gui homework html ide if_statement image inheritance integer intellij interface j2me java javadesktopapplications javaprojects jlabel jme jni jpanel jtextfield julia linux list map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source problem program programming project property recursion reference ria scanner search server set sms smsspam sort sourcelabs splash sql sqlite static stop string support swing testautomation threads tree ui unicode validation windows





