Switched to using browser-native crypto to aid in random calculations