Abdul Hakim
Posts: 0
Joined: Fri Oct 04, 2013 4:38 pm

Hash and Salt for password

Hi - noob here so apologies.

I am struggling to test the hashing js out.
I have imported the CryptoJS (googlecode) and created a Generic Service for the JS.

I have created parameters called hashedkey and salt.

In the data mode I have added the generic service and mapped the hashedkey and salt to input key and label respectively.

The next bit i'm not too sure about - I want to hash value and output to a label so I can see it. (Ultimately I want to output the hash+salt as the password)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Hash and Salt for password

Hello! Please check this post https://getsatisfaction.com/apperyio/...

Abdul Hakim
Posts: 0
Joined: Fri Oct 04, 2013 4:38 pm

Hash and Salt for password

thanks for the link - although the post went way over my head. As it turned out the correct crypto files should be downloaded from - https://code.google.com/p/crypto-js/

I download the crypto zip and extracted the respective .js hashing algorithm such as SHA256 and then added the script for client side scripting.

What I want to do is create server side Salt - so that password=SHA256(hash) + randomSalt

The hash is generated client side (not ideal) then submitted to the server. The server generates a randomsalt which is stored in the database and then adds that to the hash to create the password.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Hash and Salt for password

Hello,

Please clarify your question.

Return to “Issues”