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!

Unencrypted password length vs. Encrypted password length

843810Nov 8 2004 — edited Nov 9 2004
Hi,

Can anybody share the formula to get the resulting String length of an encrypted password.
For example: how long will the encrypted String be given a 5 letter unencrypted password?

Will this change across different algo? e.g. MD5/SHA1 and two way hash...

Need this to make sure the database field is of the correct size for the encrypted password...
based on prior experience, the resulting encrypted String is always longer than the inputted password but I cannot find a reference stating the formula...

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2004
Added on Nov 8 2004
4 comments
236 views