A Php Aes encryption program, an extension suitable for Yii. If it is not used in the Yii framework, just replace Yii::app()->params[\'encryptKey\'] in the code with your corresponding default key.
AES encryption algorithm – Algorithm principle
The AES algorithm is based on permutation and permutation operations. Permutation is the rearrangement of data, and permutation is the replacement of one data unit with another. AES uses several different methods to perform permutation and permutation operations.
AES is an iterative, symmetric key block cipher that can use 128, 192 and 256-bit keys, and uses 128-bit (16 bytes) blocks to encrypt and decrypt data, unlike public key ciphers that use key pairs ,Symmetric key ciphers use the same key to encrypt and ,decrypt data, the number of bits of the encrypted data returned ,through the block cipher is the same as the input data, ,iterative encryption uses a loop structure in which the ,input data is repeatedly permuted and replaced.
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn