14
Views
1
Comments
GenerateSalted512Hash and ValidatePassword logic from O11 to ODC

In the case of migrating from Outsystems 11 to ODC, In O11 we are using the GenerateSaltedSHA512Hash logic for hashing and the ValidatePassword logic for validation.

Since I am also migrating data from O11 to ODC, which contains hash values generated by GenerateSaltedSHA512Hash, it is necessary to have exactly the same generate and validate logic in ODC. Otherwise, the data from O11 cannot be used in ODC.

After moving to ODC, is there a way I can use to generate and validate passwords with the exact same logic as in O11?

Is there any way or recommended approach to achieve this? 

2024-09-17 08-54-53
Jerome Rajadurai J

Dear @Ivanowsky Habeahan ,

Can you please try installing CryptoAPI Component available for ODC and use the below methods as an alternate.
HashPassword instead of GenerateSaltedSHA512Hash 

ComparePassword instead of ValdiatePassword

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.