|
|
|
@ -3,6 +3,7 @@ RSA Key Generation, Encryption and Decryption example in python
|
|
|
|
|
|
|
|
|
|
You can use as reference OpenSSL's RSA module that can produce following output, e.g.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ openssl genrsa 32 |openssl rsa -noout -text
|
|
|
|
|
Generating RSA private key, 32 bit long modulus
|
|
|
|
|
.+++++++++++++++++++++++++++
|
|
|
|
@ -19,4 +20,5 @@ exponent2: 28991 (0x713f)
|
|
|
|
|
coefficient: 16388 (0x4004)
|
|
|
|
|
|
|
|
|
|
$ openssl genrsa 32 |openssl asn1parse
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|