Legacy support of Python cryptography.
