Puneet Varma (Editor)

Integrated Encryption Scheme

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Integrated Encryption Scheme (IES) is a hybrid encryption scheme which provides semantic security against an adversary who is allowed to use chosen-plaintext and chosen-ciphertext attacks. The security of the scheme is based on the Diffie–Hellman problem. Two incarnations of the IES are standardized: Discrete Logarithm Integrated Encryption Scheme (DLIES) and Elliptic Curve Integrated Encryption Scheme (ECIES), which is also known as the Elliptic Curve Augmented Encryption Scheme or simply the Elliptic Curve Encryption Scheme. These two incarnations are identical up to the change of an underlying group and so to be concrete we concentrate on the latter.

Contents

Information required

To send an encrypted message to Bob using ECIES, Alice needs the following information:

  • cryptographic suite to be used, including a key derivation function (e.g., ANSI-X9.63-KDF with SHA-1 option), a message authentication code (e.g., HMAC-SHA-1-160 with 160-bit keys or HMAC-SHA-1-80 with 80-bit keys) and a symmetric encryption scheme (e.g., TDEA in CBC mode or XOR encryption scheme)—noted E ;
  • elliptic curve domain parameters: ( p , a , b , G , n , h ) for a curve over a prime field or ( m , f ( x ) , a , b , G , n , h ) for a curve over a binary field;
  • Bob's public key: K B (Bob generates it as follows: K B = k B G , where k B is the private key he chooses at random: k B [ 1 , n 1 ] );
  • optional shared information: S 1 and S 2 .
  • O denotes point at infinity
  • Encryption

    To encrypt a message m Alice does the following:

    1. generates a random number r [ 1 , n 1 ] and calculates R = r G ;
    2. derives a shared secret: S = P x , where P = ( P x , P y ) = r K B (and P O );
    3. uses KDF to derive a symmetric encryption and a MAC keys: k E k M = KDF ( S S 1 ) ;
    4. encrypts the message: c = E ( k E ; m ) ;
    5. computes the tag of encrypted message and S 2 : d = MAC ( k M ; c S 2 ) ;
    6. outputs R c d .

    Decryption

    To decrypt the ciphertext R c d Bob does the following:

    1. derives the shared secret: S = P x , where P = ( P x , P y ) = k B R (it is the same as the one Alice derived because P = k B R = k B r G = r k B G = r K B ), or outputs failed if P = O ;
    2. derives keys the same way as Alice did: k E k M = KDF ( S S 1 ) ;
    3. uses MAC to check the tag and outputs failed if d MAC ( k M ; c S 2 ) ;
    4. uses symmetric encryption scheme to decrypt the message m = E 1 ( k E ; c ) .

    References

    Integrated Encryption Scheme Wikipedia


    Similar Topics