I'm trying to find documentation to create key pair, but there's no information regarding that. I would like to generate key pair and store that in some database and use them later to encrypt, decrypt files. Please guide me.