elliptic-curve Questions

2

Solved

I am working on a project to integrate with the new Push API that exists in Firefox and is being developed as a W3C standard. Part of this is encrypting the data. The server will receive a Diffie ...
Nachison asked 25/2, 2016 at 1:50

1

There is Alice and Bob. I want to realize the following process: Alice encrypts a text with AES and generates a secret key Alice encrypts this secret key with Bobs public key using Elliptic Curve...
Disable asked 3/10, 2019 at 17:34

2

I've been trying to find how to import an ECC key from a file by ANY MEANS for ages. I have tried accessing an ECC cert from the Windows certificate store, from a .p12 file, and from a PKCS#8 OpenS...
Taka asked 14/5, 2013 at 21:33

1

Solved

Thanks to Loading an ECC private key in .NET, I'm able to load ECC private keys into .NET Core 3 and performing signature tasks with them. I have, however run into one key that cannot be loaded by...
Nomarch asked 17/6, 2019 at 13:28

3

Solved

Is there some way to enumerate all of the elliptic curve names that can be given to the ECGenParameterSpec constructor? Or do you have to just throw a big list of curve names at the wall and see wh...
Canady asked 15/2, 2018 at 8:21

5

Solved

I'm using Javascript to generate elliptic curves for use in a cryptographic messaging app based on this example code http://www-cs-students.stanford.edu/~tjw/jsbn/ecdh.html The public keys will be...
Serajevo asked 18/6, 2013 at 14:28

1

Solved

We can create XML Digital Signature using RSA keys. But how do I use elliptic curve keys to sign xml files ? I get error messages such as - Exception in thread "main" java.security.KeyException: E...
Question asked 22/8, 2018 at 7:26

3

Solved

I'm writing a small project of elliptic curve cryptography, and the program works well when I use affine coordinate system, which means each point is represented by 2 coordinates (x',y'). Now I'm ...
Lowney asked 5/12, 2011 at 17:28

1

Solved

I am wondering if this is a correct way to create PrivateKey object in Java from HEX string from this website: https://kjur.github.io/jsrsasign/sample/sample-ecdsa.html Create a BigInteger from a ...
Illustrate asked 24/8, 2018 at 12:18

2

Solved

How do I set the private key for signing messages when using ECDSA in OpenSSL programmatically? I have the following code: static int create_signature(unsigned char* hash) { EC_KEY *eckey=NULL; ...
Pictish asked 9/2, 2010 at 12:11

2

Solved

I wrote a wrapper for OpenSSL that supports ECC. I'm trying to read a private key that I generated with openssl ecparam -name secp384r1 -genkey -noout -out privkey.pem And compare it with what ...
Electuary asked 23/5, 2018 at 3:15

3

Solved

I'm trying to load certificates directly from the Microsoft store in order to avoid having to export certs from the MS store and then import them into a JKS store. I managed to get certs created f...
Paratuberculosis asked 27/8, 2015 at 2:44

1

Solved

I'm trying to learn some crypto coding and have generated a 32-byte private key currently held in a byte array (byte[] privatekey). I know the public key is generated using the secp256k1 named elli...
Honolulu asked 16/2, 2018 at 17:41

1

First of all I must say my knowledge with using Sage math is really very limited, but I really want to improve an to be able to solve these problems I am having. I have been asked to implement the ...
Elasticity asked 5/11, 2016 at 3:20

2

Solved

I have a GO Application, that stores it's certificate to a HSM via opencryptoki (pkcs11) in a softwaretoken. But it's not a go question, more a general pkcs11 question I think. I set my certificat...
Calculous asked 19/12, 2017 at 15:32

4

Solved

I'm currently investigating the use of curve25519 for signing. Original distribution and a C implementation (and a second C implementation). Bernstein suggests to use ECDSA for this but I could no...
Elmiraelmo asked 25/3, 2010 at 13:38

2

Solved

I'm trying to generate a key pair using the /java bouncy castle 1.52 implementation for curve 25519 what gives me java.lang.IllegalArgumentException: string curve25519 not an OID Here is my c...

2

Solved

I was wondering if there was (and I hope there is) a standard for public key size for ECDH (Elliptic Curve Diffie-Hellman) and ECDSA (Elliptic Curve Digital Signature Algorithm) for every curve typ...

1

Solved

I'm trying to make my own library for the elliptic curve. Some things work, but some others don't. To calculate a public key from a private key, you should multiply the Generator Point with the pr...
Serene asked 16/7, 2017 at 21:33

2

Solved

Is there a Java library/example to read an openssh format ecdsa public key to a JCE PublicKey in Java? I want to use EC for JWT . The format I'm trying to read is as per authorized_keys, or Github...
Ignacioignacius asked 28/6, 2017 at 16:34

1

Solved

I'm reading openssh format elliptic curve public keys (RFC 5656, section 3.1) and would like to get from a BigInteger Q value to an ECPublicKey instance using JCE (rather than say BouncyCastle). I ...
Stopping asked 29/6, 2017 at 15:32

2

Solved

I'm trying to convert an armored ECC gpg key to corresponding java class ECPrivateKey/ECPublicKey. To generate the key pair I'm using: gpg --expert --full-generate-key Then selecting (9) ECC an...
Phung asked 19/6, 2017 at 15:48

1

Solved

I need to load an OpenSSL private key into a C# based application. The commands I used to generate the key are: $ openssl ecparam -name prime256v1 -genkey -noout -out eckey.pem $ openssl ec -in ...
Gloria asked 1/4, 2017 at 17:59

2

I have a PEM encoded Elliptic Curve public key that I'm trying to load into Bouncy Castle and everything I tried so far is failing. This is an example of the key I'm trying to load: -----BEGIN PUB...
Sferics asked 5/11, 2016 at 2:59

2

I am trying to generate ECDSA key pair using SpongyCastle in Android. This is the code: static { Security.insertProviderAt(new org.spongycastle.jce.provider.BouncyCastleProvider(), 1); } public ...
Ophiolatry asked 20/10, 2016 at 3:2

© 2022 - 2025 — McMap. All rights reserved.