Method Nettle.DES()->fix_parity()
- Method fix_parity
string(8bit)fix_parity(string(8bit)key)- Description
Sets the last bit in every byte in
keyto 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.