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