You can use "react-native-rsa-native" how have metods to generate RSA public and private keys... an verify and sing. from https://www.npmjs.com/package/react-native-rsa-native