如何安装 libargon2-0 Debian 10

了解如何安装 libargon2-0 Debian 10 通过本教程。 libargon2-0 是内存困难的哈希函数 – 运行时库

介绍

在本教程中我们学习如何安装 libargon2-0 在 Debian 10.

什么是 libargon2-0

libargon2-0 是:

Argon2 是一种密码哈希函数,可用于对凭证存储、密钥派生或其他应用程序的密码进行哈希处理。

Argon2 有两个主要版本:Argon2i 和 Argon2d。 Argon2i 针对侧通道攻击最安全,而 Argon2d 针对 GPU 破解攻击提供最高的抵抗力。

Argon2i 和 Argon2d 的参数化如下:

  • 时间成本,定义实现的计算量以及执行时间,以迭代次数给出
  • 内存成本,定义内存使用量,以千字节为单位
  • 并行度,定义并行线程的数量

该软件包为针对旧版本的 libargon2 构建的软件包提供了兼容性。

有三种安装方法 libargon2-0 在 Debian 10.我们可以使用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

使用 apt-get 安装 libargon2-0

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 libargon2-0 使用 apt-get 通过运行以下命令:

sudo apt-get -y install libargon2-0

使用 apt 安装 libargon2-0

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 libargon2-0 使用 apt 通过运行以下命令:

sudo apt -y install libargon2-0

使用 aptitude 安装 libargon2-0

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Debian。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 libargon2-0 使用 aptitude 通过运行以下命令:

sudo aptitude -y install libargon2-0

如何卸载 libargon2-0 Debian 10

仅卸载 libargon2-0 打包我们可以使用以下命令:

sudo apt-get remove libargon2-0

卸载 libargon2-0 及其依赖项

卸载 libargon2-0 及其不再需要的依赖项 Debian 10、我们可以使用下面的命令:

sudo apt-get -y autoremove libargon2-0

删除 libargon2-0 配置和数据

去除 libargon2-0 配置和数据来自 Debian 10.我们可以使用如下命令:

sudo apt-get -y purge libargon2-0

删除 libargon2-0 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 libargon2-0 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge libargon2-0

依赖关系

libargon2-0 具有以下依赖项:

参考

概括

在本教程中我们学习如何安装 libargon2-0 封装在 Debian 10. 使用不同的包管理工具: apt, apt-getaptitude