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

supportsVersion

static fun supportsVersion(requiredVersion: SodiumVersion!): Boolean (source)

Check if the loaded sodium native library is the same or later than the specified version.

Parameters

requiredVersion - SodiumVersion!: The version to compare to.

Return
Boolean: true if the loaded sodium native library is the same or a later version.