-
Notifications
You must be signed in to change notification settings - Fork 23
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
Why do I have to use Plaintext [u8; 384]? #170
Comments
The algorithm that is used for proxy re-encryption has very specific requirements for the value that can be encrypted - Once you have encrypted the bytes, you can encrypt the plaintext to a user or group. When the recipient of the encrypted document and key is ready to decrypt, they decrypt the encrypted plaintext, call the same These operations are all handled by the |
Hi @BobWall23, thank you for replying! I think I understand what you are saying... So is the main purpose of |
Hi,
I've been able to use recrypt for a POC using
recrypt.gen_plaintext()
but this fails the moment I try to encrypt anything other than that[u8; 384]
structure. What if I want to encrypt an image or any other array of bytes that's not 384 bytes length? Is there a work around for this?Thank you!
The text was updated successfully, but these errors were encountered: