Re: [go-nuts] Re: GO lang not able to decrypt the xor-base64 text

2019-01-21 Thread Michael Jones
Another way to think about it... https://play.golang.org/p/XtfFgwYw3f8 On Mon, Jan 21, 2019 at 10:26 AM wrote: > Like Christian said, your main problem is how Javascript and how Go > iterate. > > In your Javascript example, you use: > > for(var i=0;i > so you iterate in a +1 increment

[go-nuts] Re: GO lang not able to decrypt the xor-base64 text

2019-01-21 Thread silviucapota
Like Christian said, your main problem is how Javascript and how Go iterate. In your Javascript example, you use: for(var i=0;ihttps://play.golang.org/p/23nMX2dFhJF On Sunday, 20 January 2019 10:14:05 UTC-5, Soorya Prakash wrote: > > > I am using the below code to encrypt and decrypt the

[go-nuts] Re: GO lang not able to decrypt the xor-base64 text

2019-01-20 Thread Pat Farrell
On Sunday, January 20, 2019 at 10:14:05 AM UTC-5, Soorya Prakash wrote: > > > I am using the below code to encrypt and decrypt the data. Now I want to > encrypt the data from Node JS and want to decrypt the data from Go lang. > use -1 as the key to debug. once that works, use zero as the key.