Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
error SA1027: Tabs and spaces should be used correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Jan 24, 2023
1 parent f654de5 commit 66042ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Xamarin.Essentials/SecureStorage/SecureStorage.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ static void PlatformRemoveAll() =>

internal static bool AlwaysUseAsymmetricKeyStorage { get; set; } = false;

// While MD5 is deemed to be not secure anymore, it is not used in a security context here.
// Here we hash a key value to ensure compatibility with the underlying platform's preferences storage (so the key was a determinate length and didn't exceed platform limits).
// As part as Microsofts ongoing efforts to secure the .NET ecosystem, this usage of an insecure hashing mechanism was flagged.
// An exception has been requested for the usage of this "unsafe" hashing mechanism.
// More details here (internal link): https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1676270
// While MD5 is deemed to be not secure anymore, it is not used in a security context here.
// Here we hash a key value to ensure compatibility with the underlying platform's preferences storage (so the key was a determinate length and didn't exceed platform limits).
// As part as Microsofts ongoing efforts to secure the .NET ecosystem, this usage of an insecure hashing mechanism was flagged.
// An exception has been requested for the usage of this "unsafe" hashing mechanism.
// More details here (internal link): https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1676270
internal static string Md5Hash(string input)
{
var hash = new StringBuilder();
Expand Down

0 comments on commit 66042ed

Please sign in to comment.