encode the password by javascript

Total Post:3


 2407  View(s)
Rate this:
How to encode and decode the password by javascript.
please give the syntax of this problem.
  1. Re: encode the password by javascript

    hello varun,
    In javascript, we encode the password or any string by using the escape() method and decrypt the string by used unescape() methods.

    for example

    <script type="text/javascript">
      var strValue = "this is the new password";
     var strvalue1=document.writeln(escape(strValue));

      Modified On Mar-29-2018 04:00:14 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.