Use a compatible cryptography library.

The other cryptography library was not the exact same implementation we
have.