Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Leading zeroes are trimmed #1

Closed
sybrenstuvel opened this issue Jun 17, 2011 · 1 comment
Closed

Leading zeroes are trimmed #1

sybrenstuvel opened this issue Jun 17, 2011 · 1 comment

Comments

@sybrenstuvel
Copy link
Owner

Originally reported by: Sybren Stüvel (Bitbucket: sybren, GitHub: sybren)


Leading zeroes are trimmed when encrypting and decrypting binary data. The attached Python file demonstrates the problem.


@sybrenstuvel
Copy link
Owner Author

Original comment by Sybren Stüvel (Bitbucket: sybren, GitHub: sybren):


This is solved in version 2.1 (changeset f04e286839d0) by using the rsa.pkcs1 module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant