instruction stringlengths 32 27.2k |
|---|
From the NIST SP 800-90B, we can use these cryptographic algorithms (HMAC, AES, Hash function) as a post-processing technique for TRNG.
Besides that, can we apply the Pseudo Random Number (PRNG) as a post-processing method for True Random Number (TRNG)? It will become the Hybrid random number generator (Combination of... |
Why is the discrete logarithm problem assumed to be hard?
Someone else asked the same question but the answers only explain that exponentiation is in $O(\log(n))$ while the fastest known algorithms to compute discrete logarithms is in $O(n)$. (I'm glossing over details like the runtime of index calculus here.)
Somewher... |
I am here so if I asked something wrong or in the wrong way please let me know.
How to hash compression large data into the fixed size of the string.
Edit:
How Davies–Meyer does work?
Take the example of input as: "Hello this is a demo"
|
If I want to prove that an encryption algorithm is CPA secure (or that it isn't), then how much am I allowed to assume the attacker to know about the internal workings of the algorithm? Do I need to assume that the encryption algorithm is just a "black box" from the point of view of the attacker i.e. they can only quer... |
Reading Why Zk-SNARKs are Argument of Knowledge if a Knowledge Extractor exists? I feel confused by OP first statement:
From what I know, proving the existance of a Knowledge Extractor implies perfect soundness.
Answer focuses on soundness not necessarily being perfect, but it seems implicitly confirming the soundnes... |
Can we make EC ElGamal have multiplicative homomorphic property?
|
I have taken this implementation of RC4 written in C.
I have 40-bit key and 32-bit IV (both in hex).
So, questions is about KSA step:
How should I transform hex key value into the char array? Just convert it to long?
Where should I introduce IV? (Some write to concat it with the key, others write that S is already IV... |
In NIST SP 800-90C, it said:"Small deviations in the behavior of the entropy source in an NRBG will be masked by the DRBG output"
Why the DRBG can mask the small deviations in the behavior of the entropy source?
Can anyone give the mathematical or reference?
|
how to encrypt using play fair if "i , j" both are in the plaintext? for example Beijing.
|
Consider a formulation of LWE where we are given either $(x,S x+e)$ or $(x,u)$ --- where $S$ is an $m \times n$ secret/hidden matrix, $x$ is a randomly sampled $n \times 1$ vector, $e$ is an $m \times 1$ Gaussian error vector, and $u$ is a uniformly random sample --- and told to distinguish between these two cases. Thi... |
I am trying to learn attack on hash collision. I guess for this scheme, it might be possible to use messages with different lengths to find a pair of same ciphertexts. An attempt is to use the same first block, and let M1 = M[1] and M2 = M[1]M[2]. Then, it might be possible to find a collision because the first one ou... |
I am using a system that relies on base64 encoded ECDSA public keys.
I have managed to brute-force a public key that when encoded starts with a word I like.
Is it possible for me, given the private key, generate similar public keys?
|
Consider the following protocol from the book "Network Security: Private Communication in a Public World" by Kaufman et al.
Alice knows a password. Bob, a server that will authenticate Alice,
stores a hash of Alice’s password. Alice types her password (say
fiddlesticks) to her workstation. The following exchange takes... |
In Curve25519 we typically have this generator point or base point:
Gx = 9
Gy = 14781619447589544791020593568409986887264606134616475288964881837755586237401
or:
Gy' = p - Gy
= 43114425171068552920764898935933967039370386198203806730763910166200978582548
Where p = 2^255-19, the dimension of the prime field Fp in w... |
This is a question sparked purely by curiosity, wanting to understand a little more about cryptography and authentication. Thanks in advance to anybody taking their time to answer.
Instead of salting and hashing a password, sending it to the server to authenticate yourself, could something like this work? A client gene... |
Here is a possible way to perform iterative cryptographic hashing twice as fast as in the ordinary way.
Given a compression function $f: \{0,1\}^{a+b} \rightarrow \{0,1\}^b$. Assume the message is of length $4a$ bits after padding. Normally the four message blocks are injected one after another into a data block $x_i \... |
Assume that the verifier is given three commitments $C_i=g^{m_i}h^{r_i}, i=1,2,3$. Now a prover knowing $m_i, r_i, i=1,2,3$ wants to prove $m_3\neq m_1\wedge m_3\neq m_2$. Specifically, the relation is follows: $\{(m_i,r_i), i=1,2,3|C_i=g^{m_i}h^{r_i}\wedge m_3\neq m_1\wedge m_3\neq m_2)\}$. A general relation can be w... |
Let $R$ be the ring of integers of a cyclotomic field $\mathbb{Q}(\zeta_n)$, where $n$ is a power of two, and $\boldsymbol{a} \in R_{q}^{m}$, for $m\in\mathbb{Z}^+$, $q\in\mathbb{Z}_{\geq2}$ prime. Define the following $R$-modules, where $I$ is an ideal of $R_{q} = R/qR$:
$$
\begin{gathered}
\boldsymbol{a}^{\perp}(I):=... |
Is there any protocol for remote secret key storage without disclosure the key value for remote server administrator?
|
I'm reading up on elliptic curves and their history and it seems that people don't trust P256 seed which is defined in FIPS 186-3 on page 89 to be
SEED = c49d3608 86e70493 6a6678e1 139d26b7 819f7e90
Which people suspect may have been generated maliciously.
I'm wondering what happens if the seed is picked in a way that ... |
In Ring Learning with Errors problem, the size of the ciphertext quotient $q$ decides the size of the polynomial degree $n$ or vice versa. In other words, rlwe problem is hard only when the polynomial degree is set in comparison to the quotient. However, I am not sure what is the relationship between the values of the ... |
I have the need to take a string and return a color. One requirement is that the same name always returns the same color. Another is that similar names should not return similar colors.
I understand that a property of cryptographic hash functions is that small changes to the input result in large changes to the output ... |
Blowfish splits a 32-bit word into 4 sets of 8-bits (1 byte) and use them as entries in its S-Boxes.
Kuznyechick splits two 64-bits words in many nibbles (4-bits chunks), use them as entries in its S-Boxes and XOR each modified nibble with the next nibble in their sequence.
Kalyna does the same as Kuznyechik but it use... |
Most cryptographers know the scytale. It is that cipher where you roll a leather strip around a rod and then write text on it. For encryption you roll it off the stick and for decryption you roll it back on the stick. It can be visualized like that (from Wikipedia):
| | | | | | |
| I | a | m | h | u | ... |
Sorry if question is really dumb, I am new to crypto :(
If the client provides the solution for the PoW Challenge-Response, in my understanding, the solution of that challenge should be verified. So I don't understand, if the verification process is involved in Challenge-Response, what's the difference between them?
If... |
What is the likelihood of getting the same result from /dev/random?
|
I see there are a lot of questions relating to handling of a salt value but nothing I have seen so far has cleared the following question.
When using a KDF such a scrypt, I believe the value of the salt should be random and change each time even on a per user basis (same user generating two different keys at different ... |
Has anyone integrated OpenSSL with the ETSI QKD key request protocol? I want to make my most critical SSH sessions quantum-safe by integrating with a QKD system and it appears the QKD vendors use the following API specification for the two side (Alice and Bob) to request keys: https://www.etsi.org/deliver/etsi_gs/QKD/0... |
Many types of encryption can be generalized as using a message $m$ and a key $k$ as input of an encryption function $f$ with a cipher $c$ as output.
$$f(m,k)=c$$
As a node graph this could look like this:
Given node $m$ it has one edge of progression. If an inverse function $f{^{-1}}$ exists we could use it as a 2nd e... |
I learned that in Substitution–permutation block ciphers, the maximum size of S-Box set to receive an entry from a data is the max numeric count of the data, for example, if the entry is 8-bits the S-Box set to be used is 256-bytes as 2^8=256.
Would 16-bits entries in a S-Box set of 65536-bytes (2^16) deliver the same ... |
I am a bit unsure about CMAC and GMAC and maybe someone can help me.
As far as I know, CMAC does not use an IV [SP 800-38B ch. 6.2]. Is it then secure if I use the same key for different messages? ...and why do I need an IV for GMAC? What happens here if I reuse the IV and the same key?
In my case I don't encrypt any m... |
I heard there is a possibility to perform a brute force attack of an password, I know there is an option to use graphic cards on AWS, but is there a solution for Azure too? Which costs would it take to perform such an attack? I know it depends on the performance, time etc., is there some pricing list on how Azure solve... |
Hopefully this question is not duplicative, nor its answer too elementary.
Suppose I have a file. I encrypt it, using a password. The password presumably stipulates a pattern or relationship between the file in its pre-encryption (A1) and post-encryption (B1) forms. But that pattern or relationship is indeterminate. De... |
ciphertext1 = hmac-sha256(key, counter1) ⊕ (plaintext1 with plaintext1 sha1 hash)
ciphertext2 = hmac-sha256(key, counter2) ⊕ (plaintext2 with plaintext2 sha1 hash)
ciphertext3 = hmac-sha256(key ,counter3) ⊕ (plaintext3 with plaintext3 sha1 hash)
.
.
.
Note: counterN is increasing while (plaintextN with plaintextN sha1... |
I am building a cryptographic El Gamal implementation on the Cardano Blockchain for a poker game. Each hand the players generate a DH 64 bit keys and shuffle the cards together via homomorphic encryption and some non interactive zero knowledge proof. Now due to the limits of the size of a transaction the safe primes fo... |
A limitation digital signatures is that for a given signature σ of a message m corresponding to a public key pk, an adversary could generate a pk', sk' that produces a signature σ' for m, such that σ' = σ. How can we create a signing function and verification function that is resistant to this attack?
|
I'm trying to prove that the following two definitions are equivalent:
$\forall m\in M $ and $c\in C$ $\Pr[C=c \mid M=m]=\Pr[C=c]$
$\forall m_1,m_2 \in M $, $E_k(m_1)=E_k(m_2)$, where $E_k(m_i)$ stands for the distribution over $k$ of the encrypted message $m_i$.
First - just to make sure, I am indeed supposed to s... |
I'm a complete noob. I was reading up on hash functions. So if a bank has its user password's run through a hash function, it'll produce a unique hash for every password right? Thus, even if hackers are able to get their hands on some data, they'll only have the hashes and not the original passwords.
But I also read th... |
I'm following a course that speaks about cryptography. In this course we talked about Min-Entropy ($H_{\infty}$) and Extractor. To show that an extractor $Ext:\{0,1\}^n \rightarrow \{0,1\}^l$ that outputs an uniformly random string doesn't exist if $H_{\infty} < n$ we take the special case $\ell=1$.
But I don't well un... |
According to the literature (https://en.wikipedia.org/wiki/Garbled_circuit), Oblivious Transfer allows a party A holding a function $f$ and a party B holding a index i to jointly compute the value $f(i)$ while keeping the privacy of $f$ and $i$.
In my opinions, OT is enough for archiving the cryptographic functionality... |
I'm looking at D.3.2 Verifiably Random Base Points of NIST SP 800-186. Looks like step 5 is there to ensure that $hashlen > bitLen(q)+1$ and (potentially) discard big $e$, so $t$ is distributed properly. However, the generation method won't work in if $hashlen < bitLen(q)$ (say SHA256 and Curve448). Is there any way to... |
I want to understand the limits of modulus switching in BFV.
Lets assume $q$ represents ciphertext modulus and $t$ represents plaintext modulus.
$q$ is set to a $60$ bit value and $t$ is set to $20$ bits value.
Now we are given a BFV ciphertext $c$ based on above parameter choices.
Also assume that due to holomorphic o... |
In Shoup's proof of the hardness of discrete log in the generic group in this paper, he mentions that:
At any step in the game, the algorithm has computed a list $F_1,\dots,F_k$ of linear polynomials in $Z/p^t[X]$ along with a list of values $z_1,\dots,z_k$ in $Z/s$, and a list $\sigma_1,\dots,\sigma_k$ of distinct va... |
Im building a backend for webapp(s), so that we can sell tickets for our events. The events ranges from 100-700 guests.
We sell tickets online and we would like to be able to scan the tickets at the entrance. This is done via a Barcode-128. But in the case it is not possible to scan the code, one should be able to type... |
I would like to get a correct understanding of the padding mechanism used in onion routing. The following is taken from the original paper of onion routing[https://www.onion-router.net/Publications/IH-1996.pdf].
Notice that at each hop the onion shrinks as a layer is peeled off. To
avoid compromised nodes inferring ro... |
In my cryptography course our teacher said that solving the discrete logarithm problem in a group of order $2^e$ is easy, and he gave us the following algorithm:
Let $G$ be a cyclic group with $|G|=2^e$ and $g\in G$ a generator. The following algorithm computes $x$ such that $h=g^x$:
Precomputation: $g^{-1}=g^{n-1}$.
... |
I'm going to use NTRU as post-quantum public-key encryption algo in my project.
I've googled attacks on NTRU and found a lot of them
but since I'm new to NTRU and don't understand the math used, and could not conclude whether NTRU is still secure, if yes which parameter sets are secure?
For 256bit security, I found EES... |
I'm solving a kernel ridge regression through a federated learning way.
Equation to solve the kernel ridge regerssion is dot((K+lambdaI)^-1,y).
So the aggregator of the problem knows the matrix A=(K+lambdaI)^-1.
But it cannot know the value of the labels y. So my idea was to encrypt the vector of labels y and apply inn... |
I am trying to understand the basic ingredients needed to conduct various types of cryptanalytical attacks.
For instance, I understand that for Ciphertext-Only Attacks (COA) an attacker only has access to ciphertext.
With Known Plaintext Attacks (KPA), attackers have some ciphertext and possess or deduce with reasonabl... |
If the LUKS header is removed from the LUKS partition, will this make the brute-force attack much more difficult? Can software tell which type of partition is it?
|
Help me please.
Consider specific primes $p = x^{d} + 1$ and $q = x^{e} + 1$ for some $x, d, e \in \mathbb{N}$. Can their product $n = pq$ be factorized faster than the product of general primes ? In other words, is there a factorization algorithm that is more suitable for such $p$, $q$ than the state-of-the-art algori... |
Are the methodologies (hard problems being used to secure the encryption) in post-quantum algorithms inherently slower than what we have right now? If not, why weren't they used initially?
|
I am confused on the definition of GAP SVP. The problem states that for a fixed $\gamma \geq 1$, given a basis $B$ of a lattice and a $d>0$, GAPSVP asks to determine if $\lambda\leq d$ or $\lambda > \gamma d$. My confusion is that what if $d<\lambda\leq \gamma d$? What would be the answer of GAP SVP then? I read from M... |
Recently, I've had an exchange with Lorenz Panny about Xifrat. He says, that the quasigroup that I use can be linearized and then attacked, and he provided a script that linearized the quasigroup. His result is as follow:
f:
2 0 4 3 5 7 1 6
1 5 3 4 0 6 2 7
7 4 0 5 3 2 6 1
0 2 7 6 1 4 5 3
3 6 1 2 7 5 4 0
6 3 5 0 4 1 7 2... |
I need to parameterize some PRNG, let's assume I need 32-bit numbers. But when numbers doesn't look very random it gives bad results. The creators of SplitMix had similar problem (note that from what I understand they didn't solve it right):
https://www.pcg-random.org/posts/bugs-in-splitmix.html
So I need a function wh... |
Let's suppose I want to generate a 2048-bit key from a hash function with security up to 512-bits (such as Blake2b).
I take 4 high-resolution photos, hash them with a hash output length of 512-bits and concatenate all the hashes generating a 256-byte (2048-bits) key.
Will this scheme safely generate a key with real sec... |
There are similar questions about secret S-box(es), but none of them about secret Blowfish (or any other canonical Feistel cipher) S-Boxes, only about secret AES S-Box.
Let's suppose that instead of using Pi hexadecimal number in Blowfish S-Boxes, I use my own S-Box taken from /dev/random and keep it secret.
Blowfish m... |
Let $g\in G$ and $h\in H$ be two group generators. Given a list L of m group elements, where $L=(L_1,...,L_m)$, a prover wants to convince a public verifier (namely, a verifier who only has public input) that one element $L_i$ in the list $L$ (without revealing i) can be produced from a public element $ u =u_i$ (where... |
For my project I used Henon map to generate (pseudo)-random number. I used the following code to generate the matrix of (pseudo)-random number.
def generate_by_henonmap(dimension, key):
x = key[0]
y = key[1]
# Total Number of bitSequence produced
sequenceSize = dimension * dimension * 8
bitSequence ... |
I'm new to this. Please be kind. I have a theoretical question that I would like sanity checked:
Bob and Alice are doing RSA signing without a hash function -- just putting a message in, and getting a signature out.
The messages Bob and Alice are sending each other are random numbers.
Without a hash function involved a... |
Until recently, I only knew about SMPC* and FHE, but now I just encountered the term NISMPC. I was wondering what is their difference and what is their difference in their use cases?
Sometimes in bibliography, SMPC is referred to just as MPC referring to the same thing.
|
Let's suppose I take a data block of 64-bits and use it as an entry in a (big) S-box, and keep the S-box secret. S-box would be the "key". For "decryption" I just enter the result of this operation in the S-box again to get the "plaintext"
For making all the blocks different each other in a sequence of them I would use... |
My understanding of the Even-Mansour cipher is the following:
We draw a random permutation $P$ from the set of all permutation $P: \{0,1\}^n \rightarrow \{0,1\}^n$. This permutation is public.
We generate two random keys $k_1, k_2 \in \{0,1\}^n$.
To encrypt a message $m \in \{0,1\}^n$, we compute $E_{k_1, k_2} = P(m \... |
-RFC4880 refer to DRBG at https://www.rfc-editor.org/rfc/rfc4880#section-16.2
-Could we apply other PRNG such as enocoro/photon for pgp?
|
During my research on a java application, I discovered that the nextInt(64) function of the java.Random() class is used to generate the encryption key.
The key size is 16 bytes. I know that this generator is not recommended because it is vulnerable. Especially in this case, the value of each byte of the key is selected... |
In Distributed Key Generation(DKG), why is there a need to actually create a master secret which can then derive into a single public and private keypair(for signatures) and a secret key(encryption)?
I would like experts here to explain to me (explain in a layman's way) because it seems to me that having a master secre... |
I perform the following commands because I need to decrypt a file -encryption key file- (which is longer than module):
cat key.enc | base64 -d > encryptedrawfile.txt
openssl rsautl -decrypt -inkey privkey.pem -in encryptedrawfile.txt -out key.txt
I obtain the following key.txt: ’àÝ g ™`çïrM¡.€:
Now I need to use encryp... |
I am a last-year master student in pure mathematics and I am working on my thesis. I am working on a connection between lattice-based encryption and Ring LWE and between Ring LWE and Homomorphic encryption. For the second part, I manage to find an appropriate paper to provide me with some information. However, with th... |
After some google research, I have found out the IV used in AES 256 bit encryption must be a 128 bit key.
My AES256 encryption is processed with key of random 256 bit key and IV generated of text string.
I am thinking about MD5 to generate such key, but MD5 seems outdated.
So Should it be okay if I use SHA256 generate ... |
What are the main differences between the Fast Fourier Transform (FFT) and the Number Theoretical Transform (NTT)?
Why do we use the NTT and not the FFT in cryptographic applications?
Which one is a generalization of the other?
|
Answers to question RSA key length vs. Shor's algorithm suggest that e.g. 2048 bit RSA encryption would be trivially broken with 4099 qubit quantum computer using Shor's algorithm (best known implementation of the algorithm requiring 2n+3 qubits).
Is this really true? If I've understood correctly, the number of gates (... |
I'm dealing with Galois fields $GF(2^{8})$ and need help finding a
polynomial $r^{-1}(x)$ such that $r^{-1}(x) r(x) \equiv 1 \mod m(x)$, where:
$m(x) = x^{8} + x^{4} + x^{3} + x + 1$
$r(x) = u(x) - q(x) \cdot m(x)$
$u(x) = s(x) \cdot t(x)$
$s(x) = x^{7} + x^{5} + x^{4} + x$
$t(x) = x^{4} + x^{2} + 1$
Thus:
$u(x) = ... |
Let $\{0,1\}^*$ be the set of finite $\{0,1\}$-strings. Then SHA512 can be viewed as a map $s: \{0,1\}^*\to \{0,1\}^{512}$.
The pidgeonhole principle implies that there is $y\in \{0,1\}^{512}$ such that $s^{-1}(\{y\})$ is infinite.
Is there $y\in\{0,1\}^{512}$ with $\emptyset \neq s^{-1}(\{y\})$ and $s^{-1}(\{y\})$ is ... |
In an edit to an answer by user forest, it was mentioned that there has been a new attack developed for lattice-based cryptography. I thought lattice-based cryptography is a fairly well established way of providing quantum-computing-proof security, and that the only thing left to do is developed a standardised system a... |
If A has a certificate issued by a CA_X, certainly A should have the private key of
the certificate. My question is, does A generate the private key by itself, or , the
private key is generated by CA_X, and somehow is sent by the CA_X to A?
|
Here is the use case: A uses B's public key to encrypt a message and sent it to B. In later stages, a new member C joins and B would like to let C be able to see this encrypted message (i.e., give the decryption ability to C) without sharing his/her private key or letting A encrypt the message again using C's public ke... |
I'm studying Impossible Differential Cryptanalysis of SPECK paper and I'm having trouble understanding the differential diffusion property of addition in page 19 which is as follows:
can someone explain what that property means or what symbol k|∆x[K] means?
|
I am searching for a scheme supporting group signatures and at the same time permitting the blinding of the message-signature pair. Let me explain.
There is a certification scheme proposed by Verheul: if we have message that is a public key, say $\texttt{pk}(A)$, and a signature $\texttt{sig}(\texttt{pk}(A), s)$ made w... |
Suppose we are working with a cipher with the same general structure as AES.
I want to attack the cipher in the following way: suppose that the differential holds only for the first round (much higher probability than wanting it to hold for all rounds from the first to the penultimate), recover the first subkey, then p... |
I was just thinking about this and couldn't seem to find anything on it online.
So the idea I had was this:
Generating a random key of some length. Then hashing this key with SHA256 (or something of similar security), then looping through each byte of the hash and each byte of the text and doing an XOR operation with b... |
I was reading Kipnis' and Shamir's paper on Cryptanalysis of the HFE Public Key Cryptosystem by Relinearisation and I wanted to implement the example at the end in Octave without using any additional packages (e.g symbolic ...). I would like to create an algorithm that solves systems of linear equations over finite fie... |
I am building a encrypted messaging app over tor network and currently I'm struggling on using tor generated ed25519 private key to sign and verify any message.
Below piece of code works with a 32 bytes key however after skipping 32 header bytes of hs_ed25519_secret_key it fails to verify the signature on below cases:
... |
To be more precise, in the books I sometimes see that they just require you that the order of your elliptic curve is $|E| = fr$, where $f$ is some small integer with possible factors, but $r$ is a large prime. I know that this is ok when working with ECC since, for example, the ECDLP is as hard as the largest prime ord... |
In a public key system, Alice sends Bob separate messages telling him information about the time T and place P they would meet, encrypted with Bob's public key. What is the most secured protocol:
A --> B : {T},{P}
or
A --> B : {T,P}
?
In other words, which one is most secure: sending separate messages with different ... |
Suppose I have a 32 bit CRC function $\text{crc32}(x)$ that satisfies all the properties of a CRC. Suppose also that I am a lazy developer who wants to create a 64 bit CRC function but doesn't want to actually have to implement another CRC, so I design a function
$$ f(x)= \text{crc32}( {\tt{"}\tt{foo}\tt{"}}\ ||\ x ) \... |
I am doing an independent research in cryptography. I have designed a post-quantum secure pseudo random function.
Just constructing a PRF will not help me to publish in reputed journals. I was thinking to use the PRF I designed as a building block to build some other primitive?
Can someone suggest me something? In whic... |
I have been studying Wieschebrink paper "Cryptanalysis of the Niederreiter Public Key Scheme Based on GRS Codes". In the paper a cryptosystem using GRS codes is exhibited with an attack proposed to the cryptosystem, this one being the Sidelnikov-Shestakov attack (well, actually a reformulation from the original one tha... |
I have an existing RSA key pair, how to 'derive' a different key pair based on the existing one so that the encryption decryption functionality remains but the original key isn't interchangeable with the 'modified'/'derived' key?
|
I am using the NIST SP 800-22 to evaluate the performance of the Random Number Generator.
NIST SP 800-22 has a total of 15 tests. In each test, it has a recommendation for the size of the tested sequence.
For example, in the Discrete Fourier Transform (Spectral) Test :
"It is recommended that each sequence to be teste... |
I have a string $S$ of length (say) 34, that I know the first (say) 24 bytes of, but not the last 10. I also have the 10-byte error correcting code $RS_{44,34}(S)$ in full. Do I have any hope of recovering $S$?
The amount of information of $S$ that I'm missing far exceeds the theoretical guarantee of Reed-Solomon (whic... |
Page 33 of The Algorithmic Foundations of Differential Privacy gives two examples where a composition of mechanisms can be viewed as a vector-values output, histograms, and fixed counting queries, where the privacy bound can be analyzed by considering the sensitivity of the vector-valued output.
I was wondering about a... |
Blowfish splits a 32-bit word into 4 bytes and insert each byte as an entry in a S-box.
Let's suppose I do the same but with an entire word, 32 or 64-bits. MARS block cipher does the same with 32-bit words.
Does it consume the same cycles per byte as inserting a single byte?
|
A rule 30 cellular automaton produces chaotic output from a very simple rule and therefore can be used as a pseudo-random generator (but not a cryptographically secure one).
One of the problems is that there are "black holes", for instance the constant 0 bit-vector gets mapped to itself, and the constant 1 vector gets ... |
Consider the problem of distinguishing between polynomially many samples of either
\begin{equation}
(x, b, As + e) ~~\text{or}~~\left(x, b, ~Ax + b\cdot(As + e) + e'\right).
\end{equation}
Here, $A$ is a public matrix and $s$ is a secret vector chosen uniformly at random. $e$ and $e'$ are Gaussian errors. $x$ and $b$ ... |
In the dual lattice attack of Espitau, Joux and Kharchenko (On a dual/hybrid approach to small secret LWE), the authors propose distinguishing (and subsequently recovering secret values) of LWE samples $(A,\mathbf b)=(A,A\mathbf s+\mathbf e)$ by finding dual vectors $(\mathbf x^T|\mathbf y^T)$ such that components of t... |
For the following cipher, what is the probability of someone without the private key generating a valid public key, using only information from a list of $k$ public keys previously generated with the private key?
This is the cipher:
To generate the private encryption key, $Y$: Let $X$ be an $n$ by $i$ matrix of random ... |
I'm looking at the FIPS-186 standard. On page 88, it gives a table recommending the size of the base field for the elliptic curve versus the order $n$ of a point on the curve. The numbers don't seem to make sense. For example it says if the bit length of $n$ is between $161$ and $223$, then the bit length of the ambien... |
I'm trying to find a Feistel cipher in which the subkeys are constructed badly so that a meet in the middle attack will compromise its security. I thought about trying out a cipher where all the subkeys are equal but that didn't really lead to anything. I know that in general you want ciphers to not be linear in their ... |
This problem appeared in a past exam paper.
In PAKE (password authenticated key exchange) protocols, $A$ and $B$ authenticate each
other by knowledge of a shared password that is too weak to allow an attacker to try out
repeated guesses to try to find it by knowing how a single message of the protocol was
constructed. ... |
Can I decrypt ciphertext from AES-CBC encryption, if I have the key and ciphertext only?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.