From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/es/web/api/crypto/index.html | 66 +++++++++++++++++++++++++++++++ files/es/web/api/crypto/subtle/index.html | 51 ++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 files/es/web/api/crypto/index.html create mode 100644 files/es/web/api/crypto/subtle/index.html (limited to 'files/es/web/api/crypto') diff --git a/files/es/web/api/crypto/index.html b/files/es/web/api/crypto/index.html new file mode 100644 index 0000000000..3eb118b7b7 --- /dev/null +++ b/files/es/web/api/crypto/index.html @@ -0,0 +1,66 @@ +--- +title: Crypto +slug: Web/API/Crypto +tags: + - API + - Interfaz + - Referencia + - Web Crypto API +translation_of: Web/API/Crypto +--- +

{{APIRef("Web Crypto API")}}

+ +

La interfaz Crypto representa las características básicas de criptografía disponibles en el contexto actual. Permite acceder a un generador de números aleatorios criptográficamente fuerte y a primitivos criptográficos.

+ +

Un objeto con esta interfaz está disponible en el contexto de la Web a través de la propiedad {{domxref("Window.crypto")}}.

+ +

Propiedades

+ +

Esta interfaz implementa las propiedades definidas en {{domxref("RandomSource")}}.

+ +
+
{{domxref("Crypto.subtle")}} {{readOnlyInline}}
+
Retorna un {{domxref("SubtleCrypto")}} objeto proporcionando acceso a primitivos criptográficos comunes, como el hashing, el firmado, cifrado o descifrado.
+
+ +

Métodos

+ +

Esta interfaz implementa las propiedades definidas en {{domxref("RandomSource")}}.

+ +
+
{{domxref("Crypto.getRandomValues()")}}
+
Llena el pasado {{ jsxref("TypedArray") }} valores aleatorio sólidos criptográficamente.
+
+ +

Especificaciones

+ + + + + + + + + + + + + + + + +
EspecificaciónEstadoComentario
{{SpecName("Web Crypto API", "#crypto-interface", "Crypto")}}{{Spec2("Web Crypto API")}}Definición inicial
+ +

Compatibilidad del navegador

+ +
+ + +

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

+
+ +

Ver también

+ + diff --git a/files/es/web/api/crypto/subtle/index.html b/files/es/web/api/crypto/subtle/index.html new file mode 100644 index 0000000000..af1106f076 --- /dev/null +++ b/files/es/web/api/crypto/subtle/index.html @@ -0,0 +1,51 @@ +--- +title: Crypto.subtle +slug: Web/API/Crypto/subtle +tags: + - API + - Criptografía + - Propiedad + - Referencia + - Sólo-Lectura + - Web Crypto API +translation_of: Web/API/Crypto/subtle +--- +

{{APIRef("Web Crypto API")}}

+ +

La propiedad de sólo lectura Crypto.subtle retorna un objeto {{domxref("SubtleCrypto")}} permitiendo realizar operaciones criptográficas.

+ +

Sintaxis

+ +
var crypto = crypto.subtle;
+ +

Especificaciones

+ + + + + + + + + + + + + + +
EspecificaciónEstadoComentario
{{ SpecName('Web Crypto API', '#dfn-Crypto', 'Crypto.subtle') }}{{ Spec2('Web Crypto API') }}Definición inicial.
+ +

Compatibilidad del navegador

+ + + +

{{Compat("api.Crypto.subtle")}}

+ +

Ver también

+ + -- cgit v1.2.3-54-g00ecf