Skip to content

libsodium.SKI.SecretStream.BlockSize

Andrew Lambert edited this page Nov 26, 2022 · 5 revisions

Property declaration

 Dim BlockSize As Int32 = &hFFFF

Remarks

Gets and sets the size of the blocks that are written/read when using the buffered write/read methods. The same block size must be used for both encryption and decryption.

The Close() method pads the final block of encrypted data to equal the block size.

Clone this wiki locally