Generar par de claves RSA

Genera datos según el algoritmo o formato definido por “Generar par de claves RSA”.

Entrada: TextoResultado: Texto

Entrada de texto

Opciones

Ejemplos

Example keys and passwords are public test material.

Generate a disposable demonstration key. Native Web Crypto imports the private key and checks its modulus length and a sign/verify round trip. A 1024-bit key is obsolete for new security designs; do not retain these example keys.

1024-bit RSA keys as PEM

Entrada

Expected checks

RSA 1024 bits
Native key import and signing/verification succeed.
Longitud de clave RSA
1024
Formato de salida
PEM
2048-bit RSA keys as PEM

Entrada

Expected checks

RSA 2048 bits
Native key import and signing/verification succeed.
Longitud de clave RSA
2048
Formato de salida
PEM
4096-bit RSA keys as PEM

Entrada

Expected checks

RSA 4096 bits
Native key import and signing/verification succeed.
Longitud de clave RSA
4096
Formato de salida
PEM
1024-bit RSA keys as DER

Entrada

Expected checks

RSA 1024 bits
Native key import and signing/verification succeed.
Longitud de clave RSA
1024
Formato de salida
DER
2048-bit RSA keys as DER

Entrada

Expected checks

RSA 2048 bits
Native key import and signing/verification succeed.
Longitud de clave RSA
2048
Formato de salida
DER

Parámetros

ParámetroValor predeterminadoEntrada y opciones
Longitud de clave RSA10241024, 2048, 4096
Formato de salidaPEMPEM, JSON, DER

Herramientas relacionadas

Clave pública

Referencia de la operación

Ver la documentación técnica original (English)