PacktPublishing / Hands-On-Restful-Web-services-with-Go

Hands-On Restful Web services with Go by Packt Publishing
MIT License
107 stars 73 forks source link

use decrypt method in decrypt function #29

Closed epicavic closed 3 years ago

epicavic commented 3 years ago

I believe author by mistake used NewCFBEncrypter instead of NewCFBDecrypter while decrypting cipher text. Although it's a good exercise for a learners to get more familiar with go errors and exceptions and try to troubleshoot them, I'm a little bit confused with the fact that broken code is committed into examples repo, which means that there were little or no technical review :))))