You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: