func MustGenerateKey() *KeyPair {
	key, err := GenerateKey()
	if err != nil {
		panic(errgo.Notef(err, "cannot generate key"))
	}
	return key
}
// MustGenerateKey is like GenerateKey but panics if GenerateKey returns
// an error - useful in tests.
MustGenerateKey is like GenerateKey but panics if GenerateKey returns
an error - useful in tests.
// MustGenerateKey is like GenerateKey but panics if GenerateKey returns // an error - useful in tests .
func MustGenerateKey() *KeyPair {
	key, err := GenerateKey()
	if err != nil {
		panic(errgo.Notef(err, "cannot generate key"))
	}
	return key
}
func MustGenerateKey ( ) * KeyPair { key , err := GenerateKey ( ) if err != nil { panic ( errgo . Notef ( err , " " ) ) } return key }
MustGenerateKey is like GenerateKey but panics if GenerateKey returns
an error - useful in tests.
MustGenerateKey is like GenerateKey but panics if GenerateKey returns an error - useful in tests .