elliptic-curve Questions
3
I need to use NIST P-256 elliptic curves to encrypt and decrypt data. Now that I have generated the key pair, but how do I use them to encrypt and decrypt?
The official website only says how to us...
Kush asked 18/7, 2019 at 5:22
4
Does iOS expose API for key generation, and secret key derivation using ECDH?
From what I see, apple are using it (and specifically x25519) internally but I don't see it exposed as public API by ...
Hauger asked 19/9, 2017 at 13:1
1
G(Gx, Gy) -- which is also called generator -- is a point on Elliptic Curve (EC) on Finite field. Finite field size = p -- prime modulus.
Say we have an EC(Fp): y**2 = x**3 + ax + b (mod p)
How sh...
Abridge asked 30/4, 2012 at 13:37
3
Solved
I'm trying to figure out which "safe" ECC curves are supported in Bouncy Castle. I found a few curves in the namespace Org.BouncyCastle.Asn1, but they are hard to find, and I'm sure I'm missing som...
Mercier asked 17/3, 2014 at 14:57
1
Solved
I'm implementing some protocol using some 3rd party repository (Private Join and Compute), and the repo only supports built-in curves in FIPS modules (P-224, 256, 348 and 512) in openssl when creat...
Seascape asked 27/3, 2023 at 8:50
2
Golang's elliptical curve library can derive a secret key given a public coordinate with a X and Y value (uncompressed coordinates).
However, when the point given is a single value in X9.62 compre...
Entomophagous asked 18/9, 2017 at 16:4
6
java.security.PublicKey#getEncoded() returns X509 representation of key which in case of ECC adds a lot of overhead compared to raw ECC values.
I'd like to be able to convert PublicKey to byte arr...
Lammergeier asked 27/1, 2015 at 14:20
2
Solved
I have an elliptic curve plotted. I want to draw a line along a P,Q,R (where P and Q will be determined independent of this question). The main problem with the P is that sympy solve() returns anot...
Diphthongize asked 5/11, 2013 at 22:41
1
Solved
I'm trying to exchange public keys between Browser and Server, and generate secret to be used for encryption of data. I'm trying to utilize ECDH (Elliptic Curve Diffie-Hellman).
On the Server side ...
Muslim asked 18/10, 2022 at 12:27
2
I've been reading this article on elliptic-curve crypto and how it works:
http://arstechnica.com/security/2013/10/a-relatively-easy-to-understand-primer-on-elliptic-curve-cryptography/
In the arti...
Hwang asked 24/3, 2015 at 19:26
2
Solved
I am generating a KeyPair for ECC from curve 'secp128r1' using openssl
Steps I followed :
first I generated a private key using the command
openssl ecparam -genkey -name secp128r1 -noout -ou...
Tootsy asked 11/4, 2015 at 21:22
3
Solved
I'm using OpenSSL's c library to generate an elliptic curve Diffie-Hellman (ECDH) key pair, following the first code sample here. It glosses over the actual exchange of public keys with this line:
...
Fuliginous asked 9/8, 2013 at 20:58
9
I'm working on an app for which the (power)users have to set up their own server (i.e. nginx) to run the backend application. The corresponding domain needs to be configured in the app so it can co...
Story asked 24/8, 2016 at 21:39
2
Solved
I have a JWT which is signed using Elliptic Curve ES256 am trying to validate it:
eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjEyMzQifQ.eyJpc3MiOiJodHRwczovL2p3dC1pZHAuZXhhbXBsZS5jb20iLCJzdWIiOiJt...
Stephen asked 7/12, 2019 at 18:18
3
Solved
Currently i'm updating my x.509 certificate library to support ECC. Most of the builders that are implemented take a publicKey and derive the algorithm and such from the key. In RSA this is simple,...
Mackenziemackerel asked 18/4, 2018 at 9:13
1
Problem
I have generated keys and certificates by OpenSSL with the secp256k1, run rke version v1.2.8 from the Rancher Kubernetes Engine (RKE), and got the following error:
FATA[0000] Failed to read...
Volcano asked 16/6, 2021 at 2:41
1
Solved
It appears that .NET Core supports creation of custom curves in ECC.
I've tried to define the Curve25519, as shown below:
public class Curves
{
// TODO: check the key gen rand.
public static E...
Listel asked 30/4, 2017 at 21:31
1
Solved
It seems that .NET (Core 3.1) supports custom curves in ECC. So I've defined the Curve25519, and generated key pair by below code:
using System;
using System.Security.Cryptography;
namespace Curve...
Downey asked 27/11, 2020 at 15:5
1
Solved
I'ld like to calculate a public key from a private key. It must work using OpenCL. It seems hashcat has a nice library but I'm not sure how to use it.
https://github.com/hashcat/hashcat/blob/maste...
Pushbike asked 16/11, 2020 at 19:52
1
I am passing a byte[] to my method and I am trying to generate a pubKey. Looking at the error look's like i first need to decompress before generating pubKey.
How can I decode a compressed coordina...
Manful asked 16/11, 2020 at 17:30
2
Is there any example for use ECC in iOS?
I noticed that the kSecAttrKeyTypeEC in Apple Developer Documents, but I can't use it to generic Key pair.
Below code is modified from the example CryptoE...
Gujranwala asked 19/7, 2012 at 14:39
2
Solved
I need a fixed length 64 Byte ECDSA signature with the NIST P-256 Curve.
The implementation hast to use JCE.
The following code sample can generate a signature and verify it.
Provider provSign =...
Trilbi asked 3/12, 2015 at 10:37
4
I need to implement ECC (Elliptic Curve Cryptography) algorithm using jdk 1.7. I tried using bouncy castle, sunEC, but all of them gave errors and errors. My target is to generate an elliptic curve...
Custommade asked 30/10, 2013 at 4:38
1
Solved
I need to derive an EC Public Key from an EC private key string without the "help" of any third party library.
The Private key is externally produced and provided and I need to get the Public Key...
Agape asked 6/4, 2020 at 21:21
1
Solved
I need to generate some keypairs with the ed25519 curve for NodeJS's elliptic module for a project I'm working on. After some searching, a discovered that this can be done with the following comman...
Commensal asked 15/3, 2020 at 4:7
1 Next >
© 2022 - 2025 — McMap. All rights reserved.