lundi 29 avril 2019

Random number generation using Java 8

I'm working on Java 8 code to generate one time passwords (random). Below are the security requirements:

Following are the approved PRNG mechanisms:
· HASH_DRBG
· HMAC_DRBG
· CTR_DRBG#

I know that Java 9 SecureRandom supports these mechanisms, but how about Java 8? Anyway to achieve this using Java 8 code?

Thanks a lot,
Raj




Aucun commentaire:

Enregistrer un commentaire