Analysis and Programming of Cryptographic Systems Based On

Total Page:16

File Type:pdf, Size:1020Kb

Analysis and Programming of Cryptographic Systems Based On ANALYSIS AND PROGRAMMING OF CRYPTOGRAPHIC SYSTEMS BASED ON ELLIPTIC CURVES ADEGREE’S THESIS SUBMITTED TO THE FACULTY OF THE ESCOLA TÈCNICA D’ENGINYERIA DE TELECOMUNICACIÓ DE BARCELONA UNIVERSITAT POLITÈCNICA DE CATALUNYA BY DIEGO MARTÍNEZ GILABERT In partial fulfilment of the requirements for the degree in TELEMATIC ENGINEERING ADVISOR: JOSÉ LUIS MUÑOZ TAPIA BARCELONA,OCTOBER 2014 2 ABSTRACT The purpose of this project is to review the current state of cryptographic systems, focusing in signatures schemes based on elliptic curves (such as Blind Signature, Aggregate Signature or Multisignature) and to implement examples of these systems in Python language. Cryptography is the practice and study of techniques for secure communication in the presence of third parties. The use of cryptography began thousands of years ago when classical methods of encryption were used to enhance the security of information transmisions however currently classical cryptographic methods are obsolete in terms of security due to technology advances, modern computers can decipher these encrypted messages in seconds. Nowadays one of the most promising topics in Cryptography is the use of Elliptic Curves over assymetric cryptography that allows to achive a lower key lenght with the same security properties which results as a greater strength-per-key-bit. RESUM El propòsit d’aquest projecte és revisar l’estat actual dels sistemes criptogràfics, centrant-se en els esquemes de sig- natures basats en corbes el·líptiques (tals com Blind Signature, Aggregate Signature o Multisignature) i implementar exemples d’aquests sistemes en llenguatge Python. La criptografia és la pràctica i l’estudi de tècniques per assegurar les comunicacions en presència de terceres entitats. L’ús de la criptografia va començar fa milers d’anys quan els mètodes clàssics d’encriptació eren usats per millorar la seguretat de les transmissions d’informació no obstant això actualment la criptografia clàssica està obsoleta en termes de seguretat a causa dels avanços de la tecnologia, els ordinadors moderns poden desxifrar aquests missatges encriptats en segons. Actualment un dels camps més prometedors en Criptografia és l’ús de Corbes El·líptiques en criptografia asimètrica que permet aconseguir una longitud menor de clau mantenint les mateixes propietats de seguretat el que resulta com una millor força per bit de la clau. RESUMEN El propósito de este proyecto es revisar el estado actual de los sistemas criptográficos, centrándose en los esquemas de firmas basados en curvas elípticas (tales como Blind Signature, Aggregate Signature o Multisignature) e implementar ejemplos de estos sistemas en lenguaje Python. La criptografía es la práctica y el estudio de técnicas para asegurar las comunicaciones en presencia de terceras enti- dades. El uso de la criptografía comenzó hace miles de años cuando los métodos clásicos de encriptación eran usados para mejorar la seguridad de las transmisiones de información sin embargo actualmente la criptografía clásica está obsoleta en términos de seguridad debido a los avances de la tecnología, los ordenadores modernos pueden descifrar estos mensajes encriptados en segundos. Actualmente uno de los campos más prometedores en Criptografía es el uso de Curvas Elípticas en criptografía asimétrica que permite conseguir una longitud menor de clave manteniendo las mismas propiedades de seguridad lo que resulta como una mejor fuerza por bit de la clave. 3 DEDICATORIAS Me gustaría agradecer en primer lugar tanto a la Universitat Politècnica de Catalunya como a la Universidad Miguel Hernández de Elche el haberme brindado la posibilidad de poder realizar una estancia de movilidad durante mi último año de universidad. Al igual que para otros muchos estudiantes ha supuesto un año lleno de cambios, de altibajos, de idas y venidas; pero ante todo ha sido un año de experiencias, de nuevas sensaciones, un año que sin lugar a dudas marca un antes y un después tanto a nivel profesional como personal, un año para no olvidar nunca. Continuar agradeciendo a la que ha sido y continua siendo mi familia en Barcelona, a los que me acogieron desde el primer día y han sido el motivo por el que prolongue mi estancia. Lo que empezó siendo una casualidad ha acabado siendo mucho más, una forma distinta de ver las cosas, otra forma de pensar. He tenido la inmensa suerte de haber encontrado algo tan especial puesto que de alguna manera u otra todos habéis aportado a que no quiera marcharme, a que siga con la ilusión de montar una fiesta de la nada, de tener nervios antes de abrir puertas y satisfacción después de desmontar en el campus. No soy yo el primero y estoy seguro de que tampoco el último que lo dirá, pero como bien sabido és, yo exkapo seré hasta que me muera. Momento ahora para la gente que aunque tuve que dejar atrás en busca de algo distinto, nunca me ha dado la espalda. Mil historias nos unen y mil más espero que lo hagan, ya que aunque el tiempo siga pasando seguimos siendo los mismos que éramos hace años, como niños nos conocimos y como adultos nos seguimos conociendo, algo valioso en los tiempos que corren. No necesito dar nombres aquí ni decir nada que no sepáis ya, la mayoría de los mejores recuerdos que guardo son con vosotros, gracias por ser como sois y por aguantarme ya que por muy lejos que me vaya sé que siempre os tendré cuando os necesite. Por último pero no por ello menos importante, a mi familia. Todo lo que tengo es por vosotros y soy la persona que soy, con mis defectos y mis virtudes, gracias a ello. Por lo general no soy una persona de muchas palabras y aunque no os lo diga tanto como debería, os quiero. Siempre me habéis dado vuestro apoyo y cariño independientemente de las decisiones que tomara, siempre habéis intentado ayudarme y guiarme, siempre habéis estado tanto en los momentos alegres como en los tristes. Gracias por todo. Solo me queda darte las gracias también a ti, el que ahora mismo está leyendo esto. Si has llegado hasta este punto significa que de alguna manera u otra tú también has aportado en mi vida, de otra forma no estarías leyendo semejante parrafada. Espero haber podido corresponderte por igual. AGRADECIMIENTOS Agradecer de nuevo a la Universitat Politècnica de Catalunya por el trato que me ha dado durante este curso acá- demico, a profesores, secretaría, jefa de estudios, oficina de relaciones internacionales, responsables de empresas y a todo el personal en general. No han sido pocas las consultas y visitas pero siempre he encontrado la solución a los problemas que me han ido surgiendo. Al Departamento de Ingeniería Telemática y en especial a mi tutor de proyecto José Luis Muñoz Tapia, por haber confiado en mi y por el apoyo que me ha brindado para la realización del mismo. – Diego Martínez Gilabert 4 REVISION HISTORY AND APPROVAL RECORD Revision Date Purpose 0 01/06/14 Document creation 1 09/06/14 Document revision 2 25/06/14 Documnto revision 3 09/07/14 Document revision 4 22/09/14 Document revision 6 09/10/14 Document approval DOCUMENT DISTRIBUTION LIST Name Email Diego Martínez Gilabert [email protected] José Luis Muñoz Tapia [email protected] Written by: Diego Martínez Gilabert Approved by: José Luis Muñoz Tapia Date: 14/10/2014 Date: 17/10/2014 Position: Project Author Position: Project Supervisor 5 6 Contents 1 Introduction 11 1.1 Statement of purpose . 11 1.1.1 Requirements and specifications . 11 1.1.2 Methods and procedures . 11 1.1.3 Work plan and milestones . 11 1.2 Symmetric and Assymetric Cryptography . 15 2 Elliptic Curve Cryptography 17 2.1 Mathematical definition . 17 2.1.1 Elliptic Curve properties . 18 2.1.2 Elliptic Curve group over FP and F2m ................................ 20 2.1.3 Elliptic Curve domain parameters . 22 2.1.4 Bilinear pairings . 23 2.2 ECC Cryptography . 23 2.2.1 ECDSA - Elliptic Curve Digital Signature Algorithm . 24 2.2.2 ECDH – Elliptic Curve Diffie Hellman . 25 2.2.3 ECIES - Elliptic Curve Integrated Encryption Standard . 25 3 Digital Signatures 27 3.1 Digital Signatures . 27 3.2 Multisignatures . 28 3.2.1 Properties . 28 3.2.2 Related Work . 28 3.2.3 Scheme . 28 3.3 Blind Signatures . 29 3.3.1 Properties . 29 3.3.2 Related Work . 29 3.3.3 Scheme . 29 3.4 Aggregate Signatures . 30 3.4.1 Properties . 30 3.4.2 Related Work . 30 3.4.3 Scheme . 30 3.5 Ring Signatures . 31 3.5.1 Properties . 31 3.5.2 Related Work . 31 3.5.3 Scheme . 31 3.6 Verifiably Encrypted Signatures . 32 3.6.1 Properties . 32 3.6.2 Related Work . 32 3.6.3 Scheme . 32 3.7 Group Signatures . 33 3.7.1 Properties . 33 3.7.2 Related Work . 34 7 3.7.3 Scheme . 34 4 Results 37 4.1 Multisignatures . 37 4.2 Blind Signatures . 38 4.3 Aggregate Signatures . 39 4.4 Ring Signatures . 41 4.5 Verifiably Encrypted Signatures . 42 4.6 Group Signatures . 43 5 Budget 49 6 Conclusions and future development 51 7 Bibliography 53 8 Glossary 57 8 List of Figures 1.1 Gantt diagram . 14 2.1 Addition of two points . 18 2.2 Doubling a point . 19 2.3 0 point . 20 2 3 2.4 y = x − 7x over F23 ........................................... 21 2 3 2.5 y = x − 3x + 5 over F23 ......................................... 21 2 3 4 2 2.6 y + xy = x + g x + 1 over F24 ..................................... 22 List of Tables 1.1 DH Public key protocol parameters . ..
Recommended publications
  • (Linkable) Ring Signature from Hash-Then-One-Way Signature
    (Linkable) Ring Signature from Hash-Then-One-Way Signature Xingye Lu Man Ho Au ∗ Zhenfei Zhang Department of Computing Department of Computing Algorand The Hong Kong Polytechnic University The Hong Kong Polytechnic University Boston, USA Hong Kong Hong Kong [email protected] [email protected] [email protected] Abstract—In this paper, we revisit the generic construction of (such as RSA) and three-move type (Type-T) signatures ring signatures from hash-then-one-way type (Type-H) signatures (discrete log (DL) based schemes such as Schnorr). While in proposed by Abe et al. (AOS) in 2004 from the following principle similar to the concrete instantiations, security proof aspects. First, we give a proof for the generic construction, in a strengthened security model. Previously, this was only done for for the AOS generic construction is not formally presented. concrete instantiations, in a weaker model. Second, we extend AOS’s framework to generically construct one-time linkable In 1994, Shor presented a quantum algorithm [4] which can ring signatures from Type-H signatures and one-time signatures. be used to break RSA and DL type digital signatures. Since Lastly, we instantiate the generic construction with an NTRU- then, significant effort has been made to develop practical based Type-H signature: FALCON and obtain a post-quantum quantum computers. Facing the potential threat from quantum linkable ring signature scheme. Our analysis shows that the computers, post-quantum cryptography has attracted more and resulting linkable signature is more efficient than any existing lattice based solutions for small to moderate number of users.
    [Show full text]
  • Unique Ring Signatures: a Practical Construction
    Unique Ring Signatures: A Practical Construction Matthew Franklin and Haibin Zhang Dept. of Computer Science, University of California, Davis, California 95616, USA {franklin,hbzhang}@cs.ucdavis.edu Abstract. We propose unique ring signatures that simplify and capture the spirit of linkable ring signatures. We use new techniques to provide an instantiation which can be tightly related to the DDH problem in the random oracle model, leading to the most efficient linkable/unique ring signature. Keywords: anonymity, authentication, e-voting system, provable secu- rity, ring signature, tight reduction, unique signature, verifiable random function. 1 Introduction Ring signatures [23] are very useful tools for many privacy-preserving applica- tions. However, they are not adequate in settings where some degree of priva- cy for users must be balanced against limited access. For example, a service provider might have the list of public keys that correspond to all users that have purchased a single access to some confidential service for that day (re- quiring anonymous authentication). For this kind of application, a number of restricted-use ring signatures are proposed. Notable examples include linkable ring signatures [1, 7, 19, 20, 25, 26] and traceable ring signatures [13, 14]. Linkable ring signature asks that if a user signs any two messages (same or different) with respect to the same ring, then an efficient public procedure can verify that the signer was the same (although the user's identity is not revealed). Traceable ring signature is a ring signature scheme where each message is signed not only with respect to a list of ring members, but also with respect to an issue (e.g., identifying label of a specific election or survey).
    [Show full text]
  • Mechanics of Mobilecoin: First Edition
    Mechanics of MobileCoin: First Edition exploring the foundations of a private digital currency April 6, 2021, Preview (10/11) v0.0.39 koe1,2 DRAFT INFORMATION: This is just a draft, and may not always be available wher- ever it is currently hosted. The final version will be available at https://github.com/ mobilecoinfoundation. License: `Mechanics of MobileCoin: First Edition' is released into the public domain. 1 [email protected] 2 Author `koe' worked on this document as part of a private contract with, then as an employee of, MobileCoin, Inc. Abstract Cryptography. It may seem like only mathematicians and computer scientists have access to this obscure, esoteric, powerful, elegant topic. In fact, many kinds of cryptography are simple enough that anyone can learn their fundamental concepts. It is common knowledge that cryptography is used to secure communications, whether they be coded letters or private digital interactions. Another application is in so-called cryptocurrencies. These digital moneys use cryptography to assign and transfer ownership of funds. To ensure that no piece of money can be duplicated or created at will, cryptocurrencies usually rely on `blockchains', which are public, distributed ledgers containing records of currency transactions that can be verified by third parties [115]. It might seem at first glance that transactions need to be sent and stored in plain text format to make them publicly verifiable. In truth, it is possible to conceal a transaction's participants, as well as the amounts involved, using cryptographic tools that nevertheless allow transactions to be verified and agreed upon by observers [151]. This is exemplified in the cryptocurrency MobileCoin.
    [Show full text]
  • How to Leak a Secret: Theory and Applications of Ring Signatures
    How to Leak a Secret: Theory and Applications of Ring Signatures Ronald L. Rivest1, Adi Shamir2, and Yael Tauman1 1 Laboratory for Computer Science, Massachusetts Institute of Technology, Cambridge, MA 02139, 2 Computer Science department, The Weizmann Institute, Rehovot 76100, Israel. Abstract. In this work we formalize the notion of a ring signature, which makes it possible to specify a set of possible signers without re- vealing which member actually produced the signature. Unlike group sig- natures, ring signatures have no group managers, no setup procedures, no revocation procedures, and no coordination: any user can choose any set of possible signers that includes himself, and sign any message by using his secret key and the others' public keys, without getting their approval or assistance. Ring signatures provide an elegant way to leak authoritative secrets in an anonymous way, to sign casual email in a way that can only be veri¯ed by its intended recipient, and to solve other problems in multiparty computations. Our main contribution lies in the presentation of e±cient constructions of ring signatures; the general concept itself (under di®erent terminology) was ¯rst introduced by Cramer et al. [CDS94]. Our constructions of such signatures are unconditionally signer-ambiguous, secure in the random oracle model, and exceptionally e±cient: adding each ring member in- creases the cost of signing or verifying by a single modular multiplication and a single symmetric encryption. We also describe a large number of extensions, modi¯cations and applications of ring signatures which were published after the original version of this work (in Asiacrypt 2001).
    [Show full text]
  • A Permissioned Blockchain Secure from Both Classical and Quantum Attacks
    PQFabric: A Permissioned Blockchain Secure from Both Classical and Quantum Attacks Amelia Holcomb Geovandro Pereira Bhargav Das∗ Michele Mosca Computer Science Combinatorics & Optimization Computer Science Combinatorics & Optimization University of Waterloo University of Waterloo University of Waterloo University of Waterloo Waterloo, Canada Waterloo, Canada Waterloo, Canada Waterloo, Canada [email protected] [email protected] [email protected] [email protected] Abstract—Hyperledger Fabric is a prominent and flexible so- the end of Round 3, about an year from now. A fourth round lution for building permissioned distributed ledger platforms. is also expected in order to select alternate candidates for Access control and identity management relies on a Mem- later standardization. bership Service Provider (MSP) whose cryptographic interface only handles standard PKI methods for authentication: RSA Open source implementations of such algorithms, for and ECDSA classical signatures. Also, MSP-issued credentials instance those provided by the Open Quantum Safe (OQS) may use only one signature scheme, tying the credential- project [1], continually change in order to keep up-to- related functions to classical single-signature primitives. RSA date with both progress in cryptanalysis and per-algorithm and ECDSA are vulnerable to quantum attacks, with an ongoing parameter modifications and optimizations. However, de- post-quantum standardization process to identify quantum- safe drop-in replacements. In this paper, we propose a redesign signing, approving, and implementing post-quantum cryp- of Fabric’s credential-management procedures and related tographic standards is only the first step. There is also the specifications in order to incorporate hybrid digital signatures, gargantuan task of integrating these algorithms into the protecting against both classical and quantum attacks using wide range of existing systems that depend on and are one classical and one quantum-safe signature.
    [Show full text]
  • Privacy on the Blockchain: Unique Ring Signatures. Rebekah Mercer
    Privacy on the Blockchain: Unique Ring Signatures. Rebekah Mercer This report is submitted as part requirement for the MSc in Information Security at University College London. 1 Supervised by Dr Nicolas T. Courtois. arXiv:1612.01188v2 [cs.CR] 25 Dec 2016 1This report is substantially the result of my own work except where explicitly indicated in the text. The report may be freely copied and distributed provided the source is explicitly acknowledged. Abstract Ring signatures are cryptographic protocols designed to allow any member of a group to produce a signature on behalf of the group, without revealing the individual signer’s identity. This offers group members a level of anonymity not attainable through generic digital signature schemes. We call this property ‘plausible deniability’, or anonymity with respect to an anonymity set. We concentrate in particular on implementing privacy on the blockchain, introducing a unique ring signature scheme that works with existing blockchain systems. We implement a unique ring signature (URS) scheme using secp256k1, creating the first implemen- tation compatible with blockchain libraries in this way, so as for easy implementation as an Ethereum smart contract. We review the privacy and security properties offered by the scheme we have constructed, and compare its efficiency with other commonly suggested approaches to privacy on the blockchain. 1 Acknowledgements Thank you to Dr Nicolas Courtois, for introducing me to blockchains and applied cryptography. Thanks to Matthew Di Ferrante, for continued insight and expertise on Ethereum and adversarial security. Thanks also to my mum and dad, for convincing me that can handle an MSc alongside a full time job, and for all the advice along the way! Finally, thanks to the University of Manchester, UCL, Yorkshire Ladies’ Trust, and countless others for their generous grants over the years, without which this MSc would not have been possible.
    [Show full text]
  • ID-Based Ring Signature and Proxy Ring Signature Schemes from Bilinear Pairings
    ID-based Ring Signature and Proxy Ring Signature Schemes from Bilinear Pairings Amit K Awasthi1 and Sunder Lal2 1 Department of Applied Science Hindustan College of Science and Technology Farah, Mathura -281122, INDIA awasthi [email protected] 2 Department of Mathematics I. B. S. Khandari, Agra - INDIA Abstract. In 2001, Rivest et al. rstly introduced the concept of ring signatures. A ring signature is a simpli ed group signature without any manager. It protects the anonymity of a signer. The rst scheme proposed by Rivest et al. was based on RSA cryptosystem and certi cate based public key setting. The rst ring signature scheme based on DLP was proposed by Abe, Ohkubo, and Suzuki. Their scheme is also based on the general certi cate-based public key setting too. In 2002, Zhang and Kim proposed a new ID-based ring signature scheme using pairings. Later Lin and Wu proposed a more ecient ID-based ring signature scheme. Both these schemes have some inconsistency in computational aspect. In this paper we propose a new ID-based ring signature scheme and a proxy ring signature scheme. Both the schemes are more ecient than existing one. These schemes also take care of the inconsistencies in above two schemes. Keywords: Cryptography, Digital Signature, Ring Signature, Bilinear pairings, ID-based. 1 Introduction The concept of ring signature was introduced by Rivest, Shamir and Tauman in [13]. The ring signature allows a user from a set of possible signers to convince the veri er that the author of the signature belongs to the set but identity of the author is not disclosed.
    [Show full text]
  • Cryptonote V 2.0 1 Introduction 2 Bitcoin Drawbacks and Some
    CryptoNote v 2.0 Nicolas van Saberhagen October 17, 2013 1 Introduction \Bitcoin" [1] has been a successful implementation of the concept of p2p electronic cash. Both professionals and the general public have come to appreciate the convenient combination of public transactions and proof-of-work as a trust model. Today, the user base of electronic cash is growing at a steady pace; customers are attracted to low fees and the anonymity provided by electronic cash and merchants value its predicted and decentralized emission. Bitcoin has effectively proved that electronic cash can be as simple as paper money and as convenient as credit cards. Unfortunately, Bitcoin suffers from several deficiencies. For example, the system's distributed nature is inflexible, preventing the implementation of new features until almost all of the net- work users update their clients. Some critical flaws that cannot be fixed rapidly deter Bitcoin's widespread propagation. In such inflexible models, it is more efficient to roll-out a new project rather than perpetually fix the original project. In this paper, we study and propose solutions to the main deficiencies of Bitcoin. We believe that a system taking into account the solutions we propose will lead to a healthy competition among different electronic cash systems. We also propose our own electronic cash, \CryptoNote", a name emphasizing the next breakthrough in electronic cash. 2 Bitcoin drawbacks and some possible solutions 2.1 Traceability of transactions Privacy and anonymity are the most important aspects of electronic cash. Peer-to-peer payments seek to be concealed from third party's view, a distinct difference when compared with traditional banking.
    [Show full text]
  • Ring Confidential Transactions
    ISSN 2379-5980 (online) DOI 10.5195/LEDGER.2016.34 RESEARCH ARTICLE Ring Confidential Transactions Shen Noether,∗ Adam Mackenzie, the Monero Research Lab† Abstract. This article introduces a method of hiding transaction amounts in the strongly decentralized anonymous cryptocurrency Monero. Similar to Bitcoin, Monero is a cryptocur- rency which is distributed through a proof-of-work “mining” process having no central party or trusted setup. The original Monero protocol was based on CryptoNote, which uses ring signatures and one-time keys to hide the destination and origin of transactions. Recently the technique of using a commitment scheme to hide the amount of a transaction has been dis- cussed and implemented by Bitcoin Core developer Gregory Maxwell. In this article, a new type of ring signature, A Multilayered Linkable Spontaneous Anonymous Group signature is described which allows one to include a Pedersen Commitment in a ring signature. This construction results in a digital currency with hidden amounts, origins and destinations of transactions with reasonable efficiency and verifiable, trustless coin generation. The author would like to note that early drafts of this were publicized in the Monero Community and on the #bitcoin-wizards IRC channel. Blockchain hashed drafts are available showing that this work was started in Summer 2015, and completed in early October 2015.17 An eprint is also available at http://eprint.iacr.org/2015/1098. 1. Introduction Recall that in Bitcoin each transaction is signed by the owner of the coins being sent and these signatures verify that the owner is allowed to send the coins. This is entirely analogous to the signing of a check from your bank.
    [Show full text]
  • Ring Signatures - Analysis and Implementation
    Ring Signatures - Analysis and Implementation Andr´esF´abrega,Jonathan Esteban, Damian Barabonkov fandresfg, jesteban, [email protected] 1 Introduction When signatures were first introduced in Diffie and Hellman's seminal paper, these were presented in a single-user context: Alice uses her secret key to sign a message, and Bob uses her public key to verify it. As the field grew, however, cryptographers started envisioning a "multi"-signer notion of digital signatures. In particular, group signatures became a well studied concept: a user signing a message on behalf of a group, while preserving total anonymity. The big caveat with this model is that it relies on the presence of a group manager, who adds people to the group, and can reveal the signer if needed. These scheme certainly have applications, but, in some contexts, this dependency on an organizing party is not possible or desired. As such, ring signatures schemes are a way of solving this problem, providing total anonymity without requiring additional setup nor manager. Note that neither group nor ring signatures are better than the other: the context of the problem at hand determines which model is more appropriate. In this project, we analyze ring signatures, their construction, their security, and go over a functioning Python implementation. 2 Overview Ring signatures were formalized by by Rivest, Shamir, and Tauman[1]. In this project, we follow their definitions and proposed construction. Essentially, ring signatures are a way for a single user to anonymously sign a message on behalf of a group of people. This is perhaps best explained with an example use case: let's imagine that MIT has decided that Fall 2020 will be in person (fingers crossed), but decides not to reveal this just yet, for whatever reason.
    [Show full text]
  • Swap Confidential Transactions for Privacy
    Proceedings on Privacy Enhancing Technologies 2021 Felix Engelmann*, Lukas Müller, Andreas Peter, Frank Kargl, and Christoph Bösch SwapCT: Swap Confidential Transactions for Privacy-Preserving Multi-Token Exchanges Abstract: Decentralized token exchanges allow for se- e.g. reputation points, lottery tickets, shares of com- cure trading of tokens without a trusted third party. panies, fiat currency, precious metals and many more. However, decentralization is mostly achieved at the ex- While the token’s security is backed by a distributed pense of transaction privacy. For a fair exchange, trans- ledger (DLT) sometimes called (block)chain, most are actions must remain private to hide the participants traded on centralized exchanges which operate like stock and volumes while maintaining the possibility for non- exchanges. These central exchanges provide the required interactive execution of trades. In this paper we present privacy for fair trading such that participants have no a swap confidential transaction system (SwapCT) which insight into a detailed order book or trades of competi- is related to ring confidential transactions (e.g. used tors. Unfortunately, users have to trust the exchange op- in Monero) but supports multiple token types to trade erators which are susceptible to malicious activity like among and enables secure, partial transactions for non- theft [6] or hacks for data exfiltration. Due to these interactive swaps. We prove that SwapCT is secure in reasons, self-governing exchanges based on consensus a strict, formal model and present its efficient perfor- in a distributed ledger system are beneficial. There are mance in a prototype implementation with logarithmic plenty of smart contract based decentralized exchanges, signature sizes for large anonymity sets.
    [Show full text]
  • Mp-Ist-091-P13
    ShortSignatureSchemeFromBilinearPairings? Sedat Akleylek ??, Barı¸sB¨ulent Kırlar ???, Omer¨ Sever, and Zaliha Y¨uce y Institute of Applied Mathematics, Middle East Technical University, Ankara, Turkey {akleylek,kirlar}@metu.edu.tr,[email protected],[email protected] Abstract. The first short signature scheme is proposed by Boneh, Lynn, and Shacham (BLS) in [8]. This scheme uses the properties of bilinear pairings on certain elliptic curves. The main problem in BLS scheme is the use of special hash function [3, 5, 8]. To deal with this problem, many cryptographic schemes were proposed with cryptographic hash functions such as MD5, SHA-1 [14]. In this paper, we propose a new and efficient short signature scheme from the bilinear pairings. Our scheme is con- structed by Bilinear Inverse-Square Diffie-Hellman Problem (BISDHP) and does not require any special hash function. The exact security proofs are also explained in the random oracle model. We give the implemen- tation and comparison results of the BLS and ZSS (Zhang, Safavi, and Susilo)[14] schemes. Furthermore, We use this signature scheme to con- struct a ring signature scheme. Key words: short signature, bilinear pairings, ring signature 1 Introduction Digital signatures are the most important cryptographic primitive for the daily life. Short signatures are needed in environments with space and bandwidth constraints. Upto pairing-based cryptography, the best known shortest signature was obtained by using the Digital Signature Algorithm (DSA) [1] over a finite field Fq. The length of the signature is approximately 2logq. On the other hand, when the pairing-based cryptographic protocol is used the length of the signature is about ρlogq, where ρ = logq=logr and r is the largest prime divisor of the number of the points in the elliptic curve.
    [Show full text]