Archived
Upgrade to using RyzStudio3 package (WIP)
This commit is contained in:
1 parent
68a9f8e616
commit
e98111bf04
6 files changed
+31
-26
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ namespace BookmarkManager
|
||||
public static string GetSHA256Hash(string text)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(text)) return string.Empty;
|
||||
|
||||
using (var sha = new SHA256Managed())
|
||||
|
||||
using (var sha = SHA256.Create())
|
||||
{
|
||||
byte[] hash = sha.ComputeHash(Encoding.UTF8.GetBytes(text));
|
||||
|
||||
|
||||
Reference in new issue
Block a user