a MasterPassword implementation in Go