tuweni / org.apache.tuweni.crypto.sodium / XChaCha20Poly1305 / isSecretStreamAvailable

isSecretStreamAvailable

static fun isSecretStreamAvailable(): Boolean (source)

Check if Sodium and the XChaCha20Poly1305 secret stream algorithm is available.

XChaCha20Poly1305 secret stream is supported in sodium native library version >= 10.0.14.

Return
Boolean: true if Sodium and the XChaCha20Poly1305 secret stream algorithm is available.