you would store a private key on the server, store the blob in mysql and encrypt/decrypt as needed.
There are other library wrappers as well.