/* * A5/1 Implementation * * Information: http://en.wikipedia.org/wiki/A5/1 * Released: 28th September 2008 * App Options: Debugging mode: -d * * Written By: Brett Gervasoni (brett.gervasoni [at] gmail.com) * * Notes: * - Debugging mode will show step by step processes * - If order matters then put things in order to begin with! * Polynomials, clocking bits, and maximum register lengths. * - If data is not in order the application will try its best to make * the cipher work. * - Polynomials for each register are chosen based on their largest exponent * being less than register length. */ An implementation of the A5/1 cipher written in PHP. A5/1 is the current encryption cipher used in Telstra GSM phones.