PHP phpseclib\Crypt TripleDES::setKey - 4 examples found. These are the top rated real world PHP examples of phpseclib\Crypt\TripleDES::setKey extracted from open source projects. You can rate examples to help us improve the quality of examples.
Triple DES can use 128-bit (eg. strlen($key) == 16) or 192-bit (eg. strlen($key) == 24) keys.
DES also requires that every eighth bit be a parity bit, however, we'll ignore that.
See also:
phpseclib\Crypt\DES::setKey()
See also:
phpseclib\Crypt\Common\SymmetricKey::setKey()