Lines Matching defs:key
37 * eg. for RSA key generation.
129 // in SSH2 a shared secret and an exchange hash are generated through the key exchange process.
130 // the IV client to server is the hash of that "nonce" with the letter A and for the encryption key it's the letter C.
131 // if the hash doesn't produce enough a key or an IV that's long enough concat successive hashes of the
137 $key = sha1($seed . 'A', true);
166 $crypto->setKey(substr($key, 0, $crypto->getKeyLength() >> 3));
213 foreach (array_keys($arr) as $key) {
214 // do not recurse on the '__phpseclib_marker' key itself, for smaller memory usage
215 if ($key !== '__phpseclib_marker') {
216 $safearr[$key] = self::safe_serialize($arr[$key]);