ECDSA Verify

Verifica firma o tag con la chiave corretta; non sostituisce l’autorizzazione.

Input: TestoRisultato: Testo

Inserimento di testo

Opzioni

Esempi

Example keys and passwords are public test material.

JSON signature missing r

Input

{"s":"00b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d"}

Expected rejection

Message contains
No "r" value in the signature JSON
Formato di input
Auto
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
JSON signature missing s

Input

{"r":"00e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127"}

Expected rejection

Message contains
No "s" value in the signature JSON
Formato di input
Auto
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
P-256 with SHA256 (ASN.1 signature)

Input

3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected answer

Verified OK
Formato di input
Auto
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
P-256 with SHA256 (JSON signature)

Input

{"r":"00e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127","s":"00b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d"}

Expected answer

Verified OK
Formato di input
Auto
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
P-256 with SHA256 (JWS signature)

Input

4GkFYIovp9vanihMKnlZ37aPtSel8AOy15df8TUUUSe2uqJTeTM0-Lk-od1iK8YAEk2AkLq9gH7-P3e4syQ4jQ

Expected answer

Verified OK
Formato di input
Auto
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
P-256 with SHA256 (P1363 signature)

Input

e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected answer

Verified OK
Formato di input
Auto
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
Using an RSA key fails

Input

3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected rejection

Message contains
Provided key is not an EC key.
Formato di input
ASN.1 HEX
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAPKr0Dp6YdItzOfk6a7ma7L4BF4LnelM YKtboGLrk6ihtqFPZFRLNcJi68Hvnt8stMrP50t6jqwWQ2EjMdkj6fsCAwEAAQ== -----END PUBLIC KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw
Using private key fails

Input

3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected rejection

Message contains
Provided key is not a public key.
Formato di input
ASN.1 HEX
Algoritmo di digestione del messaggio
SHA-256
Chiave pubblica ECDSA (PEM)
-----BEGIN EC PRIVATE KEY----- MHcCAQEEINtTjwUkgfAiSwqgcGAXWyE0ueIW6n2k395dmQZ3vGr4oAoGCCqGSM49 AwEHoUQDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJgusgcAE8H6810fkJ8ZmTNiCC a6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END EC PRIVATE KEY-----
Messaggio
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Formato del messaggio
Raw

Parametri

ParametroValore predefinitoInput e opzioni
Formato di inputAutomaticoAutomatico, ASN.1 HEX, P1363 HEX, Firma Web JSON, JSON grezzo
Algoritmo di digestione del messaggioSHA-256SHA-256, SHA-384, SHA-512, SHA-1, MD5
Chiave pubblica ECDSA (PEM)"-----BEGIN PUBLIC KEY-----"Testo
Messaggio""Testo
Formato del messaggioDati grezziDati grezzi, Esadecimale, Base64

Strumenti correlati

Chiave pubblica

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)