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

Implement serialize(indices:forDecryption) #49

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

fboemer
Copy link
Contributor

@fboemer fboemer commented Aug 6, 2024

This is akin to LWE extraction, but without changing the serialization format.
This makes for more compressible ciphertexts.

swift run SerializationSnippet shows

Serialized size after
	encryption:                        28082 bytes
	addition:                          56115 bytes
	mod switching:                     27562 bytes
	serializing for decryption:        12257 bytes
	serializing indices for decryption: 8181 bytes

@fboemer fboemer force-pushed the fboemer/serialize-indices-for-decryption branch from b52ebd7 to 6f8a5cc Compare August 6, 2024 21:34
@fboemer fboemer merged commit 90e4ce9 into main Aug 6, 2024
@fboemer fboemer deleted the fboemer/serialize-indices-for-decryption branch August 6, 2024 21:50
fboemer pushed a commit that referenced this pull request Sep 4, 2024
add an API for apply Galois element on ciphertext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants