mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-11 16:15:52 +00:00
RSA: adustments for 2.0 branch
This commit is contained in:
parent
e36f9388cb
commit
941230c2df
@ -105,7 +105,7 @@ MF0wDQYJKoZIhvcNAQEBBQADTAAwSQJCAmdYuOvii3I6ya3q/zSeZFoJprgF9fIq
|
|||||||
k12yS6pCS3c+1wZ9cYFVtgfpSL4XpylLe9EnRT2GRVYCqUkR4AUeTuvnAgMBAAE=
|
k12yS6pCS3c+1wZ9cYFVtgfpSL4XpylLe9EnRT2GRVYCqUkR4AUeTuvnAgMBAAE=
|
||||||
-----END PUBLIC KEY-----';
|
-----END PUBLIC KEY-----';
|
||||||
|
|
||||||
$rsa = new Crypt_RSA();
|
$rsa = new RSA();
|
||||||
$rsa->loadKey($pub);
|
$rsa->loadKey($pub);
|
||||||
$rsa->setHash('sha256');
|
$rsa->setHash('sha256');
|
||||||
$rsa->setSaltLength(32);
|
$rsa->setSaltLength(32);
|
||||||
|
Loading…
Reference in New Issue
Block a user