- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Hello,
We have a need to store a hashed email value in our data layer when a user decides to login to our site. What I am trying to do is to create a jquery click extension that fires when a user clicks the "Log In" button. Within this extension I am setting the email address in a data value. I am trying to utilize the Cryptoextension to hash this value before storing. However, the crypto extension only runs on new page loads and I want it to be able to run on the Log In button click while i still have access to the email value. Is it possible to call the crypto extenson within the jquery click handler? Or is there a better way to go about doing this? My other thought was to do this all via a custom javascript extension but I would really like to avoid having to write the SHA256 hashing mechanism when its already available via the crypto extension.
Any help would be great.
Thanks!
Zach Benchley
Solved! Go to Solution.
Copyright All Rights Reserved © 2008-2023