Lines Matching refs:key
15 * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 136-bits
16 * it'll be null-padded to 192-bits and 192 bits will be the key length until {@link self::setKey() setKey()}
72 * Sets the key length
74 * Valid key lengths are 128, 192, and 256. Set the link to bool(false) to disable a fixed key length
78 * @throws \LengthException if the key length isn't supported
94 * Sets the key.
96 * Rijndael supports five different key lengths, AES only supports three.
100 * @param string $key
101 * @throws \LengthException if the key length isn't supported
103 public function setKey($key)
105 switch (strlen($key)) {
111 throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported');
114 parent::setKey($key);