instruction stringlengths 32 27.2k |
|---|
Just to start, this is mainly a curiosity question that's been nagging me for a while. I did a fair bit of googling to see if someone has already performed a righteous expose of this silly idea, but couldn't find anything.
A friend and I were working together on a small project to learn the basics of practically implem... |
Given $g$, a generator of a multiplicative group (over some finite field or elliptic curve), and the group elements $\left( g^x, g^a, g^b, g^c, g^{x(a+b)}, g^{x(b+c)} \right)$, is possible to efficiently find the value of $g^{x(a+b+c)}$ (without knowledge of the values $x, a, b, c$)?
I believe the problem at hand is cl... |
In an algebraic number field, an ideal $I$ in the ring of integers $\mathcal{O}_K$ has dual $I^\vee = \{x\in\mathcal{O}_K\text{ : }T_{K/\mathbb{Q}}(xy)\in\mathbb{Z}\text{ for all }y\in I\}$, where $T_{K/\mathbb{Q}}(\cdot)$ is the field trace. A lattice $\mathcal{L}$ in $\mathbb{R}^n$ has dual $\mathcal{L}^\ast = \{x\in... |
rfc5869 has the following to say about the use or lack thereof of salts with HKDF:
HKDF is defined to operate with and without random salt. This is done to accommodate applications where a salt value is not available. We stress, however, that the use of salt adds significantly to the strength of HKDF, ensuring indepen... |
Security of symmetric algorithms rely on "obscuring" keys, correct? They use "secret" keys.
|
I have two prime numbers $p$ (1024 bits) and $q$ (160 bits) such that $q$ divides $p-1$. Now I want to find an element $b$ in $\mathbb{Z}_p$ with the order of $q$. That means that $b^q \equiv 1 \mod p$.
I tried to choose $b$ at random and than check if the congruence holds, but it seems that this is not a good approach... |
I'm currently reading the proof of basic composition from the paper https://link.springer.com/content/pdf/10.1007/11761679_29.pdf. In particular, Theorem 1 in Section 2.2.
The proof starts as follows:
My question is why we can assume the set $S$ is in the form $S_1\times S_2\times\ldots\times S_T$. In general, I remem... |
According to the HKDF paper, the use of a salt serves two purposes: domain separation and randomness extraction.
This question is solely about the necessity of a salt for the purposes of randomness extraction.
The HKDF paper states:
a salt value (i.e., a random but non-secret key) ...
is essential to obtain generic ex... |
I want to know relationship between bit security and Root Hermite factor.
How can I calculate bit security from Root Hermite factor.
(I want to know 1.00395, 1.00499, 1.00215, 1.00265 each)
|
When we perform encryption with Public or Private Key, Asymmetric AES with RSA and CBC 128, and when we use the padding as well. Why do we have to bother adding the additional:
Key + IV?
******************
* Encrypted Key *
******************
* Encrypted IV *
******************
* HMAC *
*****************... |
I'm trying to generate a signature for DSA with the following parameters:
p=67 , q=11 , g=38 , H(m)=7 , x=6
(Is it correct to choose g=38?)
I cannot choose a random k (0>k>q) that will give me r , s that 'add up' when calculating w, u1, u2, and verifying.
I don't know where I made a mistake I've tried every possible k ... |
I suppose an executable could contain a key which signs its output, but that key could be extracted and used to sign other data. Is it possible to verify that the output of an executable is the direct result of its own unaltered (assembly) control flow?
|
Suppose I have some unknown plaintext P which I encrypt N times, each time with a completely new and random key and IV. Would knowing that all the encrypted output came from the same identical plaintext make it any easier to guess or derive the original message without any of the keys or IVs? If so, why and how much ea... |
In a problem about pollard p-1 factorization method, where $n=pq$.
We choose some random base $a$ , and an exponent $B$, where hopefully $p-1$ has small prime factors, and if so we hope to estimate $p = \gcd(a^B-1,n)$.
We wish to estimate the probability that for a given exponent $B$, a randomly chosen base $a$ satisfi... |
do you know about CBC-MAC? I have iv ,MAC and Transaction but no key. and I should change Transaction without change cipher text. do you know how this is possible at all? In addition, I do not have cipher text to find key. information:
Transaction:to=9714163002&from=9711412111&amount=10000000
IV: qes/2BpH9BvVN7f6jFy43g... |
can anyone please tell me the difference between unconditionally secure, perfect confidentiality and semantically secure? I know that for perfect confidentiality, we have an adversary A that has an advantage that equals to 0,Pr(w0) = Pr(w1), while the adversary has unlimited resources, and for semantically secure the... |
I have made a private messaging program and would like to check that nothing is stupid in my use of cryptography.
I am an amateur and nothing is for production.
I thank you in advance.
The message exchanges are encrypted end-to-end with AES-OCB.
The session key is exchanged as follows:
At the beginning, the private key... |
Suppose we are encrypting multiple files with AES in CBC mode and using 256 bit keys. Assume the IVs for the files are randomly generated with a secure method. Assume some key $K$ is generated with Argon2 from a secure passphrase with secure parameters.
Assume for each file we store the IV and 32 bytes of random data $... |
I have a 32 byte octet string ec private key.
And I want to convert this to pem type private key.
I use the secp256r1 curve.
How can I do that?
Is any command or method for that?
|
Suppose that $y$ is a uniform random variable that is defined over the field (or group or abelian group) $Y$. Let us suppose that there are $N=\{1,2,\cdots,i\cdots,N\}$ agents and only one of them, say $i$, knows the random variable $y$. She wants to share the secret with the other $|N|-1$ players. So we could assume ... |
Suppose I want to encrypt a message with a password.
Couldn't I just XOR the bytes with bytes from a cryptographically secure pseudorandom number generator (CSPRNG) with seed being the password, or a hash of it? I can't see anything wrong with this.
Or are CSPRNG so slow that more complex encryption schemes are necessa... |
I recently stumbled upon a YouTube video explaining a casino game. In simple words, they randomly generate a multiplier for your initial investment. This multiplier is supposed to be backed by a hash value. The casino also gives the customer the initial hash value of the first game and the hash value of every subsequen... |
I was reading the definition of Fujisaki-Okamoto transform, and I found this:
What does it mean the "randomness space" of the function Enc in the PKE setting?
|
In the above image, you can see a coordinate grid containing some random green points. Each point has a pseudorandom 1/10 chance of being green. What I'm looking for are clusters of these green points within a radius of ~8 (ignore the inner mask shown). Said another way I am looking for statistically unlikely high den... |
In ECDHE, the group is a public value.
I want to get this value for a session. I inspected the session using Wireshark.
Under the ServerHello -> Key share extension -> Key share entry, I found these parameters:
Key Share Entry: Group: x25519, Key Exchange length: 32
Group: x25519 (29)
Key Exchange Length: 32
Key Exchan... |
Suppose there are some constant values which must be set inside the circuit. The naive way is to simply pass the needed constants as inputs to the circuit. But this seems wasteful.
What it the proper way of setting (i.e. hard-coding) constant values in the garbled circuits?
|
One issue that may arise when attempting to evaluate the security of a round function for a block cipher is that the analysis of the round function does not treat the round key space and the message space as merely sets but as more sophisticated structures. For example, if the message space is $\{0,1\}^{n}$, then the m... |
Is the $t$ out of $n$, namely $(t,n)$, threshold in the secret sharing scheme related to the entropy of the random variable that is shared according to the scheme?
What changes in the secret sharing scheme if $t=n$?
|
Sorry if this question is misguided, I'm a software developer and not a cryptographer.
Let's say I have a public key, and 2 signed messages.
Signed message 1:
message_hash_1
signature_1.r
signature_1.s
Signed message 2:
message_hash_2
signature_2.r
signature_2.s
Assumptions:
message_hash_1 == message_hash_2
signature... |
Consider two points P, Q over a pairing friendly elliptic curve $E[F_q]$, e.g., BN254. Let Z = e(P, Q). It is known that $Z \in F_{q^k}$ where $k$ is the embedding degree. The norm map N(Z) is defined as $\prod_{0\leq i\leq k-1} Z^{q^i}$. We observed that for BN254, N(Z) is always the 1 in $F_p$.
Is that the case for a... |
I'm trying to find an algorithm to prove that someone knows some short secret message (for example some prediction of the future) before finally revealing it.
For example:
Alice knows what temperature will be outside tomorrow, she wants to prove to Bob that she had it without revealing the number until tomorrow. Bob on... |
Let $q \geq 2$ be a prime integer. Consider two functions, given by:
$$f(b, x) = Ax + b \cdot u + e~~~(\text{mod}~q),$$
$$g(b, x) = Ax + b \cdot (As + e') + e~~~(\text{mod}~q),$$
where we have:
\begin{align}
b &\in \{0, 1\}, \\
x &\in \mathbb{Z}_{q}^{n}, \\
s &\in \mathbb{Z}_{q}^{m}, \\
A &\in \mathbb{... |
Suppose that we have a multi-secret sharing scheme as it is described in the literature
Let there be $I$ agents and say that $S$ is the space of the (uniform) random variables $s=(s_1,s_2,\cdots,s_I)\in S$ such that the share $s_1$ is known to $P_1$, $s_2$ is known to $P_2$ and so on. Could someone propose an appropri... |
I am wondering which of these two solutions is better for security on the long run. The problem is:
Alice and Bob exchange a secret key/private key. Then they go far away from each other and never have the opportunity to exchange a private key again. They will use the private key to exchange messages intensively (let's... |
For an exam I'm studying for, I'm wondering what block cipher modes are best to use in certain situations.
We learned about these block cipher modes: ECB, CBC, CFB (+ s-bit), OFB (+ s-bit) and CTR.
From what I understand: some can be parallized, some can't. Some can be turned into a stream cipher (s-bit), some can't. S... |
In Alexander May's Paper "How to Meet Ternary LWE Keys", Alexander May writes the following about combining representation techniques with Odlyzko's locality sensitive hash function (Page 12):
Intuitively, in a subset sum-type approach of the representation technique as
in [HJ10], one would try to construct two lists... |
The public key is defined by (N, e) where N is the product of two large primes and e is chosen such that e.d = 1 (mod phi(N)) where phi(N) is Euler's totient function. e is the encryption exponent and d is the decryption exponent.
Suppose x is the symmetric key which is encrypted as c = x^e mod(N). How is tampering wit... |
What are the requirements of a nonce? <- Typically it is only required that a nonce is unique, however, in certain cases harsher requirements (such as randomness and unpredictability) are put.
The OAuth 1.0a specification states that:
A nonce is a random string, uniquely generated by the client to allow
the server to ... |
Say Alice owns two keypairs: ($Pub_1$, $Priv_1$) and ($Pub_2$, $Priv_2$).
The pair ($Pub_1$, $Priv_1$) is pretty mundane.
$Priv_2$ was intentionally created by Alice by concatenating $Priv_1$ and the word "banana" (and then she derived $Pub_2$ out of $Priv_2$ the usual way).
Bob knows the public keys.
In any asymmetric... |
Given the OWF function $f: \{0,1\}^{2\lambda} \rightarrow \{0,1\}^{2\lambda}$ and the PRG $G: \{0,1\}^{\lambda} \rightarrow \{0,1\}^{2\lambda}$, is the following function $f^*$ a OWF?
\begin{align}
f^*: \{0,1\}^{\lambda} &\to \{0,1\}^{2\lambda}\\
x &\to f^*(x) = f(G(x)\oplus(0^{\lambda}||x))
\end{align}
My idea is t... |
A proposed secret sharing scheme: Suppose that $p:S\times Y\to X$, with $|Y|\geq|S|$ is a cipher where, $y\in Y$ is the key and $x\in X$ the code, $p$ is bijective, namely $(x,y)$ is associated with only one $s$. Hence the decrypted message $s=x\oplus y$ and it is easy to proove it.
$\textbf{Proof:}$ Suppose that we h... |
To use the Laplace mechanism, we have to get the global sensitivity of a query function. What do we do in the case where there is one huge outlier(or multiple outliers) in the dataset such that the global sensitivity gets too large and noise added results in query outputs that do not make sense anymore. In which case c... |
This is from the paper of Yevgeniy Dodis, Shai Halevi, and Tal Rabin
Could anyone provide some help about understanding how the following protocol is executed? The game is played based on the sequel assumptions: ``the players are (1) computationally bounded and (2) can communicate prior to playing the original game, wh... |
Take for example SHA256. Is it possible for the hash of a 64 character hex string S to be S? i.e:
$$H(S)=S$$
|
What's the difference between the definitions of virtual black-box (VBB) obfuscation and indistinguishability obfuscation (iO)? Is there any presentation describing both? Furthermore, why is the notion of iO interesting (and sufficient in practical sense) given that it is a weaker notion than VBB?
|
The problem setting is as follows. Suppose there exists a public input $x$ and the prover evaluates $y \gets VRF_{sk}(x)$, but the prover does not wish to reveal the output $y$. My question is would it be possible to let the prover publishes the commitment of $y$, say $com_y$, then proves that the committed value of $c... |
FIPS 186-4 Digital Signature Standard defers to ANSI X9.62-2005 for the specification of ECDSA, with additional requirements set out in Chapter 6 and Appendix D. However, X9.62-2005 has since been withdrawn and replaced by ANSI X9.142-2020. The FIPS 186-5 draft noted the withdrawal of X9.62-2005 and that X9.142 was und... |
Can one be thought to be a more powerful resource than the other? It seems to me like you could use QSDC to achieve the same thing as QKD (sharing of a secret key) without the use of a classical channel. What exactly is the trade-off between the two?
Finally, are there established bounds on the capacities of various q... |
I read about XEX mode of operation in Wikipedia
My question is:
There are two keys that are XORed against plaintext, if instead of two XORed keys I add 4 or 6, does it increase the security of block cipher mode?
In the case of 4 XOR operations, I mean XOR the first key, XOR the second, encrypt, and XOR the third and fo... |
I stumbled across this question where the questioner asked for specific requirements for the round function $F$ in a Feistel network so that the construction is secure. The answer explained that a pseudorandom function in a four round Feistel cipher is sufficient for it to achieve security.
Is that also necessarily the... |
Let $\text{Adv}^{\text{DLWE}}_{n,m,q,\sigma}$ be the advantage of an attacker to distinguish LWE samples from uniform ones, where $m$ is the number of samples, $q$ the modulus and $\sigma$ the standard deviation of the error distribution.
I can't find an explicit expression for this advantage.
Does reducing $q$ and inc... |
Currently, I have been assigned to attack a reduced version of SHA-1. What are we trying to achieve? How do we attack it?
|
I read about using 64-bit words in PRF functions.
I want to convert the 32-bit ARX cipher Chacha into a 64-bit version, with key/block size of 1024-bits (512*2=1024-bits)
My question is:
Should I add more rounds to achieve similar security?
|
I've came across an example where the e value is three but no matter what tool/script I try, I can't decrypt it. I'm wondering if the ciphertext and n is super super large, is it possible to crack it even if e=3?
|
I'm implementing ECC in my spare time project. I'm referencing RFC-6090 for point arithmetic algorithm over homogeneous coordinates.
In Appendix F subsection 2, there are 5 case labels when determining which formula to use depending on how many if any point-at-infinity exists in operands. For me, implementing these cas... |
I'm referencing RFC-6090 for an attempt at implementing ECC in my spare-time project.
In the RFC, pseudo-code examples are given to illustrate how to handle points-at-infinity in point arithmetic, and this involved several special cases. This is because the point doubling and point add formula in affine and homogeneous... |
I have a device that signs (symmetrically) very short messages, and I would like to sign a long one.
I split it into several short messages, signed each one separately, and now combine all the signatures. Of course, the trivial way is to concatenate them, but is there a way to have the combined signature of the same le... |
According to Representing a function as FHE circuit, the AND gate for FHE encrypted data is just A*B, in the case that the plaintext has only 0 or 1 coefficients.
Remember that on the BFV FHE scheme, it encrypts polynomials, and we can set the maximum value of the coefficients of the polynomial. So, if we set the max v... |
I would like to verify my system by running ECDSA NIST test vectors, but I am not getting expected output. I am able to calculate signature, but it is not right or at least "r" and "s" components contains different values than in nist vectors. What I am doing wrong?
Test vectors: NIST: FIPS 186-4 ECDSA - 186-3ecdsasigg... |
All current best practices about creating and using cryptographic keys I've found, refer to creating an encrypted data out of raw data. However, there is (or at least was a few decades ago) a practice where a key is not used to decrypt or authenticate anything, it is used solely locally as a (very week) proof of owners... |
How can I compare different cipher text? When deciphered, say the same thing. I would like to find out the ciphering method. Any help would be appreciated. Thanks.
The primary code needs to be a 8 characters. The cipher formula then spits out different 20 character Hex codes. Would giving the Hex codes and original cod... |
I will try to define easily the cryptographic system of this paper. The author designs a communication game for $N$ players. The private information of every player is denoted as $t_i\in T_i$ and represents the type of player $i$. The encryption system that the players use to communicate is based in the following repor... |
Consider the LWE problem.
Let $A$ be an $m \times n$ matrix, $x$ is an $n \times 1$ vector, $u$ is a $m \times 1$ vector, and $e$ is sampled from a Gaussian distribution.
We are given either $Ax + e ~~(mod~q)$ or $u ~(mod~q)$ the conjecture being that it is difficult to distinguish between these samples in polynomial t... |
I communicate with another person online,
I know he is a person because sometimes he also writes real messages
but at random timeframes whenever I send him a message he only responds with a dot
maybe the other person is playing a game with me but maybe he leaves his desk and turns on a bot
is there a zero knowledge pro... |
I was looking through the S/MIME Message specification (RFC 8551) to find out what security services it offers. Section 2.4.4 of this document describing AuthEnvelopedData content type (which uses the CMS type of the same name) says:
This content type is used to apply data confidentiality and message integrity to a me... |
Countless examples all over on implementation of AES. None of these actually make sense to someone with zero cryptographic or advanced mathematical experience.
This => too abstract & technical...
This => is very good and a lot closer, however still too technical & abstract...
Etc.
What I want to see is an actual exampl... |
SafeCurves defines criterias for choosing safe curves in elliptic-curve cryptography.
STARK Curve defines a Stark-friendly elliptic curve that can be used with ECDSA.
I was wondering: Is the STARK Curve a SafeCurve?
|
I'm testing my own PRNG generator which should has period $2^{38}$ bytes. So after exactly $2^{38}$ bytes it should start repeat. But PractRand find no anomalies after $2^{39}$ bytes.
Could it be that PractRand wouldn't detect this, or I had miscount something and the generator does not loop after that number of bytes?... |
Recently, I have found research papers about the functional encryptions for inner products and quadratic polynomials.
For inner products, there are a few papers which focus to construct efficient function hiding functional encryption for inner products. However, I could not find any results about the function hiding fu... |
As we all know, secure multi-party computation allows us to run a certain computation/function on private inputs contributed by different parties (that do not necessarily trust each other). The security guarantee of an MPC is that parties learn nothing beyond the computation result.
However, MPC does not deal with the ... |
Could we use permutation polynomials for secret sharing scheme like Shamir's? The say that they induce a bijection over $\mathbb{Z}_p$ what does this mean and how does it helps?
|
I would like to make a parallelism between Shamir's secret sharing scheme and how to define a cryptosystem where the encryption scheme is based on secret sharing. To begin with I do not know if there can be such an analogue.
Suppose that we have a standard cryptosystem. Mathematically, a cryptosystem or encryption sche... |
I would like to make a few questions about Shamir's secret sharing scheme and. To begin with, I am starting with the next theorem that determines the intuition of the whole theorem.
$\textbf{Theorem:}$ Let $p$ be a prime, and let $\{(x_1,y_1), . . . ,(x_{t+1},y_{t+1})\}\subseteq\mathbb{Z}_p$ to be a set of points whose... |
Suppose, If a SHA-2 hash does get broken completely with hardly any power, where would it get reported and is there currently a bounty on it?
|
In a $t+1$ out of $n$ secret sharing scheme where there is a network of $n$ players, in order to reconstruct the secret $t+1<n$ players are needed to share their parts $(x_i,f(x_i))$ so as the polynomial function of degree $t$ can be computed. However, all the $n$ want to have acces to this secret, but at least $t+1$ o... |
I have interest in e-voting and am currently trying to understand El Gamal re-encryption mixnet.
I understand how El Gamal encryption works and how mixnet works but what's not cristal clear for me is how the decryption is done after the re-encryption.
As I understand it, I just need the secret key to decrypt the encryp... |
Each block's contents are hashed into 32 bytes using $\operatorname{SHA-256}$ (call this string $a$). In order for the block to be accepted, there must be a 256bit nonce (call this string $b$) provided such that $\operatorname{SHA-256}(a\mathbin\|b)$ ($a$ concatenated with $b$) has $N$ or more leading zero bits, where... |
I am working with an older piece of software that generates encrypted backups that I'd like to decrypt. I have a plaintext key, a few examples of encrypted data and I'm pretty sure the data is ASCII, but I don't know how they derive the RC4 key from the plaintext key.
How would I go about testing key derivations compre... |
I am trying to solve 3pass Diffihellman problem. However, I could not solve it. Is there any specific rule exist to select a1 and b1 or problem in the calculation. Please help me to solve this problem.
|
Taking into account this paper I will write here a definition that the authors provide.
$\textbf{Definition:}$ (linear secret sharing scheme). A $(t,n)$ secret sharing scheme is a linear secret sharing scheme when the $n$ shares, $v_1,v_2,...,v_n$ can be presented as in Equation $\ref{5}$
$$(v_1,v_2,...,v_n)=(k_1,k_2,.... |
I have three questions regarding Davies-Meyer construction :
What is the name of the underlying block cipher?
How is generated the first input hash value (IV) passed to the block cipher?
What is padded to last original message block?
|
Let be Alice, Bob, and David three people. They all have public-key cryptographic system: private key and public key.
Is there any way, in some known cryptographic system (RSA, Elliptic Curve, etc.), that satisfies the following three conditions:
Alice, Bob, David don't know private keys from anyone
David could see al... |
There is an encryption scheme where the votes are encrypted with ElGamal and the decryption key is the secret that is shared among the authorities. After everybody voted they publish their part of the secret according to the Shamir tresholding scheme and everybody can calculate the tally.
Is it possible that every vote... |
The following extracts were taken from the Zero-Knowledge Proof page on Wikipedia:
In cryptography, a zero-knowledge proof or zero-knowledge protocol is a method by which one party (the prover) can prove to another party (the verifier) that a given statement is true while the prover avoids conveying any additional inf... |
What could $a_0=s$ in Shamir's secret sharing scheme represent?
As we already know in a $k$ out of $n$ secret sharing scheme, a secret is split in $n$ parts however only $k=t$ parts (of a polynomial of degree $t-1$) are needed if we want to compute the secret. Suppose that $f$ is the polynomial function such that
$$f(x... |
First of all, I don't want to reinvent the wheel, just want to build my own car. Non-product environment; only for fun and entertainment.
The goal is to use a single private (and never published) master password to create unique passwords (token) for each website account (twitter.com, reddit.com, etc.)
Is the following... |
I would like to understand the algebra behind GCM's security. Before I ask my questions, let me state my understanding of the math behind GCM. If correct, my questions are at the end; if incorrect, can you please explain my mistake.
For simplicity, assume only one block of ciphertext $c$. We want our tag to have two... |
According to https://eprint.iacr.org/2011/133.pdf and many other papers, there's an isomorphsim between the space of polynomials and its coefficients. So, at least in the BFV scheme, we can do:
$$p(x) = [a_1, a_2, ..., a_3]$$
$$\phi(p(x)) = [\phi(a_1), \phi(a_2), ..., \phi(a_3)]$$
So applying one operation to the polyn... |
I've seen the following (alleged) quotation on this site and other places:-
If you can make random numbers, you can have a private conversation.
-Whitfield Diffie.
Yet we (Google & me) can't find an original source for it. Can anyone point me to the original publication/talk/presentation? Or is it just folklore?
|
I'm using HElib CKKS to do experiments and wondering if it's possible to control the error bound in each basic operation such as multiplication, encoding, and rotation.
I have this question is because I found that it seems the increase of error bound in HElib is faster than the implementation of HEAAN.
Here is the exam... |
Is it possible to tell if a point on an elliptic curve is less than half of the curve's order?
If I have a point $ = [a]$ on a curve with prime order q, is there an efficient way to know that $a < q/2$?
I understand that range proofs would work for this, but is there a quicker way? Specifically, I am working with secp2... |
I'm interested in methods of wrapping an AES DEK (Data Encryption Key) using AES KEK (Key Encryption Key). Is there an advantage to using AES key wrap as defined in RFC 3394 as opposed to simply adding a random nonce to the DEK before encrypting it?
Context: My KEK is based on a TPM 2.0 (Trusted Platform Module), the ... |
Reading the selected answer to Designing a hash function from first principles rather than depending on heuristics is very insightful.
The section on "nonlinearity" suggests that making every equation involved in the hash function into a linear one means the attacker can easily figure out the implementation of the hash... |
From Vitalik Buterin's Blogpost - An approximate introduction to how zk-SNARKs are possible
From the sub-topic "Comparing a polynomial to itself", I understood till here
In other words, any polynomial that equals zero across some set is a
(polynomial) multiple of the simplest (lowest-degree) polynomial that
equals zer... |
In this paper, there is a statement in the abstract:
Our construction uses $3n + 0.002n \log(n)$ logical qubits, $0.3n^3 + 0.0005n ^3\log(n)$ Toffolis, and $500n^2 +n^2 \log(n)$ measurement depth to factor n-bit RSA integers.
The title of the paper states that 20.000.000 qubits are used to crack RSA-2048 where this ... |
According to this there are at least 6 "properties" all cryptographically secure hash functions strive to attain:
Deterministic: the same message always results in the same hash;
Quick: it is quick to compute the hash value for any given message;
One-way function: it is infeasible to generate a message from its hash v... |
In CGPR (link to paper) Section 3.5, it is mentioned that the cost of prover is $O(|C| \log(|C|))$, given the size of the circuit is $|C|$.
It looks to me that the polynomial degree in the resulting QAP should be $O(|C|)$. Wouldn't the prover cost be $O(|C|)$? Am I missing some steps here?
|
When I read about BFV or BGV, they all look similar: they use polynomials from $\mathbb{Z}[X]/X^n+1$ as secret keys/pubic keys, etc.
What is the main difference?
|
How do we measure the security levels of Post Quantum Cryptographic algorithms such as: NTRU Prime, Saber, Kyber,...that are submited to NIST PQC Standardization Process(Competition) in general?
I read the documentation in the NIST submission package of NTRU Prime but understanding the security levels does seem very c... |
Do the key check values of two-key 3DES keys have a uniform distribution? If not I'm curious as to what the distribution is.
I ask because I want to know how safe it is to use a key's KCV as an identifier for that key. If the distribution is uniform, then I believe that I can calculate the chances of a KCV collision vi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.