react-native-quick-crypto
react-native-quick-crypto copied to clipboard
validateString() bug - throws error if string
https://github.com/margelo/react-native-quick-crypto/blob/ac04d8c622570a99a4834cbceecc976e4e005492/src/Utils.ts#L154
if (isString) {
throw new Error(`${name} is not a string`);
}
validateString method will throw an error if the input is a string
Just sent out https://github.com/margelo/react-native-quick-crypto/pull/175 to fix this since I can't pass any valid hash type to generateKeyPair
Any updates?