expo-argon2
v0.2.1
Published
Argon2 bindings for expo apps
Downloads
18
Maintainers
Readme
expo-argon2
Argon2 bindings for expo apps
Usage
First install the package:
npm install expo-argon2Then you can use it in your code like this:
import { hash } from 'expo-argon2';
const hashedPassword = await hash('mypassword', 'random_salt', {
timeCost: 3,
memoryCost: 4096,
parallelism: 1,
hashLength: 32,
type: 'argon2id',
});
console.log(hashedPassword);For more details, see the example project in the example folder.
