Skip to content

libsodium.SKI.SecretStream.Create

Andrew Lambert edited this page Dec 28, 2018 · 4 revisions

Method Signature

 Shared Function Create(Key As libsodium.SKI.KeyContainer, OutputStream As Writeable) As libsodium.SKI.SecretStream

Parameters

Name Type Comment
Key KeyContainer A secret key, shared key, or encryption key.
OutputStream Writeable The output stream to which encrypted data will be written.

Return value

An instance of SecretStream, or Nil on error.

Remarks

Creates a SecretStream in encryption mode.

Clone this wiki locally