Research on Front-End JavaScript Code Protection Method Based on Go Language and WebAssembly

In web development, the security of front-end JavaScript code has always been a crucial issue. Traditional encryption methods are primarily performed on the server side, increasing server load and making it challenging to counter increasingly sophisticated cyber-attacks. This paper explores a novel front-end code protection method by implementing the RC4 algorithm in Go language and combining it with WebAssembly technology. Firstly, the basic principles of the Go language and RC4 algorithm are introduced. Subsequently, the process of compiling Go code into WebAssembly modules is detailed. Finally, the utilization of these technologies to protect front-end JavaScript code is discussed. Experimental results show that using WebAssembly modules not only enhances the security of front-end code and reduces server load but also significantly improves the overall performance of web applications. This research demonstrates a feasible front-end code protection solution and provides a foundation for further study.

Authors

Institutions

Publication Details

Published
2024-10-23
DOI
https://doi.org/10.1109/iccasit62299.2024.10828029
Primary Topic
Digital Rights Management and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Front-End JavaScript Code Protection Method Based on Go Language and WebAssembly

Jun S. Liu, Mingjie Guan, Xin Wang, Jun Yan
Digital Rights Management and Security
article

Research on Front-End JavaScript Code Protection Method Based on Go Language and WebAssembly

Jun S. Liu, Mingjie Guan, Xin Wang, Jun Yan
article en

Abstract

In web development, the security of front-end JavaScript code has always been a crucial issue. Traditional encryption methods are primarily performed on the server side, increasing server load and making it challenging to counter increasingly sophisticated cyber-attacks. This paper explores a novel front-end code protection method by implementing the RC4 algorithm in Go language and combining it with WebAssembly technology. Firstly, the basic principles of the Go language and RC4 algorithm are introduced. Subsequently, the process of compiling Go code into WebAssembly modules is detailed. Finally, the utilization of these technologies to protect front-end JavaScript code is discussed. Experimental results show that using WebAssembly modules not only enhances the security of front-end code and reduces server load but also significantly improves the overall performance of web applications. This research demonstrates a feasible front-end code protection solution and provides a foundation for further study.

Shanghai Changzheng Hospital (CN), Chinese Academy of Civil Aviation Science and Technology (CN)
Openalex Percentile: Top 59%
Digital Rights Management and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Research on Front-End JavaScript Code Protection Method Based on Go Language and WebAssembly — Jun S. Liu, Mingjie Guan, et al. · (2024) | TGRS Research Map | TGRS