From 91420a47d126aec8a38c991f3641dc52e940b8b7 Mon Sep 17 00:00:00 2001 From: Sasha Hilton Date: Mon, 12 Jun 2017 00:51:50 +0100 Subject: [PATCH] Added link to the Shannon reference implementation Stumbled across the Qualcomm Shannon Cipher reference implementation, added a link to a copy of it in my repo. --- docs/connection.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/connection.md b/docs/connection.md index 8bc8b480..9f0234ba 100644 --- a/docs/connection.md +++ b/docs/connection.md @@ -51,6 +51,8 @@ These include the header and length fields. ## Encrypted packets Every packet after ClientResponsePlaintext is encrypted using a Shannon cipher. +A reference implementation of the Shannon cipher can be found [here](https://github.com/sashahilton00/spotify-connect-resources/tree/master/Shannon-1.0). + The cipher is setup with 4 bytes big endian nonce, incremented after each packet, starting at zero. Two independent ciphers and accompanying nonces are used, one for transmission and one for reception, using respectively `send_key` and `recv_key` as keys.