I was trying for amusement purposes to program RSA in JavaScript,however when i get to the encryption or decryption part and i have to power the message(which is essentially a number in ASCII, (im encrypting each individual character)) sometimes im dealing with very large numbers, for example:
Math.pow(48,103);
And from what im experiencing the result is not correct. With a little research realised JS is not precise enough to deal with really big numbers(>2^(253 - 1)). So im asking if there's a way where i can perform this power operation via some other language to obtain the accurate answer and then export it to JS?