Bitcoin random number functions implemented for NodeJS and browsers via SJCL