crypto and sessions