Base64 cookies+base64 functions in base64.cpp