C one time pad encryption

The key may be random but it's quite easy to brute-force something that's been XOR'ed. This is not a proper encryption algorithm. It's called obfuscation.
 
The key may be random but it's quite easy to brute-force something that's been XOR'ed. This is not a proper encryption algorithm. It's called obfuscation.

The key is the same size as the data. Valid xor'd with random = random when the keylength = datalength
 
There are various options to use to break your 'encryption' regardless of the key length because the random generator is never truly random. It's also prone to known-plaintext attacks.
 
Back
Top