Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How is Parity Bit Calculation for 3DES 1K - 2K - 3K?

848921Mar 22 2011 — edited Mar 23 2011
Hi masters..

I'm not familiar with 3DES.
As far as i know there're 3 kinds of DES / 3DES(which is distinguished by its key length), namely 1Key, 2Keys, and 3Keys.
And DES/3DES uses Parity Bit..
Sorry.. I don't know how to compute the Parity Bit..

I got application from my friend.. And there's a Parity Bit Calculation..
I'm just curious how Parity Bit calculation works..

Here's some Input and Output :

Input 1 (1K) : 0345457345342534
Output : 0245457345342534

Input 2 (2Ks) : CABF326FA56734324FFCCABCDEFA
Output : CBBF326EA46734324FFDCBBCDFFB

Input 3 (3Ks) : AAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC
Output : ABABABABABABABABBABABABABABABABACDCDCDCDCDCDCDCD

Please tell me how is the calculation exactly..

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2011
Added on Mar 22 2011
2 comments
2,855 views