Files
RustPython/crates/stdlib/src
Joshua Megnauth 3d53342b61 Update random and cryptography crates (#8010)
Redo of #7800.

Bumping the random and crypto crates is not trivial. Both sets of crates
have had API changes which require manual updates.

AI use:
I wrote all of the code myself but used AI to figure out the new APIs.
AI explained SHAKE's block size and why the block_size() function
doesn't exist in the new crate. I confirmed the block size, which is
actually represented in the new types for SHAKE. `Shake128` is actually
`Shake<168>` - 168 is the block size. I cited Wikipedia as it lists the
SHAKE block size in bits.

I also used AI to figure out HMAC for SHA3.

Assisted-by: Codex:gpt-5.4
2026-06-03 18:38:28 +09:00
..
2026-05-13 09:45:15 +09:00
2026-05-28 12:16:08 +09:00
2026-05-15 10:38:36 +00:00
2026-05-25 22:03:18 +09:00
2026-05-16 19:01:40 +09:00
2026-05-04 10:18:24 +09:00
2026-05-04 10:18:24 +09:00
2026-02-14 21:40:04 +09:00
2026-01-21 22:39:40 +09:00
2026-01-21 22:39:40 +09:00
2026-05-12 00:53:58 +09:00
2026-05-16 19:01:40 +09:00
2026-05-20 16:16:14 +09:00
2026-05-16 19:01:40 +09:00
2026-05-16 19:01:40 +09:00
2026-05-15 10:38:36 +00:00
2026-02-14 21:40:04 +09:00
2026-05-28 12:16:08 +09:00
2026-05-20 16:16:14 +09:00
2026-05-16 19:01:40 +09:00
2026-05-16 19:01:40 +09:00
2026-01-21 22:39:40 +09:00
2026-02-14 21:40:04 +09:00
2026-02-14 21:40:04 +09:00
2026-05-24 19:56:35 +09:00
2026-05-28 11:07:09 +09:00
2026-05-15 10:38:36 +00:00
2026-01-21 22:39:40 +09:00
2026-05-24 19:56:35 +09:00
2026-05-16 19:01:40 +09:00
2026-05-13 09:45:15 +09:00