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 to generate a Nonce value for creating a password digest.

843810Feb 11 2005 — edited Feb 14 2005
Hi,

I need to generate a 'nonce' value - is there a standard java library that can already do this? From what i've read its a random, non repeatable set of bytes.

This nonce is used in the calculation of a password digest to create a WS-Security UsernameToken.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2005
Added on Feb 11 2005
3 comments
6,383 views