Abstraction for JSBN RNG for improved transparency and best-available random number generation