I just skimed your code and looks like std/random module is used for cryptographic purposes in `randomSeed` proc: <https://github.com/C-NERD/nimAptos/blob/main/src/aptos/ed25519/ed25519.nim> <https://github.com/C-NERD/nimAptos/blob/main/src/aptos/accounts/aptos_account.nim>
Please read: <https://nim-lang.org/docs/random.html> You can use this module instead: <https://nim-lang.org/docs/sysrand.html> `randomSeed` proc returns a 32 bytes value but random module can generate only 2^(16 * 8) - 1 values because `Rand` has only 16 bytes status.