{"id":476206,"date":"2023-08-09T07:26:52","date_gmt":"2023-08-09T07:26:52","guid":{"rendered":""},"modified":"2024-05-26T16:38:05","modified_gmt":"2024-05-26T16:38:05","slug":"chacha20","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/chacha20\/","title":{"rendered":"\u30c1\u30e3\u30c1\u30e320"},"content":{"rendered":"<p>ChaCha20 \u306f\u5e83\u304f\u77e5\u3089\u308c\u3066\u3044\u308b\u30b9\u30c8\u30ea\u30fc\u30e0\u6697\u53f7\u3067\u3042\u308a\u3001\u305d\u306e\u5b89\u5168\u6027\u3068\u901f\u5ea6\u3067\u77e5\u3089\u308c\u308b\u5bfe\u79f0\u6697\u53f7\u5316\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5805\u7262\u3067\u52b9\u7387\u7684\u306a\u6697\u53f7\u5316\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3092\u4e3b\u306a\u76ee\u7684\u3068\u3057\u3066\u3001Salsa20 \u30d5\u30a1\u30df\u30ea\u306e\u4e00\u90e8\u3068\u3057\u3066 2008 \u5e74\u306b Daniel J. Bernstein \u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u307e\u3057\u305f\u3002 ChaCha20 \u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u4e21\u65b9\u306e\u5229\u70b9\u3092\u63d0\u4f9b\u3067\u304d\u308b\u305f\u3081\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30d7\u30ed\u30c8\u30b3\u30eb\u3084 VPN \u306a\u3069\u306e\u5b89\u5168\u306a\u901a\u4fe1\u3067\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>ChaCha20\u306e\u8a95\u751f\u306e\u6b74\u53f2\u3068\u521d\u51fa<\/h2>\n<p>ChaCha20 \u306f\u3001Daniel J. Bernstein \u304c\u8a2d\u8a08\u3057\u305f Salsa20 \u30b9\u30c8\u30ea\u30fc\u30e0\u6697\u53f7\u306e\u6539\u826f\u7248\u3068\u3057\u3066\u751f\u307e\u308c\u307e\u3057\u305f\u3002ChaCha20 \u3092\u4f5c\u6210\u3057\u305f\u4e3b\u306a\u52d5\u6a5f\u306f\u3001\u901f\u5ea6\u3092\u72a0\u7272\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30e9\u30a6\u30f3\u30c9\u3054\u3068\u306e\u62e1\u6563\u3092\u5897\u3084\u3057\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u3053\u3068\u3067\u3057\u305f\u3002ChaCha20 \u306e\u8a2d\u8a08\u30d7\u30ed\u30bb\u30b9\u306f 2008 \u5e74\u306b\u5b8c\u4e86\u3057\u30012008 \u5e74\u306b Bernstein \u306e\u300cChaCha\u3001Salsa20 \u306e\u5909\u7a2e\u300d\u3068\u3044\u3046\u8ad6\u6587\u3067\u521d\u3081\u3066\u516c\u306b\u8a00\u53ca\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2>ChaCha20\u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831\u3002\u30c8\u30d4\u30c3\u30af\u306e\u62e1\u5f35ChaCha20<\/h2>\n<p>ChaCha20 \u306f\u3001\u79d8\u5bc6\u30ad\u30fc\u3068\u4e00\u610f\u306e 64 \u30d3\u30c3\u30c8 \u30ca\u30f3\u30b9\u306b\u57fa\u3065\u3044\u3066\u64ec\u4f3c\u30e9\u30f3\u30c0\u30e0 \u30d3\u30c3\u30c8\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u751f\u6210\u3059\u308b\u30b9\u30c8\u30ea\u30fc\u30e0\u6697\u53f7\u3067\u3059\u3002 256 \u30d3\u30c3\u30c8 \u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3001\u30d6\u30eb\u30fc\u30c8 \u30d5\u30a9\u30fc\u30b9\u653b\u6483\u306b\u5bfe\u3059\u308b\u9ad8\u30ec\u30d9\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u305d\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u306e 1 \u3064\u306f\u3001\u6697\u53f7\u5316\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u52b9\u7387\u7684\u306b\u8a08\u7b97\u3059\u308b\u6a5f\u80fd\u3067\u3042\u308a\u3001\u3055\u307e\u3056\u307e\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u9ad8\u3044\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306f\u3001\u6700\u521d\u306b\u5b9a\u6570\u3001\u30ad\u30fc\u3001\u304a\u3088\u3073\u30ce\u30f3\u30b9\u304c\u30b7\u30fc\u30c9\u3055\u308c\u305f 4\u00d74 \u884c\u5217\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002\u4e00\u9023\u306e 20 \u30e9\u30a6\u30f3\u30c9\u306e\u64cd\u4f5c\u3092\u5b9f\u884c\u3057\u3001\u30c7\u30fc\u30bf\u3092\u6df7\u5408\u3057\u3066\u6700\u7d42\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u751f\u6210\u3057\u307e\u3059\u3002 20 \u30e9\u30a6\u30f3\u30c9\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u3088\u308a\u62e1\u6563\u304c\u5f37\u5316\u3055\u308c\u3001\u6697\u53f7\u306e\u5b89\u5168\u6027\u304c\u78ba\u4fdd\u3055\u308c\u307e\u3059\u3002\u3055\u3089\u306b\u3001ChaCha20 \u306f\u30bf\u30a4\u30df\u30f3\u30b0\u653b\u6483\u3084\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30eb\u653b\u6483\u306a\u3069\u306e\u4e00\u822c\u7684\u306a\u6697\u53f7\u5316\u306e\u843d\u3068\u3057\u7a74\u3092\u56de\u907f\u3057\u3001\u6697\u53f7\u5316\u306e\u5f37\u529b\u306a\u9078\u629e\u80a2\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>ChaCha20\u306e\u5185\u90e8\u69cb\u9020\u3002 ChaCha20\u306e\u4ed5\u7d44\u307f<\/h2>\n<p>ChaCha20 \u306e\u5185\u90e8\u69cb\u9020\u306f\u3001\u6b21\u306e\u4e3b\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u72b6\u614b\u30de\u30c8\u30ea\u30c3\u30af\u30b9<\/strong>: \u30ad\u30fc\u3001\u5b9a\u6570\u5024\u3001\u30ce\u30f3\u30b9\u304b\u3089\u5c0e\u51fa\u3055\u308c\u305f 16 \u500b\u306e 32 \u30d3\u30c3\u30c8\u6574\u6570\u3092\u4fdd\u6301\u3059\u308b 4\u00d74 \u884c\u5217\u3002<\/li>\n<li><strong>\u521d\u671f\u5316<\/strong>: \u6697\u53f7\u306f\u3001256 \u30d3\u30c3\u30c8\u306e\u79d8\u5bc6\u9375\u300164 \u30d3\u30c3\u30c8\u306e nonce\u3001\u304a\u3088\u3073 32 \u30d3\u30c3\u30c8\u306e\u30d6\u30ed\u30c3\u30af \u30ab\u30a6\u30f3\u30bf\u30fc\u3067\u521d\u671f\u5316\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u56fa\u6709\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u308a\u3001\u6697\u53f7\u5316\u64cd\u4f5c\u3054\u3068\u306b\u30ad\u30fc \u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u7570\u306a\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>ChaCha20 \u30af\u30a9\u30fc\u30bf\u30fc\u30e9\u30a6\u30f3\u30c9<\/strong>: \u3053\u308c\u306f\u6697\u53f7\u306e\u57fa\u672c\u7684\u306a\u69cb\u6210\u8981\u7d20\u3067\u3059\u3002\u3053\u308c\u306f\u4e00\u9023\u306e\u30d3\u30c3\u30c8\u5358\u4f4d\u306e\u6f14\u7b97\u3068\u52a0\u7b97\u3067\u69cb\u6210\u3055\u308c\u3001\u30c7\u30fc\u30bf\u3092\u5b8c\u5168\u306b\u6df7\u5408\u3057\u3066\u62e1\u6563\u3092\u5c0e\u5165\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>\u30e9\u30a6\u30f3\u30c9<\/strong>: ChaCha20 \u306f\u3001\u72b6\u614b\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306b\u5bfe\u3057\u3066 ChaCha20 Quarter Round \u6f14\u7b97\u3092 20 \u30e9\u30a6\u30f3\u30c9\u5b9f\u884c\u3057\u3066\u3001\u6697\u53f7\u5316\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30ad\u30fc\u30b9\u30c8\u30ea\u30fc\u30e0\u751f\u6210<\/strong>: \u6700\u7d42\u7684\u306a\u72b6\u614b\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306f\u6697\u53f7\u5316\u30ad\u30fc\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u5909\u63db\u3055\u308c\u3001\u5e73\u6587\u3068 XOR \u6f14\u7b97\u3055\u308c\u3066\u6697\u53f7\u6587\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>ChaCha20\u306e\u4e3b\u306a\u7279\u5fb4\u306e\u5206\u6790<\/h2>\n<p>ChaCha20 \u306e\u8a2d\u8a08\u3068\u7279\u6027\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u5b89\u5168<\/strong>: ChaCha20 \u306f 256 \u30d3\u30c3\u30c8 \u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u9ad8\u30ec\u30d9\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u63d0\u4f9b\u3057\u3001\u30d6\u30eb\u30fc\u30c8 \u30d5\u30a9\u30fc\u30b9\u653b\u6483\u306b\u5bfe\u3059\u308b\u8010\u6027\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/strong>: ChaCha20 \u306e\u52b9\u7387\u7684\u306a\u5b9f\u88c5\u306b\u3088\u308a\u3001\u9ad8\u901f\u306a\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u9ad8\u901f\u30c7\u30fc\u30bf\u9001\u4fe1\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>\u67d4\u8edf\u6027<\/strong>: \u3055\u307e\u3056\u307e\u306a\u30ce\u30f3\u30b9\u5024\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u540c\u3058\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u305f\u3055\u307e\u3056\u307e\u306a\u6697\u53f7\u5316\u64cd\u4f5c\u306b\u5bfe\u3057\u3066\u4e00\u610f\u306e\u30ad\u30fc\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u653b\u6483\u306b\u5bfe\u3059\u308b\u8010\u6027<\/strong>: ChaCha20 \u306f\u3001\u30bf\u30a4\u30df\u30f3\u30b0\u653b\u6483\u3084\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30eb\u653b\u6483\u306b\u8010\u6027\u304c\u3042\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u5168\u4f53\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u5f37\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>ChaCha20\u306e\u7a2e\u985e<\/h2>\n<p>ChaCha20 \u306b\u306f\u3001\u4e3b\u306b\u7279\u5b9a\u306e\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u5411\u3051\u306b\u3001\u7570\u306a\u308b nonce \u30b5\u30a4\u30ba\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u6700\u3082\u4e00\u822c\u7684\u306a\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>ChaCha20\u306e\u30d0\u30ea\u30a2\u30f3\u30c8<\/th>\n<th>\u30ca\u30f3\u30b9\u30b5\u30a4\u30ba (\u30d3\u30c3\u30c8)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30c1\u30e320<\/td>\n<td>64<\/td>\n<\/tr>\n<tr>\n<td>ChaCha20-IETF<\/td>\n<td>96<\/td>\n<\/tr>\n<tr>\n<td>ChaCha20-\u30dd\u30ea1305<\/td>\n<td>64<\/td>\n<\/tr>\n<tr>\n<td>ChaCha20-\u30dd\u30ea1305-IETF<\/td>\n<td>96<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oneproxy.pro\/wp-content\/uploads\/2023\/08\/ChaCha20-Poly1305_Encryption.svg.png\" alt=\"\u30c1\u30e3\u30c1\u30e320\u30dd\u30ea1305\" width=\"550\" height=\"418\" class=\"alignnone size-full wp-image-505407\" title=\"\" srcset=\"https:\/\/oneproxy.pro\/wp-content\/uploads\/2023\/08\/ChaCha20-Poly1305_Encryption.svg.png 550w, https:\/\/oneproxy.pro\/wp-content\/uploads\/2023\/08\/ChaCha20-Poly1305_Encryption.svg-150x114.png 150w, https:\/\/oneproxy.pro\/wp-content\/uploads\/2023\/08\/ChaCha20-Poly1305_Encryption.svg-16x12.png 16w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/h2>\n<h2>ChaCha20\u306e\u4f7f\u3044\u65b9\u3068\u4f7f\u7528\u4e0a\u306e\u30c8\u30e9\u30d6\u30eb\u3068\u305d\u306e\u89e3\u6c7a\u65b9\u6cd5<\/h2>\n<p>ChaCha20 \u306f\u3001\u5b89\u5168\u306a\u901a\u4fe1\u3068\u30c7\u30fc\u30bf\u4fdd\u8b77\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u3001\u3055\u307e\u3056\u307e\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u4e00\u822c\u7684\u306a\u4f7f\u7528\u4f8b\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u5b89\u5168\u306a\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb<\/strong>: ChaCha20 \u306f\u3001Web \u901a\u4fe1\u3092\u4fdd\u8b77\u3059\u308b\u305f\u3081\u306b TLS\/SSL \u6697\u53f7\u30b9\u30a4\u30fc\u30c8\u3067\u4f7f\u7528\u3055\u308c\u3001\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3068\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002<\/li>\n<li><strong>VPN\u6697\u53f7\u5316<\/strong>: \u591a\u304f\u306e\u4eee\u60f3\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af (VPN) \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u30c7\u30fc\u30bf\u9001\u4fe1\u3092\u4fdd\u8b77\u3059\u308b\u305f\u3081\u306b ChaCha20 \u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>\u30c7\u30a3\u30b9\u30af\u6697\u53f7\u5316<\/strong>: ChaCha20 \u306f\u30d5\u30eb\u30c7\u30a3\u30b9\u30af\u6697\u53f7\u5316\u306b\u9069\u3057\u3066\u304a\u308a\u3001\u30b9\u30c8\u30ec\u30fc\u30b8 \u30c7\u30d0\u30a4\u30b9\u4e0a\u306e\u6a5f\u5bc6\u30c7\u30fc\u30bf\u3092\u4fdd\u8b77\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u5b89\u5168\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0<\/strong>: ChaCha20 \u3092\u5229\u7528\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30c8 \u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u3084\u96fb\u5b50\u30e1\u30fc\u30eb\u901a\u4fe1\u3092\u6697\u53f7\u5316\u3057\u3001\u6a5f\u5bc6\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9\u304b\u3089\u4fdd\u8b77\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>ChaCha20 \u306e\u4f7f\u7528\u306b\u95a2\u9023\u3059\u308b\u6f5c\u5728\u7684\u306a\u554f\u984c\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u30ca\u30f3\u30b9\u306e\u518d\u5229\u7528<\/strong>: \u540c\u3058\u30ad\u30fc\u3067\u540c\u3058 nonce \u3092\u518d\u5229\u7528\u3059\u308b\u3068\u3001\u6697\u53f7\u5316\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u5371\u967a\u306b\u3055\u3089\u3055\u308c\u307e\u3059\u3002\u5404\u6697\u53f7\u5316\u64cd\u4f5c\u306b\u4e00\u610f\u306e nonce \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/li>\n<li><strong>\u9375\u306e\u7ba1\u7406<\/strong>: \u6697\u53f7\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u7dad\u6301\u3059\u308b\u306b\u306f\u3001\u9069\u5207\u306a\u30ad\u30fc\u7ba1\u7406\u3092\u5b9f\u8df5\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/li>\n<li><strong>\u5b9f\u88c5\u306e\u554f\u984c<\/strong>: ChaCha20 \u306e\u5b9f\u88c5\u306b\u6b20\u9665\u3084\u8106\u5f31\u6027\u304c\u3042\u308b\u3068\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u8106\u5f31\u6027\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u6697\u53f7\u89e3\u6790\u306e\u9032\u6b69<\/strong>: \u4ed6\u306e\u6697\u53f7\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u540c\u69d8\u306b\u3001\u5c06\u6765\u306e\u6697\u53f7\u89e3\u6790\u306e\u9032\u6b69\u306b\u3088\u308a\u3001ChaCha20 \u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u5f31\u307e\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u3053\u308c\u3089\u306e\u554f\u984c\u306b\u5bfe\u51e6\u3059\u308b\u306b\u306f\u3001\u6697\u53f7\u30ad\u30fc\u7ba1\u7406\u306e\u30d9\u30b9\u30c8 \u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3044\u3001\u5b89\u5168\u3067\u5341\u5206\u306b\u7cbe\u67fb\u3055\u308c\u305f\u5b9f\u88c5\u3092\u9078\u629e\u3057\u3001ChaCha20 \u306b\u95a2\u9023\u3059\u308b\u6f5c\u5728\u7684\u306a\u8106\u5f31\u6027\u3084\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u5e38\u306b\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u305d\u306e\u4ed6\u306e\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03\u3092\u8868\u3068\u30ea\u30b9\u30c8\u306e\u5f62\u5f0f\u3067\u793a\u3057\u307e\u3059\u3002<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u6027<\/th>\n<th>\u30c1\u30e3\u30c1\u30e320<\/th>\n<th>AES<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30ad\u30fc\u306e\u30b5\u30a4\u30ba<\/td>\n<td>256\u30d3\u30c3\u30c8<\/td>\n<td>128\u3001192\u3001\u307e\u305f\u306f256\u30d3\u30c3\u30c8<\/td>\n<\/tr>\n<tr>\n<td>\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba<\/td>\n<td>512\u30d3\u30c3\u30c8\uff0864\u30d0\u30a4\u30c8\uff09<\/td>\n<td>128\u30d3\u30c3\u30c8\uff0816\u30d0\u30a4\u30c8\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5ea6<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u9ad8\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/td>\n<td>\u901f\u3044<\/td>\n<td>\u901f\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u8981\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb<\/td>\n<td>\u4e0d\u8981<\/td>\n<td>\u5fc5\u9808<\/td>\n<\/tr>\n<tr>\n<td>\u30bf\u30a4\u30df\u30f3\u30b0\u653b\u6483\u306b\u5bfe\u3059\u308b\u8010\u6027<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30eb\u653b\u6483\u3078\u306e\u8010\u6027<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u306f\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u63a1\u7528\u3068\u4eba\u6c17<\/td>\n<td>\u307e\u3059\u307e\u3059\u4eba\u6c17\u304c\u9ad8\u307e\u3063\u3066\u3044\u307e\u3059<\/td>\n<td>\u5e83\u304f\u63a1\u7528\u3055\u308c\u3066\u3044\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>ChaCha20\u306b\u95a2\u9023\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u304c\u9032\u6b69\u3057\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u8105\u5a01\u304c\u9032\u5316\u3057\u3066\u3082\u3001ChaCha20 \u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u308a\u3001\u4eca\u5f8c\u3082\u91cd\u8981\u306a\u5b58\u5728\u3067\u3042\u308a\u7d9a\u3051\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30eb\u653b\u6483\u306b\u5bfe\u3059\u308b\u8010\u6027\u3068\u52b9\u7387\u7684\u306a\u5b9f\u88c5\u306b\u3088\u308a\u3001\u591a\u304f\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3068\u3063\u3066\u9b45\u529b\u7684\u306a\u9078\u629e\u80a2\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u5b89\u5168\u306a\u901a\u4fe1\u3068\u30c7\u30fc\u30bf\u4fdd\u8b77\u306b\u5bfe\u3059\u308b\u9700\u8981\u306e\u9ad8\u307e\u308a\u306b\u4f34\u3044\u3001ChaCha20\u306fWeb\u901a\u4fe1\u3001VPN\u30b5\u30fc\u30d3\u30b9\u3001\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u306e\u3055\u307e\u3056\u307e\u306a\u5206\u91ce\u3067\u4eca\u5f8c\u3082\u63a1\u7528\u304c\u9032\u3080\u3053\u3068\u304c\u4e88\u60f3\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u306e\u4f7f\u7528\u65b9\u6cd5\u3084ChaCha20\u3068\u306e\u95a2\u9023\u4ed8\u3051\u65b9\u6cd5<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4fdd\u8b77\u3068\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u306e\u5f37\u5316\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306b ChaCha20 \u6697\u53f7\u5316\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3055\u3089\u306a\u308b\u4fdd\u8b77\u30ec\u30a4\u30e4\u30fc\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c ChaCha20 \u6697\u53f7\u5316\u3092\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3059\u308b\u3068\u3001\u30c7\u30fc\u30bf\u306f\u5b89\u5168\u306b\u6697\u53f7\u5316\u3055\u308c\u3066\u304b\u3089\u5b9b\u5148\u30b5\u30fc\u30d0\u30fc\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u6a5f\u5bc6\u60c5\u5831\u306e\u9001\u4fe1\u4e2d\u306e\u6a5f\u5bc6\u6027\u304c\u78ba\u4fdd\u3055\u308c\u3001\u76d7\u8074\u3084\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9\u306e\u30ea\u30b9\u30af\u304c\u8efd\u6e1b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001ChaCha20 \u306e\u52b9\u7387\u6027\u3092\u6d3b\u7528\u3057\u3066\u9ad8\u901f\u304b\u3064\u5b89\u5168\u306a\u30c7\u30fc\u30bf\u6697\u53f7\u5316\u3092\u63d0\u4f9b\u3057\u3001\u30b7\u30fc\u30e0\u30ec\u30b9\u306a\u30e6\u30fc\u30b6\u30fc \u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001ChaCha20 \u306f\u30bf\u30a4\u30df\u30f3\u30b0\u653b\u6483\u3084\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30eb\u653b\u6483\u306b\u5bfe\u3059\u308b\u8010\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3067\u306e\u5c0e\u5165\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>ChaCha20\u3001\u6697\u53f7\u5316\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3001\u304a\u3088\u3073\u95a2\u9023\u30c8\u30d4\u30c3\u30af\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/cr.yp.to\/chacha\/chacha-20080128.pdf\" target=\"_new\" rel=\"noopener nofollow\">ChaCha\u3001Salsa20 \u306e\u4e9c\u7a2e \u2013 Daniel J. Bernstein \u306b\u3088\u308b\u8ad6\u6587<\/a><\/li>\n<li><a href=\"https:\/\/www.ecrypt.eu.org\/stream\/p3ciphers\/salsa20\/salsa20_p3.pdf\" target=\"_new\" rel=\"noopener nofollow\">Salsa20 \u30d5\u30a1\u30df\u30ea\u30fc\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u6697\u53f7 \u2013 eSTREAM \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a><\/li>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc8439\" target=\"_new\" rel=\"noopener nofollow\">IETF \u30d7\u30ed\u30c8\u30b3\u30eb\u7528\u306e ChaCha20 \u304a\u3088\u3073 Poly1305 \u2013 RFC 8439<\/a><\/li>\n<li><a href=\"https:\/\/www.crypto-textbook.com\/\" target=\"_new\" rel=\"noopener nofollow\">\u6697\u53f7\u3092\u7406\u89e3\u3059\u308b \u2013 \u30af\u30ea\u30b9\u30c8\u30d5\u30fb\u30d1\u30fc\u30eb\u3068\u30e4\u30f3\u30fb\u30da\u30eb\u30c4\u30eb\u306b\u3088\u308b\u6559\u79d1\u66f8<\/a><\/li>\n<\/ol>\n<p>\u3053\u308c\u3089\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u5b66\u3076\u3053\u3068\u3067\u3001ChaCha20 \u3068\u6700\u65b0\u306e\u6697\u53f7\u5316\u306e\u5206\u91ce\u306b\u304a\u3051\u308b\u305d\u306e\u91cd\u8981\u6027\u306b\u3064\u3044\u3066\u3088\u308a\u6df1\u304f\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"featured_media":476207,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-476206","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>ChaCha20: Secure and Efficient Stream Cipher for Modern Encryption<\/mark>","faq_items":[{"question":"What is ChaCha20 and why is it popular for encryption?","answer":"ChaCha20 is a stream cipher and symmetric encryption algorithm designed by Daniel J. Bernstein. It gained popularity due to its strong security and high performance. It efficiently generates a stream of random bits based on a secret key and nonce, making it ideal for securing internet communications, VPNs, and various other applications that require fast and robust encryption."},{"question":"How does ChaCha20 differ from AES?","answer":"ChaCha20 and AES are both encryption algorithms, but they have some key differences. ChaCha20 uses a 256-bit key and a 64-bit or 96-bit nonce, while AES supports key sizes of 128, 192, and 256 bits. ChaCha20 has a larger block size of 512 bits, compared to AES's 128-bit block size. Both algorithms are secure and widely used, but ChaCha20 is gaining popularity for its simplicity, performance, and resistance to certain types of attacks."},{"question":"Can ChaCha20 be used for disk encryption?","answer":"Yes, ChaCha20 can be used for full-disk encryption. Its strong security properties and efficient implementation make it a viable option for protecting sensitive data on storage devices. Many disk encryption software and tools now offer ChaCha20 as one of the encryption algorithms to secure data at rest."},{"question":"Is ChaCha20 resistant to timing attacks and side-channel attacks?","answer":"Yes, ChaCha20 is designed to be resistant to timing attacks and side-channel attacks. The algorithm's structure and operations ensure that the execution time and power consumption are independent of the secret key, making it difficult for attackers to exploit timing variations or side-channel leakage to extract sensitive information."},{"question":"What are the different types of ChaCha20 variants?","answer":"There are several ChaCha20 variants, mainly based on the nonce size they support. The most common ones include:\r\n<ul>\r\n \t<li>ChaCha20 with a 64-bit nonce<\/li>\r\n \t<li>ChaCha20 with a 96-bit nonce<\/li>\r\n \t<li>ChaCha20-Poly1305 with a 64-bit nonce<\/li>\r\n \t<li>ChaCha20-Poly1305 with a 96-bit nonce<\/li>\r\n<\/ul>\r\nEach variant is suited for specific use cases, and the choice depends on the application's requirements and security considerations."},{"question":"How can proxy servers benefit from ChaCha20 encryption?","answer":"Proxy servers can enhance security by implementing ChaCha20 encryption. When users connect to a proxy server that uses ChaCha20, their data is securely encrypted before being forwarded to the destination server. This ensures that sensitive information remains confidential during transmission, reducing the risk of eavesdropping and unauthorized access. Additionally, ChaCha20's efficiency allows proxy servers to provide fast and seamless data encryption for a better user experience."},{"question":"Is ChaCha20 expected to remain relevant in the future?","answer":"Yes, ChaCha20 is expected to remain relevant in the future. As technology evolves, the demand for secure communications and data protection will continue to grow. ChaCha20's strong security guarantees, efficiency, and resistance to certain attacks make it an attractive choice for various applications, ensuring its continued adoption and use in modern encryption solutions."}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/476206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":1,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/476206\/revisions"}],"predecessor-version":[{"id":505408,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/476206\/revisions\/505408"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/476207"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=476206"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}