Skip to content

Commit 1e581ef

Browse files
feature/v2
- Removed HMAC example code.
1 parent f13d853 commit 1e581ef

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

OnixLabs.Playground/Program.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
using System;
16-
using System.Security.Cryptography;
17-
using System.Text;
18-
using OnixLabs.Security.Cryptography;
19-
2015
namespace OnixLabs.Playground
2116
{
2217
internal static class Program
2318
{
2419
private static void Main(string[] args)
2520
{
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);
3421
}
3522
}
3623
}

0 commit comments

Comments
 (0)