Skip to content

Conversation

@chuxi
Copy link
Contributor

@chuxi chuxi commented May 22, 2022

I wrote little rust. So it is welcome to tell me any problems in the commit.

The feature security-iv-printable-prefix works well for me. I found the original solution used Rand package to generate the index. It is repeated for nonce calculation. So I updated the codes to prefix processing of nonce.

@zonyitoo
Copy link
Collaborator

Clever move.

@zonyitoo
Copy link
Collaborator

Your test fn generate_nonce() fails to compile.

@chuxi
Copy link
Contributor Author

chuxi commented May 22, 2022

yes. I tested it on v1.14.3. So missed the test on master branch. just fixed it.

@zonyitoo zonyitoo merged commit c27a3de into shadowsocks:master May 22, 2022
@chuxi chuxi deleted the nonce-prefix branch May 22, 2022 15:39
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