No need to encrypt, just store the external key in a table. Not that you're likely to change algorithms.