thegreatartgallery
New member
- Joined
- Nov 23, 2023
- Messages
- 1
I have the following RSA string (i have written the non-visual character \r\n in braces):
gravitatio[\r][\n]
And I need to encrypt this string using the RSA scheme, but have been having substantial difficulties getting the correct values and would greatly appreciate any insight anyone might be able to provide.
The encrypted output supposed to look like:
12 70FFBDD22E3449AA9505A398D0E4363
(12 is just the block size that is supposed to be read by the computer program reading the number from binary, so i THINK the encrypted number is: 70FFBDD22E3449AA9505A398D0E4363). However, this is the Hex representation, so the ACTUAL encrypted representation would be the decimal value of these hex values).
I have the necessary RSA variables:
p 1413297339818079839 q 7795673610480062959 e 103687 n 11017604775781478904665244719208583601 d 5452326099268946397172763409398791927
I understand that encrypting a number would be accomplish by the formula C = (M^e) % n, but am completely lost on the unencrypted gravitatio[\r][\n] scheme is being encrypted as the decimal equivalent of these hex values 70FFBDD22E3449AA9505A398D0E4363
Once again, I greatly appreciate any insight anyone might have into what's going on here!
gravitatio[\r][\n]
And I need to encrypt this string using the RSA scheme, but have been having substantial difficulties getting the correct values and would greatly appreciate any insight anyone might be able to provide.
The encrypted output supposed to look like:
12 70FFBDD22E3449AA9505A398D0E4363
(12 is just the block size that is supposed to be read by the computer program reading the number from binary, so i THINK the encrypted number is: 70FFBDD22E3449AA9505A398D0E4363). However, this is the Hex representation, so the ACTUAL encrypted representation would be the decimal value of these hex values).
I have the necessary RSA variables:
p 1413297339818079839 q 7795673610480062959 e 103687 n 11017604775781478904665244719208583601 d 5452326099268946397172763409398791927
I understand that encrypting a number would be accomplish by the formula C = (M^e) % n, but am completely lost on the unencrypted gravitatio[\r][\n] scheme is being encrypted as the decimal equivalent of these hex values 70FFBDD22E3449AA9505A398D0E4363
Once again, I greatly appreciate any insight anyone might have into what's going on here!