Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 12016

A Substitution-Permutation-Network is a structure that has been used to create a number of different block ciphers (e.g., AES, Picollo, Present...)

2 votes

Definition Problem for toy SPN

Definition 3.1 : Let $\pi_S:\{0,1\}^m\rightarrow \{0,1\}^n$ be a S-box. Consider an (ordered) pair of bitstrings of length $m$, say $(x,x^*)$. We say that input XOR of the S-box is $x\oplus x^*$ and …
kodlu's user avatar
  • 23.7k
1 vote

Heys Differential Cryptanalysis Question

So to attack those keys you need to create high probability input differences confined to $S_{41}$ and $S_{43}$. Taking the same input differences as in Heys for $S_{42}$ and $S_{43}$ and working back …
kodlu's user avatar
  • 23.7k
1 vote

Differential analysis of SPN

The reason $R=n-1$ (or $R=1,$ applied to the decryption mapping) is used is the following. All the individual differential approximations as well as the differential trail which is chosen over the $R$ …
kodlu's user avatar
  • 23.7k
2 votes

Would there be any advantage in combining Feistel network and substitution-permutation netwo...

Check out their references as well, but as far as I can tell the previous work they refer to as Hybrid schemes do not mix SPN and Feistel. Reference: C. P. Arya, R. Ratan and N. … Verma, Secure Hybrid Encryption Scheme based on SPN and Feistel Structures, Advances and Applications in Mathematical Sciences Volume 21, Issue 3, January 2022, Pages 1287-1301. …
kodlu's user avatar
  • 23.7k
4 votes
Accepted

modified substitution permutation networks

So, the mixing of the $n$ keys is at most as secure as having a uniformly distributed single key. If your key randomness is not strong, doing this kind of mixing can make the key distribution nearer t …
kodlu's user avatar
  • 23.7k
1 vote

Python code for linear and differential cryptanalysis

I am not a python expert or even user. So caveat emptor (buyer beware). But have a look at https://pypi.org/project/cryptanalysis/ It seems to use a random Sbox and a random Pbox but you should be abl …
kodlu's user avatar
  • 23.7k