title: How to generate a symmetric key with Bouncy Castle?
body: <p>How can I generate a symmetric key with Bouncy Castle?
   Both <a href="http://www.bouncycastle.org/docs/docs1.5on/org/bouncycastle/crypto/util/PrivateKeyFactory.html" rel="noreferrer">PrivateKeyFactory</a> and <a href="http://www.bouncycastle.org/docs/docs1.5on/org/bouncycastle/crypto/util/PublicKeyFactory.html" rel="noreferrer">PublicKeyFactory</a> seem related to <a href="http://www.bouncycastle.org/docs/docs1.5on/org/bouncycastle/crypto/params/AsymmetricKeyParameter.html" rel="noreferrer">AsymmetricKeyParameter</a>.</p>
  
  <p>I don't want to know any JCA/JCE API - instead I'm only interested in Bouncy Castle specific API.</p>
  
  <p>Can (should) I just generate a random bytes?</p>