أمثلة
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
المدخلات
Expected checks
RSA 1024 bits
Native key import and signing/verification succeed.- طول مفتاح RSA
1024- تنسيق الإخراج
PEM
2048-bit RSA keys as PEM
المدخلات
Expected checks
RSA 2048 bits
Native key import and signing/verification succeed.- طول مفتاح RSA
2048- تنسيق الإخراج
PEM
4096-bit RSA keys as PEM
المدخلات
Expected checks
RSA 4096 bits
Native key import and signing/verification succeed.- طول مفتاح RSA
4096- تنسيق الإخراج
PEM
1024-bit RSA keys as DER
المدخلات
Expected checks
RSA 1024 bits
Native key import and signing/verification succeed.- طول مفتاح RSA
1024- تنسيق الإخراج
DER
2048-bit RSA keys as DER
المدخلات
Expected checks
RSA 2048 bits
Native key import and signing/verification succeed.- طول مفتاح RSA
2048- تنسيق الإخراج
DER
المعاملات
| المعامل | القيمة الافتراضية | المدخلات والخيارات |
|---|---|---|
| طول مفتاح RSA | 1024 | 1024, 2048, 4096 |
| تنسيق الإخراج | PEM | PEM, JSON, دير |