Skip to content

New API Proposal: Add (expose) ECC methods #9

Closed
@Sajjon

Description

@Sajjon

NEW API Proposal: Add (expose) ECC methods

Motiviation

We should expose some Elliptic Curve Cryptography (ECC) methods, at least:

  1. Point multiplication
  2. Decode point on curve from a compressed public key.

So that developers can develop cryptographic constructs using these fundamental building blocks. e.g. ECIES (here is my implementation)

An (EC) crypto lib which does not expose at least these above-mentioned methods is extremely limiting.

Alternate solution

Alternatively, we can include common cryptographic constructs such as above mentioned ECIES in this library - but it is more limiting and sounds like lots of work - and more maintenance....

Importance

If above mentioned cryptographic primitives - especially EC point multiplication - are not expose then crypto companies and cryptocurrency project might have to turn to other solutions. Which would be sad really, since this repo could improve the whole crypto sphere (on the Swift side of things).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions