mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
feat(inji-214): [Dhivya|Tilak] modify generatehmac function definition
This commit is contained in:
@@ -27,7 +27,7 @@ function generateHmac(encryptionKey: string, data: string) {
|
||||
if (isIOS()) {
|
||||
return CryptoJS.HmacSHA256(encryptionKey, data).toString();
|
||||
}
|
||||
return SecureKeystore.generateHmacSha(ENCRYPTION_ID, data);
|
||||
return SecureKeystore.generateHmacSha(data);
|
||||
}
|
||||
|
||||
class Storage {
|
||||
|
||||
Reference in New Issue
Block a user