summaryrefslogtreecommitdiffstats
path: root/src/IOL.Helpers/CryptographyHelpers.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-01-28 20:56:37 +0100
committerivarlovlie <git@ivarlovlie.no>2022-01-28 20:56:37 +0100
commitc925e86c9c56f7f23e7f12685ae3213eb701fcce (patch)
treeea06917bbce2f2f5a3521d601f5c284526d9fad8 /src/IOL.Helpers/CryptographyHelpers.cs
parentbb48c7df9c6cd7e7a4e8907cc312980def1ab166 (diff)
downloaddotnet-helpers-c925e86c9c56f7f23e7f12685ae3213eb701fcce.tar.xz
dotnet-helpers-c925e86c9c56f7f23e7f12685ae3213eb701fcce.zip
feat!: ToGuid now throws on non-guid strings
Added ToGuidOrDefault for old behaviour
Diffstat (limited to 'src/IOL.Helpers/CryptographyHelpers.cs')
-rw-r--r--src/IOL.Helpers/CryptographyHelpers.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/IOL.Helpers/CryptographyHelpers.cs b/src/IOL.Helpers/CryptographyHelpers.cs
index 4821613..df53055 100644
--- a/src/IOL.Helpers/CryptographyHelpers.cs
+++ b/src/IOL.Helpers/CryptographyHelpers.cs
@@ -155,7 +155,6 @@ public static class CryptographyHelpers
return Convert.ToBase64String(hash);
}
-
/// <summary>
/// Creates a SHA256 hash of the specified input.
/// </summary>