[Cryptography] [External] : Drawing cipher diagrams

Jan Pechanec Jan.Pechanec at oracle.com
Mon Oct 6 07:16:53 EDT 2025


Hi Pierre,

On Fri, Oct 03, 2025 at 05:58:02PM -0400, Pierre Abbat wrote:
> https://urldefense.com/v3/__https://github.com/phma/DaphneCipher.jl__;!!ACWV5N9M2RV99hQ!Mz2YZ6s-0-ypp1TFMSMVKYvR0Gxt4kBz7JCiAxUHwYhSX4IZ29NOd5iC3dF_O9YIYx7e9dU6y_kj3obs$ 
> It took me over a week to draw this diagram in the Gimp, using radius-65 
> circles because there are 36 integral points on such a circle (and I 
> discovered partway through that the 45° points are close to integral). I'm 
> thinking of drawing diagrams of Wring and Twistree. It'll take at least three, 
> one for each of Wring, Twistree, and their common key schedule. Can you 
> suggest programs for drawing such diagrams?

Kernighan's PIC from the 80ies is still a great tool, and is available
virtually on any unix-like system as its GNU version is part of groff.

https://en.wikipedia.org/wiki/PIC_(markup_language)
https://doc.cat-v.org/unix/v8/picmemo.pdf
https://www.chiark.greenend.org.uk/doc/groff-base/html/pic.html

I think what you have above is what PIC is great at.

Jan

-- 
Jan Pechanec <jan.pechanec at oracle.com>


More information about the cryptography mailing list