A Python implementation of encryption with prefix codes

Nov 22, 2014 1 Replies
A Python implementation of encryption with prefix codes open original image

PREFIXCODING, Version 2.0, available at:

formatting link
is an encryption scheme (with authentication) with pseudo-random prefix codes substitution and pseudo-random transposition. It has two kinds of processing dynamics: re-generation of the code table and injection of dummy bits. There is a shuffling of the plaintext string as pre-processing and a shuffling of the byte sequence resulting from prefix encoding as post-processing.



M. K. Shen


[Sorry, URL was not provided.]

PROVABLEPRIME Version 1.1.1 has been released

formatting link
It is a minor new version, containing modifications of code lines of Example 3 such that it can encrypt either a plaintext string or a byte sequence.

M. K. Shen

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required