Title: Javascript function to ENCRYPT emails
Last modified: May 1, 2025

---

# Javascript function to ENCRYPT emails

 *  Resolved [dleigh](https://wordpress.org/support/users/dleigh/)
 * (@dleigh)
 * [1 year ago](https://wordpress.org/support/topic/javascript-function-to-encrypt-emails/)
 * I have content that is being written by JavaScript. I would love something that
   could ENCRYPT the email addresses as they are being written out onto the page.
   From what I see in your code, you do your encryption on the PHP side and just
   DEcrypt via Javascript. Have you ever created the ENcryption code in Javascript
   that would leave the email addresses in the same state as when they are encrypted
   via PHP (i.e. ready to be decrypted by your javascript decryption routine)?
   Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Ralf Weber](https://wordpress.org/support/users/d3395/)
 * (@d3395)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/javascript-function-to-encrypt-emails/#post-18544223)
 * Hi 🙂
 * In the new version 3.5.0 of CryptX, I’ve implemented a new JavaScript function
   that allows CryptX functionality to be used in JavaScript. More information can
   be found on the plugin’s HowTo page.
   I would appreciate any feedback, both positive
   and negative.
 *  Thread Starter [dleigh](https://wordpress.org/support/users/dleigh/)
 * (@dleigh)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/javascript-function-to-encrypt-emails/#post-18544267)
 * Don’t know when I’ll get to it (the aforementioned project is no longer in my
   hands), but thank you for the new functionality and I look forward to giving 
   it a whirl.
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript function to ENCRYPT emails’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cryptx.svg)
 * [CryptX](https://wordpress.org/plugins/cryptx/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cryptx/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cryptx/)
 * [Active Topics](https://wordpress.org/support/plugin/cryptx/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cryptx/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cryptx/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [dleigh](https://wordpress.org/support/users/dleigh/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/javascript-function-to-encrypt-emails/#post-18544267)
 * Status: resolved