static fun openDecryptionStream(key: Key, header: ByteArray): SecretDecryptionStream
(source)
Open an decryption stream.
key
- The key to use for decryption.
header
- The header for the stream.
UnsupportedOperationException
- If XChaCha20Poly1305 secret stream support is not available.
Return
The input stream.