title: How to encrypt Spring OAuth Token?
body: <p>I'm trying to implement Spring OAuth2 in my Spring REST application. What I have already achieved:</p>
  
  <ol>
  <li>Generate a token while logging in.</li>
  <li>Store this token on the client side, use it for every request I do from UI.</li>
  </ol>
  
  <p>What I want to achieve:
  1. Encrypt the token stored on the client side &amp; send this encrypted token instead of sending the actual token.</p>
  
  <p>Are there any services available in the Spring OAuth2 project to achieve this?
  Any ideas/suggestions?</p>
  
  <p>Thanks</p>