Questions tagged [cryptocode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
6answers
1k views

How to fill a Vigenère square?

Im trying to do a Vigenère square, but I have to modify it several times, so is there any way to fill it with multido or any other method, instead of tabular and by hand. UPDATE All are great answers ...
2
votes
1answer
23 views

Cryptocode: first line number with label instead of hardcoded

In cryptocode, it is possible to define the first line number of a block using something like lnstart=3. However, most of the time I want to set this number depending on the position of a specific ...
1
vote
0answers
34 views

cryptocode sign doesn't work

For some reason /sign does not work for me, while other cryptocode operators work without problem. \documentclass[11pt]{article} \usepackage[primitives]{cryptocode} % crypto diagrams \begin{document} ...
2
votes
2answers
138 views

cryptocode 2 columns

I am working with the cryptocode packet in a contribution with two columns on Overleaf. I have the following sample code, but I have some problem to fix the overlap with the second column. Here the ...
1
vote
1answer
222 views

Cryptocode: how to place the oracle and place its arrows?

How the result should look like: How it looks like right now: I marked the problem with yellow on both images. Here is my MWE: \documentclass[a4paper]{article} \usepackage{mathtools} \usepackage[T1]{...
0
votes
0answers
48 views

Cryptocode: multiple items on arrow bbroracleqry(from/to) and how to place them

Hope some of you can help! MWE: \begin{bbrenv}{A} \begin{bbrbox}[name=$\mathcal{C}$] \pseudocode{% ((N,e),d) \leftarrow \gen(1^n)\\ b \leftarrow^r \{0,1\}\\ ...
0
votes
0answers
37 views

Cryptocode: remove annoying margins around figures

I would like to chain some boxes using the cryptocode package. But I can't find how to do it efficiently. I tried to change the style, look at the code... but I can't find the origin of this spacing. ...
2
votes
1answer
65 views

Cryptocode package: dashed arrow

I'd like to add a dashed arrow for the one annoted c in this drawing: However, I can't find how to do, the style property does not work apparently for this kind of arrow... MWE: \documentclass{...