DES Encryption leh Decryption Online hmanga tihchhuah a ni

DES emaw DESede emaw a ni , electronic data encryption atana symmetric-key algorithm chu a hnuaia mi a ni DES(Data Encryption Standard) tih a ni. leh DES aiin encryption him zawk a pe bawk. DES hian user-in a pek key chu subkey pathum ah k1, k2, leh k3 ah a then a. Message chu k1 hmangin encrypt hmasak a ni a, chutah k2 hmangin decrypt lehin k3 hmangin encrypt leh a ni. DESede key size hi 128 emaw 192 bit emaw a ni a, block size 64 bit a ni. Hnathawh dan chi 2 a awm a—Triple ECB (Electronic Code Book) leh Triple CBC (Cipher Block Chaining).

A hnuaia mi hi online free tool a ni a, chu chuan DES encryption leh decryption a pe a, chu chu eng plain text pawha hman dan pahnih a awm a ni.

DES Encryption hmanga siam a ni

Base64 Hex a ni

DES Decryption hmanga tihchhuah a ni

Base64 Thuziak pangngai (Plain-Text) a ni

Secret key value i dah apiang, emaw kan siam chhuah apiang hi he site-ah hian dah a ni lo va, he tool hi HTTPS URL hmanga pek a ni a, chu chu secret key eng pawh rukbo theih a nih loh nan a ni.

He hmanrua hi i ngaihlu a nih chuan thawhlawm thawh hi i ngaihtuah thei ang.

In thlawpna tawp ngai lote chungah lawmthu kan sawi e.

DES Encryption hmanga siam a ni

  • Key thlan tur:DES hian key pathum a hmang a, a tlangpuiin K1, k2, k3 tia sawi a ni. Key tin hi bit 56 a sei a ni a, mahse parity bit avang hian effective key size chu key khatah bit 64 a ni.
  • Encryption tih dan tur::
    • K1 hmangin encrypt rawhPlaintext block hi key hmasa ber K1 hmangin encrypt hmasak a ni a, chu chuan ciphertext C1 a siam a ni
    • K2 hmangin decrypt rawh:Chumi hnuah C1 chu key pahnihna K2 hmangin decrypt a ni a, chu chuan intermediate result a siam chhuak a ni.
    • K3 hmangin encrypt rawh:A tawpah chuan intermediate result chu key pathumna K3 hmangin encrypt lehin final ciphertext C2 siam a ni.

DES Decryption hmanga tihchhuah a ni

DES-a decryption hi a bul berah chuan encryption leh a lehlam a ni:
  • Decryption tih dan tur: 1.1.
    • K3 hmangin decrypt rawhCiphertext C2 chu key pathumna K3 hmangin decrypt a ni a, chu chuan intermediate result a hmu thei a ni.
    • K2 hmangin encrypt rawh:Chumi hnuah chuan intermediate result chu second key K2 hmangin encrypt a ni a, intermediate result dang a siam leh ta a ni.
    • K1 hmangin decrypt rawh:A tawp berah chuan he result hi key hmasa ber K1 hmangin decrypt a ni a, original plaintext chu kan hmu thei a ni.

Key Management chungchang

  • Key Size: 1000 a ni.DES-a key tin hi bit 56 a sei a ni a, chu chuan effective key size zawng zawng chu bit 168 a ni (K1, K2 leh K3 te hi a hnungzuia hman a nih avangin).
  • Key Hman Dan: 1.1.K1 leh K3 hi standard DES nena backward compatibility atan key inang an ni thei a, mahse security tihpun nan K2 hi a danglam a tha.

Security lam ngaihtuah tur

  • DES hi secure anga ngaih ni mahse tunlai algorithms AES ang chi nena khaikhin chuan a slow hle.
  • Key length a nih avangin 3DES hi attack thenkhatah a hlauhawm hle a, application thar tan chuan alternative tha zawk (AES ang chi) awmnaah chuan a tha tawh lo.

DES hi DES nena inmilna mamawhna legacy system-ah hman a la ni reng a, mahse tunlai application-ah chuan hman a ni tlangpui AES hi symmetric encryption atan hman a ni a efficiency leh security nghet tak avang hian a ni.

DES Encryption hman dan tur kaihhruaina

Encrypt duh plain-text emaw password emaw chu ziak lut rawh. Chumi hnuah chuan dropdown atang chuan encryption mode kha thlang la. A hnuaia tarlan te hi vale awm thei te chu a ni:

  • ECB: 1.1. ECB mode hmang hian text eng pawh hi block tam takah then a ni a, block tin chu key pek hmangin encrypt a ni a, chuvangin plain text block inang chiah chiah chu cipher text block inangah encrypt a ni. Chuvangin, he encryption mode hi CBC mode aiin a him lo zawka ngaih a ni. Block tin hi cipher text block inang chiah chiahah encrypt a nih avangin ECB mode atan IV a ngai lo. IV hman hian plaintext inang lo tak takte chu ciphertext hrang hrangah encrypt a nih theih nan a enkawl tih hre reng ang che.

  • CBC chuan: CBC encryption mode hi ECB mode nena khaikhin chuan him zawka ngaih a ni a, CBC hian IV a mamawh a, hei hian ECB mode ang lo takin block inang chiah encryption randomise-na kawngah a pui a ni. CBC mode atana initialization vector size chu 64 bit a ni tur a ni a, chu chu character 8 a sei tur a ni i.e., 8*8 = 64 bits a ni tur a ni