SIGN IN SIGN UP

Remove get_random_bytes from cryptography backend (#381)

* Remove get_random_bytes from cryptography backend

The RAND_bytes binding has been removed in cryptography 45.0. The
recommendation[1] is now to rely on `os.urandom`, which is already
implemented in the native backend.
The pycrpto implementation was removed earlier, so this removes the
leftover attempt to import it.

Closes: #380

[1] https://cryptography.io/en/latest/random-numbers/

* remove unused import

* fix import order

---------

Co-authored-by: Asher Foa <asher@userclouds.com>
M
Martin Weinelt committed
916dd9e4545d420d28d10aa2aec6e321e7aea55c
Parent: 675f4df
Committed by GitHub <noreply@github.com> on 5/28/2025, 4:10:21 PM