refactor(core): use HMAC-SHA512 to calculate payments response hash (#1302)

This commit is contained in:
Shankar Singh C
2023-05-31 13:21:39 +05:30
committed by GitHub
parent 0be900d238
commit 7032ea8494
3 changed files with 7 additions and 7 deletions

View File

@ -129,7 +129,7 @@ pub async fn create_merchant_account(
let payment_response_hash_key = req
.payment_response_hash_key
.or(Some(generate_cryptographically_secure_random_string(32)));
.or(Some(generate_cryptographically_secure_random_string(64)));
db.insert_merchant_key_store(key_store)
.await