react-native-hashkit
v0.2.0
Published
Mini React Native crypto library written in kotlin and swift.
Downloads
68
Maintainers
Readme
react-native-hashkit
Mini React Native crypto library written in kotlin and swift.
Installation
npm install react-native-hashkit
yarn add react-native-hashkit
Usage
SHA-256
import { sha256 } from "react-native-hashkit";
// ...
const result = await sha256('data');
HMAC-SHA256
import { hmacSHA256 } from "react-native-hashkit";
// ...
const result = await hmacSHA256('message', 'secret key');
Roadmap
- [X] MD5
- [X] SHA-1
- [X] SHA-224
- [X] SHA-384
- [X] SHA-256
- [X] SHA-512
- [X] HMAC-SHA256
- [ ] Aes256GCM
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library