tomvardasca / nativescript-crypto

NativeScript plugin with native crypto primitives for Android and iOS
Apache License 2.0
8 stars 7 forks source link

How to generate randomBytes? #3

Open bonustrack opened 6 years ago

bonustrack commented 6 years ago

The function randomBytes does not seem to be implemented. When i try to use it it say the function does not exist. Are you aware about a way to use that method?

I'm using {N} + Vue environement.

tomvardasca commented 6 years ago

You are using which version of NativeScript? Are you using it on Android or iOS? Can please you give me the console logs and the logcat(if it is android)

Erudition commented 3 years ago

it's not implemented, but secureRandomBytes is, so that should be usable in its place maybe?