Fix doc reference
This commit is contained in:
parent
5c49b58a88
commit
85a6e8acca
|
|
@ -22,7 +22,7 @@ pub struct KeyIvPair {
|
||||||
/// v1.5 or PBKDF1 from PKCS#5 v2.0.
|
/// v1.5 or PBKDF1 from PKCS#5 v2.0.
|
||||||
///
|
///
|
||||||
/// New applications should not use this and instead use
|
/// New applications should not use this and instead use
|
||||||
/// `pkcs5_pbkdf2_hmac_sha1` or another more modern key derivation algorithm.
|
/// `pbkdf2_hmac` or another more modern key derivation algorithm.
|
||||||
pub fn bytes_to_key(cipher: Cipher,
|
pub fn bytes_to_key(cipher: Cipher,
|
||||||
digest: MessageDigest,
|
digest: MessageDigest,
|
||||||
data: &[u8],
|
data: &[u8],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue