Re: ECC Encryption / Decryption
Sanath Prasanna <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CALQZz0xZaNBF=F5ES8cdWwigOU4w2gXLzX2-d7gkhseP=dk1Nw@mail.gmail.com> |
Tx Jesper for your kind response. Here attached my sample test file & following one is not working. That is the expected other Encoding scheme. (ShaXxxx) EncryptMsg = public_key:encrypt_private(Msg, ECPublicKey), (line 64) Can you give some guide to over come this ? br, Robert On Tue, May 4, 2021 at 8:48 PM Jesper Louis Andersen < [email protected]> wrote: > On Sun, May 2, 2021 at 1:33 PM Sanath Prasanna <[email protected]> > wrote: > >> Hi, >> I want to encrypt a text message using ECC & need to decrypt. Can someone >> give me a sample for that process ? >> > > You will probably have to give more information. > > There are several different types of ECC methods, and inside these, there > are a couple of different elliptic curves you can choose from, and some of > them are standardized requirements for certain applications. > > Furthermore, ECC is often used as a tool in a larger toolbox. It's used to > agree on a (shared) secret key for an underlying block or stream cipher, > and in some situations also for agreeing on message authentication (which > protects the message integrity against tampering). > Getting this toolbox / tooling construction wrong can result in the > proposed solution being insecure, so beware. > > > -- > J. >
test.erl
(application/octet-stream, 2 KB) - not displayed