Questions tagged [elliptic-curve]

In mathematics, an elliptic curve is a smooth, projective algebraic curve of genus one, on which there is a specified point O.

In mathematics, an elliptic curve is a smooth, projective algebraic curve of genus one, on which there is a specified point O (the point at infinity). An elliptic curve is in fact an abelian variety — that is, it is a (necessarily commutative) group with respect to an algebraically defined multiplication — and O serves as the identity element. Often the curve itself, without O specified, is called an elliptic curve.

685 questions
-1
votes
1 answer

in C ,why result is different after only changing loop boundary?

I met this problem when verifying whether points in a finite field GF(13) is on elliptic curve y^2 = x^3 + x + 1: first I set the loop boundary as i<2,the results came out right. #include #include void main () { int a[13],…
-1
votes
2 answers

Performing an EC public key calculation for given secret key gives wrong results

I was trying to understand calculation of EC public key for given secret key. Following this question I was found a well explained answer, but (as often happens) something goes wrong. According to previous answer and this document I use following…
Kechup
  • 115
  • 2
  • 9
-1
votes
1 answer

How do I construct an ECFieldElement object with the F2m constructors?

X9ECParameters params = SECNamedCurves.getByName("secp256k1"); ECDomainParameters CURVE = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.getH()); ECCurve.Fp curve = (ECCurve.Fp) CURVE.getCurve(); …
user299648
  • 2,769
  • 6
  • 34
  • 43
-1
votes
1 answer

Generate new public key from hash of a message.

This question relates to the application of basic elliptic curve crypto for the needs of a Bitcoin project. I need to generate a receive address (contract_public_key) that is directly associated with another (issuer_public_key) and some metadata, M,…
willcode.co
  • 674
  • 1
  • 7
  • 17
-2
votes
1 answer

Addition of random number and private key using ECC

I have generated keys using ECC. I need to add random number and secret key i.e x=r+s. Here's my code: KeyPairGenerator kpg = KeyPairGenerator.getInstance("ECDSA", "BC"); kpg.initialize(ecSpec, new SecureRandom()); KeyPair keyPair =…
user1208304
  • 11
  • 1
  • 4
-2
votes
1 answer

Loading an Unencrypted PEM Public Key with OpenSSL libcrypt

I'm trying to load a SECP256R1 Public Key that I've created with OpenSSL into my C program. According to OpenSSL documentation the code below should work: #include #include #include int main() { EC_KEY…
Arya Pourtabatabaie
  • 705
  • 2
  • 7
  • 22
-3
votes
1 answer

Elliptic curve Resources

I am working on  eliptic curve for text encryption using Java  and I have been wondering what is the best elliptic curve should I use? It will helpfull if you provide me with resources Where I find  all elliptic curves types and its parameters…
Ms. Wafa
  • 1
  • 2
-3
votes
1 answer

Elliptic Curve Java

I have to do a program in Java that compares 3 different asymmetric cipher algorithms. I want to choose the key size and the message size (that will be generated randomly), and I'd like to show the different time that every algorithm will be take…
manuel
  • 13
  • 1
  • 5
-4
votes
0 answers

Elliptic curve support Encryption and Decryption in .net 6?

using Elliptic curve Algorithm Encryption and Decryption not working and keys are not getting.
1 2 3
45
46