added license to crypt.go and ran go fmt