Hello People!
I am quite new to Qt (and programming in general). And I am making a program that requires me to encrypt a file and decrypt it after asking for a password through the program.
But I have no Idea where to start.

What I already have - A program that takes some info from the user and stores it in a simple text file.

When you store each character in the file, change in first.

When you read each character back from the file, do the reverse change.

You can XOR all characters with a value and then save them, you do the same when yo read them in order to reverse the encryption.
But that is really WEAK and I do not recommend it for serious stuff.
Here is a real solution:
http://qt-project.org/wiki/Simple_encryption

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.