Method Nettle.BufferedCipher()->Buffer.State()->crypt()


Method crypt

string(8bit) crypt(string(8bit) data)

Description

Encrypt or decrypt some data.

Adds data to be en/decrypted to the buffer. If there's enough data to en/decrypt a block, that will be done, and the result returned. Any unprocessed data will be left in the buffer.

Neither the input or output data is not automatically memory scrubbed, unless String.secure has been called on the data.