tuweni / org.apache.tuweni.crypto.sodium / Sodium / isAvailable

isAvailable

static fun isAvailable(): Boolean (source)

Check if the sodium library is available.

If the sodium library has not already been loaded, this will attempt to load and initialize it before returning.

Return
Boolean: true if the library is loaded and available.