diff options
author | MDN <actions@users.noreply.github.com> | 2021-10-02 00:48:46 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-10-02 00:48:46 +0000 |
commit | 589e24fc829e1a5ff9827985f453720a4a6c804e (patch) | |
tree | 6c288a0033eb6e20b75a082a92839f1ce4c695db /files/fr/web/api/crypto_property | |
parent | e37aebdf4ed894fbf9f917ccb5b4b4d0ddbdfb32 (diff) | |
download | translated-content-589e24fc829e1a5ff9827985f453720a4a6c804e.tar.gz translated-content-589e24fc829e1a5ff9827985f453720a4a6c804e.tar.bz2 translated-content-589e24fc829e1a5ff9827985f453720a4a6c804e.zip |
[CRON] sync translated content
Diffstat (limited to 'files/fr/web/api/crypto_property')
-rw-r--r-- | files/fr/web/api/crypto_property/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/files/fr/web/api/crypto_property/index.html b/files/fr/web/api/crypto_property/index.html new file mode 100644 index 0000000000..80365515c5 --- /dev/null +++ b/files/fr/web/api/crypto_property/index.html @@ -0,0 +1,44 @@ +--- +title: Window.crypto +slug: Web/API/crypto_property +translation_of: Web/API/Window/crypto +original_slug: Web/API/Window/crypto +--- +<p>{{APIRef}}</p> + +<p>La propriété, en lecture seule, {{domxref("Window.crypto")}} retourne l'objet {{domxref("Crypto")}} associé à l'objet global. Cet objet permet aux pages web d'avoir un accès à certains services liés à cryptographie.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="syntaxbox">var <em>cryptoObj</em> = window.crypto || window.msCrypto; // pour IE 11 +</pre> + +<h2 id="Specification">Spécifications</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Spécification</th> + <th scope="col">Statut</th> + <th scope="col">Commentaire</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName("Web Crypto API", "#dfn-GlobalCrypto", "Window.crypto")}}</td> + <td>{{Spec2("Web Crypto API")}}</td> + <td>Définition initiale</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> + +<p>{{Compat("api.Window.crypto")}}</p> + +<h2 id="See_also">Voir aussi</h2> + +<ul> + <li>L'objet global {{domxref("Window")}}</li> + <li>L'interface {{domxref("Crypto")}}</li> +</ul> |