Encrypt given data using sm4-ctr cipher algo. SM4 in CTR (Counter) mode, using a counter value to generate a keystream for encryption. CTR mode was introduced for SM4 to enhance performance and parallel processing capabilities. SM4-CTR is highly secure and efficient for encryption in both hardware and software environments. Our encryption process prepends the IV string used during the encryption process in the encrypted data so that it can be used during decryption.