Number of points on elliptic curve

If you have an elliptic curve in the form of: y^2 = x^3 + a*x + b (mod p) Is there a good program to calculate the number of points on this curve? I have read about Schoof's and...

Creating an elliptic curve point object from coordinates

I have the x and y coordinate of a point and the name of a curve. I now want to create an org.bouncycastle.jce.interfaces.ECPublicKey object from that, automatically using the implementation that...

Plotting Jacobi Elliptic Function

I've written program on Python using pygame library for plotting complex functions phase and modulus graphics. I'm not programmer and don't have any math background. But now I want to know how I...

Divide a Point in Elliptic Curve Cryptography

I'm using Elliptic Curve to design a security system. P is a point on elliptic curve. The receiver must obtain P using formula k^-1(kP). The receiver does not know P but knows k. I need to compute...

Is there a way to define a float array in Python?

For my astronomy homework, I need to simulate the elliptical orbit of a planet around a sun. To do this, I need to use a for loop to repeatedly calculate the motion of the planet. However, every...

Is there a pre-existing implementation of the General Number Field Sieve (GNFS) in Python?

Is there any inbuilt or online Implementation of GNFS factoring in Python? I need a version that can easily be used to factor integers in other programs so I would need to import and preferably is...

Border-radius in percentage (%) and pixels (px) or em

If I use a pixel or em value for border-radius, the edge radius is always a circular arc or a pill shape even if the value is greater than the largest side of the element. When I use percentages,...

elliptic curve discrete logarithm

I am trying to Solve elliptic curve discrete logarithm using Pollard rho (find k where G=kp), So i searched for implementation in c and i found one after adding problem specific data in the main...

Avoid elliptical shape in CSS border-radius

Using Border-radius CSS for rectangular divs produces elliptical corners instead of rounded corners. How can I get perfect rounded corners for rectangular divs?

Why does 2^-1 mod 17 equal 9?

For an exam i have to calculate some elliptic curve stuff (probably not important for this question) where I had to calculate: 2^-1 mod 17 (according to wolfram alpha the result is 9) Now I don't...

Construct ellipse from rectangle

I'm making a program that's a bit like Paint light, and I've gotten to the point where I want the user to be able to select elliptical regions. My initial thought is that there must be some kind...

Which provider is responsible for AES/CTR/NoPadding?

Information about my implementation The code snippet below highlights my current implementation of a crypto object, using the both the AES cipher and CTR mode of operation. import...

How to shape an image elliptically in Xamarin.Forms?

I am trying to figure out how to shape images elliptically in Xamarin.Forms. I have been looking at the ImageCirclePlugin. However, it cannot be used for this purpose. I have also tried with an...

WPF: I want to remove the default StrokeDashArray around a custom button

I have a custom button which I styled to have an elliptical look. I have added some triggers to give it a click feel and a focused feel. But the problem is when the button is in focus using the...

vendor folder is not present in my docker image

I'm trying to build a deployable image of my laravel app into docker. Here is my dockerfile: FROM php:7.1.14-fpm ENV node_version 8.4.0 ENV npm_version 5.7.1 RUN echo "deb...

Elliptic curve double and add implementation in python

I am trying to implement the "double and add" algorithm to quickly multiply points on an elliptic curve in Python (3, please). Based off this previous answer (about addition and...

How can I improve this code of elliptic curve factorization?

First, I'm very noob :) I didn't studied deep on elliptic curves. I just google some elementary knowledge of prime factorization and elliptic curve. I'm trying to make the python3 code...

Couldn't purchase with Subscription offer

I am trying to make the In-App Purchase subscription offer work. So I get the encoded signature, nonce, timestamp and key identifier from our server. I create a SKPaymentDiscount object and...

Is the API for exercise machines (like NordicTrack iFit) open? Can I write an app to control my bluetooth-enabled machine?

I've written standalone apps that construct workouts that I can build to vary time, resistance, etc., but they don't communicate with a dedicated exercise machine. I recently bought a NordicTrack...

How to get an elliptic curve public key from a private key

So, I need to get a public key from a corresponding 256 bit number using ECC spec256k1. So, lets say I get a private key using a sha256 from any passphrase, like this: >>> import hashlib >>>...

java.lang.IllegalArgumentException: secret key byte array cannot be null or empty

I am using spring-boot with JWT. Application.properties jwt.secret=xyz Controller.java @PostMapping(path = "/authenticate") public ResponseEntity<?> createAuthenticationToken(@RequestBody...

Webpack including its own dependencies in bundle

I am fairly new to webpack and I have a Vue project using the vue cli. While analyzing the webpack bundle (built in production mode using vue-cli-service build) using webpack-bundle-analyzer, I...

how to find the best or good enough base point (G) on ECC curve

In Elliptic Curve Cryptography, we need a base Point G to generate all other Points aka Public keys. The order of G must be a prime and should be as large as possible. Thus, there more private...

Why EC key is treated as a valid RSA key for the JWT and JWK?

I've recently been working on implementing a web service that signs and issues JWT and also exposes the JWKs endpoint for the JWT validation purposes. It's all fairly straightforward with the JWT...

Verify EU GreenPass with openSSL

I just received my Covid Green Pass. I've started to decode it, here are the fields I get: header: a20448349a42b0c2d0728e0126 payload:...

TLS v1.3 error with certain endpoints - Description: Illegal Parameter (47)

I am working with IBM on trying to find the cause for some handshake errors we are receiving randomly when connecting with certain endpoints. This is happening on an IBM i system using the GSKit...

Check whether OpenSSL supports certain curve via header/define in CMake

I need to check whether OpenSSL supports certain Elliptic Curve(s) via CMake. While cipher and hash availability may be checked via existence of functions from openssl/evp.h, like...

Fast calculation of floating 1/N if factorization of very large integer N is known

If I have integer number N that I know factorization of, what is the fastest (most efficient) way of computing 1/N as a floating point number? Big floating (or integer) arithmetics should be used...

Elliptic Curve implementation for product keys

Here I read about the basic idea of how to use asymmetric Elliptic Curve encryption to create a product key, here is a quote: My question is how is it possible to create a product key by a...