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!

Key size for Triple DES

843811Mar 31 2006 — edited Apr 4 2006
We are using triple DES for symmetric key encryption and we specify the key size from a property file.
SYSTEM.SYM_KEY_ALGORITHM = DESede
SYSTEM.SYM_KEY_PROVIDER = BC
SYSTEM.SYM_KEY_SIZE = 192

Now triple DES uses a 168 bit key with 24 parity bits (168+24=192) , so should the key size in the property file be 168 or 192.

SYSTEM.SYM_KEY_SIZE = 168. ie, is parity bit also included as the key size
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2006
Added on Mar 31 2006
6 comments
935 views