Discussion:
(unknown)
Sadeq Salehi
2014-08-21 19:15:04 UTC
Permalink
From: Sadeq Salehi <sadeqsalehi-***@public.gmane.org>
To: dev-crypto-csharp-***@public.gmane.org
Subject: PROBLEM WITH FINDING ECC ENCRYPTION SAMPLE CODE

Can anybody help me finding the ECC encryption and decryption
sample with c# or vb.net?
Edward Ned Harvey (bouncycastle)
2014-08-22 00:08:30 UTC
Permalink
Post by Sadeq Salehi
Can anybody help me finding the ECC encryption and decryption
sample with c# or vb.net?
Can you be more specific about what you want to do? A common use would be: Two users have ECDH keys. They form an Agreement. The derived key material is used as an AES key or something like that.

Another common use would be: One user has an ECDSA key. Sign some data. Others can verify the signature using the public key.

If you just have one key and want to encrypt something for yourself at a later time - Maybe use a hash of your key as an AES key or somethi
Sid Shetye
2014-08-22 19:24:41 UTC
Permalink
A) NO NEED TO HAVE AN ALL CAPS SUBJECT LINE ... :)

B) Not exactly the perfect examples, but take a look at the unit tests. They are kinds granular testing the low level nuts and bolts, while judging from your question you probably need something more "all encompassing" ("here is an ECC pem/pfx, here is the byte array/stream, sign/verify/encrypt/decrypt it)

Regards
Sid
Post by Sadeq Salehi
Subject: PROBLEM WITH FINDING ECC ENCRYPTION SAMPLE CODE
Can anybody help me finding the ECC encryption and decryption
sample with c# or vb.net?
Loading...