Pike v8.1 release 6

Method Nettle.AEAD()->State()->crypt()


Method crypt

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

Description

Encrypts or decrypts data, using the current key. Neither the input nor output data is automatically memory scrubbed, unless String.secure has been called on them.

Parameter data

Data must be an integral number of blocks, except for the last segment.

Returns

The encrypted or decrypted data.