{"id":302048,"date":"2020-04-17T09:00:53","date_gmt":"2020-04-17T09:00:53","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=302048"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=302048","title":{"rendered":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0441\u043d\u043e\u0432 \u043a\u0440\u0438\u043f\u0442\u043e\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f AES"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/497672\/\">\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a, \u0445\u0430\u0431\u0440!<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 3 \u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0430\u0437\u0430\u0434 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 frontend \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u0438 \u0441\u0430\u043c\u044b\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043d\u0435 \u0437\u0430\u0434\u0430\u043b\u0438: \u201c\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 AES?\u201d \u041d\u0443 \u043a\u0430\u043a \u0431\u044b \u0430\u043c\u043e\u0440\u0444\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u044f \u0432\u0441\u0435 \u0436\u0435 \u0438\u043c\u0435\u043b \u043e \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e \u0431\u043b\u043e\u0447\u043d\u043e\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 AES, \u0431\u044b\u043b\u043e \u0434\u0435\u043b\u043e \u0434\u0430\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u043d\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c rijndael \u0438 \u0435\u0449\u0435 \u0443\u043c\u0435\u0442\u044c \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 javascript, \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0442\u0440\u0443\u0434\u043d\u043e\u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c\u043e\u0439. \u041d\u043e! \u041c\u043d\u0435 \u0431\u044b\u043b \u0431\u0440\u043e\u0448\u0435\u043d \u0432\u044b\u0437\u043e\u0432 \u0438 \u044f \u0435\u0433\u043e \u043f\u0440\u0438\u043d\u044f\u043b. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xo\/lb\/oy\/xolboyn7lrwxc0fif8apomm827k.jpeg\"><\/p>\n<p>  Go \u0432 \u043f\u043e\u0434\u043a\u0430\u0442!<br \/>  <a name=\"habracut\"><\/a><br \/>  <a href=\"https:\/\/csrc.nist.gov\/csrc\/media\/publications\/fips\/197\/final\/documents\/fips-197.pdf\" rel=\"nofollow\">\u0417\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u044f \u0432\u0437\u044f\u043b \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e FIPS197 AES \u043e\u0442 26 \u043d\u043e\u044f\u0431\u0440\u044f 2011\u0433.<br \/>  <\/a><br \/>  \u0412 IT \u0441\u0444\u0435\u0440\u0435 \u043e\u0434\u043d\u0438 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0435<\/li>\n<li>\u0430\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0435 <\/li>\n<\/ul>\n<p>  <b>\u0421\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0435<\/b> \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u044d\u0442\u043e \u0442\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u0438\u043d \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438 \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0434\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u2014 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438 \u2014 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0434\u043b\u044f \u0434\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438.<\/p>\n<p>  \u0412 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0434\u0432\u0430 \u0442\u0438\u043f\u0430: <\/p>\n<ul>\n<li>\u0431\u043b\u043e\u0447\u043d\u044b\u0435 <\/li>\n<li>\u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0435<\/li>\n<\/ul>\n<p>  <b>\u0411\u043b\u043e\u0447\u043d\u044b\u0435<\/b> \u0438\u043c\u0435\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0430\u043c\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0431\u0430\u0439\u0442\u043e\u0432. \u041e\u0442\u0441\u044e\u0434\u0430 \u0432\u044b\u0442\u0435\u043a\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0432\u0430\u043d\u0438\u044e \u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438 \u0431\u043b\u043e\u043a\u043e\u0432, \u0442\u043e \u0435\u0441\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043e\u0431\u044a\u0435\u043c\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044f \u043f\u0440\u0438 \u044d\u0442\u043e \u0440\u0435\u0441\u0443\u0440\u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. <\/p>\n<p>  <b>\u041f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0435<\/b> \u0448\u0438\u0444\u0440\u0443\u044e\u0442 \u043f\u043e\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e.<\/p>\n<p>  \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430\u043c\u0438 \u0434\u043b\u044f <b>\u0430\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0445<\/b> \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0439. \u0410\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0435 \u2014 \u0442\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0434\u0432\u0430 \u043a\u043b\u044e\u0447\u0430: <\/p>\n<ul>\n<li>publicKey<\/li>\n<li>privateKey<\/li>\n<\/ul>\n<p>  <b>publicKey<\/b> \u2014 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0435 \u043f\u043e\u0434\u043b\u0435\u0436\u0438\u0442 \u0434\u043b\u044f \u0434\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043d\u0435\u0442.<br \/>  <b>privateKey<\/b> \u2014 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0434\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<br \/>  \u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430\u043c\u0438 \u0430\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <b>Rijndael<\/b> \u2014 \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0431\u043b\u043e\u0447\u043d\u043e\u0433\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0431\u043b\u043e\u043a\u043e\u0432 \u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u043e\u0442 128 \u0434\u043e 256 \u0431\u0438\u0442 \u0441 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c\u044e \u0432 32 \u0431\u0438\u0442\u0430. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043b\u0438\u043d\u0435\u0439\u043d\u043e-\u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 10, 12 \u0438\u043b\u0438 14 \u0440\u0430\u0443\u043d\u0434\u043e\u0432 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0434\u043b\u0438\u043d\u044b \u043a\u043b\u044e\u0447\u0430.<br \/>  <b>AES<\/b> \u2014 rijndael \u0441 \u043a\u043b\u044e\u0447\u043e\u043c \u0432 128 \u0431\u0438\u0442 \u0438 \u0431\u043b\u043e\u043a\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 16 \u0431\u0430\u0439\u0442.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 \u0442\u0435\u043e\u0440\u0438\u0435\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432:<\/p>\n<ul>\n<li><b>\u0434\u0432\u043e\u0438\u0447\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f<\/b><\/li>\n<li><b>\u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f<\/b><\/li>\n<li><b>\u0431\u0438\u0442\u044b<\/b><\/li>\n<li><b>\u0431\u0430\u0439\u0442\u044b<\/b><\/li>\n<li><b>XOR (^)<\/b><\/li>\n<\/ul>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0436\u0435 \u043d\u0435\u0442, \u0442\u043e \u043d\u0435 \u0431\u0435\u0434\u0430. \u041f\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043c\u043e\u044e \u0441\u0442\u0430\u0442\u044c\u044e <a href=\"https:\/\/habr.com\/ru\/post\/491548\/\">\u00ab\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 ReactJS \u2014 NodeJS\u00bb<\/a> \u0438\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043d\u0438\u043f\u0435\u0442\u0442\u043e\u0432 \u043d\u0430 <a href=\"https:\/\/reactjs.su\/\" rel=\"nofollow\">reactjs.su<\/a><\/p>\n<h3><b>\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u044f \u0432 rijndael:<\/b><\/h3>\n<ul>\n<li><b>\u041f\u043e\u043b\u0435 GF (2\u2078)<\/b> \u2014 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f n-\u0430\u044f \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 GF (2\u2078) \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u044f, \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u0434\u0435\u043b\u0435\u043d\u0438\u044f. \u041f\u043e\u043b\u0435 GF (2\u2078) \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e.<\/li>\n<li><b>\u041f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/b> \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b. Rijndael \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438 [00000000\u2082; 11111111\u2082]. \u041e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0444\u0438\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 x. \u0421\u0442\u0435\u043f\u0435\u043d\u044c \u044d\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u043c\u0435\u0440\u0443 \u0440\u0430\u0437\u0440\u044f\u0434\u0430 \u0447\u0438\u0441\u043b\u0430, \u0430 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0441\u0430\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u044f\u0434\u0430, \u043f\u043e\u043b\u0438\u043d\u043e\u043c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0438\u0434:\n<p>  a(x)=a\u2087x\u2077 +a\u2086x\u2076 +a\u2085x\u2075 +a\u2084x\u2074 +a\u2083x\u00b3 +a\u2082x\u00b2 +a\u2081x +a\u2080x;<\/p>\n<p>  \u0411\u0430\u0439\u0442 \u0410, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u0431\u0438\u0442\u043e\u0432 a\u2087, a\u2086, a\u2085, a\u2084, a\u2083, a\u2082, a\u2081, a\u2080 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430 \u0441 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430\u043c\u0438 \u0438\u0437 {0, 1}, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <br \/>  87 = 01010111 (\u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u0432\u0438\u0434);<br \/>   \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0438\u0434: x\u2076 + x\u2074 + x\u00b2 + x + 1;<\/li>\n<li><b>\u041d\u0435\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c\u044b\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c<\/b>. \u041f\u043e\u043b\u0438\u043d\u043e\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c\u044b\u043c, \u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u0439, \u043a\u0440\u043e\u043c\u0435 1 \u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u0435\u0431\u044f. \u0414\u043b\u044f rijndael \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f m(x):<br \/>  m(x)= x\u2078 + x\u2074 + x\u00b3 + x + 1;<\/li>\n<li><b>\u0421\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/b>. \u041f\u0440\u0430\u0432\u0438\u043b\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u044b\u0439 XOR, \u0442\u043e \u0435\u0441\u0442\u044c: 1 ^ 1 = 0 ^ 0 = 0; 1 ^ 0 = 0 ^ 1 = 1, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n<p>  \u0411\u0430\u0439\u0442 \u0410, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u0431\u0438\u0442\u043e\u0432 a\u2087, a\u2086, a\u2085, a\u2084, a\u2083, a\u2082, a\u2081, a\u2080;<br \/>  \u0411\u0430\u0439\u0442 B, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u0431\u0438\u0442\u043e\u0432 b\u2087, b\u2086, b\u2085, b\u2084, b\u2083, b\u2082, b\u2081, b\u2080;<\/p>\n<p>  \u0421\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b A = 87 = 01010111; B = 131 = 10000011; <br \/>  A ^ B = a\u2087, a\u2086, a\u2085, a\u2084, a\u2083, a\u2082, a\u2081, a\u2080 ^ b\u2087, b\u2086, b\u2085, b\u2084, b\u2083, b\u2082, b\u2081, b\u2080 = 11010100;<\/li>\n<li><b>\u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/b>. \u0412 \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 GF(2\u2078) \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u043e\u0432 \u043f\u043e \u043c\u043e\u0434\u0443\u043b\u044e ( | -x | = x ) \u043d\u0435\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 8, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n<p>  \u041f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 87 x 131 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<br \/>  (x\u2076 + x\u2074 + x\u00b2 + x + 1)(x\u2077 + x + 1) = x\u00b9\u00b3 + x\u00b9\u00b9 + x\u2079 + x\u2078 + x\u2077 + x\u2077 + x\u2075 + x\u00b3 + x\u00b2 + x + x\u2076 + x\u2074 + x\u00b2 + x + 1.<br \/>  \u0420\u0430\u0441\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u043a\u043e\u0431\u043e\u043a \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b. \u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 (\u043f.4): <\/p>\n<p>  x\u2077 + x\u2077 = x\u2077(1 + 1) = x\u2077(1 ^ 1) = x\u20770 = 0;<br \/>  (x\u2076 + x\u2074 + x\u00b2 + x + 1)(x\u2077 + x + 1) = x\u00b9\u00b3 + x\u00b9\u00b9 + x\u2079 + x\u2078 + x\u2076 + x\u2075 + x\u2074 + x\u00b3 + 1.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e m(x) = x\u2078 + x\u2074 + x\u00b3 + x + 1 (\u043d\u0435\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c\u044b\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c), \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c rijndael \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 8, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0431\u0430\u0439\u0442\u043e\u043c \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e \u043c\u043e\u0434\u0443\u043b\u044e. \u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c, \u043a\u0430\u043a \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043c\u043d\u043e\u0433\u043e\u0447\u043b\u0435\u043d\u043e\u0432 \u0441\u0442\u043e\u043b\u0431\u0438\u043a\u043e\u043c. \u041e\u0441\u0442\u0430\u0442\u043e\u043a \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c:<\/p>\n<p>  (x\u2076 + x\u2074 + x\u00b2 + x + 1)(x\u2077 + x + 1)\/(x\u2078 + x\u2074 + x\u00b3 + x + 1) = <br \/>  (x\u00b9\u00b3 + x\u00b9\u00b9 + x\u2079 + x\u2078 + x\u2076 + x\u2075 + x\u2074 + x\u00b3 + 1)\/(x\u2078 + x\u2074 + x\u00b3 + x + 1) = |Result| = x\u2077 + x\u2076 + 1<\/li>\n<\/ul>\n<blockquote><p>\u0412\u0441\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b<\/p><\/blockquote>\n<h3><b>\u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430:<\/b><\/h3>\n<ol>\n<li><b>keyExpansion()<\/b> \u2014 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0430;<\/li>\n<li><b>addRoundKey()<\/b> \u2014 \u0440\u0430\u0443\u043d\u0434\u043e\u0432\u044b\u0439 \u043a\u043b\u044e\u0447;<\/li>\n<li><b>subBytes()<\/b> \u2014 \u0437\u0430\u043c\u0435\u043d\u0430 state; <\/li>\n<li><b>shiftRows()<\/b> \u2014 \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a state;<\/li>\n<li><b>mixColumns()<\/b> \u2014 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 state;<\/li>\n<li><b>invMixColumns()<\/b> \u2014 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f mixColumns;<\/li>\n<li><b>invShiftRows()<\/b> \u2014 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f shiftRows;<\/li>\n<li><b>invSubBytes()<\/b> \u2014 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f subBytes;<\/li>\n<\/ol>\n<h3><b>\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 AES<\/b> \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0430\u043f\u043e\u0432:<\/h3>\n<ol>\n<li><b>\u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 state<\/b><br \/>  \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u043b\u0438\u0446\u0443. \u041d\u0430\u0448\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u043b\u0430\u043c\u0438 [0; 255] (\u043f\u0440\u043e\u0433\u0430\u043c\u043c\u043d\u043e \u044d\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u043e ASCII \u0438\u043b\u0438 Unicode). \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 n-\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0431\u043b\u043e\u043a\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 16 \u0431\u0430\u0439\u0442. \u0411\u043b\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 state (\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u043c\u043d\u043e\u0433\u043e\u043c\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043f\u043e 4 \u0431\u0430\u0439\u0442\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0434\u043c\u0430\u0441\u0441\u0438\u0432 = [ [], [], [], [] ] ), \u0435\u0441\u043b\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0435 \u043a\u0440\u0430\u0442\u043d\u043e 16 \u0431\u0430\u0439\u0442\u0430\u043c, \u0442\u043e \u043e\u043d\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u043e 16 \u0431\u0430\u0439\u0442:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/q2\/iz\/kz\/q2izkzt1lt-pi0xtq9gox9dqdli.png\">  <\/li>\n<li><b>keyExpansion();<\/b><br \/>  \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f AES, \u043a\u043b\u044e\u0447 \u043f\u043e\u0431\u0430\u0439\u0442\u043d\u043e \u0440\u0430\u0432\u0435\u043d state. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043a\u043b\u044e\u0447\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0438\u0437 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043b\u044e\u0447\u0435\u0439 \u0434\u043b\u044f \u0446\u0438\u043a\u043b\u0430 \u0440\u0430\u0443\u043d\u0434\u043e\u0432 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 XOR \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 Rcon. <br \/>  Rcon \u2014 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u044e\u0447\u0435\u0439 \u043f\u0443\u0442\u0435\u043c XOR. \u0418\u043d\u0430\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f keyExpansion() \u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e XOR\u2019\u0438\u0442\u0441\u044f \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 Rcon \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043b\u044e\u0447\u0435\u0439. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u044e\u0447\u0435\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u2014 11. 10 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0440\u0430\u0443\u043d\u0434\u0430\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430.\n<pre><code class=\"javascript\">let rCon = [   [ 0x00, 0x00, 0x00, 0x00 ],   [ 0x01, 0x00, 0x00, 0x00 ],   [ 0x02, 0x00, 0x00, 0x00 ],   [ 0x04, 0x00, 0x00, 0x00 ],   [ 0x08, 0x00, 0x00, 0x00 ],   [ 0x10, 0x00, 0x00, 0x00 ],   [ 0x20, 0x00, 0x00, 0x00 ],   [ 0x40, 0x00, 0x00, 0x00 ],   [ 0x80, 0x00, 0x00, 0x00 ],   [ 0x1b, 0x00, 0x00, 0x00 ],   [ 0x36, 0x00, 0x00, 0x00 ], ]; <\/code><\/pre>\n<\/li>\n<li><b>addRoundKey();<\/b><br \/>  \u041f\u0435\u0440\u0432\u044b\u0439 \u044d\u0442\u0430\u043f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a state \u043f\u0443\u0442\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0448\u0435. \u0418\u043d\u0430\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f addRoundKey XOR\u2019\u0438\u0442\u0441\u044f \u0441\u043e state, \u0442\u043e\u0447\u043d\u0435\u0435 \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0435\u0433\u043e \u0431\u0430\u0439\u0442\u043e\u043c. \u041e\u0431\u2019XOR\u2019\u0435\u043d\u043d\u044b\u0439 state \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u0442\u0430\u043f, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0430\u0443\u043d\u0434\u043e\u0432 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xd\/qj\/ys\/xdqjysye9umb8dasbj-tcy2ztro.png\">  <\/li>\n<li><b>\u0420\u0430\u0443\u043d\u0434\u044b \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430<\/b><br \/>  \u0412 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0435 \u0435\u0441\u0442\u044c 10 \u0440\u0430\u0443\u043d\u0434\u043e\u0432, \u0442\u043e \u0435\u0441\u0442\u044c 10 \u0448\u0430\u0433\u043e\u0432 \u043a\u0440\u0438\u043f\u0442\u043e\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f. <br \/>  \u041f\u0435\u0440\u0432\u044b\u0435 9 \u0440\u0430\u0443\u043d\u0434\u043e\u0432 \u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 4 \u0444\u0443\u043d\u043a\u0446\u0438\u0438: <br \/> \n<ul>\n<li>subBytes();<\/li>\n<li>shiftRows();<\/li>\n<li>mixColumns();<\/li>\n<li>addRoundKey();<\/li>\n<\/ul>\n<p>  10-\u044b\u0439 \u0440\u0430\u0443\u043d\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442:  <\/p>\n<ul>\n<li>subBytes();<\/li>\n<li>shiftRows();<\/li>\n<li>addRoundKey();<\/li>\n<\/ul>\n<p>  <\/li>\n<li><b>subBytes();<\/b><br \/>  \u0414\u0430\u043d\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 state \u043f\u0443\u0442\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u044b \u0441\u0432\u043e\u0438\u0445 \u0431\u0430\u0439\u0442\u043e\u0432 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 S-box:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7h\/t1\/uq\/7ht1uqzpjygl30fgsksxe-waodg.png\"><br \/>  State \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 hex \u0444\u043e\u0440\u043c\u0430\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: 01010011 -&gt; 0101 | 0011 -&gt; 53h<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/u7\/m7\/at\/u7m7atguoa1uu3zqcu2dftfif_u.png\"><br \/>  53h \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u0435\u043d edh\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 S-box<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">const sBox = [   0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76,   0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0,   0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15,   0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2, 0xeb, 0x27, 0xb2, 0x75,   0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0, 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84,   0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf,   0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85, 0x45, 0xf9, 0x02, 0x7f, 0x50, 0x3c, 0x9f, 0xa8,   0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5, 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2,   0xcd, 0x0c, 0x13, 0xec, 0x5f, 0x97, 0x44, 0x17, 0xc4, 0xa7, 0x7e, 0x3d, 0x64, 0x5d, 0x19, 0x73,   0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88, 0x46, 0xee, 0xb8, 0x14, 0xde, 0x5e, 0x0b, 0xdb,   0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c, 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79,   0xe7, 0xc8, 0x37, 0x6d, 0x8d, 0xd5, 0x4e, 0xa9, 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08,   0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6, 0xe8, 0xdd, 0x74, 0x1f, 0x4b, 0xbd, 0x8b, 0x8a,   0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e, 0x61, 0x35, 0x57, 0xb9, 0x86, 0xc1, 0x1d, 0x9e,   0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf,   0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16, ]; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/li>\n<li><b>shiftRows();<\/b><br \/>  \u0414\u0430\u043d\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 3-\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0432\u043b\u0435\u0432\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cl\/q-\/32\/clq-32tacybe2trxdbaxnljckqw.png\">  <\/li>\n<li><b>mixColumns();<\/b><br \/>  \u0412\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u0438\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0439. \u0422\u0443\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e a(x) = {03}x\u00b3 + {01}x\u00b2 + {01}x + {02}. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u0432\u044b\u0448\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0443 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u0438\u0437 state \u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044e a(x). \u0417\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435\u043d \u043c\u0430\u0442\u0440\u0438\u0447\u043d\u043e\u043c\u0443 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044e:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/56\/zx\/vv\/56zxvvfym4lo1qoyng-ry9mjete.png\">\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/6i\/7v\/6g\/6i7v6g3xhkepkbj6oldsmn2jsze.png\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/08\/lp\/-7\/08lp-7uavswjw534ibbyh8ogquu.png\">  <\/li>\n<\/ol>\n<h3><b>\u0414\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 AES<\/b> \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0430\u043f\u043e\u0432:<\/h3>\n<ol>\n<li><b>keyExpansion();<\/b><\/li>\n<li><b>\u0420\u0430\u0443\u043d\u0434\u044b \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430<\/b><br \/>  \u0412 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0435 \u0435\u0441\u0442\u044c 10 \u0440\u0430\u0443\u043d\u0434\u043e\u0432, \u0442\u043e \u0435\u0441\u0442\u044c \u0448\u0430\u0433 \u043a\u0440\u0438\u043f\u0442\u043e\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f. <br \/>  \u041f\u0435\u0440\u0432\u044b\u0435 9 \u0440\u0430\u0443\u043d\u0434\u043e\u0432 \u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 4 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0442\u043e \u0435\u0441\u0442\u044c:<br \/> \n<ul>\n<li>addRoundKey();<\/li>\n<li>invMixColumns();<\/li>\n<li>invShiftRows();<\/li>\n<li>invSubBytes();<\/li>\n<\/ul>\n<p>  10-\u0440\u0430\u0443\u043d\u0434:   <\/p>\n<ul>\n<li>addRoundKey();<\/li>\n<li>invShiftRows();<\/li>\n<li>invSubBytes();<\/li>\n<\/ul>\n<p>  <\/li>\n<li><b>addRoundKey();<\/b><br \/>  \u041e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u0435\u0431\u044f, \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044f \u043c\u0430\u0441\u0441\u0438\u0432 Rcon  <\/li>\n<li><b>invMixColumns();<\/b><br \/>  \u0424\u0443\u043d\u043a\u0446\u0438\u044f invMixColumns \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0438\u043a\u0430\u0442\u0438\u0432\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e a\u207b\u00b9(x) \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 state:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rv\/gx\/1z\/rvgx1zr-egwszvk2nhhlqzaxxds.png\">\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bk\/z9\/ie\/bkz9iesxovcrku2-eefeyvy7qjw.png\">  <\/li>\n<li><b>invShiftRows();<\/b><br \/>  \u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f shiftRows() \u2014 \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0432\u043f\u0440\u0430\u0432\u043e:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/k9\/4u\/tr\/k94utrtgd5squ-ltgfum3ysuaoe.png\">  <\/li>\n<li><b>invSubBytes();<\/b><br \/>  \u0418\u043d\u0432\u0435\u0440\u0441\u0438\u044f subBytes() \u2014 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0437\u0430\u043c\u0435\u043d\u0430 \u0431\u0430\u0439\u0442 state \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0432 hex \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b inverse S-box:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/jk\/qj\/_a\/jkqj_ago8askjz07z5cod9uojg0.png\">  <\/li>\n<\/ol>\n<p>  <b>\u0421\u043f\u0438\u0441\u043e\u043a \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b: <\/b><\/p>\n<ol>\n<li>Specification for the AES \u2014 <a href=\"https:\/\/csrc.nist.gov\/csrc\/media\/publications\/fips\/197\/final\/documents\/fips-197.pdf\" rel=\"nofollow\">csrc.nist.gov\/csrc\/media\/publications\/fips\/197\/final\/documents\/fips-197.pdf<\/a><\/li>\n<li>Advanced Encryption Standard (AES) \u2014 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Advanced_Encryption_Standard\" rel=\"nofollow\">ru.wikipedia.org\/wiki\/Advanced_Encryption_Standard<\/a><\/li>\n<li>\u041f\u043e\u0301\u043b\u0435 \u0413\u0430\u043b\u0443\u0430\u0301 \u2014 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9A%D0%BE%D0%BD%D0%B5%D1%87%D0%BD%D0%BE%D0%B5_%D0%BF%D0%BE%D0%BB%D0%B5\" rel=\"nofollow\">ru.wikipedia.org\/wiki\/%D0%9A%D0%BE%D0%BD%D0%B5%D1%87%D0%BD%D0%BE%D0%B5_%D0%BF%D0%BE%D0%BB%D0%B5<\/a><\/li>\n<li>\u0426\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u043e\u0434\u044b \u2014 <a href=\"http:\/\/yourtutor.narod.ru\/cyclic\/CyclicCodes.htm\" rel=\"nofollow\">yourtutor.narod.ru\/cyclic\/CyclicCodes.htm<\/a><\/li>\n<li>\u0423\u0447\u0435\u0431\u043d\u0438\u043a \u0434\u043b\u044f \u0432\u0443\u0437\u043e\u0432 \u0410.\u041d. \u0421\u0442\u0435\u043f\u0430\u043d\u043e\u0432 \u2014 \u041a\u0443\u0440\u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u043a\u0438 \u2014 \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>\u0421\u043d\u0438\u043f\u043f\u0435\u0442\u044b \u2014 <a href=\"https:\/\/reactjs.su\" rel=\"nofollow\">https:\/\/reactjs.su\/common_page<\/a><\/li>\n<\/ol>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/497672\/\"> https:\/\/habr.com\/ru\/post\/497672\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/497672\/\">\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a, \u0445\u0430\u0431\u0440!<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 3 \u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0430\u0437\u0430\u0434 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 frontend \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u0438 \u0441\u0430\u043c\u044b\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043d\u0435 \u0437\u0430\u0434\u0430\u043b\u0438: \u201c\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 AES?\u201d \u041d\u0443 \u043a\u0430\u043a \u0431\u044b \u0430\u043c\u043e\u0440\u0444\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u044f \u0432\u0441\u0435 \u0436\u0435 \u0438\u043c\u0435\u043b \u043e \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e \u0431\u043b\u043e\u0447\u043d\u043e\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 AES, \u0431\u044b\u043b\u043e \u0434\u0435\u043b\u043e \u0434\u0430\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u043d\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c rijndael \u0438 \u0435\u0449\u0435 \u0443\u043c\u0435\u0442\u044c \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 javascript, \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0442\u0440\u0443\u0434\u043d\u043e\u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c\u043e\u0439. \u041d\u043e! \u041c\u043d\u0435 \u0431\u044b\u043b \u0431\u0440\u043e\u0448\u0435\u043d \u0432\u044b\u0437\u043e\u0432 \u0438 \u044f \u0435\u0433\u043e \u043f\u0440\u0438\u043d\u044f\u043b. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xo\/lb\/oy\/xolboyn7lrwxc0fif8apomm827k.jpeg\"><\/p>\n<p>  Go \u0432 \u043f\u043e\u0434\u043a\u0430\u0442!  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-302048","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302048"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302048\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}