instruction stringlengths 32 27.2k |
|---|
How do we find multiplicative inverses using Fermat's Little Theorem? I have the basic understanding of how we compute inverses of numbers, but can someone help with calculating inverses of polynomials in $$GF(2^8)$$
|
I'm using AES in GCM mode of operation for encryption/decryption & authentication of segments of data in a file. The layout of each segment can be summerized by this diagram. Each segment is basically (enc-)decrypted separately from one another, using their individual (randomly generated) IV and Tag:
The encryption p... |
I have a curious question.
Is Identity-based encryption used in the wild?
|
Is it possible that you can still have a collision resistance in Merkle-Damgard even if the compression function has a collision?
|
IETF RFC 6539 IBAKE - Identity Based Authenticated Key Exchange describes a Hybrid key exchange using both Identity based cryptography and a standard ephemeral elliptic curve Diffie-Hellman key exchange.
Since that protocol already is a hybrid could one replace the elliptic curve Diffie-Hellman exchange from IBAKE with... |
Why do we use encrypt-decrypt-encrypt (EDE) in 3DES, rather than encrypting three times?
in this link, we use EDE Mode usually.
when we use one key, in this case, Encryption -> Decryption result will be Plain text. so as a result, we just do one DES encryption.
and other case, we use two key, (k1-k2-k1) or three keys, ... |
Usually the IV for the crypto operations is chosen randomly and is sent together with the encrypted data [at the first block]. For decryption, the IV is first extracted from data and set separately in the crypto components (functions or HW peripherals) and then feed the crypto operation with data.
The other case is to... |
I want to calculate a Rijndael S-box but something went wrong. How can I calculate the inverse? In the following is my approach:
given:
$f(x)=x^8+x^4+x^3+x+1 \rightarrow$ binary: 100011011
0x12 = 10010
calculation:
ggT(100011011,10010):
(x^8+x^4+x^3+x+1)/(x^4+x)=x^4+x+1
-(x^8+x^5)
__________
x^5+x^4+x... |
In a paper that I have been reading (https://cs.nyu.edu/~ganesh/zk.pdf), in one of the proofs, this has been said:
The simulator works as follows: It uses the OT simulator to extract the prover’s input $x_0$ to the OT.
How exactly does this work? There's nothing defined in the paper itself, and I couldn't find anyt... |
Are there any homomorphic cryptographic hash functions that satisfy $\text{H(A + B)} = \text{H(A)} + \text{H(B)}$ which maintaining pre-image resistance
|
Warning: The link in the answer explain the S-Box well, but there is an error in the pseudocode.
$K_i = K_{i-8} \oplus K_{i-5} \oplus K_{i-3} \oplus K_{i-1} \oplus 0x9e3779b9 \oplus i$;
Instead, it should be :
$K_i = K_{i-8} \oplus K_{i-5} \oplus K_{i-3} \oplus K_{i-1} \oplus 0x9e3779b9 \oplus (i-8)$;
The loop star... |
Regarding LWE schemes where the encryption is performed this way:
for $m \in \mathbb{Z}_t$, compute $c = LWE_{\mathbf{s}}^{t/q}(m) = \{ \mathbf{a}, \mathbf{a \cdot s} + m\cdot q/t + e\} \in \mathbb{Z}_{q}^{n}$
(where $\mathbf{s}$ is the secret vector of length $n$, $\mathbf{a}$ is a random vector and $e$ is some noise ... |
I am interested to know how an IV is used in this simple Merkle-Damgard construction. I am referring to this image from the associated Wikipedia page as I explain further.
For the purpose of explanation, lets assume the following:
-We have a simple function: f(takes in 8 bits)= outputs 4 bits, or any similar simple fun... |
I know there are key-exchange methods in Cryptography. But in case of Secret-key Steganography, what actually stego-key means and how can we use the key and once used how we exchange that with the receiver?
|
I read that the Swiss post had an e-voting solution developed, made it possible to obtain the source code for review, and that vulnerabilities were found.
Apparently we are not talking about the inherent and well-known issues of e-voting: it can't prevent purchasing of vote, and penetration of the voter's device can al... |
I have come across many paper that applies Patarin’s H-Coefficient Technique in various cryptographic securities (KPA, CPA, CCA,...).
I am asking kindly if someone could explain it simple with example so i can absorb the method to apply it for different cryptographic primitives.
|
I assume that my case is weird but I've the following information:
IV: 0x263e or 0x3e26
Auth tag: 0x25
AES256-GCM encrypted payload: 0x4eec96df534ade4c013a
AES256-GCM decrypted payload: 0x0041e36baf2648090174
Regarding the length of the IV and Auth tag, I'm wondering if it is possible to guess the key used to encrypt... |
In this paper by Asmuth–Bloom on threshold SSS, the algorithm is as follows:
Shares Distribution
To distribute $n$ shares of a secret $K$ among the set of participants
$P = \{ p_i : 1 ≤ i ≤ n\}$, the dealer D does the following:
A set of integers $\{ p, m_1 < m_2 < · · · < m_n \}$, where $0 ≤ K < p$, is chosen subject... |
I am learning about DES, a Feistel 64-bit block cipher with 16 rounds. Is it possible that an intruder can determine the original input to the S-Boxes?
|
If we have two elliptic curves $E$ and $E'$ and the points of both elliptic curves are same. Then all the points of $E$ map to all the points of another elliptic curve $E'$.
For example $E$ has seven points and $E`$ also have seven points then would isogeny make this possible?
Is the reverse $r$ possible by dual isog... |
A server has a symmetric bivariate polynomial $ F(x, y) = \sum_{{i,j}=0}^{t-1}a_{i,j}x^iy^j$ $\in GF(p)[X, Y] $ of degree $t-1$. For simpliciy, $ F(x, y) = a_{0,0}+a_{1,0} x+a_{0,1}y+ a_{1,1}xy$ mod $p$, where $a_{0, 1} = a_{1,0}$ and $p$ is a large prime number.
From the origional polynomial $ F(x, y)$, the server... |
Are all or any hash functions evenly distributed?
For example: if you had every combination of 256 bits and ran that through SHA256, would that produce approximately 1 of each combination, or would there be peaks?
Are distributions of the hashes calculable without going through the permutations in lower bit sizes?
Is e... |
My end goal is to encrypt data with AES-128, send it to other process and decrypt it there. While using DH key exchange protocol.
I have used DH to generate a 256 bytes shared secret, but I can't use that key to fit the 128-bit encrypting function.
I read that the secret needs to be fed through a "Key-based key deriva... |
The paper High-speed high-security signatures by Bernstein et al. introduces the Edwards curve Ed25519.
Concerning the base point $B$, it says that
$B$ is the unique point $(x,4/5)∈E$ for which $x$ is positive
and $B$ corresponds to the basepoint used on the birationally equivalent curve Curve25519.
So I haven't foun... |
I am in need of a deterministic encryption algorithm I can use on social security numbers (9 character string, numbers only) that I will store encrypted in a MongoDB and need to be able to search for them and recall them (ruling out one way hashes).
For example, 11122333 is encrypted and then stored in the db. The use... |
I would like to generate a good secret key, that later will be used to encrypt data symmetrically.
I am not sure how to generate a good secret key.
I use Linux, I am not sure which sources of enthropy there are.
The idea now is the following:
I can access current timestamp and seed with it PRNG to get some pseudo rando... |
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 integers that are a power of two. I always thought, that it was the norm to give key lengths as powers of two. Is it not?
|
I have a school project about cryptography. The question is the following (will only give a short phrase as example, just want to know the method).
A text has been encoded with Vigenere 2 times. The ciphertext is FXFCKDKFCLMHOSPERVBOPDJ (it's Dutch btw, you won't really get plausible words because I cut it off). It has... |
I am working on a way to decipher some text generated by a small piece of code (see below).
This piece of code swaps letters in the sentence at random and was wondering if there where any techniques to solve this? I have tried frequency analysis, however because it is not a simple substitution cipher this does not work... |
When proving weak OWFs imply the existence of strong OWFs, the standard construction goes by concatenating several applications of the weak OWF (see, e.g., here). That is, given a weak OWF $f$, the following is a strong OWF:
$$F(x_1, \dots, x_t) = (f(x_1), \dots, f(x_t))$$
where $|x_i| = n$, $t = n p(n)$, and $p \in \t... |
When I've been researching authenticated encryption, the following terms keep showing up:
NM-CPA
NM-CCA
....without any definition as to what they mean. I've tried searching the web for their definitions, but I'm not getting very far. Could someone explain what these abbreviations mean, and why papers such as this on... |
I'm taking a quantum computing course in which, for our final project, we must create a proof-of-concept implementation of Grover Search for finding hash collisions up to a difficulty (similar to blockchain).
I need a (relatively) simple hash function. As this will be running on a quantum simulator, I'm limited in the ... |
Setting aside questions of if BCrypt should even be used in this way, I was just wondering which one would be more secure hypothetically.
If you want to know why I don't just use random salts as per BCrypts default, it's because there is no way of telling which hash digest is the one that should be checked against in m... |
If I needed to implement an encryption algorithm from memory, chances are I would try to implement: TEA
https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm
How sensitive is it to the magic number? If I replace it with a random value is security expected to be severely diminished?
What about the rotations? Which r... |
I have two ciphertexts
$c_1 = m_1^e \bmod n$
$c_2 = m_2^e \bmod n$
I know $c_1, c_2, m_1, m_2$ and $e$. Is there a way to derive n from this? I first thought Franklin Reiter but I'd need an $n$ for that which is precisely what I am missing. What other approaches are there?
|
At work, I was asked to create ultra-secure connection over lan between two computers. It will be some kind of messager. I have a bunch of same random data in them(near 100mb). Also I can start a server with same data. I will not have access to clients, so I will not be able to update the random data on them.
Can I us... |
I know that in the asymmetric-key algorithm the RSA signature exists but what about the symmetrical ones?
|
Suppose I have Company1 with their own Public/Private Key Pairs and another Company2 with their public/private key pairs and yet another Company3 with their public/private key pairs.
Is there any way/algorithm to encrypt a piece of data, given we provide Company1 and Company2 public keys to it, such that the encrypted ... |
I'm implementing logic on an FPGA (programmable chip) that does the key verification part of ECDSA on the curve secpk256k1, in which all operations are mod p where $p = 2^{256} - 2^{32} - 2^9 - 2^8 - 2^7 - 2^6 - 2^4 - 1$ (a Mersenne prime).
I'm starting with building a circuit to do the modular reduction, I know about ... |
STARKs have recently received quite a lot of attention due to their small proof size and supposedly simple assumptions.
The paper introduction itself seems to mainly state that their construction is solely based on collision-resistant hash functions.
However, further down in the paper they seem to require some conject... |
The STARKs paper states
Third, and most important, ZK-PCPs are transparent (or “public
randomness” ), which means that the randomness used by the verifier is
public; in particular, setting up a ZK-PCP requires no external
trusted setup phase
as one of its main advantages over SNARKs.
This statement is not fully... |
A cryptosystem is defined by a 5 tuple $(P,C,K,E,D)$=(plain text, cipher text, key, encryption function, decryption function)
So, my question is with the definition given for permutation cipher, which is stated
"If $m$ be a +ve integer, and let $P=C=(Z_{26})^m$ and let K consists of all the permutation of $\{1,\ldots,m... |
In the Noekeon Cipher Specification they write the following :
The propagation through Lambda is denoted by $(a \rightarrow A)$, also called a
step. Because of the linearity of Lambda it is fully deterministic:
both for LC and DC patterns, we have: $A = \operatorname{Lambda}(a)$. The fact that the
relation is th... |
Those keys are too short to be public/private RSA keys. What are they? How does it use them to authenticate the client?
My guess is:
AWS access key ID is a form of unique user/account identifier
AWS secret key is like private key
When AWS CLI sends a API request, the payload is signed by generating an HMAC with the se... |
If we try to get K4 using differential cryptanalysis on 4-variant DES, how can we get the input of a certain S-box if we know it's output?
This seems hard to do since the substitution operation is non-invertable for DES.
|
I just started working with certificates and signatures. For an application I write I need a key pair for ECDSA signatures, using the elliptic curve secp384r1 (aka NIST P-384).
I produced such a key pair with the Bouncy Castle lib in Java. Just for testing purposes I then used the JcaPEMWriter to write the two keys to ... |
What is the difference between Google's API-Key, OAuth Client ID and AWS Secure Token Service?
Are they are all just providing delegation tokens, except they are from different companies? Is there a bigger difference between them?
|
This is the image from a website that shows all the steps of the MD5 Hashing algorithm:
The original message is 'Hello World!'. I don't understand where these values are coming from:
For example the 1st word '[0]' is 1819043144. What is that number representing from the original message?
|
I was reading the paper Differential Scan Attack on AES with X-tolerant and X-masked Test Response Compactor and I have a question in the section Differential Scan Attack on AES.
What I understand is that they precomputed the distribution of Hamming distance for the input difference 1. It is observed that the Hamming d... |
I'm looking for a hash algorithm thats output can be reversed back into the input in a reasonable amount of time (a day or less) using a decent consumer computer. If anyone has any information on this, it would be very much appreciated.
Edit: After reading some of the comments and answers on this post, I feel I should ... |
I am a software developer interested in developing an application with cryptography. I can explain what I want to accomplish, but I do not know the technical terms for the cryptographic functions I am seeking. Many Google searches have not helped me. Could someone please help me with the proper cryptographic terms for... |
I would like to know if encrypting a result of AES256 block cipher provides more security.
Concretely, I am developing a system in which a client sends to a server a ciphertext encrypted with AES256. The server needs to store it in the database and later send it back to the client. Incidentally, the ciphertext is an en... |
This cryptography book says:
There are also asynchronous or self-synchronizing stream ciphers,
where the previously produced ciphertext bits are used to produce the
current keystream bit. This has the interesting consequence that a
receiver can eventually recover if some ciphertext bits are dropped.
CFB is an e... |
Honestly I'm really confused about padding in RSA scheme. I don't study computer science, and I'm a beginner learning cryptography (self-taught). Can anyone give me suggestions?
|
I've been reading up on the Signal Protocol (in this PDF) and it seems to be using Curve25519 for ECDH and EdDSA (with Ed25519) for signatures.
My question is why not use only Ed25519?
This implementation supports Ed25519 and key exchange so what is Curve25519 needed for?
Are there any security considerations where it ... |
In page 358 of Bruce Schneier's Apllied Crypto, when explaining the meet-in-the-middle attack, he states that the success probability is «1 in $2^{2m - 2n}$» with two plaintext/ciphertext pairs, and «1 in $2^{3m - 2n}$» if one uses one additional pt/ct pair. $n$ is the key length, and $m$ the block length.
My question ... |
I'm trying to understand how/why Shanks' algorithm solves the discrete log problem $y=g^x \bmod p$ faster than a brute force search does. Any explanation would be great.
|
Let's say I want to encrypt a document which only can be read by John, Mike, and Dave. This can easily done with PGP/GPG:
Import John‘s, Mike‘s, and Dave's public key
Encrypt the document using those keys, and send it to them
Each of them can decrypt the document using their own private keys.
What I don't understand ... |
I am working on the following exercise:
Now, assume the following signature scheme:
$\operatorname{KeyGen} (1^k$) : On input of a security parameter $k$, choose a symmetric bilinear group with $e : G \times G \rightarrow G_T$ where the common group order of $G$ and $G_T$ is a prime of bitlength $k$. Further, let $g$ g... |
I need to create an unpredictable uid based on time.
I plan to allow it to work during a time frame of 100,000,000 seconds.
So the seconds will go from 00000000 to 99999999.
I need an algorithm that will "convert" the seconds to another 8 digit number. 8 digits in, 8 digits out.
Example :
algorithm(00000001) returns 8... |
Consider a classical Feistel Cipher, with the round functions given and the keys used in the ciphering process.
Is it possible to reconstruct the original data if half of the ciphered text is given? Furthermore, is it possible to reconstruct the original data if less than half of the ciphered text is given?
What would... |
I am working on a small project. An elliptic curve equation with y^2=x^3-3x+27 mod 43, a point $Q=(1,38)$, using point doubling method https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication#Point_doubling, i got $2Q(Q+Q)=(41,5)$. Now in projective coordinate $Q=(1,38,1)$ taking $z=1$.https://en.wikibooks.org... |
This is a follow up to my previous question.
Consider the following signature scheme:
$\operatorname{KeyGen} (1^k$) : On input of a security parameter $k$, choose a symmetric bilinear group with $e : G \times G \rightarrow G_T$ where the common group order of $G$ and $G_T$ is a prime of bitlength $k$. Further, let $g$... |
For any PPT prover ($p$) and verifier ($v$), imagine I have a low entropy witness, say smaller than $2^8$. Now, let us say I have a dlog statement in the form of $y = g^w$. Theory says I could use a sigma protocol such that $p$ can prove to $v$ that it knows $w$. I could also make use of the fiat shamir transform to ... |
I have a large number which I suspect may be a private RSA key (although its size, at 613 bits, seems a bit unorthodox).
I have started to run a factorization algorithm on it, and after a few hours it still has not found any factors. But I wouldn't want to keep the algorithm running for a couple more days (or pay for ... |
Say we have a message $m$. Signer $S^1$ will sign this message using his digital signature to produce:
$$\operatorname{Sign}_{S^1}(m)$$
Now, say another signer $S^2$ wants to sign the output of the previous stage to generate:
$$\operatorname{Sign}_{S^2}(\operatorname{Sign}_{S^1}(m))$$
Is there a way to verify that $m$... |
AES/GCM has obviously proved itself to be better than AES/CBC. Unless the key is re-used with the same initialization vector (see disadvantages of GCM). More information on its advantages against CBC can be found in source 1 and source 2.
Now, most protocols still use AES/CBC. I understand this in case a KDF is not use... |
The Learning Parity with Noise (LPN) assumption states that, for a fixed secret $s$ chosen uniformly from $\{0,1\}^n$, then the distribution that outputs $(a,a\cdot s+e)$, where $a$ is uniform in $\{0,1\}^n$ and $e$ is sampled according to a Bernoulli distribution $\mathsf{Ber}_\tau$ (with parameter $\tau\in[0,1/2]$), ... |
Some assert that a theoretical model of the unconditioned source must be created when building any TRNG. It's believed to be a fundamental requirement. So a few related questions arise:-
What is a "model"? For example, are we talking a simple histogram of the raw output distribution, or something like $ \sigma^2_{qu... |
I am trying to understand how SEAL-CKKS scheme works and I wonder what multiplication level can we achieve using this scheme?
Like 100 possible?
|
For RSA, what is the standard solution against timing attacks? I know about RSA blinding as one solution.
Another solution is to always compute both the squared value and square-and-multiply values, and use conditional masking to select which one based on the current bit of the exponent. (For example, fill a register... |
The STARK paper says
Our ZK-STARK uses a separate Reed-Solomon codeword for each register, leading to w many codewords, each of lower degree n · c. At first glance this tradeoff may seem wasteful, because we now have to solve an RPT problem for each of these w codewords. However, the interaction and use of randomness ... |
The answer to the second part of this question exists already.
However, I need help understanding how the first part of the question is solved.
I have a feeling that it must have something to do with FLT, although I can't figure it out.
Could someone post the proof or hint me in the right direction?
It feels like I am ... |
Can anyone give me a simple example of this?
"For example, if there are $2^{64}$ possible cipher texts per plain text,
cipher texts must be at least 64 bits longer than plain texts"
This is what book said but I don't really get this.
|
I have been given a textbook which defines the addition of two points on an elliptic curve and the doubling of a point on an elliptic curve. This textbook explains elliptic curves in projective space where $z=1$ and it expresses the points on the curve as affine points of the form $[x,y,1]$ but it never really explains... |
how can is possible to know if an elliptic curve is suitable for protocols that adopt pairing?
For example, in Certificateless Cryptography with pairing, is it possible to know if all elliptic curves (e.g. $secp160k1/r1$, $secp192r1/k1$ and so on) are suitable?
Is there a list that facilitate me to see if a curve can b... |
The two main security definitions for signatures are EUF-CMA and the strong version of it sEUF-CMA.
What I see that their difference is that in EUF-CMA experiment, the adversary needs to produce a valid signature for a message of its choosing, where the message has not been queried before (i.e., a message for which the... |
I am trying to learn how ECDSA works. I do not have a background in maths, but have been following a guide which has built me up from finite fields, elliptic curves.
I am unable to figure out how a signature is generated , a description of it is here.
To state what i understand.
e = private key
G = generator point
... |
I use some diceware pass phrases in some places but I have one question that I can't find the answer to.
Let's say I roll the dice and get $N$ words with a total of $M$ letters and that I don't put spaces in between the words.
An attacker wishing to brute force my secret could have to try $7776^N$ times to break it as ... |
I am trying to wrap my head around the second round Quantum Resistant Algorithm candidates currently under the NIST PQC Effort.
Can someone verify if the following is a correct summary of the 17-Public Key Encryption and Key Establishment Mechanisms versus 9-Digital Signature Algorithms and their types? Specifically, I... |
[Simon 98] showed that it is impossible to construct collision resistant hash function from one way functions in a black-box way. I read the paper but barely understood it. Is there any source, where I can find a simpler explanation of the result?
I would appreciate if you could provide me some papers that explain any ... |
I was reading about the AES algorithm to be used in one of our projects and found that the exact number of rounds is fixed in AES for specific key sizes:
$$
\begin{array}{|c|c|}
\hline
\begin{array}{c} \textbf{Key Size} \\ \left(\text{bits}\right) \end{array}
&\begin{array}{c} \textbf{Rounds} \\ \left(\text{number... |
The following is an excerpt from A Generalized Birthday Problem - David Wagner:
One of the best-known combinatorial tools in cryptology is the birthday problem:
Problem 1. Given two lists $L_1, \space L_2$ of elements drawn uniformly and independently at random from $\{0, 1\}^n$, find $x_1 \in L_1$ and $x_2 \in L_2$... |
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 process to be $\hat e(g_1, g_2)^r \cdot M$ where $g_1$ and $g_2$ are public parameters in cyclic group $G_1$, $\hat e$ is the... |
It is very straight-forward and intuitively to achieve addition, subtraction and even generalized polynomial using Beaver's Multiplication Triples. However division seems difficult to achieve on two secret-shared values (each with precision $f$).
Assuming the case of secure two-party computation, there are two secret ... |
I'm not a 'cryptographic' anything, so if this is a super-dumb question please let me know (politely).
So here's the deal, say I don't want to store passwords because that opens me up to all sorts of failures (see: Facebook). Instead, I want to use the passwords as a key for something else.
Let's assume our process i... |
Recap: Needham–Schroeder is as follows:
$A \rightarrow B : \{A, N_a\}_{pk_B}$
$B \rightarrow A : \{N_a, N_b\}_{pk_A}$
$A \rightarrow B : \{N_b\}_{pk_B}$
Then, there is a MITM attack by Lowe as follows:
$A \rightarrow C(A) : \{A, N_a\}_{pk_C}$
$C(A)\rightarrow B : \{A, N_a\}_{pk_B}$
$B \rightarrow C(A)... |
The NaCl ref implementation of the Poly1305 algorithm uses the following reduction function (which is called squeeze()):
static void squeeze(unsigned int h[17])
{
unsigned int j;
unsigned int u;
u = 0;
for (j = 0;j < 16;++j) { u += h[j]; h[j] = u & 255; u >>= 8; }
u += h[16]; h[16] = u & 3;
u = ... |
Can somebody explain me or give me a link of a step by step SHA-3 explanation it has been really hard for me to undesrtand it. I would love to see an explanation since it's input untill the digest is generated. I have an intermediate understand of math but I have a hard time understanding the official documentation.
|
There was a recent question answered where the accepted solution was a double Pearson hash. It consisted of the following pseudo code:- h = T1[h ^ x[i]] followed immediately by h = T2[h ^ x[i]] so effectively you run one lookup table into the other. Tables T1 and T2 are unique random 8 bit permutations. Output collisio... |
I am a CS student who is in an introductory cryptography course. I am not looking for the complete plaintext of this message, as I am not looking to cheat. I am simply stuck and have no idea what to do for this part of an assignment.
I have attempted frequency analysis and have a link to it below. I have attempted subs... |
Wouldn't accessing the hardware encryption chip be safer than relying on an encryption library?
My question is prompted as a response to @SqueamishOssifrage replying on the "Properly securing a private key for remote storage" post, item #6 (I don't have enough points to reply to their comment).
Quote:
it takes a lot ... |
I'm learning stream ciphers and I'm at LFSR cipher, and I've been trying to solve the question that states if given a 5th degree lfsr with the cipher text 101101011110010 and its corresponding plain text 011001111111000, show how you can compromise the entire cipher.
I tried XORing the plain text and the cipher text, b... |
E0 is used for encrypting Bluetooth communication, and it is initialised with a key of at most 128 bits. How secure is E0, and what are the E0 encryption attack vectors?
|
Lets say that $a, b, c$ are variables and you know that
$$\operatorname{sha256}(a) = b \\
\operatorname{decrypt}(b) = a \\ \operatorname{sha256}(b) = c \\ \operatorname{decrypt}(c) = b$$
Is it possible to find $a$?
|
Sorry if this post is a tad unconventional(it's also a reddit repost), but I was recently commissioned by a teacher to write a paper on the application of high-level math to a topic of our choice, and, being familiar with basic cryptography, I chose to explore hash collisions. The prompt was extremely broad and ultimat... |
I am working on a Golang code similar to Signal protocol. I need to modify it. I am confused on tripartite Diffie-Hellman handshake part of code, i.e. why public key has two separate parts as compared to private key which has only one part in bytes as shown below. I can more info if needed. Thanks.
|
According to its mathematical definition, a random algorithm $M: D\rightarrow R$ satisfies $\epsilon$-differential privacy if the adjacent datasets $x, y \in D$ where $D$ is a whole dataset and datasets $x$ and $y$ differs by only one record, and any set of $S \in Range(M)$,
$Pr(M(x) \in S) \leq Pr(M(y) \in S) * e^{\ep... |
In Katz's text (2nd edition), it states in 4.3.2:
The truncation attack can be thwarted by additionally authenticating
the message length along with each block. (Authenticating the message
length as a separate block does not work. Do you see why?) That
is, compute $t_{i} = Mac'_{k}(l||m||i)$ for all $i$, where ... |
I am wondering whether there are any properties of the curve which would technically make it easier to attack than any other curves of 256 bits in size.
I have heard that being a Koblitz curve, it has a few bits weaker security than some other curves of the same size - I was wondering if anybody has a source for a proo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.