Created `cipher()` for encrypting session ids