Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Nettle
Nettle.DES3_Info

Method Nettle.DES3_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 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.