Make the cryptography backend global (somehow) instead of having it as an argument in every single function