That's not really necessary in my case - my blog is statically generated, and even if it wasn't, there's probably only a few email addresses I would want to be encoding.īecause of those constraints, I opted to encode the email address on my blog ahead of time, rather than trying to do it on-the-fly. So how can you implement this algorithm for your own apps? Implementing email obfuscation on your own blogĬloudflare dynamically replaces email addresses in your HTML, and injects additional scripts into the DOM. See this blog post for a description of that step. This is actually a simplified description of the cloudflare approach - Cloudflare have an additional step to handle Unicode codepoints (which can be multiple bytes long). And on top of that, the key for the encryption is stored right along-side the cipher text! Again, this is not secure encryption it is simply obfuscation. The XOR scheme used is one of the most basic encryption schemes possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |