title: How to store openssl_public_encrypt() output in MySQL database?
body: <p>I have a need to store an encrypted but recoverable (by admin) password in MySQL, from PHP.  AFAIK, the most straightforward way to do this is with openssl_public_encrypt(), but I'm not sure what column type is needed.  Can I make any reliable judgment on the maximum length of encrypted output, based upon the size of the key and the input? </p>
  
  <p>Or am I forced to use a huge field (e.g. BLOB), and just hope it works all the time?</p>