Pike v8.0 release 1738

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


Method set_decrypt_key

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

Description

Initializes the object for decryption. 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_encrypt_key, crypt