Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long message can't be shared due to modulus operation (in a^b(mod n)) #1

Open
chirayu-joshi opened this issue Mar 9, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@chirayu-joshi
Copy link
Owner

As limited number of data can be passed at a time in this implementation of algorithm due to modulus operation, data should be divided into chunks, and each chunk has to be encrypted and decrypted separately.

This happens mainly when we want to send cipher text which was encrypted using private key of client. Due to encryption, size of message becomes greater than or equal to 'n' (or 'modulus' in our case) while we are passing this cipher text for further encryption using public key of server.

@chirayu-joshi chirayu-joshi added the help wanted Extra attention is needed label Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant