Data Protection/Encryption

Miscellaneous Forums/General Discussion/Data Protection/Encryption

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

XOR encryption per se isn't weak. It's used in some of the strongest ciphers - mainly because it has the convenient property of allowing the same key to be used symmetrically to encrypt and decrypt the data.
But turning the bytes into 32 bit values won't greatly increase the effectiveness of the cipher. It's strength comes from the length and randomness of the key.

The main weakness of this method is that you have to include both the decryption algorithm and the key in your executable, which is vulnerable to analysis by decompilation/disassembly.