aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/crypto_property/index.html
blob: ae5efd15d7b86315896cd368ea612b62cec314cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
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 propiedad de sólo lectura {{domxref("Window.crypto")}} devuelve el objeto <a href="/es/docs/Web/API/Crypto">Crypto</a> asociado a un objeto global. Este objeto permite a las páginas web acceder a ciertos servicios relacionados con criptografía.</p>

<h2 id="Sintaxis">Sintaxis</h2>

<pre class="syntaxbox">var <em>cryptoObj</em> = window.crypto || window.msCrypto; // para IE 11
</pre>

<h2 id="Specification" name="Specification">Especificaciones</h2>

<table class="spec-table standard-table">
 <tbody>
  <tr>
   <th scope="col">Especificación</th>
   <th scope="col">Estado</th>
   <th scope="col">Comentario</th>
  </tr>
  <tr>
   <td>{{SpecName('Web Crypto API')}}</td>
   <td>{{Spec2('Web Crypto API')}}</td>
   <td>Definición Inicial</td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilidad_de_Navegadores">Compatibilidad de Navegadores</h2>

{{Compat("api.crypto")}}

<h2 id="Ver_También">Ver También</h2>

<ul>
 <li>El objeto Global {{domxref("Window")}}</li>
</ul>