Questions tagged [notation]

Questions on the meaning, history, and usage of symbols and notation in cryptography. Please remember to mention where (book, paper, webpage, etc.) you encountered any notation you are asking about.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Confusing notation in signature scheme

In the paper Efficient and Secure Pairing-Free Certificateless Aggregate Signature Scheme for Healthcare Wireless Medical Sensor Networks, on the signature generation part (Page 5), there is an ...
Rabindra Moirangthem's user avatar
0 votes
1 answer
38 views

Why would be the use of such hash function definition? What would be the input of these functions?

$ G \space is \space an \space elliptic \space curve \space group \space G \space with \space order \space q$ and three hash functions are defined as this: $$ H_1: \{0,1\}^*\times G \rightarrow Z^*_q ...
Abol_Fa's user avatar
  • 73
7 votes
2 answers
596 views

Probability conventions in cryptography

I am working on Victor Shoup's tutorial on game-based security proof and want to figure out some notions from the perspective of probability theory. Consider the following PRF advantage defined on ...
X. G.'s user avatar
  • 414
0 votes
1 answer
78 views

Perp notation question

What does the symbol $\perp$ mean? I saw this on a paper where some entity outputs $\perp$.
Chito Miranda's user avatar
1 vote
0 answers
33 views

what is the notation of nth power of 1? [duplicate]

when reading theoretical materials, it is often seen that "a common input 1^n..." what does it mean? Are there any similar questions and answers previously in StackExchange?
oxear08's user avatar
  • 31
1 vote
2 answers
161 views

Can you identify these cryptographic algorithmic symbols?

I am mostly self taught and have limited knowledge of the symbology in the image below. It is a diagram of a sub block the RIPEMD-160 algorithm: Are such symbols standardized? Is there a good ...
sh34v3's user avatar
  • 113
0 votes
1 answer
129 views

Notation question: Dividing 2 Elliptic Curve Points producing a third point

I'm working my way through some papers and ran across what seems to be division of two points that produce a third point. I'm new to ECC and am having a terrible time trying to figure out what this ...
David Rusu's user avatar
1 vote
1 answer
176 views

Superscript vs subscript notation in cryptographic formulation

I'm currently reading this paper [PDF]. On page 4, I bumped into these notations : \begin{equation} \text { Experiment } \operatorname{Exp}_{\mathcal{F} \mathcal{E}, A}^{\text {ind-mode }}(k) \text { :...
tur11ng's user avatar
  • 848
1 vote
1 answer
72 views

Understanding this notation for the probability distribution of order preserving encryption

I'm reading this PDF: https://link.springer.com/content/pdf/10.1007/978-3-642-01001-9_13.pdf about order preserving encryption functions and there's this on page 9 (or 232): It's describing the ...
Guerlando OCs's user avatar
0 votes
0 answers
68 views

For a given security parameter $\kappa$. what does $poly(\kappa)$ mean?

Let ($Gen,Enc,Dec$) be an LHE scheme with security parameter $\kappa$ and message space $M$. Assume that a multiplication operation exists in $M$, i.e., is a finite ring. Let $F : \{0, 1\}^s × L → M$ ...
dev1610's user avatar
1 vote
1 answer
226 views

One way function existence

Let $x = (x_1, x_2,...,x_n)\in\{0,1\}^n$ for $n\in\mathbb{N}$. Prove that if one-way functions (OWFs) exist, then there exists a one-way function $f$ such that for every bit $i\in[1,n]$ there exists ...
maryam's user avatar
  • 11
1 vote
1 answer
257 views

Big-Omega and small-Omega question

I found this on page 538 (resp. 576) of Introduction to Modern Cryptography 2nd (resp 3rd) edition by Katz and Lindell. The third bullet point under Example A.6 says: $$\begin{array}{l}\text{Let }f(n)=...
questioner's user avatar
0 votes
1 answer
191 views

How does this generate a permutation?

In the process of trying to answer this question, I ended up getting stuck. I found a paper which seems to solve their issue: its authors define a process which yields a pseudorandom permutation ...
JamesTheAwesomeDude's user avatar
2 votes
1 answer
133 views

What does a vertical bar mean in this context?

I'm doing a few exercises regarding Schnorr's identification scheme. I have the exercise starting off like this, with the values defined: Let $p = 311$ and $r = 31\ |\ (p - 1)$. Let $g = 169$, which ...
Garsty100's user avatar
2 votes
0 answers
526 views

What does it mean for “1^n”(i.e., the security parameter written in unary)? [duplicate]

As it is mentioned above, I am confused about “Gen takes as input $1^n$ and outputs a key“. Does it mean that the input of Gen is 1111....111 with length of n?
Xinyu Tu's user avatar
1 vote
1 answer
190 views

What does $\text{PK}=\text{pk}\oplus\text{H}(\text{opk})$ represent in this paper?

In Lu, Au and Zhang's 2019 paper (Linkable) Ring Signature from Hash-Then-One-Way Signature, they …extend [M. Abe, M. Ohkubo, and K. Suzuki's 2019 1-out-of-n signatures from a variety of keys] ...
JamesTheAwesomeDude's user avatar
0 votes
1 answer
74 views

