instruction stringlengths 32 27.2k |
|---|
A formal proof obfuscator is a mapping $\mathcal{O}$ such that whenever $P$ is a formal proof of a theorem $T$, then $\mathcal{O}(P)$ is a distribution of formal proofs of the same theorem $T$. An indistinguishability formal proof obfuscator is a formal proof obfuscator $\mathcal{O}$ such that whenever $P_{1},P_{2}$ ar... |
Are there any digital signature algorithms that can be used to produce signatures valid for multiple pieces of data?
For example: Pick a private key $k_{private}$, which has public key $k_{public}$. Produce one signature $S$ which is valid for $h_1, h_2, \dots , h_N$, which are hashes of messages $m_1, m_2, \dots , m_... |
Assume that Alice has a file F which she is going to send, in encrypted form, to Bob. Alice possesses F and the public encryption key K of Bob in form of an X509-certificate.
She generates the file E using the encryption algorithm CNT_3DES, BitsInKey = 192 (RSA PKCS#1 encryption method).
She sends to Bob the file E th... |
FIPS 186-4 mentions two standards for RSA: PKCS #1 and ANS X9.31. PKCS #1 is used with SSH, X.509, etc. What is ANS X9.31 used with?
FIPS 186-4 has the following line:
ANS X9.31, Digital Signatures Using Reversible Public Key Cryptography for the Financial
Services Industry (rDSA), was developed for the American Nat... |
I am working on AES S_box and trying to find out its properties like Correlation Immunity, Balancedness, Algebraic Degree, ANF form etc.
These Papers 1, 2 give a nice definitions to above said terms.
Also this very famous paper by T. Siegenthaler proved a fundamental relation between the number of variables 'n', algeb... |
I need to know the structure of a server key exchange message when using a psk identity hint. I know the general structure but I can't find an example of where the identity hint fits in. Thanks.
|
Suppose that we are working with the original version of NTRU with parameters $(N,p,q,k,d_f,d_g,d_\phi)$.
In this case we are working with the original NTRU with the digital envelope and the parameter $k$ is described below.
Suppose that we encrypt a message $m$ that is in $\frac{\mathbb{Z}[X]}{\langle X^N-1 \rangle}$.... |
Since reusing IVs is death for AES GCM, it seems like using the fixed IV in the TLS connection state is a phenomenally bad idea. It wouldn't even seem to be a good idea to use the salt + counter method since an attacker could watch for the first ciphertext record exchange and keep track from there. Is there an extensio... |
I have two public key encryption scheme $\Pi_0$ and $\Pi_1$ and one of them is IND-CCA secure, another one is IND-CPA secure. Let $\Pi$ be a public key encryption scheme, which is a combination of $\Pi_0$ and $\Pi_1$. As IND-CCA security implies IND-CPA security, so $\Pi$ is IND-CPA secure. Is $\Pi$ is IND-CCA secure?... |
What we're looking for
A solution where data is stored and retrieved (!) from a server using a person ID that can only be known at the client (form of anonymization). Furthermore, the client should be able to calculate the original person ID back from a data record.
Storing certificates on the client is not an option, ... |
There are plenty of questions here about the details and how-to's of "garbled circuits", but I have not seen anything that defines what garbled circuits are.
What exactly is a garbled circuit? What are they intended to be used for? What are their limitations?
The tag for garbled circuits just says that they are used i... |
Does anyone know a good proof that a LFSR (with XOR feedback and seeded with non-zero starting state) will never enter zero state?
It is obvious that a zero state will always get stuck in a zero state, but what is the proof that nonzero states cannot cycle into the zero state eventually?
|
I'm developing an intranet for a company where admins are sharing a huge excel file containing all the necessary password, on the common TSE. I've managed making them encrypt it with a common password at least.
I would like to make a "password sharing" system on the intranet, allowing them to store passwords and data e... |
In Micciancio and Regev's paper "Lattice-based Cryptography",the length of the shortest vector is at least $\min\{q, 2^{2\cdot\sqrt{(n\cdot \log{q}\cdot\log{\delta}})}\}$ . I want to ask why the paper chose the latter as the length of the shortest vector rather than $q$ when considering concert parameters. In addition,... |
So in DSA you have two primes - p and q. q is N bits long (let's assume 160 bits) and p is L bits long (let's assume 1024 bits).
Here's what FIPS 186-4 says about generating the q parameter for DSA:
Get an arbitrary sequence of seedlen bits as the domain_parameter_seed.
U = Hash (domain_parameter_seed) mod 2$^{N-1}$.
... |
I am writing a program to find linear redundancy in 4x4 s boxes. Is the number of distinct frequency distributions of absolute walsh transform a direct measure of linear redundancy in s boxes?
byte[] S = new byte[16]{0x1 ,0xB ,0x9 ,0xC ,0xD ,0x6 ,0xF ,0x3 ,0xE ,0x8 ,0x7 ,0x4 ,0xA ,0x2 ,0x5 ,0x0}; //E Mini-box of Whirlp... |
I'm having trouble understanding what the “security model” for “scalar multiplication” in NaCl is.
Security model
crypto_scalarmult is designed to be strong as a component of various well-known "hashed Diffie–Hellman" applications. In particular, it is designed to make the "computational Diffie–Hellman" problem (CDH) ... |
I'm planning to implement a parallelizable variant of AES to end-to-end-encrypt files in a web application.
As a mode of operation I'm most likely gonna use CTR mode with a 64 bit IV and 64 bit counter, since that allows for easy parallelization.
Now it would also be great to be able to verify that the message wasn't m... |
This question may seem like a duplicate of some others, namely this one, but even though that question asked when and how to use HMAC, the answers only addressed what HMAC was and why/how it worked.
So, my questions are:
When is it appropriate to use HMAC? If I'm encrypting files on my local computer? If I'm encryptin... |
In order to complete the following table with asymptotic times and message expansions,
$\quad \quad \quad \quad \quad \quad \quad \quad \quad$ RSA $\quad$ McEliece $\quad$ ECC
Encryption Speed $\quad \quad \; \; N^2 \quad \quad N^2 \quad \quad \quad N^3$
Decryption Speed $\quad \quad \; \; N^3 \quad \quad N^2 \quad \q... |
How to show that any 2-round key-exchange protocol satisfying a given definition can be converted into a public-key encryption scheme that is CPA-secure?
The given definition is as followed:
Actually this is an exercise of the book "Introduction to modern cryptography", I can figure out how to prove it.
Can someone he... |
I'm confused about a problem these days and I decided to seek an answer here. The question is about the section 4.1 of the paper LPST16. Let me recall the weakly sublinear compact FE scheme $\textrm{FE}$ from succinct functional encryption scheme $\textrm{sFE}$ and XiO.
$(msk, pk) \gets \textrm{FE.Setup}(1^\lambda)$: ... |
If you use the same ephemeral key in Elgamal, someone can read the future messages. I have two ciphertexts $y_1=62$ and $y_2=4$. The difference between two plaintexts is $x_1-x_2=138$
how do I get $x_1$ and $x_2$? Modulo is $157$
|
David Wagner in his article A Generalized Birthday Problem in CRYPTO 2002 says that in k-dimensional (also k-lists) generalization of birthday problem (GBP), when $k=2$ "this is just the extremely well-known birthday problem." Why is that so? As I understand it, in classical birthday problem we search for collisions in... |
What would be the value in having a true prime number generator algorithm instead of a prime number test algorithm? Also, if such a thing existed, what would be the impact on not only cryptography?
|
During the TLS handshake, there are random bytes sent from the server to the client and random bytes sent from the client to the server.
Since these bytes are sent in clear text, what is the relevance of them being random? I thought randomness was mostly about lowering the likelihood that these numbers could be guessed... |
Say $G$ is a $PRG$ that expands its input by a single bit, so we define:
$$G'(x_1||x_2)=G(x_1)||G(x_2)$$
The exercise states to prove that $G'$ is also a PRG.
Now here is my confusion. $PRGs$ are defined for random seeds as input.
But as an adversary I know $G$. So for $x\in\{0,1\}^*$ I could always input
$$x||x$$
And ... |
To my understanding one of the main advantages HMAC has over RSA is that HMAC is faster to compute.
My question is: How much faster? Say you are signing a SHA-1 hash function 1000 times a day. How much faster will HMAC be over RSA (2048 bit key)?
|
Let say we have $N$ ciphertexts and each of them looks like this:
2iob3gRLvabM0QnMtgtMG5y4kCm=2xmLkasBUasLkQkjyQtQ3NFhU5UNkQ95U1nmk5UltxwZt1DltaojkQuHkxyXQI7=GYzYYf7t25ymQd7wtHJ52xWM3NJR3QTLUxmI3IZMU54NkitMGHz=2xmLvQnVtQUBk5Wa
assume it's encrypted URL string and we know output (actual URL) of each $N$ ciphertexts. In ... |
I'm working through the matasano crypto challenges, and I'm onto set 7, where they describe an attack on encryption/compression oracles. I am having trouble understanding the attacks, more so the logic behind the attack and am having difficulty finding any papers on it. If anyone knows about this type of attack and how... |
I‘ve got two questions:
Why are much shorter output lengths of, e.g 80 bits, sufficient for MACs ?
Assume a message $x$ that is sent in clear together with its MAC over the channel: $(x,MAC_k(x))$. What does Oscar have to do to attack this system?
I think I can answer the first question: it’s because of the Birthday... |
Part of a sponge construction (like SHA3 uses) is a fixed permutation $p$; which is clearly not one-way.
Could we, theoretically, exchange the permutation $p$ with any other permutation? What basic characteristics should such a permutation have – or would, for example, a simple LFSR already represent a valid replacemen... |
I have hardware-based RNG which consists of TRNG and PRNG. TRNG is giving out a 512-bit number which is being used as a seed for PRNG. RNG is generating a 160-bit random number using PRNG and reseeding is done after $2^{20}$ numbers. I want to use hardware-based RNG as an entropy source. What should be used as a source... |
Are there any famous ciphers that, to determine the encrypted letter at position n in the ciphertext, it uses the encrypted letter at position n-1 in the ciphertext?
I tried google but I couldn't figure out how to phrase my search terms correctly to find something like this.
|
The Linear Congruent random number generator is the simplest kind of pseudo random number generator. I know that its now long broken. But I am curious -- has it ever been used in any of the early crypto algorithms, say 70 years ago? Or has it been used for basic statistical simulations from day one. I read somewhere th... |
I've seen this question! from 2 years ago:
Given $F$ is a $PRF$, we define $G$ for an input $x\in\{0,1\}^n$ as follows:
$$G(x) = F_k(x) \oplus F_k(x \oplus 1^s)$$
The question was if $G$ is a $PRG$. I edited the question a bit to fit the answers given back then. The answers stated this isn't a $PRG$ because
$$G(x\op... |
I am familiar with white box cryptography, but somehow I still fail to see its potential applications? Which situations would necessitate using it? Maybe you can even give me an example or two?
I know it is used to protect keys, but one could say: “Hey, come-on, derive a scheme where you don't need secret key”. Or, we ... |
Quite frankly, it is a pain to use the Extended Euclidean Algorithm to calculate d (the private exponent) in RSA. The equation used to find d is:
$$ e d \equiv1~(\mathrm{mod}~ \varphi(n)).$$
Does anyone have a way to solve for d using basic algebra or something simpler? If not, can someone explain how to use the Exten... |
Say I have a simple affine relationship between two variables $x$ and $y$ in a field $\mathbb{F}_p$ ($p$ is a large security parameter): $ax + by + c = 0$
What algorithm would be appropriate to find all roots $(x,y)$ such that $x < X$ and $y < Y$ for some small $X, Y$ compared to $p$?
Every algorithm I find seems like ... |
I expected a 1-bit change to two inputs (same key) would provide differences to 50 per cent of the output bits (on average). But this is not the case when I tested it. However, for two 'identical' inputs but with keys different by one bit, the differences 'were' as expected. Why is this so?
Example 1 (same key, two inp... |
RC4 in TLS is now broken. But the breaking seems to have a lot to do with how web transactions work in general. Is there any application outside of the web where RC4 is still used? I know that WEP is long out of the window. Any other widely used applications?
|
I was reading an article about breaking RSA with PKCSv1.5 padding (http://mslc.ctf.su/wp/google-ctf-spotted-wobbegong-crypto-100/).
It says that while retrieving the message we multiply by the inverse fraction and take modulus of a power of 2 rather than modulo N.
But how do we determine which power of 2 to be used ? ... |
I wonder what are the practical differences between using Authenticated Encryption and then ECIES. It looks like both require communicating the shared secret in some fashion between the parties and both provide encryption and authentication.
To make a concrete example, consider we have a party A, which receives message... |
It seems AES uses fixed shiftrows as follows:
B0 B4 B8 B12 No shift
B1 B5 B9 B13 Right-shift 3 places
B2 B6 B10 B14 Right-shift 2 places
B3 B7 B11 B15 Right-shift 1 place
Would it make a difference to security if the rows were shifted differently?
Not to disturb the carefully selected shifts (0, 1, 2 an... |
As per resources given below, after adding the bits to entropy pool, the Linux RNG estimates the amount of entropy for "credit_entropy_bits" function. It is estimating the amount of entropy of an event as a function of its timing. Initially, the estimator calculates the jiffies differences on three levels. Then, estima... |
We consider the size and depth of a circuit under most situations, but recently I read some papers which consider the “width” of a circuit, so I wonder what's the definition of the width of a circuit? I have searched some definitions but they doesn't seem to be well-defined, can you provide a link or a formal definitio... |
Almost the same question as my “Why are the shiftrows in AES in a fixed order? Can the order be changed?” but this time it’s about the AES MixColumns.
Why are the mixcols fixed? Can we keep adequate security by changing the order? If not 'any' order, what about some other arrangements? Or is this arrangement the only o... |
Given a key with a certain key size (e.g., 64bits). Would I be correct to interpret this as 8 characters (since each character would be 8 bits under ASCII encoding)?
Because the ASCII scheme is limited to just 127 characters, this would mean that characters not included in the English language are not considered. Could... |
Basically, NIST FIPS 186-4 describes a standard for generating some message that will be signed by an elliptic curve private key. However, I'm having difficulty interpreting how this message should look.
To give more context, with RSA, I've been attempting to follow PKCS #1 v1.5, so I'm basically doing pad(sha1(crypto.... |
I was examining the S-Boxes of the Kalyna Cipher and found that 3 of the 4 S-boxes have reverse fixed points i.e S[x] = (255 - x).
Is this an exploitable weakness? I was not able to find any open literature on how these S-Boxes were generated except for:
S-boxes for 'Kalyna' were selected from the set of randomly gene... |
What impact does the quantum compuer has on modern cryptography?
Recently I read that IBM already has a working quantum comptuer, although small number of qubits, but that they hoped to introduce a much more powerful model within the comming years.
Also, such a capable quantum computer should be able to solve hard ma... |
Let's say we have a set of ordered elements $D=[x_1,x_2,x_3,x_4,x_5]$. We apply a random permutation on them with a $PRP=P_k: P_k(D)=D'=[x_3,x_2,x_5,x_1,x_4]$
My question is: can the owner of the key $k$ recover a single position of the original element without having to recompute all the permutations? Is there an inve... |
From Quantum Computing: A Gentle Introduction:
In the BB84 protocol, how many bits do Alice and Bob need to compare to have a 90% chance of detecting Eve's presence?
I am having some trouble calculating this value. I understand that 50% of the time, Eve measures in the wrong basis and sends Bob a different bit than A... |
Till now all we know is Hasse's theorem, which states that $|\#E(p)-(p+1)| \leq 2\sqrt{p}$, where $\#E(p)$ is the total number of points in $E_p(a,b)$.
Is there any other theorem which defines relation between points on elliptic curve $E_p(a,b)$ ?
I want to find the maximum interval of $x$ co-ordinates between two succ... |
I have a large linear feedback shift register with a known state and taps.
Now I want to compute the state of the LFSR after $n$ iterations.
The problem: $n$ is in the order of $2^{256}$ so just brute forcing is not an option. Is there an algorithm or closed form solution that lets me directly compute the $n^{\text{th}... |
We have the following theorem:
Let $\Pi$ be a perfectly-secret scheme over message space $M$, and let $K$ be determined by $Gen$. Then $|K| ≥ |M|$.
How can we prove that the above theorem is valid for almost perfect secrecy? The definition for almost perfect secrecy is as follows:
The encryption scheme $\Pi = (Gen... |
I am currently learning Rijndael's Algorithm through this site where there is a slide show animation step-by-step.
I understand nearly all of the encryption process except part of Add Round Key.Looking at slides 16 & 17, it says:
Applying the RotWord ... to the previous word Wi-1
What is the RotWord and how do we a... |
I have this exercise:
we have the following RSA public key
$n = 275398901700898900724918474136345950999$
$e = 5$
Alice encrypts the message $M$ with the native RSA. She computes $C = M^e \pmod n$ and sends to Bob
$C = 170841202002112185870598344402287193795$
Recover the original message $M$.
I'm playing... |
I stumbled over this post, containing code to encrypt larger messages with RSA by splitting them into blocks using PCBC mode
I will copy the relevant part here, but for details see the original posting or this archived copy.
# As indicated in Prologue, this is an implementation of an idea of the present
# author to clo... |
As discussed in this post, calculating key check values for block cipher keys can introduce vulnerabilites. Plus, this method only applies for block ciphers, and there is no equivalence for private keys used for asymmetric cryptography (although an alternative is given in an answer of this post, the KCV size is huge in... |
I am struggling to understand how to perform a sextic twist over a BN elliptic curve. This is what I understood so far:
Let's consider a BN elliptic curve:
$$
E: y^2=x^3+b
$$
And let's consider a point $Q \in E(F_{p^{12}}) $. What I would like to do is to "easily" go from/to $Q \in E(F_{p^{12}})$ to/from $Q' \in E'(F_{... |
I need to encrypt a high number of short messages (30-200 bytes). The problem with usual algorithms, such as RSA, is that the size of the encrypted message tends to increase a lot, compared to symmetric encryption algorithms.
Ideally, this cryptosystem shoud accomplish:
Asymmetric
Size of the encrypted message must be... |
Notice: I'm doing this to learn. I know not to use a homemade cipher for anything that requires security. I also have heard before I'm not supposed to be trying this, but I learn best through trying to make things from scratch, even if I fail.
Ciphers are incredibly complex, to the point most people probably don't ap... |
Say I am hashing hashes (taking the hash of a previous hash) for an endless amount of time.
How many times would it take, on average, to fall into a loop when using SHA-2 (more specifically SHA-256 and SHA-512), like such:
original text = z (can be any string)
hash z = b
hash b = c
hash c = d
...
hash n = b (restarti... |
Note: I am assuming that, when entering in the key and plaintext, they are formatted in the same manner as the output of an AES-256 encrypted text.
What is the probability, if any, that you could enter in a key that ends up being the exact same as the output after AES-256 encryption?
and alternatively:
What is the prob... |
We consider randomized encoding for circuits as a equivalent primitive as the circuit garbling scheme. However, I have a question arised from their syntax, that is, how to compute the output length of randomized encoding?
From the syntax, the encoding algorithm of randomized encoding takes as input the circuit $C$ and ... |
Assume $r_1,r_2$ are used only once, and picked uniformly at random (each time we want to mask a value) from finite field $\mathbb{F}_p$, where $p$ is a large prime number. Assume $r_i\neq0$ and $b$ is a (non-zero) fixed element of the field. Let $(r_i)^{-1}$ be multiplicative inverse of $r_i$.
Imaging there is a clien... |
I really like this answer: Creating a small number from a random octet string
While this works, is it safe to generate random number like so?
I am looking for a number on interval $[0,203]$
Generate crypto random secure 8 bits
convert to a decimal variable $d$
final answer $=\frac{d}{255}* 203$
Is this safe and does ... |
Assume $N=pq$, where $p$ and $q$ are two strong prime numbers.
Also, assume we have finite field $\mathbb{F}_u$ where $u$ is a $112$ bit prime number. Let $r_i$ be a uniformly random element of $\mathbb{F}_u$.
Let $(r_i)^{-1}$ be multiplicative inverse of $r_i$ in ring $Z_N$.
We encrypt a message as $c=E(r\cdot m)$ ... |
For part of my bachelor thesis (which will be involved in a commercial product), I need to build a cryptosystem that will be used to encrypt and decrypt continuous medical data that is transmitted from a patient to their doctor. The data must be encrypted and decrypted very fast in case of emergency.
Which encryption a... |
I have been studying about homomorphic encryption (HE) lately, and I am trying to perform simple computations over encrypted data. Specifically, I am interested in the scalar product between two vectors.
I came across this presentation about HElib (an implementation of HE) and on slide 32 there's this particular way of... |
Let's assume $N$ is Paillier encryption public key, where $N=pq$ and $p,q$ are strong prime numbers.
I have a set of plaintext $p_i$ whose domain is $N$. I want to deterministically generate a series of pseudorandom values $r_i$ that have multiplicative inverse. So $r_i$ should be distributed uniformly random over $N$ ... |
The code
if(str1 == "abc") {}
can be converted to
if(hash(str1) == 0x8732e) {} // assume hash("abc") == 0x8732e
to obfuscate the code.
But they are not equivalent when hash collision occurs; e.g., another string xyz's hash value is the same as abc.
That is true theoretically. But is it an issue in real-life when the... |
I need to find an isolated point in an elliptic curve that has the farthest distance from other points.
For example, if we take an elliptic curve $E_{13}(a,b)$, then according to Hasse's theorem, the possible number of points $\#E(p)$ lies between $(13+1-\sqrt(13),13+1+\sqrt(13)) \approx (11,17)$. Considering the worst... |
I've never heard a good answer. I'd like to hear details about:
What are the criteria that make an RNG cryptographically secure?
Why must your RNG be cryptographically secure? I.e., what are the consequences if it is not?
Examples of secure and insecure RNG's
Would a non-pseudorandom generator be cryptographically sec... |
True Random Number Generator (TRNG) use external physical phenomena to generate true randomness. I have a TRNG which uses two sources (oscillators) and gives an output of 256 bits. The entropy of TRNG output is 256 bits. The entropy of bit string with N distinct possible combinations is given by log2(N) bits (reference... |
I have investigated Elliptic Curves and after that I have designed a cryptosystem using this technique. How can I test the safety of my scheme compared to another cryptosystems that use factoring such as RSA? There's a way to ensure that my cryptosystem can be used in commercial environment ?
|
Apologies for 'unclear' question. And, 'yes' it is similar to an earlier one. I hope this is clearer.
AES uses the matrix below for the mix columns:
Would security be affected if the columns (or rows) were swapped around?
For example, if the first and second column were swapped to give:
Would this matrix be just as ... |
In the definition of leveled FHE scheme, what is the mining of same decryption circuit?
I have read several papers about this, but I don't understand this notion.
In addition, if the scheme {$E^d$} is leveled FHE (notation based on Gentry thesis), why the scheme $E$ works correctly for circuits of some depth?
|
Given the following PHP code (assuming PHP 5.6.x):
$chars = array_merge(range('A','Z'), range(0,9));
$tokens = array();
for ($i = 0; $i < 1000; $i++) {
$token = '';
for($j = 0; $j < 12; $j++) {
$token .= $chars[array_rand($chars)];
}
$tokens[] = $token;
}
If I have one token from the array, but... |
Assume that you use this function: SHA-256(key_1 + SHA-256(key_2 + SHA-256(key_3 + special_key))). First, second and third keys are long random strings of 64 bytes. A special key is a short string (from 5 to 12 bytes).
Also, assume that an attacker has:
the special key;
16 bytes from the beginning of the function resu... |
#include <std_roll_your_own_crypto_warning.h>
With the third round CAESAR candidates about to be announced, the design[0] of Salsa20/ChaCha + Poly1305 is still looking good in a number of ways, including software performance. However, LRX algorithms have a major advantage when it comes to (relatively) efficient maski... |
This question is inspired by a RNG question and some of the comments in the one of the answers. I have been designing random number generators in hardware recently and my results are significantly better than what I get from /dev/random and /dev/urandom. I took a sample of 10000 results from /dev/random and /dev/uran... |
Modern key stretching functions (password-based key derivation functions, also used for password hashing) are memory-hard to mitigate parallel attacks, and as far as I know this is working well. Last year there was the password hashing competition (PHC 2015) where new password hashing functions were presented, Argon2 i... |
I was reading some guy's description of the SHA-256 algorithm and I noticed that the basic operations it uses appear trivial to reverse: addition, rotate bits, etc. When I say "reverse" I don't mean retrieving the exact input used to generate the hash, I mean finding some input which generates the same hash (finding a ... |
I am looking for a publicly available implementation of the SPDZ protocol. So far I have found the following:
An implementation by Vitor Enes: Depends on trusted dealer for offline phase.
The Fresco project: API is not yet stable and also depends on trusted dealer for offline phase.
Is anyone aware of any implementatio... |
I live in the USA. I am a developer, interested in creating an application with encryption. I am interested in learning what the illegal/restricted encryption types are.
Clarify:
What are the encryptions that are not accessible to a regular programmer that is not working for a company.
|
The offline complexity of the garbling scheme means the time complexity of the circuit encoding algorithm, that is, $\textrm{GC.Circ}(1^\lambda, C)$, where $C$ is the circuit to be garbled. It's straightforward to see that the offline complexity is $\textrm{poly}(\lambda, C)$.
My question is that whether there exists ... |
NSA crack multiple encrypted channel by some tricks on 'Common DH Primes', which is a old news, but how actually they crack it? I still can't get the concept why using a 'Common DH Primes' will comprise a system. Can someone explain the process to crack a encrypted channel by using 'Common DH Primes'?
|
In Babai nearest plane algorithm(solve approximate version of CVP), given the basis as input first step is to find the reduced basis(using LLL reduction algorithm). Why the reduced basis is used for further steps?
|
These three stream ciphers were chosen for the final hardware profile of the eSTREAM portfolio. As far as I understand it, their merits are:
Trivium: elegant design, very high throughput per area, small area, parallelizable.
Grain: simple design, small area, high throughput, comes in a 128 bits flavor and in an authen... |
Client is part of a Set members. Every distinct object in members has in common, that they do want to communicate to the Server without the Server or other objects of members knowing the origin of each individual communication.
Required is a way for Client to upload data to the Server without the Server knowing about w... |
I am reading the source of pbc_bce library which implements the Boneh Gentry Waters broadcast encryption scheme. In this paper the authors use for their construction a bilinear group $G$ and a bi-linear map $e$ but in the source of pbc_bce I find the implementation of the bi-linear map. Which map is used for the pairin... |
I just started using the libsodium port for .net today and the output length parameter kind of confused me (I'm using the argon2i implementation).
With my limited exposure to hashing, whatever hash algorithm I've used have always returned a constant bit length (for example MD5 & 128). By default it returns 128 just lik... |
In this answer there is the mention of "weak alignment", followed by an indication that it is related to "resistance to truncated differential cryptanalysis".
What exactly is the difference between strong versus weak alignment?
How does it provide resistance to truncated differential cryptanalysis, and does it influe... |
I'm implementing a cryptographic primitive and I have a question about the memory model. The function (simplified) looks something like this:
void encrypt(unsigned char *out,
const unsigned char *in,
const unsigned char *pub_key)
{
unsigned char buf[OUTPUT_SIZE];
size_t i, j;
memcpy(out... |
A small (< 100) group wants to implement an election. For that, each participant must vote in one of N candidates. After everyone has voted, they must be able to determine a winner; yet, nobody must be able to determine the vote of someone else. There is no trusted third party. You can assume there is a public list of ... |
By "splitting", I mean turning one chunk of information into more than one chunk. The new chunks do not necessarily have to be of a smaller size. I imagine the use of this could be something similar to the nuclear launch protocol, where two people with separate keys must be present.
Unfortunately, this is one of thos... |
Using and benefiting from hash functions on a daily basis, I keep wondering how hash functions actually work down in their core.
Most of the available resources I found, only explained hash functions on a very high level, usually referring to their awesome properties and some of them mentioning something like reducing ... |
Let $E(m)$ a be the encryption operation using Paillier encryption scheme. Let $N$ be the public key and $p$ be a large prime number, such that $p<N$.
Question: Is there any protocol, that given $E(m)$ can compute homomorphic $\mod p$, so after decryption we would a message in $\mathbb{F}_p$?
Or is there any multi-par... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.