BSD Ports

security/argon2 20190702 NetBSD

Password hash Argon2

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
cc0-1.0-universal OR apache-2.0
Categories
security
Package size
472.4 KiB, 592.1 KiB installed

Description

This is the reference C implementation of Argon2, the password-hashing function that won the Password Hashing Competition (PHC).

You should use Argon2 whenever you need to hash passwords for credential storage, key derivation, or other applications.

There are two main versions of Argon2, Argon2i and Argon2d. Argon2i is the safest against side-channel attacks, while Argon2d provides the highest resistance against GPU cracking attacks.

Argon2i and Argon2d are parametrized by

* A time cost, which defines the amount of computation realized and therefore the execution time, given in number of iterations * A memory cost, which defines the memory usage, given in kibibytes * A parallelism degree, which defines the number of parallel threads

In the other systems

SystemPortVersion
NetBSDsecurity/argon220190702
OpenBSDsecurity/argon220190702p0

Install

Binary package:

pkgin install argon2

From pkgsrc:

cd /usr/pkgsrc/security/argon2 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6420190702
NetBSD 10.1 aarch6420190702
SmartOS / illumos x86_6420190702
macOS 15 arm6420190702

Dependencies