cryptocode
cryptocode copied to clipboard
LaTeX package for typesetting pseudocode and cryptographic games
This provides all the necessary definitions and also has the advantage that it respects cleveref's capitalization options.
My protocl environment is too long to display all, so i must create two protocl environment. Is there a better way to cross page for long protocol? By the way,...
First, thanks for this package. The `sendmessage` allows me to define my own style for the arrow to replace `sendmessageleft`, which is great (for instance to change the arrow style,...
I think it's somewhat inconsistent to use serif (`mathsf`) for multi-letter variable identifier such as `pk` while sticking to italics for single-letter variables. For example, in `\sigma
Adversary terms don't have correct spacing when used in text mode. There's no space to the right of them: This PR puts an `\xspace` after the term. As a result,...
Recently I noticed that when using babel, and tikz, using the tikzlibrary babel is needed in some cases. For these cases, it breaks some commands in cryptocode (I suspect it...
Changing the example code to minted instead of lstlistings. This results in code blocks that are easier to copy and paste and have better syntax highlighting. We lose the line...
Modified \gamechange such that the check for mathmode works as originally intended. Removed Remark describing the actual behavior instead of the intended behavior. Fixes #19 .
Hello, My procedure is too long to display in one page. It would be great if it is possible to display long code in two columns while the line number...
\gamechange is currently defined as \newcommand{\gamechange}[2][gamechangecolor]{% {\setlength{\fboxsep}{0pt}\colorbox{#1}{\ifmmode$\displaystyle#2$\else#2\fi}}% } It clearly tries to check whether or not it's being used in mathmode. Unfortunately this doesn't actually work. The problem is that...