Stream ciphers

Dragon

A word-based NLFSR stream cipher that reached the final phase of eSTREAM

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Dragon

Dragon is a stream cipher. It uses a 32-byte (256-bit) key and a 32-byte nonce. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Dragon is a software-oriented stream cipher designed by a team from Queensland University of Technology and partners, submitted to the eSTREAM project, where it reached the third phase but was not included in the final portfolio.

Dragon uses a 1024-bit nonlinear feedback shift register of 32 32-bit words and a 64-bit counter-based memory. Each step takes six words from the register, passes them through a non-linear F function built from S-boxes and modular additions, feeds part of the result back, and outputs 64 bits of keystream. It supports 128- and 256-bit keys and IVs.

NextSSL includes Dragon from source without verification. Dragon's word-based design makes it efficient on 32-bit processors, and it was one of the fastest software ciphers in the final eSTREAM evaluation. It was not chosen for the final portfolio. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

2004–2008
  1. ECRYPT launches eSTREAM to find new stream ciphers

    eSTREAM project
  2. Dragon published

  3. 34 designs submitted

    eSTREAM project
  4. Final eSTREAM portfolio published

    eSTREAM project

Security notes

Distinguishing attacks requiring very large amounts of keystream have been published. No practical key recovery is known. NextSSL's implementation is unverified.

Typical uses

eSTREAM researchStream cipher benchmarking

Sizes

FieldBytesMeaning
key32Secret key
nonce32Nonce / IV

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
ct = root.call("stream_apply", "dragon", None, key, nonce, b"secret")[0]   # same call decrypts

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Similar names

Looking for something else?

Frequently asked questions

What is Dragon?

Dragon is a stream cipher in the Dragon family. Dragon is a software-oriented stream cipher designed by a team from Queensland University of Technology and partners, submitted to the eSTREAM project, where it reached the third phase but was not included in the final portfolio.

What are the Dragon sizes?

In NextSSL, Dragon uses: key 32 bytes, nonce 32 bytes.

Who designed Dragon and when?

Dragon belongs to the Dragon family, first published in 2005 by Kevin Chen, Matt Henricksen, William Millan, Joanne Fuller, Leonie Simpson, Ed Dawson, HoonJae Lee, SangJae Moon. Its origin: eSTREAM (phase 3).

Is Dragon safe to use?

Dragon is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).