TEA encryption algorithm test vector

Firstly 0xgf12hd11 is not a valid unsigned char value, they should be two hex digits.

That's right It must be like ( 0x23 , 0x87 ... etc ).
If I want to replace it with this code:
char Str6[15] = {"Welcome","to","Arduino","World"};
What should I modify at the following :

ptrToData=(unsigned long*)dataToEncrypt;
for(char n=0; n<DATA_LENGTH/4;n+=2){
   encrypt(ptrToData+n,key);
}

What do you mean by your RF module sending 8 bit packets where only 4 are data?? Do you have a data sheet? Have you tested just sending a string between the two arduinos.

I'm sorry . I just skimmed the VirtualWire documentation quickly and there was misunderstanding .The 4 bits was for the encoding process." the byte in the messageis encoded as 2x6 bit symbols".

The maximum packet length consists of 408 bits .

Here is The official VirtualWire documentation http://www.airspayce.com/mikem/arduino/VirtualWire.pdf
Witch is the Library that I'm using in Arduino IDE to send and receive data through the RF module.