| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Nettle
Nettle.DES_Info

# Method Nettle.DES_Info()->fix_parity()

Method fix_parity

  `string fix_parity(string key)`

Description

  Sets the last bit in every byte in key to reflect the parity. If a seven byte key is used, it will be expanded into eight bytes. If a key longer than eight characters is used, it will be truncated to eight characters.