Questions tagged [prime256v1]
4 questions
2
votes
2 answers
ECDSA signature generated with mbedtls not verifiable in JOSE (while code worked with RSA key)
I have a small application running on an ESP32 dev board (I use the Arduino IDE together with the shipped mbedtls) that issues and verifies JWT tokens. I have at first used RSA signatures successfully, but now wanted to go for shorter signatures and…

mkuhlmann
- 23
- 5
1
vote
0 answers
why iOS and Android prime256v1 different
In android I am using the following code to generate KeyPair
fun generateKeyPair(): KeyPair {
val keyGen = KeyPairGenerator.getInstance("ECDH", BouncyCastleProvider())
val ecSpec = ECGenParameterSpec("prime256v1")
…

Umar Ata
- 4,170
- 3
- 23
- 35
1
vote
1 answer
openssl command for encryption/decryption with prime256v1 private key?
I want to encrypt a simply message with an EC private key, specifically, prime256v1 by CMD; and decrypt with the corresponding EC public key.
I have only found references for RSA in the asymmetric cryptographic case or encryption with an ec public…

irene gómez
- 31
- 1
- 7
0
votes
1 answer
c# generate key pair using ecdh prime256v1
I'm making private/public key using ecdh
var ecdh = new ECDiffieHellmanCng(CngKey.Create(CngAlgorithm.ECDiffieHellmanP256, null, new CngKeyCreationParameters { ExportPolicy = CngExportPolicies.AllowPlaintextExport }));
var privateKey =…

David
- 4,332
- 13
- 54
- 93