Method Nettle.DES3()->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 21 byte key is used, it will be expanded into 24 bytes. If a key longer than 24 characters is used, it will be truncated to 24 characters.