Kobojunkie
Reputation
Top tag
Next privilege 250 Rep.
 Sep24 awarded Autobiographer May13 awarded Popular Question Apr22 awarded Notable Question Mar18 awarded Nice Question Feb3 awarded Popular Question Jan15 asked Vertices, Edges and Line Segment intersection points Feb1 awarded Popular Question Mar9 awarded Supporter Mar9 accepted Maple help : How to use functions Mar8 asked Maple help : How to use functions Mar5 comment Calculating the area of an irregular polygon @joriki, I am still having some problem here understanding the Newton's method please. I get what you are trying to do but I still see R on both sides of the final equation that I am still missing. For instance, from what I see, you have initial value $R_0$, as well as $R_n$. What values are these for me? Mar5 comment How to work RSA encryption/decryption I am not working with the bits or able to shift bits. Like I explained, I have an array with random numbers assigned to unique characters, and using that information, I need to encrypt my string. And then decrypt afterwards. Mar5 comment How to work RSA encryption/decryption Thanks.I probably will end up breaking it up into bits. I thought it was possible to, looking at the algorithm for encrypting, I have above for encrypting all my string input at once, to come up with a way that will work for decrypting as well. Mar5 comment How to work RSA encryption/decryption That is why I had it encoding my information one character at a time initially. If I have an input that hundreds of lines long, I still would like to be able to handle that without needing to keep looking for bigger and bigger prime numbers each time. Mar5 comment How to work RSA encryption/decryption 1. Initially set Ciphertext =1 2. For each character in the message string, I find the number key from my character table , and multiply it by the Ciphertext 3. Repeat step 2 until all of the characters in the message string has been handled. M=14891505242871484726569672376320000000000000 <=== Result 4. Encrypt the resulting Ciphertext ciphertext=230958 <== resulting Ciphertext Mar5 revised How to work RSA encryption/decryption added 61 characters in body Mar5 comment How to work RSA encryption/decryption The problem is in mainly decoding the ciphertext so I can get back the code for the initial ciphertext at least. How do I get back M=14891505242871484726569672376320000000000000 from the ciphertext=230958. That is what I am having problems with, at the moment. Mar5 comment How to work RSA encryption/decryption I have a table/array where each character has a number assigned. So whenever I look up the character in my array, I return the number that corresponds and then perform operations on the number that way. When I go to decode, I get the number, check the table for the character that corresponds to it and concatenate that to be decoded plaintext. Mar5 revised How to work RSA encryption/decryption added 325 characters in body Mar5 comment How to work RSA encryption/decryption when I convert all my message at once, I get this cipher = 230958. How then do I decode this using my code above? That remains a problem.