Oasis.Token.encrypt

You're seeing just the function encrypt, go back to Oasis.Token module for more information.

Specs

encrypt(crypto :: Oasis.Token.Crypto.t(), data :: term()) :: String.t()

A wrapper of Plug.Crypto.encrypt/4 to use Oasis.Token.Crypto to encode, encrypt and sign data into a token you can send to clients, please see Plug.Crypto.encrypt/4 for details.