instruction stringlengths 32 27.2k |
|---|
I have been reading a bit about how the Enigma machine was cracked in WW2.
There was also this wonderful post which highlighted a lot of useful information.
Let's assume I know everything about how the M3 Army Enigma machine works according to Kerckhoff's principle. Now I am wondering, in theory, if say, the Germans de... |
I'm having a hard time understanding the purpose of having two primes $p,q$ for RSA to work. To illustrate my point, imagine only one prime ($p$) is used.
Alice, the encryptor, can take the public encryption exponent $e$, which Bob, the decryptor, created (along with the private exponent $d$) to satisfy
$$ed\equiv 1\p... |
I am writing code for Elliptic Curve Cryptography. I have a class class EllipticCurvePoint.
class EllipticCurvePoint{
FieldElement x, y;
};
I need to support point-at-infinity (which should behave as if it is an object of type EllipticCurvePoint). Only thing I can think of is to reserve (-1, -1) for this but x and... |
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 ... |
Nowadays I work maintaining an web application written in Node.js and we use HTTPS with TLS 1.2. We have to implement a new feature related to security on this application, all HTTP messages must be encrypted, and we will have all messages encrypted two times ultimately, one time using TLS and another through the new f... |
We are going to integrate some hardware accelerator for RSA into our next system on chip. This chip can accelerate the core RSA operation, i.e. modular exponentiation $y=A^x \mod(N)$. The private key ($x$) to use can either be provided from the outside or will be stored inside the hardware core, unaccessible to any oth... |
I've written a BouncyCastle style threaded seeder and was wondering about the predictability of the data the program generates.
The reason I'm not simply using BouncyCastle is because security isn't a concern, I don't want to use a whole library just for one function, and this code is MUCH faster.
The idea is to make s... |
I am reading the proof by Pointcheval and Stern and by Bellare and Neven about the forking lemma. The papers discuss the security proof of digital signatures by applying the lemma. It seems also mentioned that the same proof idea works for showing the Fiat-Shamir transformed interactive proof system is sound in the ran... |
Assume I want to find out how many combinations there are for a 8 digit word with 6 uppercase letters and 2 distinct numbers, e.g. A7BC9DEF, 1A0CRDEF, ... how many combinations are there?
My approach's solution is : $26^6 \cdot 90 \cdot 8 \cdot 7$
90 because there are 90 possible numbers with two distinct digits, i.e. ... |
I was reading a paper about attribute based encryption. The authors showed that ciphertext-policy ABE can be constructed from key-policy ABE using universal circuit. But the universal circuit should be in the circuit space supported by CP-ABE. So what is the complexity of universal circuits?
|
While the total period of MT19937 is $2^{19937}-1$ by design, is the period of the sequence of any of the individual bits from the output less than this? I'll admit I'm far too unfamiliar with group theory to understand Matsumoto and Nishimura's original proof for the period of the untruncated output, so I apologize if... |
I create a signature on js, here jsrsasign
Signatures are obtained in the format:
3045022045c61e649ca9f6011a8d34ac865c4780421de08ff50ac3dad0da36043b6de478022100b19208d1ec51f6dd6f6b725342618f55f9fc90c96c5b5409998d66774749a0b
Always start with 30 ...
In Python, I use the python-ecdsa library.
In this library, the signa... |
If I have a hash of some string in the form: hash(UNK + "known"),
Is there a way to calculate the hash of (UNK + "known" + "append"), given the hash of the original value?
Specifically I'm asking about the sha512 algorithm.
Basically, I'm asking if the algorithm works by hashing the old hash + new input, or if it only ... |
Bleichenbacher demonstrated a padding oracle attack against RSA implementations that follow the PKCS #1 v1.5. Through the years, there are various mitigation techniques developed as OAEP and limiting the number of query execution over a period of time. OAEP has been proven secure in the random oracle model.
In November... |
There's always a small chance for many zero knowledge protocols that the prover had a lot of luck to prove something to the verifier.
Take the Ali Baba cave as an example:
The prover has a 50% chance of guessing the side of the cave correctly. That's why the procedure has to be done multiple rounds for the probablility... |
I am trying to solve this exercise.
Assume an oblivious transfer protocol that uses a trusted third party Trent.
Alice's messages $M_0$ and $M_1$ are binary values of length $k$. Bob's message selection bit is $m$.
Trent -> Alice: $R_0, R_1$ where $R_0, R_1$ are random binary values each of length $k$
Trent -> Bob : $... |
In JWEs there's a unprotected data field as well as recipients are not integrity protected. Is there a case where integrity protecting this data would be a problem? If it doesn't make a difference, why isn't the entire JWE message integrity protected?
|
I have full bits of public key $(n,e=65537)$ but from the private key, I have the lower half bits of $d$.
Can I restore the whole RSA private key from that data and use it for decryption?
|
I have around 1500 numbers. The numbers $x_i$ are calculated as
$x_i$=($p*t_i$) mod m. $p$ constant and same for all the numbers while $t_i$ are chosen randomly everytime. For example the given numbers $x_i$'s are calculated as:
$x_1$=($p*t_1$) mod m.
$x_2$=($p*t_2$) mod m.
.
.
.
$x_{1500}$=($p*t_{1500}$) mod m.
given... |
I have read this answer on Crypto.SE and I want to clarify a few details.
Does this property of $\text{Keccak-}f[1600](x)$ imply that if we know a particular $1600$-bit output $Y$, it is feasible to find a $1600$-bit input $X$ such that $\text{Keccak-}f[1600](X) = Y$?
If yes, then consider the following situation. ... |
In the AES encryption, suppose that the key is known. The ciphertext is also known except for a block of the same size as the key. For example, the adversary knows $k, c_0, c_1, \dots, c_{n - 1}$; They do not know the final ciphertext $c_n$.
In the worst case scenario for the attacker, how hard is it for them to succes... |
Let's say we have:
client_id_ran: 256 bit random text (chosen only once for whole system) used to generate client_id by incrementing 1 for each client.
challenge_ran: 256 bit random text (chosen only once for whole system) used to generate challenge_plain_text by incrementing 1 for subsequent authentication requests.
... |
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 mean here and how exactly is the hash function's input domain defined? Normally, you can use whatever input you want for a ... |
Some time ago, I proposed making the site more educational by teaching correct cryptographic programming. The proposal had had somewhat good reception, but was met with cold ice as there had been little new questions on this topic.
Therefore today I'd like to ask a question centralize the idea behind the correct progr... |
Please give help! how can I calculate the probability of collision? I need a mathematical equation for my studying.
Assume, I am using SHA256 to hash 100-bits. Thus:
SHA256 {100} = 256-bits (hash values) I would like to know the probability of collision.
This website:
https://preshing.com/20110504/hash-collision-pro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.