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