func (m *mockCryptoBox) Easy(payload, nonce, theirPub []byte, myKID string) ([]byte, error) {
	if m.EasyErr != nil {
		return nil, m.EasyErr
	}

	return m.EasyValue, nil
}
// Easy seals a message with a provided nonce.
Easy seals a message with a provided nonce.
// Easy seals a message with a provided nonce .
func (m *mockCryptoBox) Easy(payload, nonce, theirPub []byte, myKID string) ([]byte, error) {
	if m.EasyErr != nil {
		return nil, m.EasyErr
	}
	return m.EasyValue, nil
}
func ( m * mockCryptoBox ) Easy ( payload , nonce , theirPub [ ] byte , myKID string ) ( [ ] byte , error ) { if m . EasyErr != nil { return nil , m . EasyErr } return m . EasyValue , nil }
Easy seals a message with a provided nonce.
Easy seals a message with a provided nonce .