You are not logged in.
Pages: 1
Would it be possible to add a standard mechanism to provide a custom getRandomNumber ?
Or more generically, a way so that TAESPRNG would not directly be referenced everywhere in SynCrypto, but only through an indirection, so that a custom PRNG can be used instead?
Currently it can be hacked in by modifying the source, but that is a little bit "dirty".
Uses cases would be to map it straight to OS provided CSPRNG (in cases where that is a requirement), and to xor with other source(s) of randomness in other cases.
Thanks!
Offline
I've added a MainAESPRNG global variable.
See http://synopse.info/fossil/info/7a2266e193
And introduced a new TAESPRNGSystem class.
See http://synopse.info/fossil/info/6345cec3bc
Offline
Pages: 1