Ejemplo n.º 1
0
 public HmacBlockTransformer(HmacConfig config, byte[] key)
 {
     _hashSizeInBits           = config.HashSizeInBits;
     _internalAlgorithmFactory = config.HashAlgorithmFactory;
     _key = key;
 }
Ejemplo n.º 2
0
 internal HmacFunction(HmacTypes type, byte[] key)
 {
     _hmacConfig = HmacTable.Map(type);
     HashType    = type;
     Key         = key;
 }