afk11pkcs5

PKCS5 v2 密钥派生和消息加密的库

v0.0.10 2016-07-13 00:15 UTC

This package is auto-updated.

Last update: 2024-08-23 06:04:26 UTC


README

NB: This library is neither *complete* or *fully tested*. 
If you come across this warning, it means the code isn't suitable to rely
on yet. Please bear with me, or submit a pull request to speed things along! 

PKCS #5 是一种基于密码的加密规范。它允许用户使用密码表达加密算法和密钥派生函数,以派生一个对称密钥。

该库的初始范围限于在https://tools.ietf.org/html/rfc2898中描述的新实现推荐的原语。

加密算法

该库与AES128、AES192和AES256加密算法兼容。

密钥派生函数

目前,PBKDF2是唯一支持的关键派生函数。它允许使用SHA1、SHA224、SHA256、SHA384和SHA512。