Skip to content
 
 

Repository files navigation

Argon2 Library

Wrapper around the reference C implementation of Argon2.

iOS Usage

Add the following line to your Podfile:

pod 'SignalArgon2CAlloc'

Install the pod with the a terminal at the same path as your Podfile:

pod install

Use it:

let (rawHash, encodedHash) = Argon2.hash(
    iterations: 1,
    memoryInKiB: 32 * 1024,
    threads: 1,
    password: password,
    salt: salt,
    desiredLength: 32,
    variant: .id,
    version: .v13
)

About

The same Argon2 lib without the malloc security warnings fired by tools like MobSF, AppSweep and others.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages