Summary: | Obfuskaatiolla pyritään muuntamaan lähdekoodi lukukelvottomaan muotoon siten, että sen semantiikka säilyy muuttumattomana. Tämä tutkielma kartoittaa erilaisia JavaScript-ohjelmointikielessä käytettyjä obfuskaatiomenetelmiä. Käytännön tutkimuksessa menetelmiä vertaillaan keskenään mittaamalla niiden vaikutuksia kolmen esimerkkiohjelman suorituskykyyn. Tulokset osoittavat, että obfuskaatio voi heikentää suorituskykyä merkittävästi, mutta eivät välttämättä yleisty todellisiin tuotanto-ohjelmiin.
Obfuscation aims to transform source code into an illegible format while preserving its semantics. This thesis explores the different obfuscation techniques used in the JavaScript programming language. An experiment is conducted to measure the impacts of several different techniques on the performance of three example programs. The findings suggest that code obfuscation can incur severe performance drawbacks, although the extent to which this would hinder real production programs remains unclear.
|