CEILIDH is a public key cryptosystem based on the discrete logarithm problem in algebraic torus. This idea was first introduced by Alice Silverberg and Karl Rubin in 2003; Silverberg named CEILIDH after her cat. The main advantage of the system is the reduced size of the keys for the same security over basic schemes.[which?]
- Let be a prime power.
- An integer is chosen such that :
- The torus has an explicit rational parametrization.
- is divisible by a big prime where is the Cyclotomic polynomial.
- Let where is the Euler function.
- Let a birational map and its inverse .
- Choose of order and let .
Key agreement scheme
This Scheme is based on the Diffie-Hellman key agreement.
- Alice chooses a random number .
- She computes and sends it to Bob.
- Bob chooses a random number .
- He computes and sends it to Alice.
- Alice computes
- Bob computes
is the identity, thus we have : which is the shared secret of Alice and Bob.
This scheme is based on the ElGamal encryption.
- Key Generation
- Alice chooses a random number as her private key.
- The resulting public key is .
- The message is an element of .
- Bob chooses a random integer in the range .
- Bob computes and .
- Bob sends the ciphertext to Alice.
- Alice computes .
The CEILIDH scheme is based on the ElGamal scheme and thus has similar security properties.
If the computational Diffie-Hellman assumption holds the underlying cyclic group , then the encryption function is one-way. If the decisional Diffie-Hellman assumption (DDH) holds in , then CEILIDH achieves semantic security. Semantic security is not implied by the computational Diffie-Hellman assumption alone. See decisional Diffie-Hellman assumption for a discussion of groups where the assumption is believed to hold.
CEILIDH encryption is unconditionally malleable, and therefore is not secure under chosen ciphertext attack. For example, given an encryption of some (possibly unknown) message , one can easily construct a valid encryption of the message .
- Silverberg, Alice (November 2006). "Alice in NUMB3Rland" (PDF). Focus. Mathematical Association of America. Retrieved 12 July 2018.
- Kirsch, Rachel (December 2010). "Cryptography: How to Keep a Secret". Mathematical Association of America. Retrieved 12 July 2018.
- "El-gamal Encryption Scheme". CRYPTUTOR. Archived from the original on 2009-04-21. Retrieved 2009-04-21.
- Abdalla, M.; Bellare, M.; Rogaway, P. (September 1998). "DHIES: An encryption scheme based on the Diffie-Hellman Problem (Appendix A)" (PDF).
- Rubin, K.; Silverberg, A. (2003). "Torus-Based Cryptography". In Boneh, D. (ed.). Advances in Cryptology - CRYPTO 2003. Lecture Notes in Computer Science. Vol. 2729. Springer, Berlin, Heidelberg. pp. 349–365. doi:10.1007/978-3-540-45146-4_21. ISBN 9783540406747.
- Torus-Based Cryptography: the paper introducing the concept (in PDF from Silverberg's university web page).