Function flipper0::ffi::mbedtls_des_key_set_parity
source · Expand description
\brief Set key parity on the given key to odd.
DES keys are 56 bits long, but each byte is padded with
a parity bit to allow verification.
\param key 8-byte secret key
\warning DES is considered a weak cipher and its use constitutes a security risk. We recommend considering stronger ciphers instead.