You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rc4.go
    path of file: ./repos/merlin/pkg/transformer/encrypters/rc4
    
    the code of the file until where you have to start completion: /*
Merlin is a post-exploitation command and control framework.

This file is part of Merlin.
Copyright (
    
func (e *Encrypter) Construct(data any, key []byte) (retData []byte, err error) {

	switch data.(type) {
	case []uint8:
		return xor(data.([]byte), key)
	default:
		return nil, fmt.Errorf("pkg/encrypters/rc4 unhandled data type for Construct(): %T", data)
	}
}