please provide me the code
of advanced encryption standad for video encryption and decryption... thank u
Posts: 14,118
Threads: 61
Joined: Oct 2014
AES stands for Advanced Encryption Standard. It is basically encryption decryption algorithm for data. Encryption converts raw input data into encrypted data. Decryption does the opposite. AES supports keys of length 128, 192 and 256 bits. This cryptographic key is used to encrypt and decrypt data that is in blocks of 128 bits in length.
The 128-bit AES algorithm is in use everywhere to protect electronic transactions. The core AES-designed enterprises contain both encryption and decryption modules that can run on a single core. Usually AES IP Core supports the viz. OFB and CTR (ie counter).
CTR MODE means counter mode. In this type of mode, the following steps are implemented in the encryption process. 1. The input to the encryption core is the counter output. The initialization vector is required for the counter. 2. XOR data input and output encryption module is performed. This XORed data is the cyphertext data that is encrypted one. Following similar steps to encryption is done in the decryption process. 1. The counter output is taken as input. The same initialization vector used in encryption must be used. 2. The input data is then encrypted by the XOR operation with output from the encryption core module. This operation provides original data.
OFB stands for output feedback mode. In this type of mode, the output of the encryption operation is returned to the encryption core input. An initialization vector is used for the first iteration. The input data is encrypted by the XOR operation with the output of the encryption module.
AES is widely used in wireless communications, electronic financial transactions, secure communications, secure video surveillance systems, encrypted data storage and e-commerce applications.
It can be understood in the following video: