Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
react-native-key-manager
Advanced tools
A package for securely generating and mananging keys in React-Native.
A package for securely generating and mananging keys in React-Native.
npm install react-native-key-manager --save
cd ios && pod install && cd ..
or
yarn add react-native-key-manager
cd ios && pod install && cd ..
import {
CreateOrGetKey,
GenerateKey,
GetKey,
DeleteKey,
UpdateKey,
SetKey,
} from 'react-native-key-manager';
// ...
const result = await GenerateKey();
SetKey(alias: string, key: string) - Save the key. Returns: Promise that resolves with object {success: true, message: response_text} if success or rejects with message if fail.
UpdateUser(alias: string, key: string) - Update the key. Returns: Promise that resolves with object {success: true, message: response_text} if success or rejects with message if fail.
GetKey(alias: string) - Gets the key. Returns: Promise that resolves with object {success: true, alias: "alias", key: "key"} if success or rejects with message if fail.
DeleteUser(alias: string) - Deletes the alias. Returns: Promise that resolves with object {success: true, message: response_text} if success or rejects with message if fail.
CreateOrGetKey(alias: string, length: number (Optional), characterSet: string (Optional)) - Creates or Rertives a Key. Returns: Promise that resolves with object {success: true, alias: "alias", key: "key"} if success or rejects with message if fail.
GenerateKey(length: number (Optional), characterSet: string (Optional)) - Creates a Key. Returns: String of a random key of desired length.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
A package for securely generating and mananging keys in React-Native.
The npm package react-native-key-manager receives a total of 0 weekly downloads. As such, react-native-key-manager popularity was classified as not popular.
We found that react-native-key-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.