Stream ciphers

Sober-128

A Qualcomm word-oriented stream cipher with a nonlinear filter and built-in MAC

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 Sober-128

Sober-128 is a stream cipher. It uses a 16-byte (128-bit) key and a 4-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

SOBER-128 is a stream cipher designed by Philip Hawkes and Gregory Rose at Qualcomm Australia in 2003, the last of the SOBER family. It produces 32-bit output words and includes a message-authentication feature.

SOBER-128 uses a 17-word linear feedback shift register over GF(2^32) and a nonlinear filter function that combines several register words with an S-box, additions and XORs to produce each output word. The key and nonce are loaded through a non-linear initialisation, and a separate MAC mode feeds plaintext back into the register.

NextSSL includes SOBER-128 from source without verification. The SOBER family began with SOBER in 1998 and continued through SOBER-t16 and SOBER-t32, which were submitted to NESSIE. Qualcomm developed the designs for use in mobile communications, and SOBER-128 is still available in some cryptographic libraries for compatibility. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

2003–2003
  1. SOBER-128 published by Philip Hawkes, Gregory Rose

Security notes

Attacks on SOBER-128's MAC functionality have been published, and the family's earlier members were broken. It is a research cipher, and NextSSL's implementation is unverified.

Typical uses

Research on LFSR stream cipher designHistorical comparison

Sizes

FieldBytesMeaning
key16Secret key
nonce4Nonce / 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", "sober-128", 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.

Frequently asked questions

What is Sober-128?

Sober-128 is a stream cipher in the SOBER-128 family. SOBER-128 is a stream cipher designed by Philip Hawkes and Gregory Rose at Qualcomm Australia in 2003, the last of the SOBER family.

What are the Sober-128 sizes?

In NextSSL, Sober-128 uses: key 16 bytes, nonce 4 bytes.

Who designed Sober-128 and when?

Sober-128 belongs to the SOBER-128 family, first published in 2003 by Philip Hawkes, Gregory Rose.

Is Sober-128 safe to use?

Sober-128 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).