static void HashManagerTests() { string str = "A"; str = HashManager.ToBase64(str, 0, false); Console.WriteLine(str); Console.WriteLine(HashManager.ToString(HashManager.FromBase64(str))); }
static void Main(string[] args) { //RsaManagerTests(); //HashManagerTests(); Stopwatch sw = new Stopwatch(); sw.Start(); string data = "QA"; Console.WriteLine(HashManager.ToString(HashManager.FromBase64(data))); data = "QEA"; Console.WriteLine(HashManager.ToString(HashManager.FromBase64(data))); HashManagerTests(); Console.ReadLine(); }