Vérifier ECDSA

Vérifie signature ou code avec la clé adaptée, sans remplacer l’autorisation applicative.

Entrée: TexteRésultat: Texte

Saisie de texte

Options

Exemples

Example keys and passwords are public test material.

JSON signature missing r

Entrée

{"s":"00b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d"}

Expected rejection

Message contains
No "r" value in the signature JSON
Format d'entrée
Auto
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
JSON signature missing s

Entrée

{"r":"00e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127"}

Expected rejection

Message contains
No "s" value in the signature JSON
Format d'entrée
Auto
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
P-256 with SHA256 (ASN.1 signature)

Entrée

3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected answer

Verified OK
Format d'entrée
Auto
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
P-256 with SHA256 (JSON signature)

Entrée

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

Expected answer

Verified OK
Format d'entrée
Auto
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
P-256 with SHA256 (JWS signature)

Entrée

4GkFYIovp9vanihMKnlZ37aPtSel8AOy15df8TUUUSe2uqJTeTM0-Lk-od1iK8YAEk2AkLq9gH7-P3e4syQ4jQ

Expected answer

Verified OK
Format d'entrée
Auto
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
P-256 with SHA256 (P1363 signature)

Entrée

e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected answer

Verified OK
Format d'entrée
Auto
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
Using an RSA key fails

Entrée

3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected rejection

Message contains
Provided key is not an EC key.
Format d'entrée
ASN.1 HEX
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN PUBLIC KEY----- MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAPKr0Dp6YdItzOfk6a7ma7L4BF4LnelM YKtboGLrk6ihtqFPZFRLNcJi68Hvnt8stMrP50t6jqwWQ2EjMdkj6fsCAwEAAQ== -----END PUBLIC KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw
Using private key fails

Entrée

3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d

Expected rejection

Message contains
Provided key is not a public key.
Format d'entrée
ASN.1 HEX
Algorithme de hachage du message
SHA-256
Clé publique ECDSA (PEM)
-----BEGIN EC PRIVATE KEY----- MHcCAQEEINtTjwUkgfAiSwqgcGAXWyE0ueIW6n2k395dmQZ3vGr4oAoGCCqGSM49 AwEHoUQDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJgusgcAE8H6810fkJ8ZmTNiCC a6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END EC PRIVATE KEY-----
Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
Format du message
Raw

Paramètres

ParamètreValeur par défautEntrée et choix
Format d'entréeAutoAuto, ASN.1 HEX, P1363 HEX, Signature Web JSON, JSON brut
Algorithme de hachage du messageSHA-256SHA-256, SHA-384, SHA-512, SHA-1, MD5
Clé publique ECDSA (PEM)"-----BEGIN PUBLIC KEY-----"Texte
Message""Texte
Format du messageDonnées brutesDonnées brutes, Hex, Base64

Outils associés

Clé publique

Référence de l’opération

Voir la documentation technique originale (English)