title: How to generate a private/public key pair to encrypt messages
body: <p>I need to generate a keypair in my flutter App, but it seems that there aren't any libraries to do so. There is one library called <a href="https://pub.dartlang.org/packages/rsa" rel="nofollow noreferrer">RSA</a> which does parse a pair of public/private keys and is able to encrypt and decrypt strings using them, but it doesn't have the ability to generate a new KeyPair (preferably from a given string).</p>
  
  <p>How can I generate the keys in the first place? Am I missing something?</p>