static fun openEncryptionStream(key: Key!): SecretEncryptionStream!
(source)
Open an encryption stream.
key
- Key!: The key to encrypt for.
UnsupportedOperationException
- If XChaCha20Poly1305 secret stream support is not available.
Return
SecretEncryptionStream!: The input stream.