jeudi 29 octobre 2015

Meteor-Random - How to know if strong or weak generator

The meteor documentation at http://ift.tt/1C8PFGi says:

... It uses a cryptographically strong pseudorandom number generator when possible, but falls back to a weaker random number generator when cryptographically strong randomness is not available (on older browsers or on servers that don't have enough entropy to seed the cryptographically strong generator).

Q: May I get somewhere in my scripts the information if generating a strong random generator is available or not.

I would like to show a box like: "Sorry you can not generate strong randoms within your environment" instead of creating weaker ones.

Thanks for some feedback Tom




Aucun commentaire:

Enregistrer un commentaire