Mark PBKDF2() obsolete
This commit is contained in:
@@ -388,8 +388,10 @@ namespace OpenMetaverse
|
||||
/// <summary>
|
||||
/// Calculates a PBKDF2 hash of a given string
|
||||
/// </summary>
|
||||
/// <remarks>Rfc2989 is outdated and insecure. Use at your own risk!</remarks>
|
||||
/// <param name="str">The string to hash</param>
|
||||
/// <returns>The PBKDF2 hash of the supplied string</returns>
|
||||
[Obsolete("Rfc2989 is outdated and insecure. Use at your own risk!")]
|
||||
public static string PBKDF2(string str)
|
||||
{
|
||||
var derivebytes = new Rfc2898DeriveBytes(str, 32) {IterationCount = 10000};
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace OpenMetaverse.Utilities
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A psuedo-realistic chat function that uses the typing sound and
|
||||
/// A pseudo-realistic chat function that uses the typing sound and
|
||||
/// animation, types at three characters per second, and randomly
|
||||
/// pauses. This function will block until the message has been sent
|
||||
/// </summary>
|
||||
@@ -102,7 +102,7 @@ namespace OpenMetaverse.Utilities
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A psuedo-realistic chat function that uses the typing sound and
|
||||
/// A pseudo-realistic chat function that uses the typing sound and
|
||||
/// animation, types at a given rate, and randomly pauses. This
|
||||
/// function will block until the message has been sent
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user