2 Replies Latest reply on Nov 12, 2010 7:06 AM by Abhishek110486

    sha1hash algorithm is generating different output for different server environment

    Abhishek110486 Level 1

      Hi All,


      Why sha1hash algorithm is generating different hash output for different application server environment?


      input string - ZAO CITIBANK


      1) IBM websphere - Unix OS


      output hash - 4197df7bab320dd30edaa237d6629ab51eec520a


      2) JBOSS - Windows 2003 server


      output hash - 4499dd77aa3300dd00ddaa33dd6699bb11ee5500


      Please find below script and procedure to run the hashing algorithm in Adobe workbench

      1)Create the activity of execute script containing following script in image

      2)create 2 variables inputstring as input & outputhash as output of string type