Encrption password with textbox

asked 2023-06-24 21:18:24 +0800

jasonhoo gravatar image jasonhoo
104 4

updated 2023-06-28 06:54:49 +0800

Customer requirements must be encrypted through the front end, even through SSL. Trying to extend the textbox control and other methods cannot be realized. Finally, directly modify zul.{version}.jar . Is there any other way?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2023-06-28 06:58:32 +0800

jasonhoo gravatar image jasonhoo
104 4

After decompressing zul.{version}.jar by jar xvf command, modify web/js/zul/inp/InputWidget.js, and then repackage it through jar cvf command.

onChangeData:function(a,b,c){ if("password"==a.type&&"function"==typeof encrypt){ b.value=encrypt(b.value); } ...... }

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2023-06-24 21:18:24 +0800

Seen: 9 times

Last updated: Jul 03

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More