Unverified Commit e331ba83 authored by Mike Goelzer's avatar Mike Goelzer Committed by GitHub

Comment that KeyStretcher is pre-deprecation

parent 0c428060
...@@ -181,6 +181,8 @@ type StretchedKeys struct { ...@@ -181,6 +181,8 @@ type StretchedKeys struct {
CipherKey []byte 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. // KeyStretcher returns a set of keys for each party by stretching the shared key.
// (myIV, theirIV, myCipherKey, theirCipherKey, myMACKey, theirMACKey). // (myIV, theirIV, myCipherKey, theirCipherKey, myMACKey, theirMACKey).
// This function accepts the following cipher types: // This function accepts the following cipher types:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment