AES Encryption uye Decryption Online

Advanced Encryption Standard (AES) ndeye symmetric encryption algorithm. AES ndiyo chiyero cheindasitiri kubva pari zvino sezvo ichibvumira 128 bit, 192 bit uye 256 bits encryption. Symmetric encryption inokurumidza kana ichienzaniswa neasymmetric encryption uye inoshandiswa mumasisitimu akadai sedatabase system. Kutevera chishandiso chepamhepo kuita AES encryption uye decryption chero yakajeka-mavara kana password.

Chishandiso chinopa akawanda modes ekunyorera uye decryption akadai ECB, CBC, CTR, CFB uye GCM maitiro. GCM inonzi yakachengeteka kudarika CBC mode uye inogamuchirwa nevakawanda pakuita kwayo.

Kuti uwane rumwe ruzivo nezve AES encryption, shanya tsananguro iyi paAES Encryption. Pazasi pane fomu rekutora zvinopinda zve encryption uye decryption.

AES Encryption

Base64 Hex

AES Decryption

Base64 Zviri pachena-Chinyorwa

Chero chakavanzika kiyi kukosha chaunoisa, kana isu chatinogadzira haina kuchengetwa pane ino saiti, chishandiso ichi chinopihwa kuburikidza neHTTPS URL kuona kuti chero makiyi akavanzika haakwanise kubiwa.

Kana uchikoshesa chishandiso ichi saka unogona kufunga kupa.

Tinotenda nerutsigiro rwenyu rusingaperi.

Key Features

  • Symmetric Key Algorithm: Kiyi imwechete inoshandiswa kune zvese encryption uye decryption.
  • Block Cipher: AES inoshanda pane yakatarwa-saizi mabhuroki edata. Iyo yakajairwa block saizi ndeye 128 bits.
  • Hurefu Hunokosha: AES inotsigira kureba kwakakosha kwe128, 192, uye 256 bits. Iyo yakareba kiyi, iyo yakasimba iyo encryption.
  • Chengetedzo: AES inoonekwa yakachengeteka zvakanyanya uye inoshandiswa zvakanyanya muakasiyana chengetedzo protocol uye maapplication.

AES Encryption Matemu & Matemu

Nezve encryption, unogona kuisa iyo yakajeka mavara kana password yaunoda encrypt. Zvino sarudza iyo block cipher mode ye encryption.

Akasiyana Anotsigirwa Modes eAES Encryption

AES inopa akawanda mamodhi ekunyorera akadai ECB, CBC, CTR, OFB, CFB uye GCM modhi.

  • ECB (Electronic Code Book) ndiyo yakapusa encryption modhi uye haidi IV ye encryption. Iwo mameseji akajeka anozopatsanurwa kuita mabhuroko uye bhuroka rega rega richavharidzirwa nekiyi yakapihwa uye nekudaro akafanana mabhii emavara akavharirwa mune akafanana cipher text blocks.

  • CBC(Cipher Block Chaining) modhi inokurudzirwa zvakanyanya, uye imhando yepamusoro yeblock cipher encryption. Zvinoda IV kuita kuti meseji yega yega ive yakasarudzika zvinoreva kuti akafanana mameseji mabhuroki akavharidzirwa mune akasiyana cipher zvinyorwa zvinyorwa. Nekudaro, inopa yakanyanya kusimba encryption kana ichienzaniswa neECB modhi, asi ikati inonoke kana ichienzaniswa neECB modhi. Kana pasina IV yaiswa ipapo default ichashandiswa pano yeCBC modhi uye inoenda kune zero-based byte[16].

  • CTR (Counter) CTR modhi (CM) inozivikanwawo se integer counter mode (ICM) uye segmented integer counter (SIC) mode. Counter-mode inoshandura block cipher kuita stream cipher. CTR modhi ine hunhu hwakafanana neOFB, asi zvakare inobvumidza isina kurongeka-yekuwana pfuma panguva yekunyorwa. CTR modhi yakanyatsokodzera kushanda pamushini wemultiprocessor, uko mabhuraki anogona kuvharirwa mukufanana.

  • GCM(Galois/Counter Mode) i symmetric-kiyi block cipher modhi yekushandisa inoshandisa universal hashing kuti ipe encryption yakatendeseka. GCM inoonekwa seyakachengeteka kupfuura CBC modhi nekuti ine yakavakirwa-mukati mechokwadi uye inoongorora kuvimbika uye inoshandiswa zvakanyanya pakuita kwayo.

Padding

Kune maAES modhi CBC uye ECB, iyo padding inogona kuve PKCS5PADDING uye NoPadding. NePKCS5Padding, tambo ye16-byte inoburitsa 32-byte kubuda (iyo inotevera yakawanda yegumi nematanhatu).

AES GCM PKCS5Padding inofanana neNoPadding nekuti GCM inzira yekutepfenyura isingade padding. Ciphertext muGCM inongoreba sezviri pachena. Saka, nopadding inosarudzwa neyakagadzika.

AES Kiyi Saizi

Iyo AES algorithm ine 128-bit block saizi, zvisinei nekuti kiyi yako kureba i256, 192 kana 128 bits. Kana symmetric cipher modhi ichida IV, kureba kweIV kunofanirwa kuenzana nebhuroko saizi yecipher. Nekudaro, iwe unofanirwa kugara uchishandisa IV ye128 bits (16 bytes) ine AES.

AES Chakavanzika Kiyi

AES inopa 128 bits, 192 bits uye 256 bits yeakavanzika kiyi saizi ye encryption. Kana uri kusarudza 128 bits for encryption, ipapo kiyi yakavanzika inofanira kuva ye16 bits kureba uye 24 uye 32 bits ye192 uye 256 bits ehukuru hwekiyi zvichiteerana. Semuyenzaniso, kana kiyi saizi iri 128, ipapo kiyi yakavanzika inoshanda inofanira kunge ine mavara gumi nematanhatu kureva, 16*8=128 bits.