Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
random: use uint256::FromHex for RANDOM_CTX_SEED
Removes dependency on unsafe and deprecated uint256S. This makes parsing more strict, by requiring RANDOM_CTX_SEED to be a 64 char hex string, whereas previously any string would be accepted, with non-hex characters silently ignored and strings longer than 64 characters silently trimmed. Additionally, and unrelatedly, make RANDOM_CTX_SEED inline constexpr
- Loading branch information