We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f13d853 commit 1e581efCopy full SHA for 1e581ef
OnixLabs.Playground/Program.cs
@@ -12,25 +12,12 @@
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
-using System;
16
-using System.Security.Cryptography;
17
-using System.Text;
18
-using OnixLabs.Security.Cryptography;
19
-
20
namespace OnixLabs.Playground
21
{
22
internal static class Program
23
24
private static void Main(string[] args)
25
26
- Hmac hmac = Hmac.ComputeSha2Hmac256("Hello, World!", "Test key");
27
- Console.WriteLine(hmac.ToStringWithAlgorithmType());
28
29
- Hmac hmac2 = Hmac.Parse(hmac.ToStringWithAlgorithmType());
30
31
- Console.WriteLine(hmac2.ToStringWithAlgorithmType());
32
33
- Console.WriteLine(hmac == hmac2);
34
}
35
36
0 commit comments