Red Pike (cipher)


Red Pike is a classified United Kingdom government encryption algorithm, proposed for use by the National Health Service by GCHQ, but designed for a "broad range of applications in the British government" . Little is publicly known about Red Pike, except that it is a block cipher with a 64-bit block size and 64-bit key length. According to the academic study of the cipher cited below and quoted in a paper by Ross Anderson and Markus Kuhn, it "uses the same basic operations as RC5" and "has no look-up tables, virtually no key schedule and requires only five lines of code"; "the influence of each key bit quickly cascades" and "each encryption involves of the order of 100 operations".
Red Pike is available to approved British government contractors in software form, for use in confidential government communication systems. GCHQ also designed the Rambutan cryptosystem for the same segment.
Given that Red Pike is a British encryption algorithm, its name likely refers to a particular fell in the western English Lake District.

Supposed source code

In February 2014, the supposed source code for Red Pike was posted as follows to the Cypherpunk mailing list.

/* Red Pike cipher source code */
#include
typedef uint32_t word;
#define CONST 0x9E3779B9
#define ROUNDS 16
#define ROTL << ) | >> )))
#define ROTR >> ) | << )))
void encrypt
void decrypt