Thanks to blog here, I finally understood how rsa encrypt and decrypt.
//copy from https://gist.github.com/miguelmota/3ea9286bd1d3c2a985b67cac4ba2130a
//call GenerateKeyPair() can generate public-private key pem file for you
func GenerateKeyPair(){