Zoran R-DATAGRAM
02/29/2024, 5:53 PMAnthony OConnor
02/29/2024, 5:56 PMcreece
02/29/2024, 5:58 PMAnthony OConnor
02/29/2024, 6:00 PMZoran R-DATAGRAM
02/29/2024, 6:01 PMZoran R-DATAGRAM
02/29/2024, 6:05 PMAnthony OConnor
02/29/2024, 6:06 PMlet hashObj = crypto.createHash({
algorithm: crypto.HashAlg.SHA256
});
hashObj.update({
input: nonceStr,
});
/* nonceStr is just a randomly generated string for this but its not for between systems so its stored and then later compared you'll have to do something different, either have them provide the input in the request, or just have some hardcoded thing.
*/
let key = hashObj.digest({
outputEncoding: encode.Encoding.BASE_64
});
Anthony OConnor
02/29/2024, 6:08 PMkey
here would be the hashed resultAnthony OConnor
02/29/2024, 6:09 PMnonceStr
with whatever your hashing... so the internalId i guess?Anthony OConnor
02/29/2024, 6:10 PMkey
in your JSON where previously you had the internalidAnthony OConnor
02/29/2024, 6:11 PMZoran R-DATAGRAM
02/29/2024, 6:11 PMAnthony OConnor
02/29/2024, 6:12 PMAnthony OConnor
02/29/2024, 6:12 PMAnthony OConnor
02/29/2024, 6:13 PMZoran R-DATAGRAM
02/29/2024, 6:13 PMAnthony OConnor
02/29/2024, 6:15 PMAnthony OConnor
02/29/2024, 6:16 PMZoran R-DATAGRAM
02/29/2024, 6:16 PMAnthony OConnor
02/29/2024, 6:16 PMAnthony OConnor
02/29/2024, 6:17 PMcreece
02/29/2024, 6:17 PMAnthony OConnor
02/29/2024, 6:17 PMAnthony OConnor
02/29/2024, 6:17 PMcreece
02/29/2024, 6:18 PMAnthony OConnor
02/29/2024, 6:18 PMZoran R-DATAGRAM
02/29/2024, 6:19 PMZoran R-DATAGRAM
02/29/2024, 6:29 PMZoran R-DATAGRAM
02/29/2024, 6:33 PMZoran R-DATAGRAM
02/29/2024, 6:35 PM