class Rack::Protection::EncryptedCookie::Base64

Encode session cookies as Base64

def decode(str)

def decode(str)
  str.unpack1('m')
end

def encode(str)

def encode(str)
  [str].pack('m0')
end