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

Encrypt gives different results on Big Endian and Little Endian systems #1

Closed
eleven41 opened this issue May 22, 2013 · 1 comment
Closed
Labels

Comments

@eleven41
Copy link
Collaborator

Running skip.Encrypt(42) on a big-endian system gives different results than skip.Encrypt(42) on a little-endian system.

Solution: on a big-endian system, reverse the bytes of the integer on encrypt and decrypt.

@eleven41
Copy link
Collaborator Author

This would be a breaking change on big-endian system.

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

No branches or pull requests

0 participants