This makes the decryption layer easier to use in C++ wrappers, or whenever you want to avoid a global