Storing encryption key in sessionStorage