Joined: 24 Dec 2007 Posts: 2276 Location: Minnesota
Posted: Fri Aug 27, 2010 6:53 pm Post subject: [Java] An Idea - Polynomial Encryption
I started reading some Alg2 stuff and thought of creating an encryption method based of Polynomial Equations to the outputs would have finite lengths. But my question is, would using this technique with a key work well?
I know it can be easily brute forced though by changing the key.
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
Posted: Sat Aug 28, 2010 12:32 pm Post subject:
Jorghi wrote:
int coded = ((input+key)^2 + (input+key) + 1) + input^key;
I don't know about Java, but in C the ^ operator is the xor operator. So in C (input+key)^2 would xor the output of (input+key) with 2. Might be different for Java though.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum