Encrypt given data using rc4-40 cipher algo. RC4 with a 40-bit key size, providing weak encryption and typically used in environments with strict export restrictions. RC4-40 was a variant used under encryption export restrictions, offering very weak security. RC4-40 is extremely insecure and vulnerable to modern attacks, and its use is strongly discouraged. Our encryption process prepends the IV string used during the encryption process in the encrypted data so that it can be used during decryption.