instruction stringlengths 33 27.2k |
|---|
I found the assumtion that finding a representation in a cyclic Group G for a randomly chosen value y is as difficult as solving the DL problem.
That assumption was without proof so I am not sure if it is correct. Can someone give a proof or a contradiction?
|
In my project work, I want to encrypt the keywords extracted from certain documents by using fully homomorphic encryption.
What are the algorithmic steps to perform fully homomorphic encryption on plaintext?
|
This answer claims that "it is not proven that all outputs of SHA-1 are possible." Has any crypto hash function been proven to produce all possible outputs (i.e., to be surjective over the codomain of all possible numbers $[0, 2^n]$, where $n$ is the number of bits of the hash)?
|
When a data user requires access it asks the key issuer to generate a key for it using the specified attributes.
How does the key issuer authenticate that the data user actually acquires the attributes it claims to possess?
|
I am reading a paper by Shacham and Waters on Compact Proofs of Retrievability. In this paper on page number 3 under section 1.1 in the very first line the author states that an encoded file is broken into n number of blocks $m_1,m_2...m_n \in Z_p$ for some large prime p.
I am not able to understand that in terms of pr... |
In an old 2010 Q&A at StackOverflow, Pornin states:
… a good hash function "should not" allow a property such as surjectivity to be actually proven.
This makes sense to me when looking at, for example, the SHA-2 function family.
Yet, in an answer to Has any crypto hash function been proven to be surjective?, Lindell ... |
In his paper about RFSB Bernstein states that the compression function
$(m_1,\ m_2,\ m_3,\ ...\ ,\ m_n) \rightarrow c_1[m_1]\ \oplus\ c_2[m_2]\ \oplus c_3[m_3]\ \oplus\ ... \oplus\ c_n[m_n]$
is surpsingly collsion resistant. Reading this paper, I asked myself weather one can use ChaCha with increasing counter instead ... |
Assume that $S(x): \{0, 1\}^{n} \rightarrow \{0, 1\}^{n}$ is a good S-box. Is there anyway we can construct a keyed S-box $T(k, x): \{0, 1\}^{n} \times \{0, 1\}^{n} \rightarrow \{0, 1\}^{n}$ from it with it retaining its good properties?
Update: A preferable property for the keyed S-box $T$ would be that for any fixed... |
Let's say we have a server whose job is to sign documents using a private key. Let's say that there's a bug in the software and the private key gets stolen. I'm interested in mechanisms to mitigate the damage.
One thing you could do is have the server throw out keys as it goes. Instead of giving a the server a single ... |
Home brewed cryptography is strongly discouraged because it is so easy to get it wrong.
Even if we leverage a known good hash function, one example, sha256, here by referred to as g() and use it in conjunction with a home-brew function b(), we can reduce our security because we have reduced our entropy; example:
g(b('s... |
I know that thanks to Shor's algorithm, integer factorisation is easy on quantum computers, yet hard on classical computers.
But what if I have two MATRICES, A and B, and compute the product N = A * B. Can a quantum computer, or a classical computer, find A and B without brute-forcing all possibilities?
Furthermore, is... |
Sha1/0 (160 bits output), md5(128 bits output) has block size of 512 bits.
Gost has 256 bits.
What is the reason behind having it specifically 512/256/1024 bits?
What are the various factors which are considered while choosing a specific block size for an algorithm ?
Sorry for the naive question !! :-)
|
I'm trying to understand the step by step process of ECDSA signature. The function should be as follows: S = k^-1 (hash + dA * R) mod p, but I'm trying to understand whether I'm implementing it correctly. In order to run an example, I'll borrow an actual use-case from Bitcoin.
The variables will be as follows:
hash: 1... |
Given two (or more) algorithms:
ed25519
private key is random blob of 32 bytes
public key is encoded point on Edwards 25519 curve.
ECDSA with secp256k1
private key is random blob of 32 bytes
public key is encoded point on secp256k1 curve.
Lets say, we have a message M and we sign it with both algorithms, with t... |
Can we use Coppersmith's attack if we know a few ciphertexts of the same plaintext, but there is a short random bit padding in front of message? Formula:
$$(2^k \cdot r + m)^3 \bmod n = c$$
|
Let $G$ a cyclic group of prime order $p$ with a generator $g$.
Let $H$ a cyclic group of prime order $p$ with a generator $h$.
Suppose that you have an algorithm $\mathcal{A}$ that given two elements $g^a$ and $g^b$ in $G$ outputs $h^{ab}$ in the group $H$.
Show that El-Gamal encryption is not secure in the sense of c... |
For example, let's say I did 1,000,000 rounds of PBKDF2 on some string (along with a high entropy salt).
If I then run the result plus some string through a simple SHA512 hash function, is it still secure due to the amount of work put into it, or has it lost something?
Example:
var x = pbkdf2(someSalt, somePass, 100000... |
I've been reading the following document describing Galois Counter Mode:
The Galois/Counter Mode of Operation
On page 7 of the document, the following diagram describes the GHASH function used to authenticate data. GHASH is defined as GHASH(H, A, C) where H is a 128-bit unsigned integer and A and C are two bit strings... |
Alice sends the garbled circuit for a function to Bob in the offline stage. In the online stage, Alice sends affine transformations for the circuit to Bob. Then, Bob employs the garbled circuit and the affine transformations to re-randomize the circuit, and evaluates the re-randomized circuit on his input (using OT). T... |
I mean , if one is provided with a cipher text and the process of encryption through which text has has been encrypted has not been provided , then how is the cipher text broken ? Is frequency analysis the first step towards checking the alphabet's frequency and is there any standard procedure towards breaking cipher t... |
In 2018 IBM is making available the first quantum computers.
This can be a disaster for most security systems based on computing power.
Could this type of scheme bring a solution to this problem ?
Fragmenting information as above.
Thanks in advance for your answers.
Regards,
|
In the Book, "Endpoint Security" Page 265, It includes Electromagnetic Interference / Electromagnetic Compatibility Testing in Heading Level 1.
Why is it necessary for Cryptographic Equipment to have EMI/EMC
Testing?
What equipment is used to carry out such testing?
|
I am revising for my exams and I have come across this question in a past paper and I am not confident about it at all.
Assuming that only the smallest permissible key and block sizes can be used I have derived the following:
Possible plaintext blocks: $2^{128}$
Possible ciphertext blocks: $2^{128}$
Possible mappings: ... |
If discrete logarithm is based on the fact that finding $x$ for $a^x$ is difficult, wouldn't it be difficult to find $n$ such that if $f(x_1) = x_2$ then $f(x_2) = x_3 ... = x_n$ if $x$ is a generator with the equation for a group $N$?
I'm just confused as to why there seem to be only two discrete logarithm problems, E... |
try to implement the AugPake protocol in java using BigInteger.
I am having some difficulty computing $K=Y^z \mod p$ because $z$ is always $0$, for $z={1\over x+(w*r)} \mod q$. Being a ratio between $1$ and a very large number $z$ will be always zero using the BigInteger.
Can help me to understand how to compute $z$? M... |
Alice and Bob both have a list of n items. They want to know the number of items that are occurring in both lists. The catch is, that they should receive 0/no result as a result if less than k items occur in both lists. If more than k items occur in both lists, they can learn anything from each other.
I think this can ... |
Here's a blind signature protocol based on ECC. The question is if it has the double spending problem?
As I investigated, if we can change the c without changing the r and subsequently no change on m^, then there would be two different (F, s) for a single m.
And this can be achieved if considering F as (x, y), one can... |
The inverse of Keccak is slow, but if you have a problem where that is not a concern would this be a secure cipher? The encryption function can be made incredibly fast in hardware. Or the reverse if you choose to encrypt using the inverse.
Is there any cryptanalysis of block ciphers that are unbalanced in such a fashio... |
I want to store private keys in the database. I will never store the same private keys twice. As I understand the only reasons behind using a unique IV for each encryption, is that attacker can't see that you have the same data twice.
My server is generating the private keys. My server ensures that each private key wil... |
For the purpose of testing algorithms for lattice basis reduction or finding short vectors, it would be useful to have examples of lattices where short vectors are hidden, that is, a nontrivial combination of vectors of the given basis. Random bases often do not appear to have a nontrivial short vector. In this posting... |
i recently learned about the Hyperledger Blockchain Project and the specific frameworks. In case of the Sawtooth framework, consensus is reached not by PoW but by PoET (Proof of elapsed Time).
When getting familiar with the proof-of-work (PoW) you usually hear that it's safe regarding participant exploits, because of t... |
I am looking for a way to allow parties to publicize encrypted values that can only be decrypted by one or a select few other parties, but that allow everyone to check how close they are to the mean of all such publicized values.
This of course would mean that there is some entropy that is lost; the encryption would no... |
I want to encrypt files, wich can be decrypted and encrypted by multiple different keys. Is there any algorithm which can accomplish this?
Example (Each user has a different key):
User 1 encrypts a file with his key
User 2 decrypts the file, adds information and encrypts it with his key
User 3 decrypts the file with h... |
This question is not directly about cryptography, but I feel that it is most suitable for this site.
DLOG problem: Given a prime $p$, $g$ a multiplicative generator of $\mathbb{Z}_p^\star$ and an element $y\in\mathbb{Z}_p^\star$ find $0\leq x< p-1$ such that $g^x=y$.
Suppose we know that $p$ is a prime of the form $10^... |
We know that the matrix in the MixColumns state of AES is the circulant MDS matrix $C=circ(2,3,1,1)$ which is defined over $GF(2^8)$ with the irreducible polynomial $f=x^{8}+x^{4}+x^{3}+x+1$. Let we show the elements of $GF(2^8)$ with positive integer numbers. For example, when we assume that the elements $2$, $3$ an... |
I have some trouble with determining how many times a key can be safely used when using counter mode encryption.
If we, for example, split the IV into two parts, a message counter (nonce) and a block counter. Messages are always of the same length. We make sure that under the same key, the IV is never repeated, and we ... |
So far I know the ciphered output length of RSA equals the modulus N.
If I have only a small block of data significantly smaller than N, is the rest of the input to RSA just zero padded?
How can deciphering be unique then?
For instance if I get back as a plaintext
P="XXXXXXXXXXXX000000000000000000000000000000000000000... |
Can anyone explain to me what the following means in relation to one time pad security? It's from the book 'Serious Cryptography: A Practical Introduction' and my logic knowledge seems to have lost me here so I'm struggling :-
Given a ciphertext $C_1 = E(K, P_1)$, it should be impossible to create another ciphertext, ... |
Obviously, it's possible to create a commitment scheme comm(r, S) by using a hash function H and computing H(S||r). This scheme is secure under the assumption that H is collision and preimage resistant, which (IMO) is a lighter cryptographic assumption than the discrete log assumption.
So I guess my question is, why ar... |
In general, is it possible that two different seeds produce the same output from a PRNG? I'm not sure how many different types of PRNGs there are and maybe it depends on which one we consider. I know that an identical seed produces and identical output, but can different seeds stumble upon the same output (seed collisi... |
I've been searching about rekeying attack, but what I found is always using the term "rekeying/related-key attack". Is rekeying attack the same as related-key attack?
|
I am using an elliptic curve library which provided me with a shared secret using my secret key and a foreign public key. Unfortunately an ECIES is not available in the programming language.
I would like to implement an ECIES as follows.
Use the shared secret as a seed for a random number generator
Create an xor key ... |
Let be $m \in \{0,1\}^{l}$ and $r \in \{0,1\}^{|N|-l-1}$.
I have seen that $m||r$ (where || means the concatenation of the bits) can be seen like an integer, I think using a Big-Endian Convention, and this integer is $m + 2^{l}r$.
The question is why?
What is the way to convert the bits-string $m||r$ to the integer $... |
Confused with color abstraction in this video.
Bob has:
public color;
mixture from Alice;
can produce random color;
Eve has:
public color;
mixture from Alice;
can produce random color (why not?);
Bob can produce same shared color as Alice did, Eve cannot. Does it make sense?
|
This question differs from How to determine what type of encoding/encryption has been used?, which asked about a ciphertext-only attack. This question is asking about a chosen-plaintext attack.
Let's say an attacker was trying to perform a chosen-plaintext attack on an encrypted password server. This attacker is an in... |
I am trying to find an efficient way to implement the Grøstl matrix multiplication on python3.
So far I have managed to get this result :
# M2 = GF(2^8) * 2 multiplication table
# for each column i :
s0 = state[(i<<3) + 0]
s1 = state[(i<<3) + 1]
s2 = state[(i<<3) + 2]
s3 = state[(i<<3) + 3]
... |
One of the notes defined perfect secrecy (PS) as
Let E = (E,D) be a Shannon cipher defined over (K,M, C).
Consider a probabilistic experiment in which the random variable k is uniformly distributed over K.
If for all m0, m1 , and all c, we have
Pr[E(k, m0) = c] = Pr[E(k, m1) = c]
it is perfectly secret.
My only concer... |
Would it be possible to find a correlation between the inputs of SHA 256 and it's outputs? More specifically, by using deep learning, would there exist a correlation between the inputs of an SHA 256 algorithm and it's expected output?
For example, given that A, B, C and D output a Has with certain characteristics, and ... |
We have a mobile client application which stores data in localstorage for offline use. The new GDPR requirements have to mandate us to encrypt the data we store in the client.
We used Stanford's sjlc.js package to encrypt the information using AES 128 before storing them in Local Storage. We did a brief performance tes... |
The question is about E0, the stream cipher used to secure Bluetooth communication. The impression I get is that it's more secure than A5/1. Also, why wasn't AES used instead?
|
In the so called "blinding" technique for RSA, prior to decryption, the ciphertext is multiplied by random $r$ raised to the power of $e$; e.g., $C$ is replaced with $C\cdot r^e$; and then after decryption, the result $(C\cdot r^e)^d\equiv C^d\cdot r\pmod n$ is divided by the random $r\pmod n$.
Is that efficient agains... |
I want to encrypt with AES CCM* and i dont understand the nonce generation.
the toolkit i'm using has a function to generate the nonce for CCM but it needs the following params:
param src_addr The MAC address in EUI-64 format.
param frame_counter The MAC frame counter.
param size_of_t AES-CCM* MAC (tag) byte ... |
I've seen this:
Can a computationally unbounded adversary break any public-key encryption scheme?
And I've read the following theorem:
Theorem (Lamport, GMR, Naor-Yung, Rompel, Goldreich)
If one-way functions exist then there are signature schemes which are
existentially unforgeable under chosen plaintext attacks.
I wa... |
I have a question about mutual agreement to decode a file
How could you choose to decode a file only if more than half the people present (let's say 6 out of 10 ) say Yes.
And there is only one key, in what form should the key be stored.
|
Considering unkeyed hashing functions, I studied that the birthday attack can only work generating random messages and not with messages chosen from the attacker, but I didn't understand why. For example if there is a trade contract between two parties A and B where A states to sell a warehouse to B for 10.000 dollars,... |
I'm pretty new to the whole cryptography scene, so please forgive me if I make any incorrect statements.
I have a 16MB image that I'm encrypting and authenticating using AES-GCM. I obtain a 16MB encrypted image and a MAC. From what I could tell, this should provide me both confidentiality, authenticity, and integrity. ... |
I have just completed an implementation of Simple and Efficient Threshold Cryptosystem from the Gap Diffie-Hellman Group by Baek and Zheng and am hitting a problem with high values of the threshold. Please forgive any mistakes below, I have minimal relevant math and notation knowledge and am learning as I go.
I am usi... |
Let $h$ signify the hash (Merkle–Damgård construction) generated from some input of known length $n$. Given $h$ and an input $k$ of length $n_1$, is there a way to prove that there exists (does not exist) some (any) $r$ of length $(n-n_1)$ such that $h=H(r||k)$?
|
I would like to know if there exists algorithms A and B such that the following is possible.
Say Alice has 2 binary strings S1 and S2 both of length n and 2 keys k1 and k2. She encrypts each string with the corresponding key resulting in S1' and S2' respectively and gives these to Bob. Via algorithm A on S1' and S2' Bo... |
Is it possible to encrypt the data by sender's private key and again encrypt it with receiver's public key by using RSA algorithm at sender end.How decryption is done at receiver's end?
|
I'm wondering whether or not there is an encryption algorithm, or at least the possibility of one, which takes a lot of work to encrypt, yet can be decrypted very easily?
I have come across this question Are there encryption schemes with which it takes (significantly) longer to encrypt than to decrypt? and https://stac... |
I try to wrap my head around calculating of complexity lower bound using Corollary 1 from The Uber-Assumption Family by X.Boyen
(http://www.academia.edu/download/30698012/Steven_Galbraith_PairingBased_Cryptography_Pair.pdf#page=48), but I have some questions:
Do I understand correctly that bound is the same when we a... |
Considering a message of n bits, one ridiculously short key of 1 bit and using this cryptographic function which performs the XOR operation to each bit of the message, resulting in a single ciphertext, could we assume that if the attacker doesn't know anything but this ciphertext, that this system is anywhere close to ... |
I know this is a dumb question and i probably have a fundamental misunderstanding of encryption, but when we want to encrypt, let's say a word like ''Hello'' for example, which is represented at binary level as 01001000 01100101 01101100 01101100 01101111 we XOR it with a key which also has a binary representation. The... |
In the paper which I was reading, the authors were using ElGamal encryption with modulo $p$, where $p$ was a prime.
Do the commitment properties still hold if we use modulo $n^2$ where $n=p \cdot q$ and $p$ and $q$ are large primes?
I was asking this because a number of other commitment schemes use modulo $n^2$ arithme... |
If I want to encrypt the letter H, represented by ASCII 01001000 in Binary, with a key of 1, represented by 00110001. We should get the letter I, represented by 01001001. (H+1 = I through a shift). What actually is the binary manipulation process to get I using the key of 1? How do we get to 01001001 using 00110001? S... |
I hope this question is not too obvious, but I came across this paper about PRF, and at some point it writes:
"Let $\mathcal{F}:=\{F_s\}_{s∈S}$ be a family of keyed functions, where each function $F_s$ maps ${\{0, 1\}}^{\ell_1}$ to ${\{0, 1\}}^{\ell_2}$."
What is this meaning of keyed function? What is $S$ in this exam... |
Given a message $M$, I am looking for a signature scheme that does not involve first computing the digest $H(M)$ and then signing $H(M)$. Signature schemes on digests are outsourceable in the sense that the private key holder does not need custody of $M$ while signing (the digest $H(M)$ suffices and can be generated by... |
I am having a hard time understanding how to convert from projective coordinates, back to affine.
I am trying to compute point addition for Edward curves. Say we have the following:
$$\begin{align}
x_i &= X_i/Z_i\\
y_i &= Y_i/Z_i\\
A &= Z_1*Z_2\\
B &= A^2\\
C &= X_1*X_2 \\
D &= Y_1*Y_2 \\
E &= d*C*D\\
F &= B-E\\
G &= B... |
I am recently reading some papers about privacy-preserving machine learning.
Some works incorporate the idea of differential privacy to protect the privacy of the training dataset when the model is published. The basic framework is as follows:
A trusted party (call it TP) possesses the training dataset in cleartext. TP... |
Does encrypting a pseudorandom message need the same requirements from a block cipher?
For instance, can we decrease the number of rounds of AES if we want to cipher a random block, without any security loss?
Thank you
|
suppose i have two equations:
$$ (m)^{3} \bmod n = c_{0}$$
$$(m + 2^{k}r + d) \bmod n = c_{1}$$
The values($c_{0}, c_{1}, k, d$) are known.
I wanted to retrieve r (ofc $|r| < n^{\frac{1}{9}})$
Using resultant on equations gives me equation of 9 degree.:
$$w(x) = x^{9} + 3(c_{1} - c_{0})x^{6} + (3c_{0}^{2} + 21c_{0}c_{1... |
Suppose we have a function that takes $n$ parameters, each being one bit in size, and returns a single bit. Internally, this function has a bit string $N \in \{0, 1\}^{2^n}$ and it operates by using the $n$ inputs to form a pointer to bit $i$ in $N$, where $i$ is equal to the input bits being concatenated and treated a... |
I am new to ProVerif and trying to verify a simple DHKE protocol. The attacker is assumed as passive. The specifications are:
The attacker cannot obtains the mutual key.
Both participants obtain the same key.
This is what I have created.
type G. (* The generator *)
type exponent.
free c,... |
Ok, I'm looking for a way to be able to decrypt ONLY message product and not individual messages. The message product can contain an arbitrary number of messages as long as it's greater than some margin. Probably it's impossible, but I need to make sure.
Suppose it's some weird inverse DKG: you have 5 shares of a publi... |
we all know the RSA-authentication but I have some question about the security of the system if Eve knows the value of:
1) S
2) C
3) d
I think that RSA is not less secure if she know S, but it is less secure if she knows C or d. Am I right? Why?
|
If we had a stupid login procedure (SLP for short) like in this comic; it gives feedback on login, if the submitted password is one character off.
Would a longer password be less secure? What would the break-even point?
If I had a password with length 1, I would always get feedback, that I am one off, so the SLP would ... |
I am trying to verify whether or not these points are on the secp256k1 curve.
I am finding several points included below.
(I have verified 2*G, 8*G and 10*G with the pycoin script)
My Questions are:
Did the sum of 2*G and inverse of 10*G come out correctly?
If so, I am confused, because I thought that each X-Coordinat... |
Are there lattice-based cryptosystems based i.e., SIS (Short Integer Solutions) and LWE (Learning with Errors) blockchain solutions for a post quantum world?
Has the Unique Shortest Vector Problem (SVP) been solved?
|
What I understand is: When we parse a message into 512 bit message blocks. Then we extend the first message block to 64 entry array and start with the compression function.
What happens if the message is longer than 512 bits? As a result, we would receive several message blocks, but where are these fed into the functi... |
I do not know about SNOW 1.0, but SNOW 2.0 and SNOW 3G have a finite state machine that is used in generating the cipher's keystream output. Why use a finite state machine instead of some kind of filter function?
|
According to a thread on the VeraCrypt discussion forum, and a single-post followup, it is possible to detect the presence of a hidden volume in certain conditions due to a flaw in the cryptography or the way it is used, rather than a flaw in the software implementation. The fix was to use random data rather than zeros... |
Could a cryptocurrency running (at least partially) on a quantum computer (and/or on a quantum network) be developed in which it is physically impossible to double-spend? In other words, a coin in which it would be physically impossible to create two transactions that transfer the same coin from one address to two diff... |
I don't get why the size of C (the capacity) of a sponge construction influences the security of the sponge construction. And what is the influence of the size of R?
|
So a zero knowledge protocol (ZKP) is a protocol for which there exists an algorithm, called the simulator, which can produce, upon input of the statement(s) to be proven, but without a witness for the truth of the statement, transcripts indistinguishable from those resulting from interaction with the real prover.
My q... |
Why is the previous block hash computed using a cryptographic hash function instead of a regular hash function in Bitcoin and other blockchains?
What cryptographic hash properties (pre-image resistance, second pre-image resistance and collision resistance) are needed and why?
|
I would like to know if
given a public-key encryption scheme (PKES) with ciphertext expansion close to 1, and an integer N greater than or equal to 2
there exists a method for constructing a PKES with ciphertext expansion:
size(ciphertext) = size(plaintext) x N
Preferably, the constructed PKES would be similar to th... |
I searched "ECDSA threshold signing" recently and found a lot of papers where it is said that their authors solved the problem of ECDSA threshold signing efficiently: e.g. here and here. Why there are no practical implementations of those (e.g. in cryptocurrencies)?
|
I know they are both hash-based and post-quantum secure, and that Lamport signatures can form the basis for a Merkle scheme, but what do you actually gain over standard Lamport signatures by doing this? To put it another way, since Merkle signatures make use of another one-time signature scheme, why would someone use M... |
Is it sufficient to seed a pseudo-random number generator (PRNG) with two different values to be able to claim that we now have two independent PRNGs? Or is it that we have to use two functionally different generators for that?
|
What I'm wondering is whether the codomain and image of common hash functions are strictly equal… or whether there are any known values which have no possible preimage.
For example, SHA-1 outputs a 160-bit digest. Can it be proved that every possible sequence of 160 bits is a possible output of SHA-1 (even though corre... |
Suppose that Alice wants to send a message to Bob and wants to make sure that Bob knows he has received the correct message.
She sends the pair $(x,h(x))$ for some hash function (preimage resistant, second preimage resistant and collision resistant). Bob receives a pair $(x',y')$ he calculates $h(x')$ and if he has $y'... |
In the Krack-attack paper, the section 6.3 says that a vulnerability on Android devices involves installing an all-zero encryption key when the message 3 is re-sent.
In his demonstration, he shows via Wireshark that the credentials of the user were sent in plaintext.
How can any algorithm result in a cipher equal to ... |
Given F, which is a Pseudo Random Permutation, I need to prove that the following function f is not a OWF:
f(x, y) = Fx(y)
My first thought would be to create an adversary which tries and compute Fx-1(y) with different values for x, but I'm not sure it would be PPT. How can I solve this?
|
I have a question for my information security lab, which I am not able to find online.
As the title says, is Diffie Hellman key exchange based on a one-way or a trapdoor function?
In case of RSA I would say it is based on a trapdoor function, since it is hard to factorize the modulo, if you don't know p and q.
Is Diffi... |
Let $G$ be a subgroup of $\mathbb{Z}^*_p$, $p=23$. The order of $G$ is $|G|=11$. Let $g=4$ be a generator of $G$. Consider the key generation algorithm of the ElGamal encryption scheme. Assume that the secret key is $x = 3$. Compute the corresponding public key $y$?
Apparently the solution is the following:
For the El... |
I need to choose an HMAC function for PBKDF2.
I'm using .net so I don't have the option to use SHA3. At first glance, and according to this answer by Thomas Pornin it seems like SHA512 would be best.
However, I've heard that there are some possible downsides to SHA2 compared to SHA1. One of them possibly having someth... |
I am comparing the security information of two different HTTPS connections in the Google Chrome (v63.0.3239.132) security tab in developer tools. The information for each of the two connections is given below:
The first states ECDHE_ECDSA with X25519 as the key exchange. The second just states plainly that X25519 is ... |
Disregarding matters such as efficiency and round complexity, can verifiable secret sharing be done in a way such that the secret cannot be decoded unless you have all n shares, and that this guarantee is information-theoretic?
|
A Davies-Meyer ccompression function operates with $H_{i} = E(m_{i}, H_{i-1}) \oplus H_{i-1}$. Why not use $H_{i} = E(m_{i}, H_{i-1})$ instead?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.