# Method Nettle.BlockCipher()->CTR.State()->crypt()

Method crypt

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

Description

  Encrypt/decrypt data and return the result. data must be an integral number of blocks.

  The length of data MUST be a multiple of the block size for all calls except the last.

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

See also

  update(), digest()