Encrypts a MonoCloud session object with a secret and optional time-to-live (TTL).
The session object to encrypt.
The secret used for encryption.
Optional
Optional time-to-live in seconds, after which the session expires.
Encrypted session string.
Encrypts a MonoCloud session object with a secret and optional time-to-live (TTL).