mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-04-28 17:10:14 +08:00
Comment that KeyStretcher is pre-deprecation
This commit is contained in:
parent
0c42806002
commit
e331ba838c
@ -181,6 +181,8 @@ type StretchedKeys struct {
|
||||
CipherKey []byte
|
||||
}
|
||||
|
||||
// PENDING DEPRECATION: KeyStretcher() will be deprecated with secio; for new
|
||||
// code, please use PBKDF2 (golang.org/x/crypto/pbkdf2) instead.
|
||||
// KeyStretcher returns a set of keys for each party by stretching the shared key.
|
||||
// (myIV, theirIV, myCipherKey, theirCipherKey, myMACKey, theirMACKey).
|
||||
// This function accepts the following cipher types:
|
||||
|
Loading…
Reference in New Issue
Block a user