public void sha256EncryptNullTest() { string str_encryp = "hola"; SHA256Encriptation _encriptation = new SHA256Encriptation(); string resp = _encriptation.sha256Encrypt(str_encryp); Assert.IsNotNull(resp); }
public void sha256EncryptTest() { string str_encryp = "hola"; SHA256Encriptation _encriptation = new SHA256Encriptation(); string resp = _encriptation.sha256Encrypt(str_encryp); Assert.AreNotEqual(str_encryp, resp); }