private void RunSHA2Algorithm256() { Console.WriteLine("SHA2 (256) Hash Algorithm started"); Console.WriteLine(String.Format("Message before Hash: {0}", _originalMessage)); byte[] hashedMessage = CryptographyExample.ComputeSha2Hash256(Encoding.UTF8.GetBytes(_originalMessage)); Console.WriteLine(String.Format("Message after Hash: {0}", Convert.ToBase64String(hashedMessage))); Console.WriteLine("SHA2 (256) Hash Algorithm ended"); }