Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- asn1=SEQUENCE:rsa_key
- [rsa_key]
- version=INTEGER:0
- modulus=INTEGER:187
- pubExp=INTEGER:7
- privExp=INTEGER:23
- p=INTEGER:17
- q=INTEGER:11
- e1=INTEGER:7
- e2=INTEGER:3
- coeff=INTEGER:14
- $openssl asn1parse -genconf asn_format_mykey.txt -out pkey.der
- $openssl rsa -inform der -in newkey.der -outform pem -pubout>pkey.pem
- $openssl rsa -in newkey.der -inform der -text -check
- $ echo 'aaaa'| openssl rsautl -encrypt -pubin -inkey pkey.pem -raw -out message.encrypted
Add Comment
Please, Sign In to add comment