Pike v8.0 release 1738

Method Nettle.ARCTWO()->State()->set_encrypt_key()


Method set_encrypt_key

State set_encrypt_key(string(8bit) key, int|void ekb)

Description

Initializes the object for encryption. The key memory will be cleared before released.

Parameter ekb

The effective number of bits in the key.

UNDEFINED

Derive from the key size (ie 8 * sizeof(key)).

0

Convenience alias for max (ie 1024).

(1..1024)

Reduce the effective key size to the specified number of bits.

See also

set_decrypt_key, crypt