Volume 12, Number 2

The Performance Comparison of a Brute-Force Password Cracking Algorithm using Regular Functions and Generator Functions in Python

  Authors

Berker Tasoluk1 and Zuhal Tanrikulu2, 1Istanbul University, Turkey, 2Bogazici University, Turkey

  Abstract

Python is used extensively in research, including algorithm testing. Python is a multi-paradigm programming language and supports both object-oriented programming and functional programming. In the functional side, it supports both regular functions and generator functions. This study tests both approaches in terms of usability cases and performance. A password-cracking algorithm is used for this tryout.

  Keywords

Python functions, generator functions, regular functions, regular functions, in-memory functions, iterator, generator expressions, time efficiency, memory efficiency, python programming, general programming, password cracking