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

Encryption #157

Open
howard9199 opened this issue Jun 20, 2022 · 3 comments
Open

Encryption #157

howard9199 opened this issue Jun 20, 2022 · 3 comments
Assignees

Comments

@howard9199
Copy link
Collaborator

howard9199 commented Jun 20, 2022

the encryption method is weak, the player can recognize x when he used to have that card.

@howard9199 howard9199 self-assigned this Jun 20, 2022
@JacobLinCool
Copy link
Owner

The encryption key of a card should be changed after every time the ownership of its has been transferred.

@howard9199
Copy link
Collaborator Author

Another method is changing the encryption key each round, and use SPN instead of XOR.

@JacobLinCool
Copy link
Owner

Another method is changing the encryption key each round, and use SPN instead of XOR.

I don't think it is necessary to re-encrypt everything in each round, since the ownerships of most cards are not change.

And this may cause a problem because the client need a consistent "id" to track the transition state.

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

No branches or pull requests

2 participants