AbdelbakiBoukerche / rsa_encrypt

rsa encrypt package
MIT License
17 stars 16 forks source link

What is the size of the key generated by this package? #18

Closed DennisMuchiri closed 2 years ago

DennisMuchiri commented 2 years ago

What is the size of the key generated by this package? e.g rsa-512, 1024 or 2048

@AbdelbakiBoukerche please help @AbdelbakiBoukerche

Patrick762 commented 2 years ago

It seems like it's using 2048

In line 260 there's this part

var rsapars = new RSAKeyGeneratorParameters(BigInt.from(65537), 2048, 5);

The second argument is the key size.

DennisMuchiri commented 2 years ago

Closing