mirror of
https://github.com/kazu-yamamoto/crypton.git
synced 2024-10-05 08:17:16 +03:00
add some documentation to ECIES
This commit is contained in:
parent
8b5a36f44e
commit
922bed5ac5
@ -7,6 +7,18 @@
|
|||||||
--
|
--
|
||||||
-- IES with Elliptic curve <https://en.wikipedia.org/wiki/Integrated_Encryption_Scheme>
|
-- IES with Elliptic curve <https://en.wikipedia.org/wiki/Integrated_Encryption_Scheme>
|
||||||
--
|
--
|
||||||
|
-- This is a simple cryptographic system between 2 parties using Elliptic Curve.
|
||||||
|
--
|
||||||
|
-- The sending party create a shared secret using the receiver public key, and use the shared secret
|
||||||
|
-- to generate cryptographic material for an symmetric encryption scheme (preferably authenticated encryption).
|
||||||
|
--
|
||||||
|
-- The receiving party receive the temporary ephemeral public key which is combined to its secret key
|
||||||
|
-- to create the shared secret which just like on the sending is used to generate cryptographic material.
|
||||||
|
--
|
||||||
|
-- This module doesn't provide any symmetric data encryption capability or any mean to derive
|
||||||
|
-- cryptographic key material for a symmetric key from the shared secret.
|
||||||
|
-- this is left to the user for now.
|
||||||
|
--
|
||||||
module Crypto.PubKey.ECIES
|
module Crypto.PubKey.ECIES
|
||||||
( deriveEncrypt
|
( deriveEncrypt
|
||||||
, deriveDecrypt
|
, deriveDecrypt
|
||||||
|
Loading…
Reference in New Issue
Block a user