Pike v8.1 release 6

Method Nettle.DES()->State()->fix_parity()


Method fix_parity

string(8bit) fix_parity(string(8bit) 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.