Randombytes class abstract

A meta class that provides access to all libsodium randombytes APIs.

This class provides the dart interface for the crypto operations documented in https://libsodium.gitbook.io/doc/generating_random_data. Please refer to that documentation for more details about these APIs.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seedBytes int
Provides randombytes_SEEDBYTES.
no setter

Methods

buf(int length) Uint8List
Provides randombytes_buf.
bufDeterministic(int length, Uint8List seed) Uint8List
Provides randombytes_buf_deterministic.
close() → void
Provides randombytes_close.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
random() int
Provides randombytes_random.
stir() → void
Provides randombytes_stir.
toString() String
A string representation of this object.
inherited
uniform(int upperBound) int
Provides randombytes_uniform.

Operators

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