https://medium.com/@ibrahimshawaf/how-to-write-a-js-express-middleware-for-encrypting-tokens-a334aa502ec0