rawtohex(hash('SHA256', stringtoutf8(concat('te...@test.com', current_timestamp())), 1))
);
It works with the modification but the outcome when I select the SubCode is now shown below:
te...@test.com | TRUE | 2017-08-19 15:12:18.156 | null | 0032006600660033006600360030006600630061003300610035003100350064003000380065003800320061006500620039006300340039003200350037003500390039003400640064003700320063003700390061003300640061003600380031006400370035003100610062003000310034006100390062003600610061 |
What I am expecting is the concat as the input for the hash which is 'te...@test.com2017-08-19 15:12:18.156' and after hashing it should be '2ff3f60fca3a515d08e82aeb9c492575994dd72c79a3da681d751ab014a9b6aa'.
How do I format my result to get the hash as shown above ?