sodium library

Initialize dart_sodium.

Functions

init() bool
Initializes a random number generator for dart_sodium. Must be called before any other function of dart_sodium. Calling it multiple times has no effect. The return value indicates if dart_sodium was already initialized. Throws InitException when initialization fails.

Exceptions / Errors

InitException