What does this Big-O notation mean based on appendix?

I am reading the following book: Introduction to Modern Cryptography Second Edition by Jonathan Katz and Yehuda Lindell. I am going through page 533 where they list what some of the notation means, ...
questioner's user avatar
0 votes
1 answer
103 views

Notation for commitment schemes

I was reading this set of lecture notes on commitment schemes, where they define a commitment scheme $\text{Com}(b, r) = f(r), h(r) \oplus b$ as a secure commitment scheme. In this case, $f : \{0,1\}^...
dfertrsfd's user avatar
0 votes
1 answer
1k views

What's the difference between these hash functions H, H1 and H2?

These are hash functions, but I don't understand their notations, can anyone tell me what's the difference between H, H1 and H2? $\mathbb{G}_1$ is an additive group and $\mathbb{G}_2$ is a ...
Chai Ma's user avatar
  • 125
14 votes
1 answer
1k views

What the X stands for in the front of Elliptic curve names like X25519

I have seen Curve25519 and X25519, Curve448 and X448. I've seen a small note in this answer (Historical note: Originally, X25519 was called Curve25519, but now Curve25519 just means the elliptic ...
kelalaka's user avatar
  • 46.5k
0 votes
1 answer
125 views

What does the "x" operator stands for in cryptography?

I am studying commitment scheme and in of the notes from the class this statement comes up. I'd like to know exactly what the X = M x R mean, since I don't seem to understand how the "x" operator ...
Wild Tarzan's user avatar
2 votes
1 answer
154 views

What is the meaning of the notation $\langle a, b\rangle$ in certain cryptography papers?

I'm trying to understand a paper from Brakerski and Vaikuntanathan. In it, they use the notation $\langle a,b \rangle$ but they don't explain what that means. The answers on this question say that it'...
Mahkoe's user avatar
  • 135
0 votes
1 answer
105 views

How to interpret a specific mathematical notation in "FIPS 202" (SHA-3 / Keccak)

tl;dr What does "d <= |Z|" mean in the context of bit array manipulations? As a learning exercise I'm working on an implementation of SHA-3. I am not a cryptography specialist in any way but I ...
Wossname's user avatar
  • 117
1 vote
0 answers
75 views

In DES : Matsui's notation(LC) vs Biham's notation(DC)

I'm doing linear attack for 8 rounds DES. And I just wondering about the difference between Matsui's notation and Biham's notation. In Matsui's paper, numbers bits from 0 to 63 from right to left. In ...
pioneer's user avatar
  • 305
-1 votes
1 answer
248 views

Meaning of "trans" in crypto algorithm

The paper Snarky signatures: Minimal Signatures of Knowledge from Simulation-Extractable SNARKs by Jens Groth contains this line (on page 16): $$\eta \in (\mathbb{Z})^{\left|Q\right|} \leftarrow \...
UTF-8's user avatar
  • 264
0 votes
1 answer
77 views

RIBE Scheme Implementation - How to encrypt message

This question is regarding "A Fully Secure Revocable ID-Based Encryption in the Standard Model" - Tung-Tso TSAI, Yuh-Min TSENG, Tsu-Yang WU The encryption method specifies part of the encryption ...
sumo's user avatar
  • 43
7 votes
1 answer
1k views

Why is the BSI not using powers of two?

In their Technical Guideline TR-02102-2 Cryptographic Mechanisms: Recommendations and Key Lengths the BSI is giving minimal key lengths for - e.g. the TLS handshake protocol. All of these are not ...
Tom K.'s user avatar
  • 215
16 votes
2 answers
3k views

How did || come to be used in crypto texts to represent concatenation?

In RFC5647, NIST SP 800-38D, etc., || is used to denote concatenation. How did that come to be? In most programming languages || ...
neubert's user avatar
  • 2,875
2 votes
2 answers
133 views

Rational exponents on group generators

In elementary concepts, mostly scalar exponents shows up in group operations: $g^x$ As one may encounter in more advanced papers, there are rational exponents over generators. Simply seems like: $g^...
oniki's user avatar
  • 23
6 votes
1 answer
932 views

What are the curly brackets in this cryptographic hash function definition?

Reading the Schnorr signature Wikipedia page, I stumbled upon the following statement: All users agree on a cryptographic hash function $H:\{0,1\}^*\to\mathbb{Z}_q$. What do these curly brackets ...
Paul Razvan Berg's user avatar
6 votes
1 answer
502 views

"Power of one" as input to functions of a cryptosystem

What does $1^\lambda$ mean when you pass it as a parameter to the functions of a cryptosystem. The cryptosystem in question is this and a picture reference is this. I have been told it signifies the ...
Papa Delta's user avatar
2 votes
1 answer
197 views

local collisions in SHA 0

I have found interesting for me paper about constructing collisions in SHA 0. On page 60 the author determines M variable which is a concatenation of 32-bits vectors $M^{(i)}$, but I can't find any ...
Setplus's user avatar
  • 153
