public static void Register()
 {
     HmacSha256ProviderFactory.Register(bytes => new HmacSha256Provider
     {
         Key = bytes
     });
 }
Exemple #2
0
 static HmacSha256Provider()
 {
     HmacSha256ProviderFactory.Register(bytes =>
     {
         return(new HmacSha256Provider
         {
             Key = bytes
         });
     });
 }