search cancel

encryptDataWithPublicKey SDK Functionality not working in Drop 9 Release

book

Article ID: 257651

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

encryptDataWithPublicKey   SDK Functionality not working in Drop 9 Release

Environment

Release : Drop 9 

Resolution

From  preliminary debugging, issue identified to be related:

1) conflicting/overwriting functions/constructors/properties between AH-WEBSDK.js and Encryption.js file 

2) noticed the below 56 items are in conflict in the window scope:

BI_FP
BI_RC
BI_RM
BigInteger
Classic
Montgomery
RSAKey
am1
am2
am3
bnAbs
bnBitLength
bnCompareTo
bnModPowInt
bnNegate
bnToString
bnXor
bnpBitwiseTo
bnpClamp
bnpCopyTo
bnpDLShiftTo
bnpDRShiftTo
bnpDivRemTo
bnpExp
bnpFromInt
bnpFromString
bnpInvDigit
bnpIsEven
bnpLShiftTo
bnpMultiplyTo
bnpRShiftTo
bnpSquareTo
bnpSubTo
cConvert
cMulTo
cReduce
cRevert
cSqrTo
dbits
int2char
intAt
j_lm
lbit
montConvert
montMulTo
montReduce
montRevert
montSqrTo
nbi
nbits
nbv
op_xor
parseBigInt
pkcs1pad2
rr
vv

This issue will be addressed in Drop 10 Release and also fix available within Defect DE554989 that is ready for download