mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 12:44:38 +01:00
- the key has to be truncated before setKey() is called or else it'll be rounded up to the nearest key size - not down
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@190 21d32557-59b3-4da0-833f-c5933fad653e
This commit is contained in:
parent
f600a9bb50
commit
019edc6694
@ -628,7 +628,7 @@ class Crypt_Rijndael {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->setKey($key);
|
$this->setKey(substr($key, 0, $this->key_size));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user