Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with Implementing ECC in Delphi

Featured Replies

Posted

Well guys, I went back to school as I went through the certicom ecc theories.

Now, I wanna implement ECC, & I am having a lil problem.

I am using delphi, & FGInt.

I am using ECB as the parameter generator.

But the Point G (base point of the curve), is represented as X & Y coordinate.

I But in the ECDSA unit available, the G is a function parameter of TECPoint type.

I saw in Crypto++ there is a function to combine the X & Y coordinates into a Point.

Is there any delphi eqivalent of that ?

Would be glad if any 1 points me 2 the right direction :)

I don't know if this is of any use to you, but the following page has examples of different crypto implementations:


/>http://www.submanifold.be/triade/GInt/gint.html

HR,

Ghandi

  • Author

Thx man.. But I already have that :)

If ya download the ECDSA using for the given link, ya will see that the BASE Point G is a function parameter.

I am using ECB to generate my curve parameters, & the basepoint is represented as X & Y coordinate.

I am searcing for a way to encapsulate the two coordinates into a single point (the base point here).

as I remember, there is no function like that

there is only ecurve_init and ecc arithmetics

also you can use Miracl

there you can find epoint_set function.

  • Author

as I remember, there is no function like that

there is only ecurve_init and ecc arithmetics

also you can use Miracl

there you can find epoint_set function.

Thats the problem..

I need ti implement it in delphi, and as for as I know Miracl doesn't work with delphi.

So, any suggestions, on how to use ECB to gen the curve params for use in delphi ?

uhm... you just need to initialize a record?

Edited by baguette

  • Author

uhm... you just need to initialize a record?

As in ?

Suppose :

X = 664737823

Y = 372723849

Can ya give a small example ?

*edit*

I made it :)

Edited by KKR_WE_RULE

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.