aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/window
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2021-10-02 00:48:46 +0000
committerMDN <actions@users.noreply.github.com>2021-10-02 00:48:46 +0000
commit589e24fc829e1a5ff9827985f453720a4a6c804e (patch)
tree6c288a0033eb6e20b75a082a92839f1ce4c695db /files/ja/web/api/window
parente37aebdf4ed894fbf9f917ccb5b4b4d0ddbdfb32 (diff)
downloadtranslated-content-589e24fc829e1a5ff9827985f453720a4a6c804e.tar.gz
translated-content-589e24fc829e1a5ff9827985f453720a4a6c804e.tar.bz2
translated-content-589e24fc829e1a5ff9827985f453720a4a6c804e.zip
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/api/window')
-rw-r--r--files/ja/web/api/window/crypto/index.html74
1 files changed, 0 insertions, 74 deletions
diff --git a/files/ja/web/api/window/crypto/index.html b/files/ja/web/api/window/crypto/index.html
deleted file mode 100644
index daa31c46d2..0000000000
--- a/files/ja/web/api/window/crypto/index.html
+++ /dev/null
@@ -1,74 +0,0 @@
----
-title: window.crypto
-slug: Web/API/Window/crypto
-tags:
- - API
- - HTML DOM
- - Property
- - Reference
- - Window
-translation_of: Web/API/Window/crypto
----
-<div>{{APIRef}}</div>
-
-<p><code>Window.crypto</code> 読み取り専用プロパティは、グローバルオブジェクトに関連付けられた {{domxref("Crypto")}} オブジェクトを返します。このオブジェクトは、ウェブページが暗号に関連したサービスにアクセスできるようにします。 {{domxref("Window.crypto")}} プロパティ自体は読み取り専用ですが、そのメソッドすべて(加えて子オブジェクトのメソッドと {{domxref("SubtleCrypto")}} )は読み取り専用では有りません。故に polyfill による攻撃に対し脆弱です。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="syntaxbox">var <em>cryptoObj</em> = window.crypto || window.msCrypto; // for IE 11
-</pre>
-
-<h2 id="Example" name="Example">例</h2>
-
-<h4 id="domxref(Window.crypto)_プロパティを使用して_getRandomValues()_メソッドにアクセスする">{{domxref("Window.crypto")}} プロパティを使用して <a href="/ja/docs/Web/API/RandomSource/getRandomValues">getRandomValues()</a> メソッドにアクセスする</h4>
-
-<h3 id="JavaScript" name="JavaScript">JavaScript</h3>
-
-<pre class="brush: js">genRandomNumbers = function getRandomNumbers() {
- var array = new Uint32Array(10);
- window.crypto.getRandomValues(array);
-
- var randText = document.getElementById("myRandText");
- randText.innerHTML = "The random numbers are: "
- for (var i = 0; i &lt; array.length; i++) {
- randText.innerHTML += array[i] + " ";
- }
-}</pre>
-
-<h3 id="HTML" name="HTML">HTML</h3>
-
-<pre class="brush: html">&lt;p id="myRandText"&gt;The random numbers are: &lt;/p&gt;
-&lt;button type="button" onClick='genRandomNumbers()'&gt;Generate 10 random numbers&lt;/button&gt;</pre>
-
-<h3 id="Result" name="Result">実行結果</h3>
-
-<p>{{ EmbedLiveSample('Example') }}</p>
-
-<h2 id="Specifications" name="Specifications">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">策定状況</th>
- <th scope="col">備考</th>
- </tr>
- <tr>
- <td>{{SpecName("Web Crypto API", "#dfn-GlobalCrypto", "Window.crypto")}}</td>
- <td>{{Spec2("Web Crypto API")}}</td>
- <td>初期定義</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの実装状況</h2>
-
-
-
-<p>{{Compat("api.Window.crypto")}}</p>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li>{{domxref("Window")}} グローバルオブジェクト</li>
-</ul>