Jump to content
Sign in to follow this  

Decryption returning strange additions to string

Recommended Posts


Hey, I'm making a program that involves writing encypted data to a file, and reopening that data later, and decrypting it... problem is, it always adds a charachter or two to the end of it, its not a major problem, but I'd like to know why... perhaps it is the writing process?]

Edit: looking over my script, i was thinking perhaps it is a linefeed at the end of each string?

Because it doesn't JUST decrypt all the contents, it string splits it into lines(I placed a [/] before each line for this, then I decrypt each string and then send it to my edit box)

Edited by VindicatorOmega

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this