We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b3c8f commit 92a51a7Copy full SHA for 92a51a7
SisCryptoHash.cs
@@ -0,0 +1,11 @@
1
+using SisCrypto.Backends;
2
+
3
+namespace SisCrypto {
4
+public static partial class SisCrypto {
5
+ public static byte[] SecureHash(byte[] data, int version = SISCRYPTO_LATEST_VERSION)
6
+ => SisCryptoBackend.GetVersion(version).SecureHash(data);
7
8
+ public static byte[] SecureHash(string data, int version = SISCRYPTO_LATEST_VERSION)
9
+ => SecureHash(StringToBytes(data, version), version);
10
+}
11
0 commit comments