instruction stringlengths 32 27.2k |
|---|
An appliance uses a curious way of obtaining ssh-rsa host keys: There is a single configuration option "management certificate" that sets RSA private keys both for HTTPS and SSH management.
Concretely, the configured certificate+key is used as-is for HTTPS. For SSH the device extracts and reuses the raw RSA key from th... |
What is the difference between KDF based on NIST SP800-108 vs. the older one in ANSI X9.63? When should one be selected over the other? Thanks.
|
If $x$ and $y$ are both 128-bit strings would the function $h(x||y) = AES_x(y)$, where $x\|y$ means concatenation, be considered collision resistant ?
Is there an easy way to find $(x_1, y_1)$ and $(x_2, y_2)$ such that $h(x_1\|y_1) = h(x_2\|y_2)$ ?
I couldn't think of a way but since the hash function is un-keyed so... |
Given two independently keyed compression functions $h_1$ and $h_2$:
$h_b(x): \{0,1\}^{3n} \to \{0,1\}^{n}$, where $b \in \{1,2\}$.
Let $h(x) = h_1(x) \| h_2(x)$.
Given at least one of $h_1$ and $h_2$ is a one-way function, is $h$ one-way?
Attempt at proving the statement
Assume we have an adversary $\mathcal{A}^{OW}_h... |
The Wikipedia article on randomness extraction states that they are different to pseudo random number generators but the distinction is very hazy. Both seem to take in some input quasi-randomness and produce a uniformly random output.
I'm interested in the security aspect of the generated output. I want my final rando... |
Is there a way of maintaining malleability in a homomorphic encryption system while making it infeasible to perform chosen ciphertext attacks?
I have been reading about homomorphic encryption and malleable cryptosystems lately and have found it fascinating. I still have a lot of reading to do, however, I came across ... |
In the context of Fully Homomorphic Schemes, we use a technique called "bootstrapping" to refresh the ciphertext, by evaluating homomorphically the decryption circuit with an encrypted version of the private key.
I was wondering if it was possible to consider this approach, of reducing the error size, by using an error... |
is there a way to specify the encrypted message length when using private and public keys? mainly I want the encrypted message to be 32 bytes? as I'm currently using RSA but that results in a length that is equal to the modulus Length.
|
I am currently learning paillier cryptosystem,and have two questions about random r.I use the characteristics of homomorphic addition to obtain the product of two ciphertexts C and the corresponding plaintext P.
Assuming I know the private key,how can I calculate r?(I want to know more details about how to calculate r... |
When I read about zero knowledge proof, I keep encountering the term NP-statement. I am aware of complexity classes but I am a little unclear on how it ties up to NP-statement.
I came across the following here: C++ library for zkSNARKs
A computation can be expressed as an NP statement, in forms such as the following:
... |
EDITED QUESTION FOR A BETTER EXPLAINATION
I have this crypted information (RSA):
2FB2BDC75D2D36A779B9F1B66735BDFF
DC0FB25C0E8DDF30E95D1896B2A6A995
1DF2029594DAD93FBDA5E2ED69A62291
11AFCFAC19CF13F9F87F482816355C53
9E6AE5B91C153EA7892F11E1FB7F4E60
F95F7C7133B48740F58A8510E7AEC1B8
7AC14406B510BCBD942F45DE15BF6439
969F010E... |
My question is,
how does the security depend or change if I encrypt with AES-128 in total 4-MB of Data?
With Electronic Code Book Mode and
Cipher Block Chaining Mode ?
Does an adversary still need $2^{126}$ tries (like Wikipedia suggests) to guess the key or is it less (which in my opinion it should)?
The encr... |
If I have a program acting as TLS server with a certificate signed by a CA, if one of the issuers in the chain becomes invalidated or the date expires, then how does the program using the certificate know this? Or is it up to the client to do this checking?
My specific scenario is self-signed root CA signs server cert... |
I am working on the Meet-in-the-middle attack on 2DES and I have got some questions I am not sure about. I read several websites/articles about it so I have got an idea of what it is and how it works. However, I do not fully understand what is meant by every possible key.
Let me give an example:
I have a known plaintex... |
My slides show that assuming a polynomial number $q(n)$ of blocks have been encrypted by a random function oracle in the context of a CPA-game, the probability of having a collision in the input to the oracle is bounded by $\frac{q(n)^2}{2^{l(n)}}$ (cfr. Katz and Lidell, 2nd edition pages 93-94).
Then I am proposed the... |
From what I could gather, it seems like that NIST's key wrap (publication) provides similar security like AES-GCM Authenticated encryption. If this is true, why did we need a separate specification for key wrap in the first place ?
|
Let's assume that we have a hash value $h$ is calculated by using HMAC-SHA256.
We have the key $k$. We also know some information about the input:
It contains a pattern like 15 numbers where first 7 are known;
Question: Is it possible to find at least one input $m$ such that $h = \operatorname{HMAC-SHA256}(k,m)$ wi... |
Assume a 256-bit Key and a 256-bit Salt, with uniformly distributed entropy, both fully independent.
Assume Key is secret and Salt is public.
What theoretical advantages would deriving an AES-256-CTR encryption key using Key XOR Salt give to an attacker?
Assume that the product of Key XOR Salt will remain secret.
Assum... |
Leaving aside the problem of how to compute the inverse of a PRF F, may we use it also as a PRP?
The reciprocal of this statement is true, see for instance Katz and Lindell, Proposition 3.27, when the input length of F is sufficiently large. However, in practice to build a PRP from a PRF people use a Feistel network. T... |
I was preparing for competitive exam, and I came across this question. I had a lot of discussion with my friends before I resorted to posting it here and I wanted myself to be clear on this.
Let $M$ be a confidential email that Alice wants to send to Bob, $K_B$ be Bob’s encryption public key, and $K_A^{-1}$ be Alice... |
I read this paper: Exploiting Ineffective Fault Inductions on Symmetric Cryptography.
I was wondering if the same idea is applicable for DES. I know both algorithms are symmetric but the idea is not the same.
I thought if an attacker shot the left part of the penultimate round, but the final permutation on the Feistel ... |
I'm reading this introductory blog on the Fan-Vercauteren
scheme and there are a few things I don't understand about polynomial moduli. The author uses practical examples:
Because we are considering remainders with respect to $x^{16}+1$, we only have to consider polynomials with powers from $x^0$ to $x^{15}$. Any la... |
"Skatteetaten" is the Norwegian tax authority.
We're currently trying to implement signing of messages for digital cash registry systems and i'm not able to reproduce the desired signed data.
Went back and forth with different types of padding and hashing algorithms, still unable to reproduce the desired return data.
I... |
I'm trying to design a wallet, where any number of public keys can be handed out. Say Alice hands out the public keys to receive messages. She doesn't want others to be able to link all of the public keys to the same person. They should each look random, so that giving out N public keys causes a bystander to believe th... |
I'm trying to understand what characteristics or properties make the result of a function a block cipher. I understand that for a function to be a block cipher it has to be invertible and can't be a one-way function.
What I don't get is how to compute a cipher. So for example, I have the following cipher: $F_k^r(m) := ... |
Given an element $g$ in a cyclic group $G$ of known order $m$ its easy to test if $g$ has even or odd order. In other words $\textrm{ord}(g) \bmod 2$ can be computed easily.
In some cases where the order of the group is unknown it is also easy to test if $g$ has even order for a large subset of $g$ in $G$.
For example,... |
3.5.3 Store secret and private keys used to encrypt/decrypt cardholder data in one (or more) of the following forms at all times: ............ As at least two full-length key components or key shares, in accordance with an industry accepted method
I got some knowledges on NIST SP800-57 about the split-knowledge:"When s... |
Given binary shares $[a_{l-1}]_p,...,[a_0]_p, [b_{l-1}]_p,...,[b_0]_p$ such that $a = \sum_{i=0}^{l-1} a_i2^i,b = \sum_{i=0}^{l-1} b_i2^i $
for $a,b \in Z_p$, how to compute $a \overset{?}{\lt} b$ in MPC (the result is not closed)?
|
Is the matrix $A= (b_1|,...,|b_m)$ where B=$(b_1,...,b_m)$ is the basis of the lattice space, $L$(B)? Not sure if the answer is trivial however I'm having trouble seeing how SIS is a lattice hard problem when it's definition doesn't seem to include a lattice.
Following this, the restriction on the the vector $x$ $\leq ... |
In Cryptanalysis of Block Ciphers with Overdefined Systems of Equations Nicolas Courtois and Josef Pieprzyk state (in Appendix A) that the Rijndael SBox can be written as a "linearized polynomial" $S(x): GF(2^8) \rightarrow GF(2^8)$:
$S(x) = 63+8F\cdot x^{127}+B5\cdot x^{191}+01\cdot x^{123}+F4\cdot x^{239}+25 \cdot x^... |
Does it mean both RSA and ECDSA certificates can be used with the same cipher suite?
|
I just thought about what would change if would pipe the output of
openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero | pv -pterb > file
to AES again. What this does is take a passphrase out of urandom and encrypt the output of /dev/zero - so taking 1 p... |
Question is just out of interest.
If we take md5 hash from all integers from 1 to n, what is the first n, where its md5 collides with some previous md5?
Has anyone ever calculated and proved the smallest integer, where the collision occurs?
If not, is there considerations about md5 pseudo-randomness, which make probabi... |
I am looking for block cipher algorithms based on Feistel networks. The algorithm is required to not use data-dependent table lookups (or data-dependent rotations) or modular additions/multiplications.
The only two algorithms that I have found are Simon and Simeck. Are there any alternatives?
|
This is a purely hypothetical example but is provable ignorance useful in cryptography?
For example, let's say I have a trapdoor collision resistant function. I know the trapdoor and therefore some $x_0 \neq x_1$ such that $f(x_0) = f(x_1)$. This is however, hard to find. If someone proves they know $x_0$, I can conclu... |
I couldn't find any answer providing a high-level overview on what Pedersen commitments are or what they are used for.
|
Can the output value of the sha256 hash function be converted to binary or decimal number? I know that the output is a set of 256bits. Is it possible to convert the output data to an unique representation of zero and one?
|
I wrote a program that will loop through the anagrams of a word and run each one through the decryption of a columnar transposition cipher on a document. However, for a certain word, the number of anagrams was 7! (5040) meaning I could not check each output individually.
I experimented with Google's python langdetect m... |
is it common , we increase key size to 512 Bit in AES Algorithm?
|
confused about differences between 5 out of 5 threshold secret sharing scheme and 4 out of 5 threshold secret sharing scheme. how would the share and reconstruction schemes be different assuming both of them use xor?
|
Given an elliptical curve e.g. from “Understanding Cryptography” by Parr & Pelzl §9.2 Example 9.5:
$y^2 = x^3 + 2x + 2~~~~ mod~17$
And given a primitive $P = (5, 1)$, the book indicates:
We compute now all the "powers" of P.
They then provide a table:
$2P = (5, 1) + (5, 1) = (6, 3)$
$3P = 2P + P = (10, 6)$
$...$
$18... |
For ii) G2 was proven to be a PRG, and it seems the solution for G5 uses G2.
Can someone try and explain to me the solution that I was given? I specially do not understand how to calculate the given probability:
Also, I understand that to proof something wrong you can just give a counterexample. However is there ... |
The plaintext SECRETIVE is encrypted using One Time Pad with key DDDDDDDDD. Which of the following is TRUE?
The ciphertext will be the same as using Caesar cipher with key of 4
The ciphertext is the same as the plaintext.
The ciphertext has 3 alphabet ‘I’.
The ciphertext will have 6 different unique alphabets.
This i... |
I'm stuck on this, may be due to the fact I'm missing something.
If I'm right, in order to reduce a Message to a point on an elliptic curve the operation is:
$\text{MsgPoint} = \text{msg}\cdot P$ with
- $P$ being the Base point of the curve,
- $\text{msg}$ being the message converted to an integer
- and the oper... |
In the multiplication table for $\mathbb{Z^*_7}$, each row has all the elements of the set
My questions are:
is each element a generator here? if not why?
is an element considered as generator only if $Order(G) = Order(g)$ i.e $Order(g) = 6$ hence $g=3$ is a generator.
is there any formula to find the number of gene... |
NIST FIPS.186-4 has standardized 5 ECC curves on field $\mathbb{F}_p$ (P-192, P-224, P-256, P-384, P-521) and 10 elliptic curves on binary fields. I need to use ECC curves without pairings for my scheme.
I am not sure which of these curves have pairings, and which of them don't.
|
I was reading about elliptic curves from this PDF. Page 44 defines Frobenius map. It defines the frobenius map as $f(x,y) = (x^p, y^p) \bmod p$. Isn't it just an identity map? What's the use of this map in elliptic curves?
|
Given two Pedersen commitments $c_1=g^vh^{r_1}$ and $c_2=g^{(v^2)}h^{r_2}$, where the committed value in $c_2$ is the square of the committed value in $c_1$, is there a way to prove this relation in zero knowledge?
|
Regular scenario
Let's say I have secret files which I will encrypt. The resulting container will be shared and might be intercepted. Not good, but that's okay - that's why I encrypted the data in the first place.
Scenario in question
However, now, I'll encrypt and share the same data again. With the same passphrase. T... |
I was reading about elliptic curves in this pdf. Page 55 of the pdf states that if number of points on elliptic curve #$E(F_p) = p$, then there exists a p-adic logarithmic map that homomorphically maps points in $E(F_p)$ to $F_p$. Now, solving for discrete logarithm on $E(F_p)$ reduces to solving for discrete logarithm... |
In the wikipedia article, the claim is made that "256-bit elliptic curve public key should provide comparable security to a 3072-bit RSA public key". Since, in ECC, the public-key consists of a point $(x, y)$, when they say a "256-bit public key", does that imply both $x$ and $y$ are each 256-bits? Or that, together, t... |
Regarding the Non-Overlapping Template test, this test normally gives us a bunch of p-values (148 values). I would like to ask that how do we interpret those values into a single p-value for presenting in an academic report. I have seen many papers illustrate as only a single p-value. For example,
Cao et.al, Phys.Rev ... |
I have seen in the Imitation Game that the Germans reset the Enigma at midnight sharp, and then they start messaging by sending the weather report in the morning.
But the device made by Alan Turing, the Christopher, sometimes only took a few minutes to decode Enigma.
How did the German receiver know the settings of the... |
In a case of using a password and get AES key using KDF to encrypt the same password (The password and the message is the same), How secure is that algorithm ?
|
As we know, the index table (which maps bytes in [0, 63] to characters) of Base64 encoding is public, so everyone can decode Base64 strings from others.
But what if we use a shuffled index table and keep it secret? Can we see Base64 with this new table as some sort of safe encryption, and the shuffled table as cipher?
|
Let $f:\{0,1\}^* \rightarrow \{0,1\}$ be any $\operatorname{DPT}$-computable function.
Show that $G_f(x) = x \|f(x)$ is not a PRG.
Can anyone help me on understand how to prove this?
|
What problems might you encounter if you use a block size much greater than AES (1000 bits, say)?
|
I have understood the "equivalences" between PRP, PRF and PRG. Now, I just read an statement in my lecture notes that made me think that there has to be a conversion between PRG and computationally secret encryption scheme:
So, our definition of PRG is sufficient for the existence of a
computationally secret encrypt... |
I'm especially curious about the technique djb would have used to come up with his Curve 25519. Say I have already written down my goals, such as - Twist Secure, Speed, Side Channel resistance, etc. In this case, how do I go about creating new curves? Are there specific algorithms that Cryptographers / Mathematicians u... |
When designing pseudorandom generators what should one consider? Here is an example pseudorandom generator $F^t : \{0,1\}^n \rightarrow \{0,1\}^{4n}$. I have no idea what it means, so what does it kindly mean? It is one proposal written in a book for the truly random compression function $t : \{0,1\}^{2n} \rightarrow \... |
I read a paper of linear cryptanalysis that is J.Daemen et al's Probability distribution of correlation and differentials in block cipher.
In this paper's lemma 8's proof, I can't understand this formula (page.13).
The number of balanced Boolean functions $g(a)$ for a given value of $x$ is :
$$ {{2^{n-1}} \choose {2^... |
In modern asymmetric encryption protocol, like secp256k1, are there any flaws if you want to sign a counter?
i.e: use a private key to sign from 1-n is that any chance make n+1 easier to guess?
|
Building off of Relationship between AES GCM and AES CTR... if your GCM nonce is "aaaa aaaa aaaa" (no spaces) then the CTR IV is that with (0,0,0,2) appending to it.
My question is... what happens when the counter gets to (255, 255, 255, 255)? Would the last five bytes be (98, 0, 0, 0, 0) (where 98 = b) or would they ... |
To my humble opinion, please correct me if I'm wrong, RSA-PSS (PKCS#1 ver 2.1) advantage over RSA as described in PKCS#1 ver. 1.5 is in its security proofs. Does this proof and the advantage is still there even if the "salt" in the RSA-PSS scheme is constant over all messages, or it conditioned in generating a random s... |
PRG theory design is something of interest to me at the moment in the security of cryptography.
I am interested in learning how to come with PRGs for random functions such as $\{0,1\}^{2n} \rightarrow \{0,1\}^n$ and $\{0,1\}^{3n} \rightarrow \{0,1\}^n$
One PRG that I came up with for the random compression function $\{... |
Based on 5.2.2 of the international standard ISO/IEC 9798-2 (http://bcc.portal.gov.bd/sites/default/files/files/bcc.portal.gov.bd/page/adeaf3e5_cc55_4222_8767_f26bcaec3f70/ISO_IEC_9798-2.pdf)
Why does the protocol swap the 2 nonces in TokenBA (Rb||Ra, instead of directly taking Ra||Rb in TokenAB) ? If we do use Rb||Ra,... |
By the standard security definition of a Pseudo Random Generator, if $G$ is a PRG, then $G'$ such that $G'(0\mathbin\|x)=0\mathbin\|G(x)$ and $G'(1\mathbin\|x)=1\mathbin\|G(x)$ is a PRG. We can build a PRG which output starts by some bits of its input, to some arbitrarily large extent.
This means that feeding a practic... |
I have the exponent $e=2^{16}+1$ and modulus $n$ (154 digit number) of an RSA public key along with the ciphertext (64 bytes) encrypted using the same key with RSA/ECB and no padding.
I am required to decrypt the ciphertext and have two options:-
Find the prime factors of $n$, $p$ and $q$, to determine the private key... |
I have a PRG $G : \{0, 1\}^n \rightarrow \{0, 1\}^{2n}$.
How would you go about calculating the optimal size of $n$ given that you have
$$\epsilon = \cfrac{1}{2^{80}}$$
and, $t = 2$ years for a PRG that is (t,$\epsilon$) pseudorandom i.e
$$| Pr[D(r) = 1] - Pr[D(G(s)) = 1]| ≤ \operatorname{\epsilon}(n).$$
I know that ... |
I don't know exactly how to find the RC[ 1 ] of 80, or the RC[2] of 30.
Can someone explain how to find them?
Here is a picture of the problem I am having with two questions.
|
At www.keylength.com, I found the following table of ECC field size and the corresponding RSA modulus recommended by NIST.
ECC Modulus RSA Prime Size
160 1024
224 2048
256 3072
384 7680
512 15360
But NIST proposed P-192, P-224, P-256, P-384, P-521 curves. Ma... |
If I want to encrypt a text content file using a symmetric algorithm like AES,
is there a standard format gpg will expect, where it can detect a symmetric key (encrypted with recipient gpg public key RSA) in my output? E.g. should the encrypted key be a fixed length field at the beginning of my output?
I am not able t... |
As a new learner of cryptography I have learnt from online tutorials and lectures not to design your own crypto.
What I am trying to understand is the fundamental to designing PRGs to a given context or scenario.
My question specifically is how does one design a PRG for a random compression function for example? I look... |
The introduction to SPAKE pre-authentication states:
Diffie-Hellman Encrypted Key Exchange (DH-EKE) is the earliest widely deployed PAKE. It works by encrypting the public keys of a Diffie-Hellman key exchange with a shared secret. However, it requires both that unauthenticated encryption be used and that the public k... |
I'm new to lattices.
According to Lattice Signatures and Bimodal Gaussians in the Rejection Sampling section.
In Schnorr, GQ you can simply commit to $y$, use it to hide a secret key $s$.
But this doesn't work in lattices. You need to hide the secret key with a small $y$. Turns out, a lot of old lattice-based signature... |
I'm trying to understand WPA3, whose Simultaneous Authentication of Equals is supposedly similar to Dragonfly Key Exchange.
Dragonfly is resistant to dictionary attacks, meaning that rather than an attacker being able to identify the use of a password in their dictionary with passive computation, they are forced to int... |
I have read in many places that SRAM PUF is considered a weak PUF, since it generates a single response (based on the value of all RAM cells upon power-up).
Why can't I use just a limited number of bytes from the RAM space in order to create a CRP?
For example if I have a 64kB RAM, I can divide it into 256 sections, ... |
Warning: Possibly ill-posed question.
I'm using the following definition from a recent paper available here. I believe their terminology is slightly different but reproduce my understanding of it here.
The concept of a 2 to 1 trapdoor collision free function
satisfies the following properties. For every $y$ such th... |
I wrote the definition, but I don't know what should I do.
Can you help me?
I want to prove the following:
If there exist one-way function then there exist a one-way function $f$ such that for every $x$ $f(x,x)=x$
|
I've implemented an "encryption" algorithm that uses the deterministic chaos of an extended logistic map:
$x_{n+1}= r_n \cdot x_n \cdot (1-x_n)$
$y_{n+1} =
\begin{cases}
\text{$x_n+y_n$} &\text{if $x_n+y_n<1$}\\
\text{$x_n+y_n-1$} &\text{if $x_n+y_n\ge 1$}\\
\end{cases}$
$r_{n+1} = 3.57 + \left... |
I have a disk on which each sector can only be written once (like a journal, only appending is possible). Unused sectors are reported as being filled with zeroes, while used sectors should not be readable without authentication (achieved over a separate channel with the drive).
Since an attacker can never gather two ci... |
I am serialising JSON objects, and would like to encrypt some of the values. I plan to do this with AES-GCM.
I would also like to ensure the integrity of the overall object.
The requirements are for integrity of the overall object, confidentiality for some of the values, plus a requirement for plaintext for other valu... |
Lets say hypothetically all one knew was a value of $e$ and a value of $p$.
As an example, lets assume that $e = 13$ and $p = 67$.
Would it be possible to find the value of $q$ from this equation?
$\gcd(13, (66)(q-1)) = 1$
If so, how would I begin solving this?
|
In AES the output of the SubBytes step is equal to:
$a_{0-15} = d*c_{0-15}^{-1}+b$
where $d$ is a constant 8x8 matrix and b is a constant 8x1 matrix both in $GF(2)$. The inversion is done in $GF(2^8)$.
After ShiftRows the output column of each MixColumns can be expressed in terms of four select $a$ values.
$m_0 = 2... |
Let $ F $ be a PRF and $ G$ be a PRG with expansion factor $n \to n +1 $ For the following encryption scheme, decide whether it has indistinguishable encryptions and whether it is CPA-secure.
Given $k \in \{0,1\}^n $, to encrypt $m \in \{0,1\}^{2n} $, parse $ m $ as $ m_1\|m_2 $ with $|m_1| = |m_2| = n $ then cho... |
I understand that when a plaintext is encrypted with a key of the same length, it is referred to as a one-time pad. Now when this key is reused to encrypt another plaintext, there is potential for decryption of the original ciphertexts.
Following on from the question asked here, Taking advantage of one-time pad key re... |
A private information retrieval (PIR) protocol is a protocol that allows a user to retrieve an item from a server in possession of a database without revealing which item is retrieved.
An oblivious transfer (OT) protocol is a type of protocol in which a sender transfers one of the potentially many pieces of informatio... |
Suppose someone forgot the value of $n$ and you only knew the values for $e$ and $p$. How could one go about limiting down the possible values for $n,q$, and $d$?
I'm thinking to try and solve $\gcd(e, (p-1)(q-1)) = 1$ first for possible values of q and work backward from there but I don't really know/
|
I'm now familiar with a lower bound for the birthday problem as exposed in the theorem A.16 of Katz and Lindell book (alternatively see this webpage).
If one denotes by $C(q,N)$ the probability of collision when taking elements independent and uniformly distributed from a set of size $N$ The bound is obtained by assumi... |
From posts including the accepted answer to
How to encrypt file with RSA and AES that anyone with RSA key can decrypt them?
hybrid crypto (AKA envelope encryption) a GPG-encrypted file has an element that is the symmetric-key-encoded payload and also an element that is the asymmetric-key-encoded symmetric-key.
I need t... |
I just learned that a CSR can be signed. See this Why is a CSR signed and which key is used for signing?
I tried to check the csr with below openssl command, but failed with errors "139942025398160:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: CERTIFICATE REQUEST"
openssl req -in sign... |
Hashing is useful for checking that an input matches expectations without giving away the stored expected version - so confirming passwords etc.
But are there other use cases? In general, cryptographic storage so data is retrievable seems to be the norm.
|
Sometimes, we use $1$ to represent "succeed". In CPA, if the adversary guesses $b'=b$ outputs $1$.
But I am confusing about the meanings of the following $1$.
Take the DDH for example,
$$|\Pr[\mathcal A(g,g^a,g^b,g^{ab})=1]-\Pr[\mathcal A(g,g^a,g^b,g^c)=1]\le\operatorname{negl}(n)|$$ where n is security parameter.
... |
I'm doing a presentation on cryptography for non-experts. My main algorithm of the presentation is the Diffie Hellman key exchange. It uses modulo arithmetic for a prime $p$. During my presentation, I'd like to be able to explain why the modulo operation uses a prime instead of a composite number. I've seen documents t... |
The usual solution of socialist millionaire problem allows to authenticate whether TWO parties have the same secret information. Are there any natural solution of the same problem for THREE parties?
|
How do ZK-STARKs, ZK-SNARKs and Bulletproofs compare in size and speed for range proofs? The general behavior is depicted in this chart. But do those numbers scale linearly to the proof and verification times listed on dalek-cryptography's bulletproofs page, that has a 64-bit range proof taking 7.3ms and verification t... |
If I go to https://paypal.com/ and login, can Eve find the approximate size of the HTTPS request from my browser? Can she see the approximate size of the responses from the paypal server to me? and also can she see that I am visiting paypal.com in particular? To what extent does SSL protect you?
|
Can anybody explain the term "anonymous admissible timestamp" to me? Could you show a case where it is useful to apply it?
I came across this term in the comments of a question on the StackExchange Computer Science site.
|
Given a generator $g$, a large, safe prime $P$ and a result of the DH key exchange $g^{xy} \mod P$, how would I come up with two different $x', y'$ s.t. $g^{x'y'} = g^{xy} \mod P$
|
I consider the following setting. Let $L$ be a lattice of rank $d$ in $\mathbb{Z}^m$ ($d\leq m$). The orthogonal lattice of $L$, denoted by $L^{\perp}$, is defined as the intersection of the orthogonal to the $\mathbb{Q}$-vector space generated by $L$ with $\mathbb{Z}^m$.
My question is in the following context: if I ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.