instruction stringlengths 32 27.2k |
|---|
Although I have tested with a program and found negative answer, I want to be sure.
|
mcrypt's implementation of RC2 has a fixed effective length of 1024 bits, however, it is possible to simulate keys with effective lengths between 1-1024 by doing something like this:
http://php.net/manual/en/function.mcrypt-generic-init.php#111496
My question is... is there a similar technique that can be used with Op... |
Rijndael supports block lengths of 128, 192 and 256. AES does not but Rijndael does.
What other algorithms support variable block lengths? Or is Rijndael unique in that regard?
|
Why go through the trouble of using the HMAC_DRBG process, instead of simply hashing [message | private key] to calculate $k$ for deterministic ECDSA?
If the resulting $k$ or the signature is invalid, then a known byte value can be appended to the input, and re-hashed, until an acceptable result is achieved:
k=h([messa... |
In some cryptographic protocols I have seen messages protected for confidentiality, authenticity, replaying attacks, reordering attacks, etc.
What protects a protocol from an attacker in a privileged network position (e.g. in control of a majority of the fibre networks connecting countries) from just dropping messages... |
I need to make it clear I know nothing about crypto so in that context I'm hoping to clear up some confusion:
As I understand it a "round" in a cipher is one encryption operation and a cipher like AES has multiple rounds. Did I get this right?
I've seen descriptions of attacks against a cipher say something like it "b... |
It seems that this is pretty difficult to find large (above 1024 bits) strong primes, or at least such primes $p$ where $(p-1)$ has a very large prime factor. Is there any information regarding the distribution of strong primes vs. other primes? The GNU library generates strong primes for RSA?
|
I am trying to implement simple El-Gamal cryptosystem.
And I can't understand how to represent message as an integer between $1$ and $n-1$.
The only thing that comes to my mind is:
if $n$ bit length is $k$, then divide input message m on $t | t < k$ bits and each piece of bits use as integer number.
I think It is wron... |
I've seen NIST requirements about key length. What about the output lengths ?
Is 112 bits enough for the HMAC output length ? Can we truncate the tag to keep only 112 bits ?
|
Suppose I generated an $n$-dimensional vector $a_{(1)} = [a_1, \dotsc, a_n]$ with integer component (actually I can generate as many $a_{(i)}$ as possible). Now I need to get an vector $b = [b_1, \dotsc, b_n]$ such that $\langle a_{(i)}, b \rangle = c_{(i)}$, for all $i$. I don't know the value of $c_{(i)}$ but I can v... |
I know as programming languages C and java , and I know that java is slow so for this reason it is not suitable for cryptography applications espacially low level programming (manipulating bits) , so for this reason I turned to C as programming language but C is difficult in some how especially for GUI (graphical inter... |
I am using the RSA crytposytem. I have $p$, $q$ and hence $n$ and $\phi$ however I don't understand how to get $e$ such that $gcd(e,\phi)=1$
Many thanks
|
Can anyone point me to a C++ crypto library with an implementation of a pseudo random function (PRF)? I don't have much background in crypto theory, but I am in the middle of a graduate course introducing applications of crypto, so I have a basic understanding of the tools available to me. The research paper I am imple... |
I know the usual way of using getting shared secrets for encryption with ECC is DH, however, this only works with two keypairs of exactly the same kind, for example two curve25519- or two p256-keypairs.
With ElGamal, one can get a symmetric key for a recipients public key no matter which kind of key they are using th... |
SHA-1 is on the way to deprecation, in particular for digital certification (x509). But I can't find ressources about SHA-1 deprecation from SSL/TLS Cipher Suites.
Is it implicit, as deprecation implies that SHA-1 usage will be deprecated in all cases ? Or is there a different strategy concerning SHA-1 usage in Cipher... |
I am confused about the notion of "pepper" in the context of storing hashes of users' passwords.
Definition 1: A pepper is a secret key
Looking around the Internet, for example here or here, a pepper is frequently defined to be a fixed and randomly chosen string that flows into the computation of a hash in one way or a... |
This is a loaded question so I'll list the concerns, not all of which need to be satisfied.
Does there exist a threshold-signature scheme for Ed25519 that...
Does not require a trusted dealer to set up the key shares (required)
Does not require interaction to set up the key shares (optional: ideally users can independ... |
I'm trying to get a better understanding of cryptographic hashing. Take the example transformation function below, is it possible to reverse this formula to solve/isolate for message[i]?
digest [i] = ((129 * message[i]) XOR message[i-1]) % 256
Here is my attempt in python. I Assume both digest and message are 16 byte... |
Are RSA and Elgamal partially homomorphic techniques? which one is better if one want to use it for practical purpose? and is there some FHE technique which can be used practically?
|
I've written some questions in this stackoverflow and got great responses but now I'm trying to wrap it all together.
I have for the last couple of weeks been building a serial key generator project in C# to use in my own software. The goal is to be able to generate serial keys for customers of my software. To stop peo... |
I am reading the Certicom tutorial “An Example of an Elliptic Curve Group over F2m ” and I have following questions:
How do they assume that generator $g = (0010)$ is correct for this polynomial?
How can/should one choose an optimal generator from a group of generators for a specific field?
|
If one wants to keep the receiver's name non encrypted, but it also appears in the encrypted message - will it leak information? (other than the receiver's name, of course.)
Let's assume a "bad" case - where there are many messages to the same person, and that the name in the encrypted message will always appear in the... |
A simple symmetric encryption scheme uses the same key, derived from a password, for both directions of the communication. Is this bad practice, and if so what should be done about it? Is it 'good enough' for many things?
|
Double hashing can surely provide more security than only one layer of hashing but does that necessarily mean it is more collision resistant? This question in a more mathematical form: If $H$ is a collision resistant hash function, is $H\circ H\colon\;x\mapsto H(H(x))$ still collision resistant?
|
My system forwards encrypted and/or signed messages on a gossip network. Replay is part of the design. What should I do with the nonce? I'm tempted to just set it to the same number always. Is this a bad idea?
|
I'm attempting to diagram PBKDF2 for a school project and I'm not 100% sure how to represent the XOR step. Specifically, I'm confused as to whether the output of the XOR step is used in subsequent rounds or if it is calculated each round in order to make all rounds identical. Here's a diagram showing what it might look... |
I transfered a code routine from Java to Python:
import base64
import hashlib
class Cipher(object):
def __init__(self, key):
self.key = key
def decrypt(self, message):
message = base64.b64decode(message)
message = bytearray(message)
a1 = self.make_table()
results = ra... |
I am actually looking for available crypto libraries including a deterministic random generator for the purpose of a dedicated crypto key generator unit.
I have a simple question about the X9.31 based PRNG as proposed for instance in Botan library, since I noted that NIST SP800-131 document indicates that use of the X9... |
Now I am doing a variation of the oblivious transfer, I have to use 2 people, pebbles, and boxes. I need to find out if who has a larger number between Alice and Bob (variation of Yao's Millionaires' Problem). This is what I have come up with:
Bob enters a room where alone where 100 boxes are and he inserts a pebble i... |
Here is an image hidding some information.
I need to discover, what is the hidden text.
I tried to interpret this as 27 letter alphabet(with space) in columns, tried this with Ceasar cipher.
No meaningfull English word has occured.
Does somebody have an idea what else can I try?
|
I'm programming an elliptic curve cryptosystem and I'm having difficulty with decompressing points. The following information is from my project specification as to my understanding:
Given a point $x$ and $y$, we can compress its representation since for every $x$ on the curve, there are two $y$s; one even and one odd.... |
To prove a protocol is secure in semi-honest model, we have to prove: the view of each party, on each possible pair of inputs, can be efficiently simulated based solely on its own input and and output.
So let's consider this example, Alice holds $x$ and Bob holds $y$, they wants to compute $f(x, y)$ without revealing t... |
In the context of lattice-based cryptography, in particular the Learning With Errors (LWE) problem, I see some definitions given in terms of equations modulo 1 (see for example, Appendix A of this paper).
Can someone explain why such modulo is used? It simply doesn't have any sense to me. Any expression modulo 1 is 0, ... |
From 'Methods of Symmetric Cryptanalysis' by Dmitry Khovratovich,
The data-dependent operations are one of the most controversial design concepts. We say that an operation is data-dependent, if it is expressed as a family of functions indexed by input data. The examples are key-dependent S-boxes, key- and message-depe... |
TOTP (Time-based One-Time Password) as I understand is an algorithm that uses the current time as a variable along with a shared key to generate a secured token. Wiki page for reference: http://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm
What I wanted to know is whether it is possible to determine the ... |
I have a point $(X,Y)$ on an elliptical curve $E(a,b)$ where $a=-3$ and $B$ is a large number that is in hexadecimal from -51BD. To compress this point oficially in a program, we know that every $X$ on the curve has two $Y$'s, one even and one odd. Therefore, we only need to store whether the corresponding $Y$ point we... |
Let's say I do this:
$ cat pubkey.txt
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe4eCZ0
FPqri0cb2JZfXJ/DgYSF6vUpwmJG8wVQZKjeGcjDOL5UlsuusFncCzWBQ7RKNUSesmQRMSGkVb1/
3j+skZ6UtW+5u09lHNsj6tQ51s1SPrCBkedbNf0Tp0GbMJDyR4e9T04ZZwIDAQAB
-----END PUBLIC KEY-----
$ openssl ... |
Is there any bias in certain parts of the hash? E.g., first n bits are more/less unique than the last/middle n bits? Is there any particular property of any group of bits that makes it more/less unique?
|
Do you mind if you give me any hints, links or ideas about how to improve the security of double regular encryption and decryption, by using CPA game and CCA game, it sounds interesting question, and I'm still discussing it with my classmate. Given the following info,
The key generation algorithm $(PK, SK) \leftarrow ... |
I understand the theoretical problem with hash collision but when it comes to practice, I get very confused.
Suppose a attacker would like to forge a certificate (or any kind of structured piece of file) using hash collisions, I wonder how it is possible to find a collision (already unlikely) and moreover, this collisi... |
tl;dr this is not a duplicate of "what is a salt/why use salt?" question. Instead it is specificly asking when salt may not be necessary for hashing securly? (i.e. when the data being hashed is already as high-entropic as that chances for duplicates is very very low)
Reasoning underlying the question
To my currently be... |
I have two network endpoints that need to use the same derived key. Can the server send the salt to the client 'in the clear'?
|
Here's my issue and someone can help me understand it so I can program it correctly.
I have a point(X,Y) on an Elliptical Curve E(a,b) where a=-3 and B is a large number that is in hexidecimal from -51BD. To compress this point oficially in a program, we know that every X on the curve has two Y's, one even and one od... |
According to RFC 2409:
CKY-I and CKY-R are the Initiator's cookie and the Responder's cookie, respectively, from the ISAKMP header.
Each CKY is a 64 bit value that is included in each ISAKMP Header in the Phase1 and Phase2 negotiation, and future ISAKMP informational exchanges. And they are also used in the math for... |
Why can't people make a hash function that requires dozens of mega bytes of memory instead of cpu to avoid all the cracking and hacking?
What I have in mind myself is this:
We have an input $X$, we choose hash function SHA2-256, make a multi-megabyte array.
Hash $X$ and put it in the beginning of the array.
Hash the ... |
It is known that DES has the key-complementation property. That is, given any key $k$ and any
message $m\in\{0,1\}^{64}$
$$\operatorname{DES}_k(m)=\overline{\operatorname{DES}_\overline k(\overline m)}$$
By using this property, show that the key search of DES can be sped up by a factor of two.
|
I understand that if a block cipher has $k$-bit keys and $n$-bit input/output blocks, then if $k>n$, we can expect one message-ciphertext pair to narrow us down (I think?) to $2^{k-n}$ possible keys, right? But doesn't DES/AES have a similar system as a block cipher with keys bigger than the blocks. So surely finding o... |
I need to know the computational complexity of the public key encryption (e.g. Paillier), please.
(i.e.Paillier in his paper mentions that the computational complexity of most of public key encryptions is $O(n^3)$, but is not clear to me why)
|
It is written in the HMAC paper that the ipad=0x36 and opad=0x5C were chosen such that it maximize the Hamming-Distance of the part of the key used in the inner and outer part of the HMAC process.
Since 0x36=0b0110110 and 0x5c=0b1011100, it seems that the Hamming distance is 4, but I would expect that ipad and opad wit... |
When people talk about hash functions, they usually say that they accept arbitrary-length input, but if you actually look at the padding (eg MD-strengthening padding), you see it's like M100.000||length where length is the binary representation in bytes or bits. But what if the length is so large that you can't represe... |
I came across this question with this answer about a cryptographic timelock-puzzle that needs approximately 30 years to be solved. There is also an explanation with source code for that puzzle available here and here. All of this looks very similar to RSA. My first question is: In which ways does this differ (or not di... |
Hello guys I am looking to calculate the Inverse of a given polynomial in Galois field
I have found the little Fermat's algorithm and the Itoh-Tsujii
I am getting a bit confused with both algorithm as
if having a squaring and multiplication operation
should a reduction modulus be used [A.A mod F(x)] and then A.[A.A mo... |
I'm reading “Identity-Based Broadcast Encryption with
Constant Size Ciphertexts and Private Keys” by Cécile Delerablée.
On page 207, the encryption process needs $\gamma$ which is part of the master key.
This does not make sense to me.
I want to know whether I read this thesis wrongly or not.
Can anybody give me a opin... |
I have a construction that requires as primitive an Additively Homomorphic Encryption scheme that does not rely on hidden group order, meaning I can't use Paillier.
I now have two different instantiations of that primitive:
Additive ElGamal, with its issue of small message space.
Regev scheme based on LWE, which have ... |
I've read the CBC-R description from Rizzo & Duong but am having trouble understanding the sequence of steps that would be taken when the IV is unknown and is not included with the ciphertext.
Suppose I want to send a two-block ciphertext such that block 1 decrypts to garbage and block 2 decrypts to my desired plaintex... |
From the literature, it looks like the security proofs of sponge functions depend on how well they approximate a random permutation, Since a block cipher also ideally behaves like a random permutation does that mean strong block ciphers make for strong sponge functions?
As in, can I expect:
extern char *input,*output;
... |
I read some books talk about RSA cryptography but I did not understand something when choosing a public key $e$ Sometimes the condition is
$1<e<$$\phi(n)$
Where $\phi(n) = p-1 * q-1$
also sometimes is
$e \in [{1,2,...,\phi(n)-1}]$
also sometimes is
$e$ should be prime number
Examble
Choose $p = 3\ and\ q = 11 $
Com... |
So I am studying for finals and I am not able to solve the problem:
Let $ p = 3 * 2^{11484018}- 1 $ be a prime with 3457035 digits. Find a positive integer $x$ so that $2^x\equiv 3\pmod p$
Any guidance or tips would be great. I assumed it dealt with Fermat's Little theorem.
|
The Wikipedia page on the topic (http://en.wikipedia.org/wiki/Fiat%E2%80%93Shamir_heuristic) is completely useless as it only explains what it is and not how it works. I looked at the original paper by Fiat and Shamir, but it only contains a single construction. In other words, the so called heuristic must be an idea e... |
I'm developing an application to run elections. A voting system. I would like to give the ability to the voters to check later if their vote were correct computed/casted.
assumptions:
each user has its own and unique voter id (64 bytes id)
we have the birthyear of an user (i.e 1977, 1982, etc)
the user must vote in N ... |
Are there different versions of CAST-256 - also known as CAST6 - available? Are there different S-Boxes available for CAST-256? If there are different versions or S-Boxes what identifier should I use to indicate them?
I have an issue with PHP mcrypt version of CAST-256 (the link goes to the ill maintained mcrypt librar... |
I'm using the Boneh-Boyen-Shacham signature scheme and want to estimate complexity in my scheme.
As reported in "Scott M., Efficient Implementation of Cryptographic pairings", if we set parameters as: MNT curve, k=6 and p~160, then P(point mul)=0.6 ms and P(pairing)=4.5 ms.
These two measured times are used in many r... |
what is the benefit of lcm in cryptography?
and what is the effect of lcm on public key?
note *
lcm = Least common multiple
thanks
|
In the Cocks IBE scheme it is required for the hash function, that the Jacobi symbol of its output and the universally available moduls $n = p*q$ is $+1$, so:
$\Big(\frac{H(ID)}{n}\Big) = \Big(\frac{a}{n}\Big) = \Big(\frac{a}{p}\Big) * \Big(\frac{a}{q}\Big) = +1$
So, either both Jacobi symbols $\Big(\frac{a}{p}\Big)$ a... |
So I am studying for finals and I came across this problem and I am completely stuck. I would really appreciate someone to clarify on the steps to take to solve these problems.
Let $f(x) = x^4 + x^3 + 1$ , which is an element of $\mathbb Z_2[x]$
a.) Show that $x^{16}\equiv x\pmod{f(x)}$
b.) What is the smallest integer... |
When using SHA-1 to hash an input, the result is a pseudo-random number in the numeric ID space $\{0\dots2^{160}-1\}$. Do I loose any statistical property in the result if I use modulo to restrict the key space? Obviously, the probability of collisions increases but is the randomness affected?
As an example, if I hash... |
Currently hearing a lecture on cryptography, and the professor gave us the definition of semantic security, which is roughly the following (formally not quite complete, but you get the idea):
Given a function $INFO(1^n,m)$ which determines the information the
attacker is interested in (e.g. $INFO(1^n,m)=m$ would mea... |
I asked the following question on a final exam:
Symmetric Ciphers (e.g. AES, DES, Blowfish) use up to 256 bit on the
best case, which are considered strong against brute-force attacks. On
the other hand, asymmetric cryptography (e.g. RSA, DSA, Elgamal) use a
higher amount of bits (~2048). Explain the reason ... |
kinda new here, I had a question pertaining to someone being able to factor one's RSA keys through the GCD. Anyways the question goes that there are two people: A and B. A makes his/her private key as $N_a = p_a\cdot q_a$ and B does the same with $N_b = p_b \cdot q_b$. I'm assuming here that both random primes are of l... |
I saw the paper 'Rotational Cryptanalysis of ARX', it is effective against design primitives using XOR, addition, and rotation.
http://www.iacr.org/archive/fse2010/61470339/61470339.pdf
However about those that use modulo multiplication (e.g. Multiplication modulo $2^{16}+1$, where the all-zero word (0x0000) is
interp... |
If a message is encoded with 2048 bit RSA. The ciphertext is $M^e mod N$. In some cases, the message is short, $ M \approx 10^{20} $. With a high probability, $M$ can be written as $M = ab$ with $a, b \leq 4\sqrt{M}$.
Can you explain to me how I can find the initial message $M$ given $N, e,$ and the ciphertext using a... |
I want to implement file storage in cloud using homomorphic encryption. I want to use paillier encryption. Can you suggest the drawback of RSA to store and retrieving the files. Then only i can use paillier instead of RSA.
|
I would like to use a PRG in order to achieve the commitment properties (i.e. Hiding and Binding), however, if we look at a general PRG we cannot state that it has the Binding property.
First I show that it could be shown that it has the Hiding property: given the PRG result on a random seed $s$, i.e. given $g=PRG(s)$,... |
I have a short cipher of (33) characters , which is only ascii characters.
From this information. Is it possible to guess what kind of encryption was that?
|
Suppose we have a public key encryption scheme, in which public parameter contains
$(p, G, G_t, e, g)$, where $p$ is prime number, $G$ is a (cyclic) group of prime order, $e:G \times G \mapsto G_t$. Now my question is, what is the meaning of $G$ which occur in the public parameter? Does it represent the group order (h... |
I want to calculate $d$ from $e$ when generating RSA keys.
What is faster?
Calculating $\operatorname{xgcd}(e,p)$ and $\operatorname{xgcd}(e,q)$ and CRT.
Or calculating $e^{p-2}\bmod p$ and $e^{q-2}\bmod q$ and CRT.
I'm having a hard time understanding how to calculate the complexity here.
|
It’s been a few years since I read anything involving crypto. I’ve come across this scheme and I wonder how secure it is:
Alice generates an RSA keypair (we assume Alice is using proper random numbers).
Alice sends the public key as plain text to Bob.
Bob generates a 3DES session key: BA.
Bob sends BA encrypted with A... |
In the original NTRU proposal from 1998, it says on page 16:
It may be worth mentioning, though, that there is a simple. masking technique that can be used to significantly reduce message expansion. With this approach, Alice sends a pair of polynomials $(e_1, e_2)$. The first polynomial is the encryption $e_1 =r_1 \cd... |
I was given a cryptography question during an interview the other day and I couldn't come up with a valid answer. Imagine you are given an efficient algorithm which for a given RSA public key (n,e) is able to decrypt 1% of the messages encrypted with that key. 1% means that the algorithm will deterministically decrypt ... |
I have STRING and MD5(STRING+SALT) for any infinitely many STRING's. Is their any way that I can recover the SALT itself? (SALT is constant) I actually know SALT, but this is an intellectual exercise.
Also, I know that the salt is of length 21 and consist of lowercase letters and digits. So there are 36^21 possibilitie... |
I was given a cryptography question during an interview the other day.
Imagine you are given an efficient algorithm which for a given RSA public key (n,e) is able to decrypt 1% of the messages encrypted with that key.
1% means that the algorithm will deterministically decrypt 1% of all possible ciphertexts on the fir... |
I'm trying to get a grip on how Schnorr signature works. Suppose Alice sends Trent a tuple $(P, M)$, which contains a payload and a message to be signed by him. She then passes the certificate to Bob who verifies it.
Using Wikipedia's description (http://en.wikipedia.org/wiki/Schnorr_signature), is Alice supposed to co... |
I see that the RSA blind signature scheme tends to be implemented more often than others, e.g., DSA blind signatures. Isn't the RSA blind signature scheme a 'lesser' scheme, if you may, compared to DSA? DSA appears to be about 6x more performant and is not prone to attacks like timing attacks. The security of RSA schem... |
Why do we have fixed output length in the algorithm SHA1 . is there any explanation about that
|
There is a very similar question (Using a derived key for CMAC) but it doesn't quite answer this one (at least for me it does not).
I have a situation where I need to transfer some data. My data has variable length (but padded to 16-byte blocks, of course) and I encrypt it using AES-128 in CBC mode. It is done like thi... |
I'm trying to implement a (sort of) simple PRNG in hardware for fun. My idea would be to allow a user to enter a key using a keypad (or some dip switch settings that can be set and hidden) and to obtain a seed using photo, gyro and audio sensors feedback.
I understand I'll probably have to implement some form of modulo... |
I have a base64 'cipher' text. I know that in clear text is a hidden XML document (I know nothing about its structure), but the base64 alphabet was somehow shuffled. Is there any smart way, how to detect the modified alphabet better than checking all 64! permutations? I can slightly reduce the number of permutations by... |
For a collision $H(A_1) = H(A_2)$, the number of queries is $T^{1/2}$ where $\log_2(T)$ is length of hash output. Then, what would be the number of queries requried to find an $n$-collision ($H(A_1) = H(A_2) = ..... = H(A_n)$).
|
So I'm reading over the Yaksha Security System and see it is based on the RSA cryptosystem and a centralized server, easy enough. What I'm slightly confused on is the math behind the related keys.
It states
nAlice - Alice(some user) modulus
dAliceA - First private key only known to Alice
dAliceY - Second P... |
I am beginning the implementation of the polynomial binary division algorithm now as I understood i will be checking the MSB bit if 1 to XOR and shift the sum if 0 i will only shift.
What I am not getting well with is the numerator and denominator degree calculation and when to stop the the division
in a case of a poly... |
What would be the best Cryptography method without the use of a computer?
This could be a list of the current options available, that could be used without
the use of a computer system/electronic device. Moreover, would like to identify what types of Cryptography techniques could be used to encrypt a small a amount ... |
El Gamal is a malleable homomorphic encryption system, so is Rabin. Are all homomorphic encryption systems malleable? Or are there any that are not malleable?
Thanks!
|
Let's say that I have an ordinary hard drive encrypted with VeraCrypt 1.0e full disk encryption and implementing:
-AES
-RIPEMD-160 Hash Algorithm
Now let's say that for an arbitrary machine, the amount time that it takes to make 1 guess at the master encryption key itself is equal to 1 unit of time. (I understand that,... |
I want to modify and customize AES encryption algorithm and develop a variant of it. What factors should I consider so that it does not become weaker? What skill sets would be required to undertake this task? How complicated can it get?
|
I’m implementing the RFC 6979 procedure to compute a message signature. I want to test my program on the secp256k1 elliptic curve. Note the “k” in secp256k1, i.e. the Koblitz curve.
If you have the reliable implementation of RFC 6979 on your machine, I would like you to post data that I could use to test my code.
The d... |
Very often in the description and analysis of a cryptographic protocol there is a need for a an element $k$ that is sampled
uniformly AND at random.
Is there a redundancy in the definition with uniformity and randomness?
If no what is the rigorous difference of uniform and random? Does it mean that the numbers of t... |
The kernel attack on MinRank is described here (page 5). My question refers to this line:
Note that if $m = \left\lceil \frac k n \right\rceil$, the system essentially has only one solution $\lambda = (\lambda_1, \ldots, \lambda_k)$.
Why is this so? I understand that when $m = \left\lceil \frac k n \right\rceil$ the ... |
I understand the differential cryptanalysis up to the "finding the last subkey" part. If XORing with the key doesn't change the differentials, how can testing different key affect the equations we found?
EDIT: I think I kinda get the answer now. Although I'd like a confirmation:
After getting all those probabilities on... |
Is it possible to have a pseudorandom generator that extends its output by 1 bit by simply appending the exclusive-or of all the previous bits?
I know the output of a pseudorandom generator is indistinguishable from random, so would the appended bit still retain its pseudorandom property? Or is this not pseudorandom be... |
I am trying to build a protocol (or find an existing one) for creating a set $S_2$ with PKI from a set of parties $S_1$ that initially does not know anything about the other parties.
We assume end-to-end communication and broadcast, all with a delay up to $\text{Delta}_\text{transmission}$. Additionally, we also use NI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.