RandomBridge class Null safety

Utility to use dart:math's Random class to generate numbers used by pointycastle.

Implemented types

Constructors

RandomBridge(Random dartRandom)

Properties

algorithmName String
Get this algorithm's standard name.
read-only, override
dartRandom Random
read / write
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

nextBigInteger(int bitLength) BigInt
Get a random BigInteger of bitLength bits.
override
nextBytes(int count) Uint8List
Get a list of bytes of arbitrary length.
override
nextUint8() int
Get one byte long random int.
override
nextUint16() int
Get two bytes long random int.
override
nextUint32() int
Get four bytes long random int.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
seed(CipherParameters params) → void
Seed the RNG with some entropy (look at package cipher_entropy providing entropy sources).
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited