Traditional Crypt function implemented in Go (forked from code.google.com/p/go-crypt)