Encrypt And Decrypt Data In A Golang Application With The Crypto Packages

preview_player
Показать описание
Learn how to encrypt and decrypt data with AES in a Golang application using available crypto packages.

Рекомендации по теме
Комментарии
Автор

Thanks for the Video ... Its working well

arunkutz
Автор

how to send encrypt json from go and decrypt it in javascript frontend
& javascript decrypt json data and encrypt it in golang

mgmyo
Автор

Notice, in the createHash function, you are making a string into a byte slice, then to a string and the user of that function is turning that resulted string into a byte slice.
Instead of that you could just receive a byte slice and return a byte slice.

ovndfbs
Автор

First of all thx for the posting. Secondly, errors are returned as values for a reason; ignoring one occasionally is understandable, but not handling even a single one..? Unacceptable! HANDLE YOUR ERRORS!! ;s

kdavidson