Search
Preparing search index...
The search index is not available
StableLib
Options
All
Public
Public/Protected
All
Inherited
Menu
StableLib
@stablelib/hmac-drbg
HMACDRBG
Class HMACDRBG
Hierarchy
HMACDRBG
Implements
RandomSource
Index
Constructors
constructor
Accessors
is
Available
is
Instantiated
Methods
random
Bytes
Constructors
constructor
new HMACDRBG
(
_entropySource
?:
RandomSource
, _hash
?:
new
(
)
=>
Hash
, _personalization
?:
Uint8Array
, _reseedInterval
?:
number
)
:
HMACDRBG
Parameters
_entropySource:
RandomSource
= defaultRandomSource
_hash:
new
(
)
=>
Hash
= SHA256
new
(
)
:
Hash
Returns
Hash
_personalization:
Uint8Array
= ...
_reseedInterval:
number
= RESEED_INTERVAL
Returns
HMACDRBG
Accessors
is
Available
get
isAvailable
(
)
:
boolean
Returns
boolean
is
Instantiated
get
isInstantiated
(
)
:
boolean
Returns
boolean
Methods
random
Bytes
random
Bytes
(
length
:
number
)
:
Uint8Array
Parameters
length:
number
Returns
Uint8Array
Modules
@stablelib/aead
@stablelib/aes
@stablelib/aes-
kw
@stablelib/base64
@stablelib/benchmark
@stablelib/binary
@stablelib/blake2b
@stablelib/blake2s
@stablelib/blake2xs
@stablelib/blockcipher
@stablelib/bytereader
@stablelib/bytes
@stablelib/bytewriter
@stablelib/cbor
@stablelib/chacha
@stablelib/chacha-
drbg
@stablelib/chacha20poly1305
@stablelib/cmac
@stablelib/constant-
time
@stablelib/ctr
@stablelib/ed25519
@stablelib/float
@stablelib/gcm
@stablelib/gf256
@stablelib/halfsiphash
@stablelib/hash
@stablelib/hex
@stablelib/hkdf
@stablelib/hmac
@stablelib/hmac-
drbg
@stablelib/int
@stablelib/keyagreement
@stablelib/nacl
@stablelib/newhope
@stablelib/pbkdf2
@stablelib/poly1305
@stablelib/random
@stablelib/salsa20
@stablelib/scrypt
@stablelib/sha224
@stablelib/sha256
@stablelib/sha3
@stablelib/sha384
@stablelib/sha512
@stablelib/sha512_
256
@stablelib/siv
@stablelib/snappy
@stablelib/tss
@stablelib/utf8
@stablelib/uuid
@stablelib/wipe
@stablelib/x25519
@stablelib/x25519-
session
@stablelib/xchacha20
@stablelib/xchacha20poly1305
@stablelib/xsalsa20
HMACDRBG
constructor
is
Available
is
Instantiated
random
Bytes
Generated using
TypeDoc