title: Is there anyway to shorten the DpapiDataProtectionProvider Protect output?
body: <p>Using the provided template for an Asp.Net OWIN MVC app. I get an AccountController with a ForgotPassword method that calls...</p>
  
  <pre><code>var code = await manager.GeneratePasswordResetTokenAsync(user.Id);
  </code></pre>
  
  <p>After some research I find out that the code is protected by OWIN security, using the DpapiDataProtectionProvider <em>Protect</em> method. Which is fine.</p>
  
  <p>What's throwing me off here is the code that is being returned is super long, and I'm not sure if I'm doing it wrong or if there is something that I can change to shorten it. One important thing to note is that I am setting the IDataProtector by hand with the following code...</p>
  
  <pre><code>//ctor
  public MyUserManager(IUserStore&lt;MyUser, int&gt; store) : base(store)
  {
      var provider = new DpapiDataProtectionProvider("MvcApplication");
      UserTokenProvider = new DataProtectorTokenProvider&lt;MyUser, int&gt;(provider.Create("EmailConfirmation")); 
  }
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>