Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. openssl rsautl -decrypt -inkey private.pem -in data.2056bits.enc.bin -out data.128bits.dec.bin
  2.  
  3. opendssl rsa -in private.pem -pubout > pub.pem
  4. openssl rsautl -encrypt -inkey pub.pem -pubin -in data.128bits.dec.bin -out data.2056bits.enc.bin
  5.  
  6. openssl rsautl -decrypt -inkey private.pem -in data.2056bits.enc.bin -out data.128bits.dec.bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement