react-native-hashkit
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i react-native-hashkit

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

299 kB

Total Files

60

Last publish

Collaborators

  • 4cc3ss