1 vote
1 answer
144 views

What does the〈 〉notation mean in this situation?

I was looking at solutions for a problem but I noticed it said $\langle2\rangle$ and was unsure of what that meant. From Homework 5 (PDF)
grantedfour's user avatar
0 votes
1 answer
69 views

A file chunk in a group/field

I am reading a paper by Shacham and Waters on Compact Proofs of Retrievability. In this paper on page number 3 under section 1.1 in the very first line the author states that an encoded file is broken ...
skii's user avatar
  • 57
2 votes
1 answer
955 views

How to select elements randomly from a multiplicative group Zn*

I am working on a problem in which I have two large safe primes say p and q randomly selected each of 512 bits. I have generated ...
skii's user avatar
  • 57
0 votes
1 answer
506 views

Discrete Logarithm Notation

I'm studying for my final, and some of the practice problems that I have found have discrete logarithms in this notation $L_n(p)$. What does this notation equate to? For example:
Jeg's user avatar
  • 1
1 vote
1 answer
137 views

Multi-argument Poly Notation

In complexity theory, how do you interpret multi-argument poly notation, such as $poly(a,b)$ or $poly(a,b,c)$? Does it mean $poly(x)$ for $x=\max(a,b,c)$?
Joseph Johnston's user avatar
0 votes
1 answer
278 views

Why are they called "commitment", "challenge", and "response"?

I'm reading Proof Systems for General Statements about Discrete Logarithms, and I think I'll have a better understanding of the process if I can understand where the terms come from. They give a basic ...
NNN's user avatar
  • 169
1 vote
1 answer
67 views

What does St denote?

I am reading a paper and notice that the term St is used without being defined. I suspect it is a common notation that I am not aware of. It is used in the following paper: https://eprint.iacr.org/...
MSJ's user avatar
  • 61
-1 votes
1 answer
60 views

What does fullstop mean in this context?

I'm having difficulties figuring out, what the 'full stop' means in the paper John Almeida - SHADOW NUMBERS PUBLIC KEY ENCRYPTION. Appreciated if someone can elaborate on it or have a list of similar ...
NowsyMe's user avatar
  • 113
1 vote
1 answer
2k views

ANSI X9.31 AES pseudocode or algorithm explanation

I want to write a program that will generate random data by using ANSI X9.31 with AES 128 bit, however I could find the standart only with cryptographic notation, and I did not understand it clearly. ...
venturemoo's user avatar
0 votes
1 answer
419 views

What operation does $\|$ denote in ANSI X9.63 KDF? [duplicate]

Can someone tell me in laymens terms what this is? $$K_i = \mathrm{Hash}(Z \| \mathit{Counter} \| [\mathit{SharedInfo}])$$ What do the double pipes represent?
Frustrated's user avatar
1 vote
2 answers
2k views

How to encrypt this using caesar cipher?

I recently had an exercise that read: Encrypt the message "easy question" using Caesar Cipher defined as: C=E(P)=(Pi+3) mod 26 What is this formula and how to solve it?
Ishan's user avatar
  • 11
1 vote
1 answer
651 views

Vertical bar and comma in hash function input

I came across to a definition of a term PMKID while studying 4-way handshake in IEEE 802.11i. It is defined as: PMKID = H(PMK,"PMK name"||AA||SPA) I know the vertical bar || in the input of the hash ...
James's user avatar
  • 19
4 votes
1 answer
100 views

Definition of Cascade for Blockciphers

I have seen that given blockciphers $F,G : \mathcal{K} \times \mathcal{M} \to \mathcal{M}$, their cascade $F \circ G$ is defined to be $F \circ G : \mathcal{K}^2 \times \mathcal{M} \times \mathcal{M}$ ...
Sam OT's user avatar
  • 448
9 votes
1 answer
489 views

What does "$<\!\!<\!\!<$" mean?

What does the symbol $<\!\!<\!\!<$ mean? It is normally followed by a number. An example: It would be appreciated if you could explain it in fairly basic terms.
Nat's user avatar
  • 415
10 votes
2 answers
2k views

Why is the polynomial of an LFSR called so?

As far as I understand, the "polynomial" of the LFSR tells us the positions of the register where taps are situated. However, the natural way to look at the positions would be to think of them as $...
Agnishom Chattopadhyay's user avatar
11 votes
1 answer
2k views

Why do crypto tools display key components in such an unusual format?

openssl x509 (v1.0.1f) displays public key moduli as arrays of hex-encoded bytes, 15 columns wide, starting with a leading 00:: ...
Dan Lenski's user avatar
12 votes
1 answer
14k views

Encoding vs. Compression vs. Encryption

In what ways does encryption differ from proprietary/secret compression schemes and codecs?
ProductionValues's user avatar
2 votes
0 answers
712 views

What is the difference between =, ←, and := in crypto? [closed]

I have seen all of the following notations used to denote the encryption of a message $m$ with the key $k$ to produce the ciphertext $c$: $c = E(k,m)$ $c \leftarrow E(k,m)$ $c := E(k,m)$ Is there ...
M. Al's user avatar
  • 57