0.1.1 • Published 9 months ago

react-native-key-generator v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-native-key-generator

Secure unique 128, 192, 256 bit key generator for React Native

Requirements

iOS >= 13.0\ Android >= 26

Installation

npm i --save react-native-key-generator

Usage

import { generateSymmetricKey } from 'react-native-key-generator';

// ...

const key = await generateSymmetricKey({
    size: 256, // 128, 192 or 256 bit key
    outputEncoding: "base64" // base64 or hex
});

console.log(key);
// aZw4qfXzcvVb9mF9ojQIlvkSscGZ0b2NzdG48bRutUc=

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Author

Hayr Hotoca | @1limxapp

License

MIT

0.1.1

9 months ago

0.1.0

10 months ago