Elliptic Curve encryption support for ECKey?

32 views
Skip to first unread message

Nelson Perez

unread,
Sep 19, 2019, 1:03:59 AM9/19/19
to bitcoinj
The ECKey class javadocs states:

Represents an elliptic curve public and (optionally) private key, usable for digital signatures but not encryption.

Is there a specific reason as to why encryption was not implemented? is anyone interested in something like this? Are there any drawbacks?

I ask because I need this and will be implementing it outside of the library for now, but would be willing to contribute to the library if there is interest.

Best regards
Nelson

Andreas Schildbach

unread,
Sep 20, 2019, 11:31:20 AM9/20/19
to bitc...@googlegroups.com
I guess it's because Bitcoin doesn't use encryption.

Is there a specific usecase you're thinking of?
> --
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+u...@googlegroups.com
> <mailto:bitcoinj+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bitcoinj/fd7ae6a0-2976-4892-81c6-644502d37a73%40googlegroups.com
> <https://groups.google.com/d/msgid/bitcoinj/fd7ae6a0-2976-4892-81c6-644502d37a73%40googlegroups.com?utm_medium=email&utm_source=footer>.


Reply all
Reply to author
Forward
0 new messages