Currently browser only, a window.crypto backed IRandom implementation. Random values are buffered to minimize overhead. Buffer size is configurable via ctor.
remarks
Internally uses randomBytes to source values, which falls back to using SYSTEM iff window.crypto is not available.
Currently browser only, a
window.crypto
backed IRandom implementation. Random values are buffered to minimize overhead. Buffer size is configurable via ctor.Internally uses randomBytes to source values, which falls back to using SYSTEM iff
window.crypto
is not available.