diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/crypto/index.md | |
parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip |
convert content to md
Diffstat (limited to 'files/fr/web/api/crypto/index.md')
-rw-r--r-- | files/fr/web/api/crypto/index.md | 78 |
1 files changed, 29 insertions, 49 deletions
diff --git a/files/fr/web/api/crypto/index.md b/files/fr/web/api/crypto/index.md index f31a2ebaf6..bc9773c7ba 100644 --- a/files/fr/web/api/crypto/index.md +++ b/files/fr/web/api/crypto/index.md @@ -3,52 +3,32 @@ title: Crypto slug: Web/API/Crypto translation_of: Web/API/Crypto --- -<p>{{APIRef("Web Crypto API")}}</p> - -<p>L'interface <code><strong>Crypto</strong></code> représente les fonctions cryptographiques de base dans notre contexte actuel. Elle permet d'accéder à de solides générateur de nombres aléatoires dédiés à la cryptographie ainsi qu'aux principales primitives cryptographiques.</p> - -<p>Un objet avec cette interface est disponible dans le contexte web de la page via la propriété {{domxref("Window.crypto")}}.</p> - -<h2 id="Propriétés">Propriétés</h2> - -<p><em>Cette interface implémente les propriétés définies dans {{domxref("RandomSource")}}.</em></p> - -<dl> - <dt>{{domxref("Crypto.subtle")}} {{experimental_inline}}{{readOnlyInline}}</dt> - <dd>Retourne un objet {{domxref("SubtleCrypto")}} procurant un accès aux principales primitives cryptographiques, comme le hashage, les signatures, le chiffrement ou le déchiffrement.</dd> -</dl> - -<h2 id="Methodes">Methodes</h2> - -<p><em>Cette interface implémente les méthodes définies dans {{domxref("RandomSource")}}.</em></p> - -<dl> - <dt>{{domxref("RandomSource.getRandomValues()") }}</dt> - <dd>Rempli le {{ jsxref("TypedArray") }} passé avec des valeurs aléatoires utilisables pour la cryptographie.</dd> -</dl> - -<h2 id="Spécifications">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", "#crypto-interface", "Crypto")}}</td> - <td>{{Spec2("Web Crypto API")}}</td> - <td>Definition<br> - initiale</td> - </tr> -</tbody> -</table> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li><a href="/en-US/docs/Components.utils.importGlobalProperties">Components.utils.importGlobalProperties</a></li> -</ul>
\ No newline at end of file +{{APIRef("Web Crypto API")}} + +L'interface **`Crypto`** représente les fonctions cryptographiques de base dans notre contexte actuel. Elle permet d'accéder à de solides générateur de nombres aléatoires dédiés à la cryptographie ainsi qu'aux principales primitives cryptographiques. + +Un objet avec cette interface est disponible dans le contexte web de la page via la propriété {{domxref("Window.crypto")}}. + +## Propriétés + +_Cette interface implémente les propriétés définies dans {{domxref("RandomSource")}}._ + +- {{domxref("Crypto.subtle")}} {{experimental_inline}}{{readOnlyInline}} + - : Retourne un objet {{domxref("SubtleCrypto")}} procurant un accès aux principales primitives cryptographiques, comme le hashage, les signatures, le chiffrement ou le déchiffrement. + +## Methodes + +_Cette interface implémente les méthodes définies dans {{domxref("RandomSource")}}._ + +- {{domxref("RandomSource.getRandomValues()") }} + - : Rempli le {{ jsxref("TypedArray") }} passé avec des valeurs aléatoires utilisables pour la cryptographie. + +## Spécifications + +| Spécification | Statut | Commentaire | +| -------------------------------------------------------------------------------- | ------------------------------------ | ------------------- | +| {{SpecName("Web Crypto API", "#crypto-interface", "Crypto")}} | {{Spec2("Web Crypto API")}} | Definition initiale | + +## Voir aussi + +- [Components.utils.importGlobalProperties](/en-US/docs/Components.utils.importGlobalProperties) |