SodiumSumo class abstract
A meta class that provides access to all toplevel libsodium sumo API groups.
- Implemented types
Properties
- crypto → CryptoSumo
-
An instance of Crypto.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- randombytes → Randombytes
-
An instance of Randombytes.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → SodiumVersion
-
Returns the version of the underlying libsodium implementation.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pad(
Uint8List buf, int blocksize) → Uint8List -
Provides sodium_pad.
inherited
-
runIsolated<
T> (SodiumIsolateCallback< T> callback, {List<SecureKey> secureKeys = const [], List<KeyPair> keyPairs = const []}) → Future<T> -
Runs the given
callback
with an isolate.inherited -
secureAlloc(
int length) → SecureKey -
Allocates new memory for a SecureKey of
length
bytes.inherited -
secureCopy(
Uint8List data) → SecureKey -
Allocates new memory for a SecureKey and copies the data from
data
.inherited -
secureRandom(
int length) → SecureKey -
Allocates new memory for a SecureKey and fills it with
length
bytes of random data.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
unpad(
Uint8List buf, int blocksize) → Uint8List -
Provides sodium_unpad.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited