encrypting of api keys and passwords