Uniface User Forum

 View Only
  • 1.  Encrypt and decrypt passwords via Pathscrambler

    PARTNER
    Posted 11-24-2022 14:27
    Good day all,

    does anyone know a way to encrypt and decrypt passwords via the Pathscrambler itself? I haven't found anything about decryption in the documentation so far and assume there is no support for this for security reasons.

    Thanks for any feedback.

    Kind regards
    Jan Bretscher

    ------------------------------
    Jan Bretscher
    Software-Engineer
    Abf Informatik Ag
    Cham CH
    ------------------------------


  • 2.  RE: Encrypt and decrypt passwords via Pathscrambler

    ROCKETEER
    Posted 11-24-2022 20:48
    Hi Jan,

    This is indeed intended as a one way tool in order protect the information that must stay secure.

    Regards,

    Jason.

    ------------------------------
    Jason Huggins
    Director, Enablement & Education
    Rocket Internal - All Brands
    GB
    ------------------------------



  • 3.  RE: Encrypt and decrypt passwords via Pathscrambler

    Posted 12-07-2022 10:00

    Hi Jan,

    Usually you never decrypt passwords; you encrypt them and store the encrypted string in the database.

    When you want to check a password, you will encrypt again the user entry and you compare both encrypted texts. If they match, it is okay; if it does not, then the user entered a wrong password.

    The next step is to concatenate the user password with a random string (called salt). If you use this technic, then 2 same passwords will not be encrypted the same way which is important if your database gets breached.

    Stephane



    ------------------------------
    Stephane Pfefer
    Application Specialist
    Darling
    ------------------------------