mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
32 lines
802 B
C#
32 lines
802 B
C#
using Cosmos.TestRunner;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
using Sys = Cosmos.System;
|
|
|
|
namespace Cosmos.Compiler.Tests.Encryption
|
|
{
|
|
public class Kernel : Sys.Kernel
|
|
{
|
|
protected override void BeforeRun()
|
|
{
|
|
Console.WriteLine("Cosmos booted successfully. Starting tests.");
|
|
}
|
|
|
|
protected override void Run()
|
|
{
|
|
TestSHA1();
|
|
TestController.Completed();
|
|
}
|
|
|
|
public void TestSHA1()
|
|
{
|
|
// TODO: when we use .net standard 2.0, uncomment this
|
|
//byte[] data = new byte[256];
|
|
//byte[] result;
|
|
//var shaM = new SHA1Managed();
|
|
//result = shaM.ComputeHash(data);
|
|
}
|
|
}
|
|
}
|