Making public methods for encoding and decoding cookies. Moving code between computers
Added encode and decode as public methods