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

Go version is not Unicode safe #20

Open
tsak opened this issue Dec 30, 2020 · 0 comments
Open

Go version is not Unicode safe #20

tsak opened this issue Dec 30, 2020 · 0 comments

Comments

@tsak
Copy link

tsak commented Dec 30, 2020

Hi Kyle,

Came across your blog post when searching for "golang xor encryption" and was testing it. Unfortunately, your function isn't Unicode safe. I've created a few test cases in https://play.golang.org/p/UdCubbEZECx to show the issue.

Might be worth putting a warning into the code/blog post, as string handling in Go has its gotchas unfortunately.

Thanks,
tsak

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

1 participant