BrowserCryptography constructor

BrowserCryptography({
  1. Random? random,
})

Constructs an instance of BrowserCryptography.

If random is not given, algorithms will use some cryptographically secure random number generator (CSRNG) such as Random.secure.

Implementation

BrowserCryptography({Random? random}) : super(random: random);