user/crypt.go
func (s *Shadow) Passwd(key []byte) {
	loadConfig()
	s.password, _ = config.crypter.Generate(key, nil)
	s.setChange()
}
func (s *Shadow) Passwd(key []byte) {
	loadConfig()
	s.password, _ = config.crypter.Generate(key, nil)
	s.setChange()
}
func ( s * Shadow ) Passwd ( key [ ] byte ) { loadConfig ( ) s . password , _ = config . crypter . Generate ( key , nil ) s . setChange ( ) }
// Passwd sets a hashed passwd for the actual user.
// The passwd must be supplied in clear-text.
Passwd sets a hashed passwd for the actual user . The passwd must be supplied in clear - text .