Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

Portable and Efficient Implementation of CRYSTALS-Kyber Based on WebAssemblyopen access

Authors
Seo, Seog ChungKim, HeeSeok
Issue Date
1-Jan-2023
Publisher
Tech Science Press
Keywords
Crystals-kyber; edge computing; internet of things (IoT); javascript; post-quantum cryptosystem (PQC); SIMD; web application; WebAssembly
Citation
Computer Systems Science and Engineering, v.46, no.2, pp 2091 - 2107
Pages
17
Indexed
SCIE
SCOPUS
Journal Title
Computer Systems Science and Engineering
Volume
46
Number
2
Start Page
2091
End Page
2107
URI
https://scholar.korea.ac.kr/handle/2021.sw.korea/184331
DOI
10.32604/csse.2023.035064
ISSN
0267-6192
Abstract
With the rapid development of quantum computers capable of realizing Shor’s algorithm, existing public key-based algorithms face a significant security risk. Crystals-Kyber has been selected as the only key encapsulation mechanism (KEM) algorithm in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) competition. In this study, we present a portable and efficient implementation of a Crystals-Kyber post-quantum KEM based on WebAssembly (Wasm), a recently released portable execution framework for high-performance web applications. Until now, most Kyber implementations have been developed with native programming languages such as C and Assembly. Although there are a few previous Kyber implementations based on JavaScript for portability, their performance is significantly lower than that of implementations based on native programming languages. Therefore, it is necessary to develop a portable and efficient Kyber implementation to secure web applications in the quantum computing era. Our Kyber software is based on JavaScript and Wasm to provide portability and efficiency while ensuring quantum security. Namely, the overall software is written in JavaScript, and the performance core parts (secure hash algorithm-3-based operations and polynomial multiplication) are written in Wasm. Furthermore, we parallelize the number theoretic transform (NTT)-based polynomial multiplication using single instruction multiple data (SIMD) functionality, which is available in Wasm. The three steps in the NTT-based polynomial multiplication have been parallelized with Wasm SIMD intrinsic functions. Our software outperforms the latest reference implementation of Kyber developed in JavaScript by ×4.02 (resp. ×4.32 and ×4.1), ×3.42 (resp. ×3.52 and ×3.44), and ×3.41 (resp. ×3.44 and ×3.38) in terms of key generation, encapsulation, and decapsulation on Google Chrome (resp. Firefox, and Microsoft Edge). As far as we know, this is the first software implementation of Kyber with Wasm technology in the web environment. © 2023 CRL Publishing. All rights reserved.
Files in This Item
There are no files associated with this item.
Appears in
Collections
Graduate School > Department of Cyber Security > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher Kim, HeeSeok photo

Kim, HeeSeok
Graduate School (Department of Cyber Security)
Read more

Altmetrics

Total Views & Downloads

BROWSE