Skip to content
Advertisement

Tag: go

Parse multidimensional arrays in GO

I wold like to parse a multidimensional array in GO The goal is to unserialize a array string a run into a loop to get the values. In PHP, i use this: Code: Output: In GO, i manage to unserialize the string but i don’t know how to run the loop like in php Code: Output: Anyone can help? Answer

Generating crypt() sha512 hashes in Go

I am working on my authorization module in GoLang. Before we used PHP5 with the crypt function. The hash was generated like SHA-512: And stored like that in the database. But now I need make it work also in GoLang. I have searched on Google and tried different things, such as: But all generate different things. Who can help us

Advertisement