Vernam usuli Vernam usuli bo’yicha shifrlashda Ingliz alifbosi va yana 6 ta simvol jami 32 ta belgini tartiblab raqamlaymiz va 0 va 1 lik kodlarga o’girib chiqamiz.
Keyinchalik xor amali orqali belgilarni yig’indisini olamiz. Qo’shiluvchilar esa
T0 = DILMURODOV_SHOHJAHON
K = TALABA
Qo’shish jarayoni :
D 00011 I 01000 L 01011 M 01100
+ + + +
T 10011 A 00000 L 01011 A 00000
= = = =
Q 10000 I 01000 A 00000 M 01100
Shu tariqa davom ettirsak quyidagich shifrlanadi :
T1 = QIAMVR@DFV@S_OEJBH@N
Deshiflash
Q 10000 I 01000 A 00000 M 01100
+ + + + +
T 10011 A 00000 L 01011 A 00000
= = = = =
D 00011 I 01000 L 01011 M 01100
Davom ettirilsa quyidagi hosil bo’ladi:
T0 = DILMURODOV_SHOHJAHON