Hi,
I need my users to authenticate against a third party service with the same cookie the use with my website.
Is it safe to share the md5(cookie, service_name) with the service, where service_name is a constant string that all the users will use.
To authenticate against the service a js function will do the md5 of the cookie on the client side and use it.
Is there a better and safer hashing to use or is md5 secure enough?
Do I need to base64 decode the cookie before doing the md5?
Thanks