simplify salt generation
go fmt