Mark PBKDF2() obsolete

This commit is contained in:
cinder
2022-11-11 12:13:27 -06:00
parent b2fd3374cb
commit 7f06c915ff
2 changed files with 4 additions and 2 deletions

View File

@@ -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};

View File

@@ -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>