{"id":48252,"date":"2018-08-16T11:51:04","date_gmt":"2018-08-16T06:21:04","guid":{"rendered":"https:\/\/hindi.theindianwire.com\/?p=48252"},"modified":"2018-08-16T11:51:04","modified_gmt":"2018-08-16T06:21:04","slug":"rc4-%e0%a4%8f%e0%a4%b2%e0%a5%8d%e0%a4%97%e0%a5%8b%e0%a4%b0%e0%a4%bf%e0%a4%a5%e0%a5%8d%e0%a4%ae","status":"publish","type":"post","link":"https:\/\/hindi.theindianwire.com\/rc4-%e0%a4%8f%e0%a4%b2%e0%a5%8d%e0%a4%97%e0%a5%8b%e0%a4%b0%e0%a4%bf%e0%a4%a5%e0%a5%8d%e0%a4%ae-48252\/","title":{"rendered":"\u0915\u0902\u092a\u094d\u092f\u0942\u091f\u0930 \u0928\u0947\u091f\u0935\u0930\u094d\u0915 \u092e\u0947\u0902 RC4 \u090f\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u094d\u092e \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947"},"content":{"rendered":"\n

RC4\u00a0\u090f\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u094d\u092e \u0915\u094d\u092f\u093e \u0939\u0948? (rc4 algorithm in hindi)<\/h3>\n

RC4 \u090f\u0915 \u0938\u094d\u091f\u094d\u0930\u0940\u092e cipher \u0939\u0948 \u0914\u0930 \u090f\u0915 \u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u0932\u0947\u0902\u0925 \u0915\u093e key \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e \u0939\u0948\u0964 \u092f\u0947 \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e \u090f\u0915 \u0938\u092e\u092f \u092a\u0930 1 \u092c\u093e\u0907\u091f \u0915\u094b \u090f\u0928\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0915\u0930\u0924\u093e \u0939\u0948 (\u0914\u0930 \u0915\u092d\u0940-\u0915\u092d\u0940 \u091c\u094d\u092f\u093e\u0926\u093e \u092f\u0942\u0928\u093f\u091f)\u0964 key \u0907\u0928\u092a\u0941\u091f \u090f\u0915 pseudorandom \u092c\u093f\u091f \u091c\u0928\u0930\u0947\u091f\u0930 \u0939\u094b\u0924\u093e \u0939\u0948 \u091c\u094b \u090f\u0915 8 \u092c\u093f\u091f \u0938\u094d\u091f\u094d\u0930\u0940\u092e \u0938\u0902\u0916\u094d\u092f\u093e \u0915\u094b \u092a\u094d\u0930\u094b\u0921\u0942\u0938 \u0915\u0930\u0924\u093e \u0939\u0948 \u091c\u093f\u0938\u0947 \u092c\u093f\u0928\u093e \u0907\u0928\u092a\u0941\u091f key \u0915\u0947 \u092c\u093e\u0930\u0940 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947 \u0939\u0941\u090f \u092a\u094d\u0930\u0947\u0921\u093f\u0915\u094d\u091f \u0915\u0930\u0928\u093e \u092c\u0939\u0941\u0924 \u092e\u0941\u0936\u094d\u0915\u093f\u0932 \u0939\u0948\u0964<\/p>\n

\u091c\u0928\u0930\u0947\u091f\u0930 \u0915\u0947 \u0906\u0909\u091f\u092a\u0941\u091f \u0915\u094b key \u0938\u094d\u091f\u094d\u0930\u0940\u092e \u0915\u0939\u0924\u0947 \u0939\u0948\u0902\u0964 \u0907\u0928 \u0938\u092d\u0940 \u0915\u094b \u092a\u094d\u0932\u0947\u0928\u091f\u0947\u0915\u094d\u0938\u094d\u091f \u0938\u094d\u091f\u094d\u0930\u0940\u092e cipher \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u090f\u0915 \u092c\u093e\u0930 \u092e\u0947\u0902 \u090f\u0915 \u092c\u093e\u0907\u091f \u0915\u0930 \u0915\u0947 \u0915\u0902\u092c\u093e\u0907\u0928 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948 \u0914\u0930 \u0910\u0938\u093e \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f X-OR \u0911\u092a\u0930\u0947\u0936\u0928 \u0915\u093e \u092a\u094d\u0930\u092f\u094b\u0917 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0964<\/p>\n

\u0909\u0926\u093e\u0939\u0930\u0923<\/strong>:<\/p>\n

RC4 Encryption \r\n10011000 \u2295 01010000 = 11001000    \r\n\r\nRC4 Decryption \r\n11001000 \u2295 01010000 = 10011000\r\n<\/pre>\n

Key \u091c\u0928\u0930\u0947\u0936\u0928 \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e (key generation algorithm)<\/h3>\n

Initialization<\/strong>: S \u0915\u0940 \u0938\u093e\u0930\u0940 \u090f\u0902\u091f\u094d\u0930\u0940 \u0915\u094b 0 \u0938\u0947 255 \u0915\u0947 \u092c\u0940\u091a \u0915\u093e \u092e\u093e\u0928 \u092c\u095d\u0924\u0947 \u0915\u094d\u0930\u092e \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930 \u0926\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0964 \u0907\u0938\u0915\u0947 \u092c\u093e\u0926 \u090f\u0915 \u0905\u0938\u094d\u0925\u093e\u0908 \u0935\u0947\u0915\u094d\u091f\u0930 T \u0915\u094b \u0915\u094d\u0930\u093f\u090f\u091f \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0964<\/p>\n

\u0905\u092c \u0905\u0917\u0930 \u0915\u0930\u0940 \u0915\u093e \u0932\u0947\u0902\u0925 256 \u092c\u093e\u0907\u091f \u0939\u0948 \u0924\u094b K \u0915\u094b T \u0915\u094b \u0905\u0938\u093e\u0907\u0928 \u0915\u0930 \u0926\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0964 \u090f\u0915 k \u0932\u0947\u0902\u0925 \u092c\u093e\u0907\u091f \u0915\u0947 key \u0915\u0947 \u0932\u093f\u090f, T \u0915\u0947 \u092a\u0939\u0932\u0947 k-len \u090f\u0932\u0947\u092e\u0947\u0902\u091f\u094d\u0938 \u0915\u094b \u091c\u0948\u0938\u0947 K \u0938\u0947 \u0915\u0949\u092a\u0940 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948 \u0914\u0930 \u0909\u0938\u0947 \u092c\u093e\u0926 T \u0915\u094b \u092d\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u091c\u093f\u0924\u0928\u0940 \u092c\u093e\u0930 \u091c\u0930\u0942\u0930\u0940 \u0939\u094b \u0909\u0924\u0928\u0940 \u092c\u093e\u0930 K \u0915\u094b \u0926\u0941\u0939\u0930\u093e\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0964<\/p>\n

\n
\n\n\n\n
\n
\n
for<\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code>i = <\/code>0<\/code> to <\/code>255<\/code> do<\/code> S[i] = i;<\/code><\/div>\n
T[i] = K[i mod k - len];<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n

S[0] \u0938\u0947 S[255] \u0924\u0915, \u0939\u092e T \u0915\u093e \u092a\u094d\u0930\u092f\u094b\u0917 S \u0915\u0947 \u0936\u0941\u0930\u0941\u0906\u0924\u0940 permunation \u0915\u094b \u092a\u094d\u0930\u094b\u0921\u0942\u0938 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u0930\u0924\u0947 \u0939\u0948\u0902\u0964 \u0909\u0938\u0915\u0947 \u092c\u093e\u0926 \u092a\u094d\u0930\u0924\u094d\u092f\u0947\u0915 S[i] \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e \u0915\u0947 \u0932\u093f\u090f \u0907\u0938\u0947 S \u0915\u0947 \u0915\u093f\u0938\u0940 \u0914\u0930 \u092c\u093e\u0907\u091f \u0915\u0947 \u0938\u093e\u0925 \u0938\u094d\u0935\u0948\u092a \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 (\u091c\u0948\u0938\u093e \u0915\u093f T[i] \u0938\u094d\u0915\u0940\u092e \u0938\u0947 \u0928\u093f\u0930\u094d\u0927\u093e\u0930\u0923 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948)\u0964 \u0932\u0947\u0915\u093f\u0928 S \u0915\u0947 \u0905\u0902\u0926\u0930 0 \u0938\u0947 255 \u0924\u0915 \u0915\u093e \u092e\u093e\u0928 \u0939\u0940 \u0939\u094b\u0924\u093e \u0939\u0948\u0964<\/p>\n

\n
\n\n\n\n
\n
\n
j = <\/code>0<\/code>;<\/code><\/div>\n
for<\/code><\/div>\n
i = <\/code>0<\/code> to <\/code>255<\/code> do<\/code><\/div>\n
{<\/code><\/div>\n
j = (j + S[i] + T[i])mod <\/code>256<\/code>;<\/code><\/div>\n
Swap(S[i], S[j]);<\/code><\/div>\n
}<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n

\u0938\u0942\u0921\u094b \u0930\u0948\u0902\u0921\u092e \u091c\u0928\u0930\u0947\u0936\u0928 \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e (pseudo random generation algorithm)<\/h3>\n

\u091c\u092c \u090f\u0915 \u092c\u093e\u0930 \u0935\u0947\u0915\u094d\u091f\u0930 S \u0907\u0928\u093f\u0936\u093f\u092f\u0932\u093e\u0907\u095b \u0939\u094b \u091c\u093e\u0924\u093e \u0939\u0948, \u0909\u0938\u0947\u0915 \u092c\u093e\u0926 \u0907\u0928\u092a\u0941\u091f key \u0915\u093e \u092a\u094d\u0930\u092f\u094b\u0917 \u0928\u0939\u0940\u0902 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e\u0964 \u0907\u0938 \u0938\u094d\u091f\u0947\u092a \u092e\u0947\u0902, \u0938\u092d\u0940 S[i] \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e \u0915\u0947 \u0932\u093f\u090f, \u0907\u0938\u0947 S \u0915\u0947 \u0905\u0902\u0926\u0930 \u092e\u094c\u091c\u0942\u0926 \u0926\u0942\u0938\u0930\u0947 \u092c\u093e\u0907\u091f \u0915\u0947 \u0938\u093e\u0925 \u0938\u094d\u0935\u0948\u092a \u0915\u0930\u0947\u0902 \u091c\u094b \u0915\u093f S \u0915\u0947 \u0905\u092d\u0940 \u0915\u0947 \u0915\u0949\u0928\u094d\u095e\u093f\u0917\u0930\u0947\u0936\u0928 \u0915\u0947 \u0938\u094d\u0915\u0940\u092e \u0926\u094d\u0935\u093e\u0930\u093e \u0928\u093f\u0930\u094d\u0927\u093e\u0930\u093f\u0924 \u0915\u093f\u092f\u093e \u091c\u093e\u090f\u0917\u093e\u0964<\/p>\n

S[255] \u0924\u0915 \u092a\u0939\u0941\u0901\u091a\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u091c\u093e\u0930\u0940 \u0930\u0939\u0947\u0917\u093e \u0914\u0930 \u092b\u093f\u0930 \u0938\u0947 S[0] \u0938\u0947 \u0936\u0941\u0930\u0942 \u0939\u094b \u091c\u093e\u090f\u0917\u093e\u0964<\/p>\n

\n
\n\n\n\n
\n
\n
i, j = <\/code>0<\/code>;<\/code><\/div>\n
while<\/code> (<\/code>true<\/code>)<\/code><\/div>\n
i = (i + <\/code>1<\/code>)mod <\/code>256<\/code>;<\/code><\/div>\n
j = (j + S[i])mod <\/code>256<\/code>;<\/code><\/div>\n
Swap(S[i], S[j]);<\/code><\/div>\n
t = (S[i] + S[j])mod <\/code>256<\/code>;<\/code><\/div>\n
k = S[t];<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

X-OR \u0915\u093e \u092a\u094d\u0930\u092f\u094b\u0917 \u0915\u0930 \u0915\u0947 \u090f\u0928\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f<\/h3>\n

\u0907\u0938 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u0915\u094b \u0928\u0940\u091a\u0947 \u0915\u0947 \u091a\u093f\u0924\u094d\u0930 \u092e\u0947\u0902 \u0926\u093f\u0916\u093e\u092f\u093e \u0917\u092f\u093e \u0939\u0948:<\/p>\n

\"55\"

\u0938\u093f\u0924\u092e\u094d\u092c\u0930 2015 \u092e\u0947\u0902 \u092e\u093e\u0907\u0915\u094d\u0930\u094b\u0938\u0949\u092b\u094d\u091f \u0928\u0947 \u092e\u093e\u0907\u0915\u094d\u0930\u094b\u0938\u0949\u092b\u094d\u091f \u090f\u091c \u0914\u0930 \u0907\u0928\u094d\u091f\u0930\u0928\u0947\u091f \u090f\u0915\u094d\u0938\u094d\u092a\u094d\u0932\u094b\u0930\u0930 \u092e\u0947\u0902 RC4 \u0915\u094b \u092c\u0902\u0926 \u0915\u0930\u0928\u0947 \u0915\u093e \u090f\u0932\u093e\u0928 \u0915\u093f\u092f\u093e\u0964<\/p>\n

\u0907\u0938 \u0932\u0947\u0916 \u0938\u0947 \u0938\u092e\u094d\u092c\u0902\u0927\u093f\u0924 \u092f\u0926\u093f \u0906\u092a\u0915\u093e \u0915\u094b\u0908 \u092d\u0940 \u0938\u0935\u093e\u0932 \u092f\u093e \u0938\u0941\u091d\u093e\u0935 \u0939\u0948, \u0924\u094b \u0906\u092a \u0909\u0938\u0947 \u0928\u0940\u091a\u0947 \u0915\u092e\u0947\u0902\u091f \u092e\u0947\u0902 \u0932\u093f\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964<\/em><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

RC4\u00a0\u090f\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u094d\u092e \u0915\u094d\u092f\u093e \u0939\u0948? (rc4 algorithm in hindi) RC4 \u090f\u0915 \u0938\u094d\u091f\u094d\u0930\u0940\u092e cipher \u0939\u0948 \u0914\u0930 \u090f\u0915 \u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u0932\u0947\u0902\u0925 \u0915\u093e key \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e \u0939\u0948\u0964 \u092f\u0947 \u0905\u0932\u094d\u0917\u094b\u0930\u093f\u0925\u092e \u090f\u0915 \u0938\u092e\u092f \u092a\u0930 1 \u092c\u093e\u0907\u091f \u0915\u094b \u090f\u0928\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0915\u0930\u0924\u093e \u0939\u0948 (\u0914\u0930 \u0915\u092d\u0940-\u0915\u092d\u0940 \u091c\u094d\u092f\u093e\u0926\u093e \u092f\u0942\u0928\u093f\u091f)\u0964 key \u0907\u0928\u092a\u0941\u091f \u090f\u0915 pseudorandom \u092c\u093f\u091f \u091c\u0928\u0930\u0947\u091f\u0930 \u0939\u094b\u0924\u093e \u0939\u0948 \u091c\u094b \u090f\u0915 8 \u092c\u093f\u091f \u0938\u094d\u091f\u094d\u0930\u0940\u092e \u0938\u0902\u0916\u094d\u092f\u093e \u0915\u094b \u092a\u094d\u0930\u094b\u0921\u0942\u0938 \u0915\u0930\u0924\u093e \u0939\u0948 \u091c\u093f\u0938\u0947 \u092c\u093f\u0928\u093e […]<\/p>\n","protected":false},"author":52,"featured_media":48254,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[254],"tags":[5985],"yst_prominent_words":[],"class_list":["post-48252","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-5985"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/posts\/48252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/comments?post=48252"}],"version-history":[{"count":0,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/posts\/48252\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/media\/48254"}],"wp:attachment":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/media?parent=48252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/categories?post=48252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/tags?post=48252"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/yst_prominent_words?post=48252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}