{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,9]],"date-time":"2026-04-09T14:34:44Z","timestamp":1775745284438,"version":"3.50.1"},"reference-count":39,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2022,6,29]],"date-time":"2022-06-29T00:00:00Z","timestamp":1656460800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"European Union\u2014FSE-REACT-EU, PON Research and Innovation","award":["DM1062\/2021"],"award-info":[{"award-number":["DM1062\/2021"]}]},{"name":"Quadrans Foundation","award":["DM1062\/2021"],"award-info":[{"award-number":["DM1062\/2021"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Cryptography"],"abstract":"<jats:p>Blockchain-based platforms utilise cryptographic protocols to enforce the correct behaviour of users, as well as to guarantee a sufficient level of protection against malicious adversaries. Cryptography is, however, an ever-evolving discipline, and any breakthrough would have immediate consequences on the security of blockchain-based applications. A possible threat currently under investigation is given by the development of quantum computers, since several wide-adopted cryptographic protocols have been proved to be unsafe against quantum-capable adversaries. In this work, we propose a novel approach for the management of cryptographic primitives in smart-contract-based ledgers, discussing how it fits in both a (partially) permissioned and a fully permissionless setting. The cryptographic protocols are managed in a flexible manner via a set of smart-contracts defined on the ledger itself, in this way the choice of algorithms and parameters can change quickly. Among the advantages of this approach, we remark how it allows designing an adaptive post-quantum-based blockchain that keeps up with ongoing technological advances. In general, the introduction of new features and the application of fixes to a blockchain cause forks in the chain, which may cause major disruptions. The use of smart contracts in blockchain management allows to avoid this problem, dynamically introducing new protocols or deprecating old ones without compromising previous data. The Cryptographic Kernel approach has been adopted by Quadrans, an open-source, public, decentralised smart-contract-based blockchain with a specific focus on the needs of industry, complex supply chains, and IOT devices.<\/jats:p>","DOI":"10.3390\/cryptography6030032","type":"journal-article","created":{"date-parts":[[2022,6,29]],"date-time":"2022-06-29T20:47:56Z","timestamp":1656535676000},"page":"32","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Adaptable Cryptographic Primitives in Blockchains via Smart Contracts"],"prefix":"10.3390","volume":"6","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8739-3091","authenticated-orcid":false,"given":"Riccardo","family":"Longo","sequence":"first","affiliation":[{"name":"Department of Mathematics, University of Trento, 38123 Trento, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5228-1524","authenticated-orcid":false,"given":"Carla","family":"Mascia","sequence":"additional","affiliation":[{"name":"Department of Mathematics, University of Trento, 38123 Trento, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5159-7252","authenticated-orcid":false,"given":"Alessio","family":"Meneghetti","sequence":"additional","affiliation":[{"name":"Department of Mathematics, University of Trento, 38123 Trento, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7029-8277","authenticated-orcid":false,"given":"Giordano","family":"Santilli","sequence":"additional","affiliation":[{"name":"Department of Mathematics, University of Trento, 38123 Trento, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Giovanni","family":"Tognolini","sequence":"additional","affiliation":[{"name":"Department of Mathematics, University of Trento, 38123 Trento, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2022,6,29]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Jakobsson, M., and Juels, A. (1999). Proofs of work and bread pudding protocols. Secure Information Networks, Springer.","DOI":"10.1007\/978-0-387-35568-9_18"},{"key":"ref_2","unstructured":"King, S., and Nadal, S. (2022, June 20). Ppcoin: Peer-to-Peer Crypto-Currency with Proof-of-Stake. Available online: https:\/\/bitcoin.peryaudo.org\/vendor\/peercoin-paper.pdf."},{"key":"ref_3","unstructured":"Rivest, R.L., Shamir, A., and Adleman, L.M. (2019). A Method for Obtaining Digital Signatures and Public Key Cryptosystems, Routledge."},{"key":"ref_4","unstructured":"Gilles, B., Hoyer, P., and Tapp, A. (1997). Quantum algorithm for the collision problem. arXiv."},{"key":"ref_5","unstructured":"McCurley, K.S. (1989, January 6\u20137). The discrete logarithm problem. Proceedings of the Symposia in Applied Mathematics, Boulder, CO, USA."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1692","DOI":"10.3923\/jas.2005.1692.1712","article-title":"Security of the Cryptographic Protocols Based on Discrete Logarithm Problem","volume":"5","author":"Rabah","year":"2005","journal-title":"J. Appl. Sci."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"51","DOI":"10.1007\/s10623-015-0146-7","article-title":"Recent progress on the elliptic curve discrete logarithm problem","volume":"78","author":"Galbraith","year":"2016","journal-title":"Des. Codes Cryptogr."},{"key":"ref_8","unstructured":"Kerry, C.F., and Director, C. (2022, June 20). FIPS PUB 186-4 Federal Information Processing Standards Publication Digital Signature Standard (DSS). Available online: http:\/\/citeseerx.ist.psu.edu\/viewdoc\/summary?doi=10.1.1.362.5590."},{"key":"ref_9","unstructured":"Josefsson, S., and Liusvaara, I. Edwards-Curve Digital Signature Algorithm (EdDSA). Proceedings of the Internet Research Task Force, Crypto Forum Research Group, RFC, Available online: https:\/\/www.rfc-editor.org\/rfc\/rfc8032.html."},{"key":"ref_10","unstructured":"Shor, P.W. (1994, January 20\u201322). Algorithms for quantum computation: Discrete logarithms and factoring. Proceedings of the Proceedings 35th annual symposium on Foundations of Computer Science, Santa Fe, NM, USA."},{"key":"ref_11","unstructured":"National Institute of Standards and Technology (2022, June 28). Post-Quantum Cryptography Standardization\u2014Post-Quantum Cryptography, Available online: https:\/\/csrc.nist.gov\/Projects\/post-quantum-cryptography."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Micciancio, D., and Regev, O. (2009). Lattice-based cryptography. Post-Quantum Cryptography, Springer.","DOI":"10.1007\/978-3-540-88702-7_5"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"238","DOI":"10.46586\/tches.v2018.i1.238-268","article-title":"CRYSTALS-Dilithium: A Lattice-Based Digital Signature Scheme","volume":"2018","author":"Ducas","year":"2018","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"ref_14","unstructured":"Fouque, P.A., Hoffstein, J., Kirchner, P., Lyubashevsky, V., Pornin, T., Prest, T., Ricosset, T., Seiler, G., Whyte, W., and Zhang, Z. (2022, June 20). FALCON: Fast-Fourier Lattice-Based Compact Signatures over NTRU. Available online: https:\/\/www.di.ens.fr\/~prest\/Publications\/falcon.pdf."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Bulygin, S., Petzoldt, A., and Buchmann, J. (2010, January 12\u201315). Towards provable security of the unbalanced oil and vinegar signature scheme under direct attacks. Proceedings of the International Conference on Cryptology in India, Hyderabad, India.","DOI":"10.1007\/978-3-642-17401-8_3"},{"key":"ref_16","unstructured":"Ding, J., Chen, M.S., Petzoldt, A., Schmidt, D., Yang, B.Y., Kannwischer, M., and Patarin, J. (2022, June 20). Rainbow\u2014Algorithm Specification and Documentation. Available online: https:\/\/troll.iis.sinica.edu.tw\/by-publ\/recent\/Rainbow3round.pdf."},{"key":"ref_17","unstructured":"Casanova, A., Faugere, J.C., Macario-Rat, G., Patarin, J., Perret, L., and Ryckeghem, J. (2022, June 20). GeMSS: A Great Multivariate Short Signature. Available online: https:\/\/hal.inria.fr\/hal-01662158\/file\/doc.pdf."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1016\/j.jss.2015.07.007","article-title":"Shorter hash-based signatures","volume":"116","author":"Pereira","year":"2016","journal-title":"J. Syst. Softw."},{"key":"ref_19","unstructured":"Bernstein, D.J., H\u00fclsing, A., K\u00f6lbl, S., Niederhagen, R., Rijneveld, J., and Schwabe, P. (2019, January 11\u201315). The SPHINCS+ signature framework. Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, London, UK."},{"key":"ref_20","unstructured":"Di Chiano, N., Longo, R., Meneghetti, A., and Santilli, G. (2021). A survey on NIST PQ signatures. arXiv."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Sato, M., and Matsuo, S. (August, January 31). Long-term public blockchain: Resilience against compromise of underlying cryptography. Proceedings of the 2017 26th International Conference on Computer Communication and Networks (ICCCN), Vancouver, BC, Canada.","DOI":"10.1109\/ICCCN.2017.8038516"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Chen, F., Liu, Z., Long, Y., Liu, Z., and Ding, N. (2018, January 27\u201329). Secure scheme against compromised hash in proof-of-work blockchain. Proceedings of the International Conference on Network and System Security, Hong Kong, China.","DOI":"10.1007\/978-3-030-02744-5_1"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"180410","DOI":"10.1098\/rsos.180410","article-title":"Committing to quantum resistance: A slow defence for Bitcoin against a fast quantum computing attack","volume":"5","author":"Stewart","year":"2018","journal-title":"R. Soc. Open Sci."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"2026","DOI":"10.1109\/ACCESS.2018.2886554","article-title":"A new lattice-based signature scheme in post-quantum blockchain network","volume":"7","author":"Li","year":"2018","journal-title":"IEEE Access"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"5393","DOI":"10.1109\/ACCESS.2017.2788411","article-title":"An anti-quantum transaction authentication approach in blockchain","volume":"6","author":"Yin","year":"2018","journal-title":"IEEE Access"},{"key":"ref_26","first-page":"102780","article-title":"On the construction of a post-quantum blockchain for smart city","volume":"58","author":"Chen","year":"2021","journal-title":"J. Inf. Secur. Appl."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Faridi, A.R., Masood, F., Shamsan, A.H.T., Luqman, M., and Salmony, M.Y. (2022). Blockchain in the Quantum World. arXiv.","DOI":"10.14569\/IJACSA.2022.0130167"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"21091","DOI":"10.1109\/ACCESS.2020.2968985","article-title":"Towards post-quantum blockchain: A review on blockchain cryptography resistant to quantum computing attacks","volume":"8","year":"2020","journal-title":"IEEE Access"},{"key":"ref_29","unstructured":"Buterin, V. (2022, June 20). Ethereum: A Next Generation Smart Contract and Decentralized Application Platform. Available online: https:\/\/github.com\/ethereum\/wiki\/wiki\/White-Paper."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Beullens, W. (2022). Breaking Rainbow Takes a Weekend on a Laptop. Cryptol. ePrint Arch., eprint.iacr.org\/2022\/214.","DOI":"10.1007\/978-3-031-15979-4_16"},{"key":"ref_31","unstructured":"Costa, D., Fiori, F., Sala, M., Vitale, A., and Vitale, M. (2022, June 28). Introducing Quadrans. Available online: https:\/\/quadrans.io\/content\/files\/quadrans-light-paper-en.pdf."},{"key":"ref_32","unstructured":"Costa, D., Fiori, F., Milan, P., Sala, M., Vitale, A., and Vitale, M. (2022, June 28). Quadrans Whitepaper. Available online: https:\/\/quadrans.io\/content\/files\/quadrans-white-paper-rev01.pdf."},{"key":"ref_33","unstructured":"Battagliola, M., Flamini, A., Longo, R., Meneghetti, A., and Sala, M. (2022, June 28). Quadrans Yellow Paper. Available online: https:\/\/quadrans.foundation\/content\/files\/quadrans-yellow-paper-rev1.pdf."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Coglio, A. (2019). Ethereum\u2019s Recursive Length Prefix in ACL2. arXiv.","DOI":"10.4204\/EPTCS.327.11"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Bernstein, D.J., and Lange, T. (2014). SafeCurves: Choosing Safe Curves for Elliptic-Curve Cryptography, University of Illinois at Chicago.","DOI":"10.1112\/S1461157014000394"},{"key":"ref_36","unstructured":"Brown, D.R. (2010). Standards for efficient cryptography SEC 2: Recommended elliptic curve domain parameters. Certicom Research, Certicom Corp."},{"key":"ref_37","unstructured":"Lochter, M., and Merkle, J. (2022, June 20). Elliptic Curve Cryptography (ECC) Brainpool Standard Curves and Curve Generation. Available online: https:\/\/www.rfc-editor.org\/rfc\/rfc5639.html."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"179","DOI":"10.2307\/1885060","article-title":"Signaling games and stable equilibria","volume":"102","author":"Cho","year":"1987","journal-title":"Q. J. Econ."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"8125","DOI":"10.1007\/978-0-387-30440-3_481","article-title":"Signaling games","volume":"19","author":"Sobel","year":"2009","journal-title":"Encycl. Complex. Syst. Sci."}],"container-title":["Cryptography"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2410-387X\/6\/3\/32\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T23:40:15Z","timestamp":1760139615000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2410-387X\/6\/3\/32"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,6,29]]},"references-count":39,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2022,9]]}},"alternative-id":["cryptography6030032"],"URL":"https:\/\/doi.org\/10.3390\/cryptography6030032","relation":{},"ISSN":["2410-387X"],"issn-type":[{"value":"2410-387X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,6,29]]}}}