title: How to encrypt and decrypt data with Openssl RSA public private key pair in Golang?
body: <p>I am trying to write a program which encrypts data using a RSA public key and and decrypts data using private key. The RSA keys were generated with openssl tool.</p>
  
  <p>I found Spacemonkeygo Openssl <a href="https://github.com/spacemonkeygo/openssl" rel="nofollow noreferrer">https://github.com/spacemonkeygo/openssl</a> wrapper for this purpose. But unable to find any sample over &amp; also their is no document available for the same. So that I am unable to use. </p>
  
  <p>Please guide me how can I use Openssl in Golang?</p>
  
  <p>I am using first time encryption decryption &amp; Openssl. </p>
  
  <p>Thank you in advance!</p>