Abstract
Cryptographic research has traditionally relied on specialized, ad-hoc computing clusters designed for singular tasks, such as factoring specific integers or performing exhaustive key searches. However, the increasing complexity of cryptographic challenges necessitates a more scalable and standardized approach. This paper introduces DisCrypto, a general-purpose grid-based environment designed to leverage the power of distributed computing for diverse cryptographic applications. Built upon the Globus Toolkit 4, DisCrypto achieves nearly linear speedup for complex tasks like DES key searches and elliptic curve challenges by automating task division and resource allocation.
Introduction
Cryptographic computing is inherently "computationally sensitive." Breaking a code or testing a new algorithm often requires staggering amounts of processing power. Historically, researchers solved this by building custom distributed systems for specific problems. The primary limitation of this approach is the lack of a general-purpose environment; switching from a DES exhaustive search to a factoring problem often required rewriting the entire distribution and management logic. DisCrypto aims to provide a reusable, scalable, and open architecture that can host any cryptographic task.
The DisCrypto Architecture
DisCrypto is built upon the Globus Toolkit 4 (GT4) and utilizes the Open Grid Services Architecture (OGSA). The system is structured into two primary layers to separate infrastructure management from cryptographic logic.
Core Layer
The Core Layer manages metadata and resource mapping. It utilizes the Cryptographic Directory and Execution Description Service (CDEDS) to maintain descriptions of code, data, and engines, and the Resource Allocation Management Service (RAMS) to map execution plans to available grid nodes.
High-Level Layer
The High-Level Layer contains the functional "worker" services:
- Dividers and Collectors: These services automate the decomposition of large problems into manageable sub-tasks and the subsequent reassembly of results.
- Calculators: These are the primary engines that perform the actual mathematical computations.
- Replica Service: This service manages the movement of large datasets and algorithm code across the grid network.
Recursive Parallelism and Task Management
A central innovation of DisCrypto is the Task Division Tree (TDT). By classifying tasks as either "atomic" (indivisible) or "dividable," the system can dynamically scale across heterogeneous resources.
This recursive approach allows the system to adapt to the power of individual nodes. A high-performance cluster might receive a large "dividable" task, while a single workstation might be assigned an "atomic" leaf node. This logic is orchestrated via XML-based "Execution Plans," which allow for pre-computation validation and logical consistency checks before CPU cycles are consumed.
Experimental Evaluation
The authors evaluated DisCrypto using three benchmark cryptographic tasks: Distributed DES Exhaustive Key Search (Ex-DES), Parallel Collision Search for Elliptic Curve Cryptography (PCS), and DES Differential Cryptanalysis (Dif-DES). The algorithm code for these tasks ranged from 51KB to 58KB, while the task data for the PCS challenge was approximately 2.3MB.
In a LAN environment, the system demonstrated nearly linear scalability as the number of grid nodes increased. This suggests that the overhead of the DisCrypto management layer is minimal compared to the heavy lifting of the cryptographic math. Furthermore, the system successfully managed complex multi-stage attacks, such as Differential Cryptanalysis, which require distinct phases of data division and result assembly.
Conclusion and Future Work
DisCrypto represents a significant step in moving cryptographic research toward a standardized grid infrastructure. By separating the mathematical algorithm from the underlying infrastructure, researchers can register new "Meta-dividers" and "Meta-calculators" via XML documents without re-engineering the network. Future work will focus on enhancing performance in wide-area grid environments, finalizing dynamic monitoring within the RAMS module, and improving fault-tolerance mechanisms for long-running challenges.
Summary updated