General utility functions needed to implement the NetStorageKit. Many of these functions are also available as standard parts of other libraries, but this package strives to operate without any external dependencies. Author: [email protected] (Colin Bendell)
コード例 #1
0
 public void ComputeKeyedHashNullTest()
 {
     Assert.IsNull(ExtensionMethods.ComputeKeyedHash(null, "secretkey"));
 }
コード例 #2
0
 public void ComputeKeyedHashNullException()
 {
     ExtensionMethods.ComputeKeyedHash("value".ToByteArray(), null);
 }
コード例 #3
0
 public void ComputeHashNullTest()
 {
     Assert.IsNull(ExtensionMethods.ComputeHash(null));
 }