instruction stringlengths 32 27.2k |
|---|
These days, universal hashing functions like GHASH and Poly1305 are very trendy because of their simplicity and speed.
Now during a discussion related to export restrictions, it came up that mainly encryption techniques are regulated and these hashing functions wouldn't be hit by this.
Now to the question:
Can you run ... |
Consider a field $K$ of characteristic $p \neq 2,3$. Consider a curve $E$ over $K$ defined by the equation $y^2 = x^3 + ax + b$.
How can I show that:
$E$ is not an elliptic curve (it is not singular) $\iff$
$4a^3 + 27b^2 = 0$
|
I am having a hard time grasping the perfect secrecy concept. (I have already tried solving a couple of similar problems, so please don't think I am trying to get you guys to do my work, I really am stumped on this).
Consider a shift cipher with plaintext, key and cipher-text space is $[0..7]$ i.e.
$$
P = \{0, 1, 2, 3... |
I am trying to understand the reconciliation technique mentioned in Wikipedia page for Ring-LWE key exchange.
Basically, if we intentionally choose x, y (or the coefficients of calculated shared key of Alice and Bob)
to be different in terms of range or one in range (-floor(q/4), round(q/4)) and another not in that ran... |
I am trying to reverse engineer a program that encrypts a file with a password.
So far i figured out that the start of the file is always the string "DecryptOK" encrypted with the password of course.
With a password of "one" an "empty" file turns into
ED5BDE97BB90DE1377948A31B0EECB4B4D8B
which i assume would be
ED5... |
We want to generate coupon code series and then encrypt those coupon code in numeric only, and that must also be decipherable.
We will be sharing encrypted code as coupon code with customer.
These are the conditions:
Encrypted code must not be in series or not easily able to guess;
Encrypted code must be numeric.
Enc... |
In their book Introduction to Modern Cryptography, chapter 2, authors Katz and Lindell ask the reader to show that perfect secrecy is equivalent to adversarial indistinguishability as an exercise. I am self-studying their book, and I tried tackling the proof on my own.
I succeeded in showing that adversarial indistingu... |
I want to generate sha256 hash of https url.
ex: url "https://www.google.com/" I want sha hash of this url.
I have tried extracting public key from ssl certificate and used following command.
openssl s_client -connect google.com:443 -showcerts </dev/null 2>/dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE... |
I do some research with the candidates of the sha-3 competition. I am interested in the padding mechanisms of the skein hashfunction. For Example.
I use the skein hash with 256 internal state size. Is it correct, if my message is a multiple of 256, that the input does not need to be padded? I could not find something u... |
Let's say that we want an untrusted person do to a calculation on a 32 bit floating point number and send us back the result, without learning what the specific number was that we care about.
For the sake of argument, let's assume that a partially homomorphic algorithm was not sufficient and that we needed to be able t... |
I noticed during an assignment that, if I create an user with a password (azerty for exemple), and then call the command to change the password but give him exactly the same password:
passwd user
>> azerty
the encrypted string stored in ./etc/shadow changes (despite the password not changing).
What algorithm is... |
So I read some stuff about oblivious transfer and came a ross that 1 out of 2 OT can be used as a black box to build 1 out of n OT. At first it seemed trivial just feeding in 4 messages and 2 chooser bits but then I realized it's not that trivial since it doesn't guarantee security.
How is 1 out of 2 OT used to build 1... |
This question was part of an assignment.
Here's my reasonning:
If N is prime and N=p*q, then p=1 and q=N (or the opposite).
e * d ≡ 1 mod ((p-1) * (q-1)), but ((p-1) * (q-1))=0 here.
e * d ≡ 1 mod 0, so e=d.
We now have the private key.
Is this correct?
|
In the key generation algorithm of cp-abe there are attributes: $x_1, x_2,...x_n \in \{0,1\}^*$
$r, r_{x_1}, r_{x_2},...r_{x_n} \xleftarrow{R} Z_p$ are chosen randomly to generate the private key $SK$ where.
$SK = [g^{\left(\alpha+r\right)/\beta},
g^r \cdot H(x_1)^{r_{x_1}}, g^{r_{x_1}}, ...,
g^r \cdot H(x_n)^{r_{x_n... |
Let's say you need a 256 bit password but all you have is an SSH key. Can you securely transform the SSH key into a symmetric password via a hashing function? What would be a good choice for a hash function?
|
I want to understand more about substitution-permutation network, if we modify it
instead of carrying out the key-mixing, substitution, and permutation steps in alternating order for r rounds, the cipher instead first applies r rounds of key-mixing, then carries out r rounds of substitution, and finally applies r perm... |
Does perfect forwarding secrecy, as used for e.g. the DHE_ and ECDHE_ TLS ciphersuites make it impossible for quantum analysis to retrieve the plaintext data within the connection?
|
I want to verify if my trigger gives me the correct duration of an AES-128 execution in a specific chip; I need only to have the duration of an AES block encrypt without any other functionality.
The frequency of the CPU is 128 MHZ, the frequency of the AES execution is 64 Mhz.
How can I calculate the duration of an ex... |
What are the options for replay attack prevention when two parties exchange UDP messages. No connection or session is estabilished. Communicating parties have pre shared key that is used for encryption (aes-256) and authentication (hmac-sha-256).
Communicating devices:
don't have real time clock. Real time can be obta... |
Recently I came across howsecureismypassword.net. The site evaluates how many year a computer would take to crack the given password but they don't provide the criteria on which they evaluate no. of years
So the questions arises:
Is there any standard algorithm for such?
Ain't the number of depends on computing power... |
I had a few questions in regards to certain practices used by JWT developers.
I'm relatively new to both encryption and JWTs and the context given is for developing a system on nodejs.
How should verification work? Should I look at the JWT's signature section and verify with the private key each time? Or should I stor... |
I wanted to work on a personal project where I would attempt to identify the flaws in a cryptographic protocol. Now for that to work properly, the program should understand the syntax of protocol definition (if any). So I wanted to know if there is any formal language to define a cryptographic protocol.
I found a paper... |
The project I'm involved with needs to establish around 2500 simultaneous ipsec connections between roadwarriors clients and the ipsec concentrator/gateway.
In order to be able to estimate the appropriate hardware solution I'd like to be able to calculate the amount of processing power needed to sustain the moment of a... |
I read this paper, which said that $\operatorname{update}(K, V, adin)$ should do two rounds as follows:
$\operatorname{update}(K, V , adin)$:
$K = H(K, V || 0x00 || adin)$
$V = H(K, V )$
If $adin = null$, then return $(K, V )$
$K = H(K, V || 0x01 || adin)$
$V = H(K, V )$
Return $(K, V )$
Why is the second roun... |
In the Coursera crypto course, Dan Boneh states that if $F: K \times X \to Y$ is a PRF, if the size of the input space $X$ is $2^{128}$, and the size of the output space $Y$ is also $2^{128}$, then there are $(2^{128})^{(2^{128})}$ different functions that map the set $X$ to the set $Y$.
I guess that's because we can s... |
For example:
Encrypt with: $M^{k_1} \bmod k_2$
where $M$ is message, $k_1$ and $k_2$ are independent keys
If it is possible, what is the decryption algorithm?
Thanks!
|
In Garbled Circuits party $P_1$ garbles the original truth table by arbitrary choosing or by some other method values. Table (b) represents the garbled values corresponding to each entry in the original truth table.
My question is: What does the last column in garbled table represents? In the original table we have th... |
Is the encryption function of the ElGamal public-key cipher time-varying?
|
I read that a company called D-Wave Systems has and is manufacturing quantum computers of 128 qubits.
Can they or can they not use Shor's and Grover's algorithms for finding RSA-keys? If they can't then why not?
And how come it was so hard for the team at MIT to create and maintain a stable 5-qubit quantum computer ion... |
I have just started looking at different methods for analyzing the security of cryptographic protocols. According to my reading, there are two main approaches in this area. The first approach is so-called Dolev-Yao (or formal) model, where cryptographic messages are represented as symbolic terms in term algebras. The s... |
I looked here. The answer basically says that to calculate the complexity of the logarithm problem we have to take the length of the number representing the size of the group into accounts. It seems arbitrary, why don't we chose the size of the group as the argument? Is there a criterion to know what argument to chose?... |
In "Cryptography Engineering" Bruce Schneier wrote:
... All of them come down to a single thing: it is very bad to have
any kind of structure in the numbers that RSA operates on. The
solution is to use a function that destroys any available structure.
Few lines lower he mentions PKCS #1 v2.1. As I understood pk... |
The cryptographic world has been buzzing the word "quantum" for a while now (even the NSA is currently preparing itself for a post-quantum crypto world) and quantum-related hardware engineering is evolving constantly. For example: the 5-qubit quantum computer created at MIT by using the technique of ion traps succeeded... |
What is the more desirable for a block cipher's sub-keys ?
Given two blocks ciphers, letting all other properties be equal (they have the same strength), the only difference between them is that:
one generates a unique set of sub-keys for each key,
while the other generates a set of of pseudo random subkeys.
In other... |
I am trying to use the statistical test suite software from NIST SP800-2.
First it asks for bitstream length.
Usage: ./assess <stream length>
<stream length> is the length of the individual bit stream(s) to be processed
After file is given to program, it asks for;
How many bitstreams?
How can I determine that valu... |
Assuming
$$c = m ^ e \bmod n$$
and given the values of $c$, $m$ and $n$ (32 bit integers),
How would one find the exponent $e$ (also 32 bit integer) ?
|
I have been studying multivariate cryptography for post-quantum cryptography lately, but I have a hard time in understanding how these signature schemes work. As long as I see there there is UOV scheme, then Rainbow which is kind of a generalization of UOV scheme, and also there is something called HFEv-.
But how does... |
I was reading research paper Reusable Garbled circuit in which i read the term "p.p.t Simulator" and p.p.t Algorithm. I know about Probablistic Polynomial Time(p.p.t) Algorithm. Kindly someone tell me what is Probablistic Polynomial Time Simulator
|
Say $\Pi=[Gen,Enc,Dec]$ private key encryption scheme, such that for $k \in \text{{0,1}}^n$, $Enc_k$ is only defined for message of length at most $p(n)$. (for some polynomial)
I need to construct a scheme for eavesdrop indistinguishability test where the eavesdrop isn't restricted to output equal-length message.
I s... |
How do we show that the addition function f (x, y) = x + y (where |x| = |y| and
x and y are interpreted as natural numbers) is not one-way?
I can see that the idea is to find any pair x and y which add up to x+y. But how do we ensure that the lengths are same i.e. |x| = |y| ?
|
I decided to ask the question here, because although the problem is mathematical, I'm interested in its application here. In the version i read in wikipedia, they suggested the following method for Alice and Bob to agree on a coin flip result from afar:
1)Alice gives Bob a commitment(a box), which contains her 'call', ... |
Before I ask my question, let me say that I don't know the math behind OTR, so I don't know if the process of authentication in OTR is any similar to this.
Alice and Bob have exchanged keys using Diffie-Hellman key exchange
There's a man-in-the-middle - Eve.
This is the encryption "circuit": Alice -- e_alice -- Eve -... |
I know the fact that the effort of brute force attack to break weak collision resistance hash value takes $2^n$ while in the strong collision resistance takes $2^{n/2}$. Can someone explain why strong collision resistance takes less effort?
|
In Elliptic Curve Cryptography, using the projective space is often mentioned to accelerate the computations and to represent the point at infinity.
But What is the Projective space exactly ? How can we represent the curve in such space ?
|
As it was pointed out in one answer of this question, the BGV paper has a footnote that says
One can obtain a "pure" FHE scheme (with a constant-size public key) from these leveled FHE schemes by assuming "circular security", namely that it is "safe" to encrypt the leveled FHE secret key under its own public key.
Ho... |
I've just read an answer to fastest-random-number-generator. The answer is a couple of years old, but mentions a true random number generator capable of running at 300 gigabits per second. It is re-linked here. They might go even faster now. .
One time pads are out of favour. There's no point storing these numbers ... |
I don't want to discuss the security problem with MD-based hashfunctions when using them as KDF. Since the existence of SHA3 or Skein hashfunction it is possible to use them as key prefix KDF.
What I mean with key prefix KDF is the following:
In https://eprint.iacr.org/2010/264.pdf you can find it or in short:
KDF(x) =... |
Assume we have a IND-CCA-secure PKC (Public-Key-Cryption) and we construct a commitment-scheme(commit, reveal) with that IND-CCA-secure PKC (so that commitment should be IND-CCA-secure too). But how can I prove that? I am a beginner and have absolute zero idea how such a proof works.
My idea: "the reveal-step" from c... |
Alice has bought a brand new hard disk, $K$ (with $K \sim 10^{12}$) bytes in size. She is very happy about her purchase, and tells Bob about it. Bob claims he also bought a $K$ bytes hard disk. Alice doesn't really trust Bob on this, so she asks him to prove his claim:
Alice sends Bob an $O(\ln(K))$ sized problem she ... |
This was mentioned in the comments to another question:
To clarify: This is about key-stretching KDFs. Not the kind for
diversifying keys (eg. HKDF)
and
There are two kinds of KDF, the slow, strengthening kind fed by a
password(e.g. PBKDF2), and a fast one that only derives secondary keys
from a master key(e.g... |
This question follows from my previous one on proofs of space. Proof of space mechanisms rely on the computation of some proof that is easy to verify and requires from the prover an arbitrary amount of space, so that the elaboration of the proof is a way to show that some space was indeed available at the moment of the... |
i sha2-256 hash the password, then i base64 encode the hash (per RFC 2045) , resulting in a 44 bytes string looking like LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ= , then i bcrypt ...crypt() that (using a securely generated salt), and i get something like $2b$10$HyPnAMyB2l1onzLjxEeRHuSioZ/X31I/XP6oHa.SPHA7KxJbR9Jq.
a... |
Let's say you are looking to collect some randomness from your computer. At a given time stamp, you can always collect the following 16bits as part of the time stamp:
First 5 bits are fixed and always the same
The next 4 bits are not perfectly random and exhibit a probability of 1/8 for the different possibilities
Fin... |
I am trying to implement DH using Python (for tests), and its working for
(3 ^ random_number) mod 17
In order to be secure, the prime (in this case, 17) needs to be very long.
My question is: Where can i find secure primes and primitive roots to make the algoritym secure? As long as i know, generating these numbers re... |
There are two parties who don't trust each other mutually, say A and B. A has a large set of strings. B has a string and needs to check if this is contained in A's set or not. B does not want to reveal the string to A and neither does A want to reveal all the strings in the set to B. But still, B should know the answer... |
Assume an algorithm that encrypts each letter in a string into a different one, using a key, but in such a way that if you were to change a single letter from the clean text, the encrypted text would look completely different.
Also assuming each letter doesn't get encrypted to the same letter.
Here is an example (not ... |
I am doing some penetration testing and I found this potentially predictable URL being used for password resets and although it says it uses SHA-256 for the hash I'm not sure that it does because the hash when URL decoded is 44 characters long and SHA-256 hashes are always 64 characters long. My second guess was that i... |
I am studing DH Key Exchange and trying to implement it.
I am using the algorithm as follows:
In order to generate the public Key:
(Generator ^ Random_Number) mod Prime_Number
Generator = 2
Prime number = 5809605995369958062791915965639201402176612226902900533702900882779736177890990861472094774477339581147373410185646... |
Given the need to transmit relatively short messages (a few dozens of bytes max), how unsecure would the following bundling of a hash in the initialization vector be?
(A) = 64 bits of cryptographic random
(B) = cryptographic hash of A concatenated with original Message
Then concatenate (A) with 64 bits of (B), and us... |
How can I proof that in Fermat's primality test the probability of going wrong after k iterations is $\big(\frac{\phi(n)}{n-1}\big)^{k}$?
|
I have just started to study Elliptic curve cryptography. I have a question: In elliptic curves in Fp (such as prime256v1 curve) I just learned that the discrete logarithm problem is, "finding k, where Q=kG and G and Q are known, is hard" (k is big integer and G is generator)
I'm curious if the below sentence is still ... |
Let $H$ be a cryptographically secure hash function, like SHA256. The output of $H$ is $N$ bytes long, with $N$ usually in the order of $32$ for commonly used hash functions.
Now, be $X$ a string, I can compute $Y = H(X)$, which is a sequence $Y_0, \ldots, Y_{N-1}$ of bytes. Now, I was wondering: is there any way to ha... |
I have some notes that claim that ElGamal is worse than RSA in the sense that ElGamal is length-increasing. Do anybody know what this means and why is a bad property?
Edit:
For completeness I show you the model of RSA I'm working on (the very basic one)
and also the ElGamal model I'm working on:
In fact ElGamal advant... |
I am thinking of a variant of RSA.
I know that RSA itself is not semantically secure as it is "deterministic". I have a "randomized" variant of RSA in mind.
Suppose that the public key is $<e,n>$. To encrypt a plaintext $p$, this variant first randomly choose a value $v$, and output the ciphertext as:
$$E(p)=<v,(v+p)... |
So, I've got this Hash:
a6086de16e0c4476af46d773cd0342be
And I'm not sure what type of Hash it is. I believe it's MD5, but I'm not sure. Anyone able to decrypt this?
Thanks! :)
|
I am working on a secure password generator based on the following setup:
choose a publicly know (text) file
make some deliberate memorable changes to it
use collected entropy for a secure password ???
Details:
The text file can be anything provided it has a reasonable character count.
For example: pick a book with ... |
From my understanding of the basic Diffie Hellman scheme, the final result is 1 key that is known to both sides and now can be used for symmetric encryption.
From my understanding of ECDHE-RSA scheme which provides PFS, a pair of ephemeral DH keys are created instead of another RSA pair because of computational conside... |
With all our tools in math, isn't it really possible to find the prime number p of an RSA key without brute-forcing it with a computer? I'm not talking about doing it in 2 minutes but doing it in a clever way that is faster than our computers. Some algorithms work really well like MSIEVE and GGNFS, but it takes too muc... |
I have studied many literature on boolean functions. The nonlinearity of a boolean function is defined as min of hamming distance of the function from all the linear functions in the set. There is also formulas for calculating nonlinerity of boolean function in terms of no of inputs (n). Now i have following two doubt... |
Assume that A and B have exchanged their public keys beforehand. Now, A and B wants to communicate over an insecure channel and want to provide integrity and confidentiality on the message. A use the shared secret calculated using DH to encrypt the message using a symmetric cipher. If B can decrypt the message, can B b... |
I'm selecting an AES key size for a LUKS partition using XTS-PLAIN64.
XTS will effectively reduce the AES key strength in half.
The default key size for AES XTS-PLAIN64 is 256 bits (meaning 128 bits effective). Given exponential progress making quantum computing ever more a reality, I was thinking to increase the key s... |
I have a cipher. Message splits on parts with 8 bit length. Let part be $l[i]$. So encrypted part $l'[i] = l[i] \oplus r[i]$, where $r[i] = \text{low-orded 8 bits of $R[i]$}$, where
$$R[i] = ((a/R[i-1]) + 1)\bmod(n) \text.$$
If $R[i-1] == 0$ then $R[i] == 1$. $R[-1] == key$.
I have known params $a$, $n$, ciphered text.... |
Assume you had no option (really) but to store thousands of credit card PANs in a file. You do not need to decrypt them ever, but you do need to use it for checking if a given (new) PAN exists in that list.
To protect the PANs, the idea is to HMAC-SHA256 them. This scheme naturally relies on the HMAC secret remainin... |
I am looking for typical input lengths for key derivation functions like the HKDF. I know the parameters of HKDF, but can not find any information about typical input sizes to HKDF or any of the other KDFs. What are the typical input lengths for KDFs? If possible, can you also point me to (a) relevant reference paper(s... |
I am new to hash functions and blockciphers and try to do some exercises to get a better understanding.
Considering the following block cipher if K is predefined value IV and the last ciphertext is the hash. I don’t really see how this hash function would be not secure but from what I heard block ciphers are only good ... |
I'm trying to find a hidden message in a WAV file. It's a song, not some noisy sound. My question is where should I look for the message in data RIFF, FMT or DATA chunk. Should I convert the file to binary or hexadecimal code?
|
I'm trying a Birthday Attack to randomly generated strings and its $\mathop{SHA-1}$ hashes using a Mapped table of values in order to find a collision on only the first 8 bytes. With the first 4 or 5 bytes it was easy, but the problem now with 8 bytes is I'm running out of RAM memory as I'm storing the values, and I do... |
I'm using my own code to communicate with another party that's specified PKCS#1 V2.1 EME-OAEP encoding, with SHA-1 as the hash function.
There are two places where random data is used in encoding a message:
A 20-byte seed which is passed to Mask Generation Function.
A variable amount of random data which left-pads the... |
It is said that if two elliptic curves $E_1, E_2$ defined over a finite field $K$ are isomorphic, then $E_1(K), E_2(K)$ groups are also isomorphic. But the converse is not true. Now,
By definition, when $E_1, E_2$ are isomorphic over $K$ then $E_1$ can be transformed to $E_2$ by admissible change of variables. If I am... |
It is known that homomorphic encryption schemes are not secure against CCA attacks. This is because in the security game, the attacker may use homomorphic evaluation to cheat in the the challenges and ask for a decryption of a (homomorphically equivalent of the) challenge itself.
However, I found a key-recovery attack.... |
I have been reading to understand the need to randomise the IV but have failed to understand this yet.
Could someone please explain why do we need to randomise the IV if we somehow need to send the IV with the cipher text because the receiver, even though has the key would not know the random IV.
Therefore, wouldn't an... |
I have gone through many literature on bent functions but could not find even a simple examples of creating bent functions. One theorem say like this If $f(x)$ and $g(x)$ are two bent functions of $V_n$ and $V_m$ them $f(x) \oplus g(x)$ gives bent function of $V_{m+n}$. Can i get any example of creating bent func... |
I'm looking into the Diffie-Hellman key exchange paper (New Directions in Cryptography, 1976) as part of a series of classic papers in Cryptography for my Ph.D and I was wondering if someone could give a reason for something that has always seemed very strange to me.
ElGamal seems like a natural thing to immediately t... |
In the paper "A Toolkit for Ring-LWE Cryptography", the proposed public key system has (ignoring subtleties of the dual) Alice generate $a$ uniformly and $s,e$ from a discrete Gaussian, then output $(a,as+e)\in R_q\times R_q$. Bob generates $s_b,e_b$ from a discrete Gaussian, has $m\in\{0,1\}^n$, and outputs $(as_b+e_b... |
In AES, an N-bit message is mapped 1-to-1 message-to-output (for a fixed key).
If we use a key with N bits, however, the key is not mapped 1-to-1 key-to-output
(for a fixed message).
So, is there any secure symmetric encryption method with a 1-to-1 key-to-output
mapping?
In the end, I'm just looking for a hash function... |
I am studying about this authentication and I don't understand why the factors of $n$ are kept secret as I can't see how they would give the prover or verifier anymore information.
My professor said that the verifier could learn the secret of the prover with the factors, but I don't understand how he would come about t... |
When (if ever) was a key length of 64 bits used in "internet encryption" and when was that "cryptographic standard" first introduced?
Following up, when did "internet encryption" key lengths change to 128-bits, then to 256-bits, 512-bits and so on up to 2048-bits? Was the same "cryptographic standard" used?
|
While fiddling with the NaCl implementation in Go, specifically SecretBox, a general crypto question came up after reading the documentation.
Quote:
Package secretbox encrypts and authenticates small messages.
I haven't seen this before. Is there a maximum size? What constitutes as a small message?
I've looked for ... |
Martın Abadi and David G. Andersen recently published a paper on arxiv titled: "LEARNING TO PROTECT COMMUNICATIONS WITH ADVERSARIAL NEURAL CRYPTOGRAPHY" (https://arxiv.org/pdf/1610.06918v1.pdf).
I was wondering why Eve neural network $E$ does not get as input the learned parameters $\theta_A$ and $\theta_B$?
If really ... |
I know that almost all stream ciphers are vulnerable to “key reuse” and “bit-flipping” attacks.
Because AES also uses $XOR$ in its algorithm, is it possible for block ciphers – like AES – to be vulnerable to “key reuse” and/or “bit-flipping” attacks?
|
I was reading:
Is sharing the modulus for multiple RSA key pairs secure?.
My question is: Given a 1024 bit modulus, how many pairs of 512 bit p's and q's are there that would be able to be combined to create a 1024 bit modulus for use in RSA?
Since a 1024 bit modulus has not been factored, I am guessing we don't kno... |
Is there any difference between somewhat homomorphic encryption and leveled homomorphic encryption? I heard that leveled homomorphic encryption supports computing circuits of bounded depth on cipher text, and somewhat homomorphic encryption supports computing polynomials of low degree on cipher text. What's the differe... |
I know that the additive finite group $(Zp,+)$ of prime order $p$ when I perform the Diffie-Hellman key exchange (DHKE) protocol is insecure. I didn't however find many sources online explain why it is insecure. Neither could I find information about what possible attacks can be performed in that case.
Can anybody expl... |
How can I find the Caesar cipher key if I have an encrypted message and part of the decrypted message? For example: I know that the message ends with a constant set of words, but the length of the key is not known.
I have tried using the Kasiski test to check for repeating strings in the encrypted message, but the mess... |
I was reading research Paper. In which writer talks about universal circuit. I want to know how is universal circuit $U_{e}$ different from simple circuit. What properties they have. Is they hide structure of simple circuit
|
I am trying to measure the cycles per byte for $\mathop{SHA-3}$ reference implementation. I am using recommendations from Microsoft querying the performance counter. As you can see in the first snippet, cycles are measured before converting into microseconds. My code looks like the following:
QueryPerformanceCounter(&... |
When I read the definition of the CPA indistinguishably encryption scheme, I see that the adversary can use an oracle as many times (to get as many encryptions of any messages it choose). An the end of the experiment, it has to distinguish between two messages $m_0$ and $m_1$ while it gets $c_b$ (from some challenger),... |
So, I have managed to get a 52 bit collision for a SHA1 but after three days of brute forcing, I am unable to get a 60 bit collision.
My question is simple, how should I approach this?
I am currently using a random hex code of about 15 bits and randomly alternating between these digits. I then get the 60bit SHA1 for th... |
I'm trying to analyze a mobile application and I believe it is is using DES. Here is a sample of the authentication handshake.
{""id":"handshake","authentication":"vnc","authentication-challenge":"A489C9790FB7C3CE2E56868C788641FC"}
{"id":"handshake","authentication-response":"D33BAD35B07EF500A82329749CEE9192"}
{"id"... |
I have a vector of int called $Xreg = [x1, x2, ..., xn]$ that I need to send from a client to a server for storage in a database.
If an attacker gains access to the database or the server he shouldn't be able to recover the original vector $Xreg$.
To do so, I had the idea to multiply each component of $Xreg$ with two... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.