instruction stringlengths 32 27.2k |
|---|
I am reading this explanation of zkSnark written by Maksym Petkus - http://www.petkus.info/papers/WhyAndHowZkSnarkWorks.pdf
The example used here is that there is a polynomial of degree 3 which the verifier knows has roots 1 & 2.
The whole polynomial is $p(x)$
The target polynomial $t(x) = (x-1)(x-2)$.
The 3rd root ... |
A fast alternative to conventional multiplication is the carry-less product. It works exactly in the same way as the multiplication on the countable set of binary polynomials $\mathbb{Z}_2[x]$. We can identify any non-negative integer with a binary polynomial using the integer's binary representation (e.g. $13_{10} = 1... |
What are the time and space complexity of the AES S-boxes? Could someone please explain how these are determined?
|
Let's say I have a master key and want to use it to derive new keys to use for encryption, using HKDF. I'm a bit confused regarding the use of salt though. I have seen other posts about it here but I still don't fully understand when/if I should use it.
Scenario:
A creates a MasterKey and shares it with B, C, D. A deri... |
Assuming the alphabet of capital letters, if an affine linear cipher $v\to Av+b \bmod 26$ with block length $3$ maps plaintext ENCRYPTAGAIN to ciphertext BLOCKCIPHERS, what are $A$ and $v$?
I referred a paper, there it is given as like this, *As an example, suppose we want to take our block-length to be 4. This means t... |
I am reading this explanation of zkSnarks written by Maksym Petkus - https://arxiv.org/pdf/1906.07221.pdf
In section 4.5, the pdf explains how to represent the following operations
$a$ x $b = r1$
$r1$ x $c = r2$
as $l(x)r(x) - o(x)$ where $l(x)$ is the left operand polynomial, $r(x)$ is the right operand polynomial... |
As I understand it from web conference hearsay, the Kyber and Saber entries to the NIST post quantum cryptography competition have been subject to a patent claim from the CNRS. The creators of the schemes wanted their cryptosystems to be public domain and opposed the legal claims based on mathematical grounds, which wa... |
Consider a pairing $\mathbb{e}: \mathbb{G}_1\times \mathbb{G}_2\longrightarrow \mathbb{G}_T$ with generators $g_1$, $g_2$ for $\mathbb{G}_1$, $\mathbb{G}_2$ respectively. The groups $\mathbb{G}_1$, $\mathbb{G}_2$, $\mathbb{G}_T$ are of some prime order $p$.
For a trapdoor $s$, let $[g_1,g_1^s,\cdots,g_1^{s^N}], [g_2,g_... |
I just designed my own padding function and came up with a potential problem that could harm the security of encryption. After I fixed that flaw, I found out that the PKCS7 standard padding should be also vulnerable to a known-plaintext attack. Please correct me if I am wrong at any point.
PKCS7 is filling each padded ... |
My question is kind of related to this topic: Can we prove possession of an AES-256 key without showing it?
But I couldn't figure out how to apply it to my problem.
Description:
Lets say I have a hardware chip, and I want to prove it has not been copied. The chip can store a AES-128 key and can do some encryption with ... |
I try to understand invalid curve attack and small subgroup attack.
The lower 3 bits of a ed25519 private key are cleared to be a multiple by 8.
So an attacker is unable to gain any information using a public key of a smaller subgroup or on a invalid curve.
Does this mean a check that a public key is on the curve befor... |
I'm having difficulty decrypting a secret message as a part of a CTF and I was wondering how could I decrypt an encrypted text that has been encrypted with pycrypto RC4 and when the first 8 characters of the plain text secret are know. Here is the secret that is in the code:
secret = b'Sff3az11oTAChXcnaCvx2i/P7pZWLMPWX... |
I read the Argon2 specification.
It says in 3.1 (Page #5):
Secret value K (serves as key if necessary, but we do not assume any key use by default) may have any length from $0$ to $2^{32}\text{-}1$ bytes.
Let's suppose I want to convert Argon2 into a block encipherment, I provide an 8192-bit key (1024 bytes) and provid... |
Is the following problem a known cryptographic problem?
Find algorithms for functions $f$ and $g$, such that
$$
f(x, \alpha_{enc}) \rightarrow \beta_{enc}\\
g(x, \alpha_{dec}) \rightarrow \beta_{dec}
$$
where $x$ is some data of $n$ bits, and $(\alpha_{enc}, \alpha_{dec})$ and $(\beta_{enc}, \beta_{dec})$ are (public, ... |
I read it once on a page (I don't remember the link and I coundn't find it) that said about a cascade of AES with two 256-bits keys and that it provides 384-bits of security. Maybe not 512-bits of strength because of AES-256 block size of 128-bits.
This left me doubts.
Let's suppose I encrypt something two times using ... |
I'm writing an application where both encryption/decryption and signing/verification are needed, and I choose X25519 as a key agreement algorithm which will produce a key for encryption, and ECDSA to sign messages.
Key generation: I generate a curve25519 private key from a mnemonic (so I have kind of a random 32 bytes ... |
I can see what I think should be the public key in the Details tab for StackOverflow's certificate (see screenshot below).
However, it is 2160 (num of chars (540) multiplied by 4 = 2160) bits long, not 2048 as it specifies.
When I view the certificate details using openssl in cmd, I can see a smaller version of the pub... |
I'm building a small library for Schnorr Signatures and the Oracle DLC, the key passage is:
s_i G = R - h(i, R)V
R = k G; G generator, k a nonce
h(i, R) is the hash of the message i (i is one of the outputs that will be signed by
the Oracle)
V is the public key of the Oracle (= v G)
The "add" and "multiply" operation... |
dm-crypt in Linux uses 512-byte blocks (disk sectors) having sub-blocks of encrypted plaintext for block cipher modes that are non-parallelizable:
"With the usual modes in cryptsetup (CBC, ESSIV, XTS), you can get a completely changed 512 byte block for a bit error. A corrupt block causes a lot more havoc than the occ... |
Let's suppose I take a cipher with key size equal to the block size (Threefish).
I XOR a random block in the ciphertext, encrypt with a key, XOR another random block, encrypt again with another key and XOR a third random block. It would be XOR->Encrypt->XOR->Encrypt->XOR.
/\ Is this scheme vulnerable to Meet-in-the-mid... |
I'm referencing RFC-6090 for a hobbyist implementation of elliptic-curve cryptography.
I've opted for an exception-free (the answer pointed me to this paper) formula for point addition and thought - I only use point doubling with generator points and validated public keys, I can do with an efficient but not-very-versat... |
I've exported the root CA cert (ISRG Root X1) used by StackOverflow's digital certificate, as a DER encoded binary X.509 (.cer) file and used openssl in cmd to find out the modulus/exponent:
openssl.exe x509 -in C:\Cert.cer -inform der -text
I then did the same thing for the next certificate in the chain which is cal... |
let $(\mathbb{G},q,p)$ be a group $\mathbb{G}$ with prime order $q$ and generator $g$. Assume that CDH is hard relative to this setup (Namely, given $(g,g^a,g^b)$, it is hard to find $g^{ab}$).
Now consider the following: for a probabilistic-polynomial time adversary $\mathcal{A}$, and given $(\mathbb{G},q,p)$, choose ... |
Is it possible to have a homomorphic mapping from $F_{p^n}$ to ${\mathbb Z}_{p^n}$ that preserves both the add and multiplication operators?
Or if we relax requirement, can we have a homomorphic mapping from the multiplicative
group $F_{p^n}^*$ to ${\mathbb Z}_{p^n}^*$ which preserves multiplication?
|
I was wondering where did affine cipher get its name from. I am curious to know its origin and how it is related to the cipher. The Affine Transformation page on Wikipedia states:
In Euclidean geometry, an affine transformation, or an affinity (from
the Latin, affinis, "connected with"), is a geometric transformation
... |
I have a question about how RSADP/RSAEP are defined (in RFC2437 https://datatracker.ietf.org/doc/html/rfc2437#section-5.1.2):
RSADP (and RSAEP) are described with the same limits for the message (m) and ciphertext (c), namely 0 <= m < n. In this case the modular exponentiation primitive assumes padding has already occ... |
I am trying to understand the benefits of using blockchain technology in document certifications such as university diplomas. I would like to know the difference between digital certification and blockchain certification. To be more specific, the digital certification that I am considering works as follows. A trusted c... |
I have an arbitrary string. I want to know how to implement a hash function $H: \{0,1\}^* \to \mathbb F_q^n$ which takes arbitrary strings to an element of $\mathbb{F}_q^n$. Here $\mathbb{F}_q$ denotes the finite field of order $q$.
Edit: $q=256$
Edit 2: $\mathbb F_q^n$ simply means $n$ dimensional vector space over $\... |
do you know anyone who works in finance/banking who knows about encryption of financial documents? This is for an academic research paper, whereby I would be interested to research further information about encryption that was used in financial documents i.e. before David Chaum's blind signature research that developed... |
Can we assume without loss of generality that the verifier for non-interactive zero-knowledge proofs in the common reference string model is deterministic, or does random randomization add extra power?
|
Let $f : \mathcal{U}_{2\lambda} \to \mathcal{U}_{2\lambda}$ be a OWF, and $G : \mathcal{U}_{\lambda} \to \mathcal{U}_{2\lambda}$ be a PRG with $\lambda$-bit stretch. Establish whether the following function $f' : \mathcal{U}_{\lambda} \to \mathcal{U}_{2\lambda}$ is one-way or not:
\begin{equation*}
f'(x) = f(G(x) \... |
FIPS 140-2 is a standard which handles cryptographic modules and the ones that organizations use to encrypt data-at-rest and data-in-motion. FIPS 140-2 has 4 levels of security, with level 1 being the least secure, and level 4 being the most secure.
Google Cloud has a lower level (level 3) compared to IBM Cloud (level ... |
I found there are two perplexing and related concept "Collision Resistance" and "Computation Binding in Commitment" in cryptography.
I found the wikipedia's explanation is confusing. And no resources clarify their difference
Especially, I found I can't differentiate the two concepts' common ideas which is given certain... |
The PRP/PRF switching lemma is usually denoted as follows:
I understand the proof of this version of the bound $\frac{q(q-1)}{2^{n+1}}$ and the game-playing technique behind it.
However, I came across a different version of this lemma recently, which is used more often in papers. It is denoted as follows:
This versio... |
Using
montgomeryX = (edwardsY + 1)*inverse(1 - edwardsY) mod p
it is possible to transport an Edwards curve point (Ed25519 public key) to the Montgomery curve. Does it have any side effects if the Ed25519 public key is not valid, in case of a small subgroup or invalid curve attack for example?
And if yes, what would b... |
Is AES GCM without GMAC vulnerable against bit-flip attacks? Let's assume the plaintext is known for some reason (e.g. it can be guessed). In my opinion, I can flip bits in the ciphered blocks and can so generate a plaintext, which is flipped at the same position. So it would be easy to change 0x01 to 0x00 in the plain... |
I'm aware we can quantify privacy with ε-differential privacy (ε-DP). But when we apply DP, how do we actually select the value for ε ? Are there some rule-of-thumbs? Is it decided case-by-case basis? In general, how do we decide we've enough privacy when using some algorithm that satisfies ε-DP definition?
|
I considered Extendable-Output Function (XOF) with a random seed but it seems I would have to specify the output length at the start and store the entire output. I don't know how many bytes I will need in advance, and I don't want to store a very long string.
I also considered some ad-hoc stateful construction using XO... |
Outside of professional carrier, I often stumble upon a need for a unique password for exp. for local database, game server, or on tons of, not so important, websites.
I came up with an idea to write a deterministic password generator for myself, which takes a tuple:
master password
header for exp. just a word "pinter... |
I have read some PIR papers, but I find the related discuss of PIR framework was in 7 years ago.
So could somebody tell me,what is the mainstream PIR method in industry now?
|
To my best knowledge, the Goldreich's pseudorandom generator (PRG) with locality 5 has been considered as one of standard assumptions.
On the other hand, Lin and Tessaro (Crypto'17) provides a new notion, called the block-wise locality PRG. As I know, block-wise locality 2 PRG was broken, but block-wise locality 3 PRG ... |
I'm trying to figure out exactly how solving different generic lattice problems can solve LWE, and in particular, BDD. Everything I've found says that since an LWE sample is $(A,b=As+e\mod q$), then the lattice $L_q(A)=\{v : \exists x:Ax=v\mod q\}$ contains $As$, so $b$ is within distance $\Vert e\Vert$ of that lattice... |
For the chronological categorisation of cryptography, I have proceeded as follows:
Cryptography by hand (e.g. Caesar, Vigenére, etc., till around 1900/1920)
Cryptography using machines (e.g. Enigma, TypeX, etc., till around 1960)
Computational Cryptography (e.g. DES, AES, RSA, etc.)
The Future of Cryptography (e.g. Qu... |
When exchanging a public key I usually receive some compressed form of X,Y coordinates. To use some speed ups I'd need to represent that in the Jacobean x,y,z form.
Z=1 satisfies everything and looking at the speed ups (https://en.wikibooks.org/wiki/Cryptography/Prime_Curve/Jacobian_Coordinates, http://www.hyperellipti... |
As I understand it, RSA works as follows:
Pick two large primes $p$ and $q$
Compute $n = p \cdot q$
The associated group $\mathbb{Z}^*_n$ consists of all integers in the range $[1, n - 1]$ that are coprime to $n$ and will have $\phi(n) = (p-1)(q-1)$ elements
Select the public exponent $e$, which must be coprime to $\p... |
I have been reading the Hasty Pudding Cipher specification and the author make clear that the cipher has some equivalent keys if the keyspace is larger than 8192-bits:
Two keys are equivalent if they expand to the same key-expansion
table. The likelihood is negligible for keys of size < 1/2 the
key-expansion table siz... |
The protocol SRTP uses by default AES in CTR mode with HMAC-SHA1.
For my thesis I want to research if GCM would be a better option.
Therefore I read following discussion.
There the answer was that GCM mode is better among other things because GCM just needs one key for encryption and message authentication and CTR+SHA1... |
It's not clear from the documentation if the sequence of integers produced by these PRNGs belongs to the uniform distribution.
Also it's look like there is a whole family of RNG algorithms called in a similar manner. Personally I'm mostly interested in xoshiro256** - but no information about distribution uniformity as ... |
I have performed the XOR and the result comes as 1001.
Now my confusion is that in standard S-Box (DES) the input is 6 bit where the first and last bit together specifies row and 4-middle bits column. Even if I append two zeros on the left making the XOR result 001001, then row 01 does not exist in the problem. If I d... |
I recently learned of the McCallum-Relyea exchange which allows for a method of key escrow without actually transmitting the key.
It was developed at RedHat and is used by the tang and clevis utilities (and further described here) to allow for automated decryption, in particular for an encrypted root partition for Linu... |
In a public-key system using rsa, you intercept the ciphertext c = 15 sent to a user whose public key is e = 5, n = 35. What is the plaintext m?
In my calculations m=15. But i dont think my calculations are correct
|
Are there any security concerns with using RSA in “CBC mode”?
Specifically: if I use RSA encryption as my block cipher operation, and apply the standard CBC mode operations including a random IV, will the resulting cipher text provide the same level of theoretical security as the underlying RSA problem?
I am only consi... |
These days I found myself thinking about the implications of padding or not padding block cipher modes that act like additive stream ciphers (I meant OFB, CTR, GCM etc). Let's call additive modes.
You know, people hooked on crypto tend to be I little bit paranoid... Well, at some point in my ruminations about the pros ... |
I have a string that generates from SHA-256
x = fea5f97f9ca1e1a0a2ae344f4e12a3ab0c4d9221e6bb5d70bc567e39f8fbc3d5
What's are the first 10 bits are of the value of x?
|
I don't quite understand hashing, for encryption or otherwise.
So, if you have a website, and a user signs up, you store his password as a hash.
When they log in, your website takes the submitted password, hashes it, and compares hashed submission to the stored hash, right?
Say you are hashing a sentence using SHA-256,... |
This from the manuscript of a book on Zero Knowledge Proofs - https://people.cs.georgetown.edu/jthaler/ProofsArgsAndZK.pdf
3.5 Low Degree and Multilinear Extensions Let $\mathbb F$ be any finite field, and let $f : \{0, 1\}^v \rightarrow \mathbb F$ be any
function mapping the v-dimensional Boolean hypercube to $\mat... |
I was studying a protocol that used an OT and suddenly and suddenly I realize that I fail to imagine how a protocol using an OT could be malicious secure.
Suppose we have a protocol P that use an OT as subrotocol. Suppose that the OT is used $N$ times. Each OT has input $x_{0,i}$, $x_{1,i}$, where $i$ denotes the $i-$t... |
I'm doing a performance test on AES with CTR mode and HMAC SHA1 for message authentication and found the openssl speed tool for that.
I run multiple tests with openssl speed -evp sha1 aes-128-ctr aes-128-gcm because I want to compare it to the GCM mode which do encryption and message authentication in a single mode.
No... |
So here I am, googling my brain on the possibilities of impersonation attempts by a MITM attacker on Lamport's one-time password scheme.
Here's my scenario:
Say we have a client and server setup. Given a nonce $n$, and a hash function $h()$, a client computes the hash of $n$ several times (say $100$) and sends at first... |
I am a total newbie to cryptography and I would like to know the meaning of a "uniform n-bit string". Also, why keys of that type are commonly used in private-key encryption?
Thanks!
|
I'm looking for an elegant solution to the might-seem-trivial problem of looking up for specific value in a known set of values without disclosing what value we look for. Let me describe it in a classical way:
Alice will soon celebrate her birthday and she wants to know if anyone in her class has the birthday on the sa... |
Trying to implement a mechanism for one way transmission of encrypted string values using ECC.
Assume there is a fixed secret unavailable private key FPK, and public key FP for it is available to the application.
As user enters a value, a new private key is generated, then shared key is produced from exchanging it fro... |
I got the following question and I really don‘t know how to answer them. My I ask you for your input?
Do you think, that the following adjusted Padding will prevent the classic Bleichenbacher attack
2Byte Random prefix | Random padding bytes unequal 0xff | 0xff | PremasterSecret
In theory I would agree (at least for th... |
How can we analyze the time and space complexity of meet and middle attack on a Triple-DES?
|
Suppose you are given $DES_k(m)$ for some unknown $k$ and $m$, where DES() is the usual DES scheme. With what probability can you predict, for example, the 12-th bit in the output of $DES_{\bar{k}}(\bar{m})$. Here $\bar{m} (resp. \bar{k})$ denotes the bitwise complement of m (resp. k).
In this question, as we know that... |
Ideal cipher is a random permutation for every key in its key space.
And, ideal encryption scheme is the one which has perfect secrecy/indistinguishability.
For an encryption scheme, random permutation from plain text space to cipher text space seems to be a stronger property and is not always needed
I do not understan... |
The standard DDH assumption states that given $(g,g^a,g^b,g^c)$, it is hard to determine whether $c$ is $ab$ or not.
A variant of DDH assumption is:
given $(g,g^a,g^b,g^c, g^{ab} ,g^{bc},g^{ac})$, it is hard to whether the last three terms are random or not.
Is the variant still secure? If then, how to prove this?
|
Assume $g$ is generator of multiplicative group modulo prime $p$.
Assume we know $g^X\bmod p$ and $g^{XY}\bmod p$ and assume we can have access to a Diffie-Hellman oracle.
Can we find $g^Y\bmod p$ in polynomial time?
If we know how to compute $g^{X^{-1}}\bmod p$ then we can use the oracle to compute $g^Y\bmod P$.
So ... |
Assume that one uses two private keys $x_1$ and $x_2$ to generate two public ECDSA keys $y_1$ and $y_2$ (e.g., used as public key for Bitcoin address). The distance between $x_1$ and $x_2$ is small (e.g., less than ${2^{20}}$).
What's bad about it?
I know that if one breaks $x_1$, it certainly leads to the breaking of ... |
Let’s say person A encrypts a message. Now I want both person A and persons B, C, D – A as a single individual – and B, C, D only as a group, to be able to decrypt the encrypted message. The multiparty decryption process should be designed in a way, that it requires no secret sharing between B, C, D. Also the secret th... |
There exist two EC private keys $x_1$ and $x_2$, where their corresponding public keys on the well-known base point $G$ are $X_1=x_1G$ and $X_2=x_2G$ respectively. The order of the cyclic group generated by $G$ is $\ell$.
Those private keys have been chosen such that the distance $d=|x_1-x_2|\ (mod\ \ell)$ is less than... |
I am currently reading the paper: Efficiency Tradeoffs for Malicious Two-Party
Computation. The paper describes a $k$-leak model and gives an example that leaking 1 bit could turn Yao's garbled circuit from semi-honest resistance to malicious resistance.
At page 14, it says that Alice gives it garbled output to Bob --... |
For ElGamal encryption, safe prime $p$ is used such that $p = 2q+1$. However, can someone explain to me, in simple terms, why we would need, in this context, a large order of $G$ and how it will contribute in making $g^{ab}$ more secure such that $a$ and $b$ could be obtained via solving for discrete logarithm problem.... |
I am reading Fast and Secure Three-party Computation:
The Garbled Circuit Approach
And in the introduction section it said that:
the round complexity of these protocols is proportional to the
circuit-depth of the computation being performed
What does this exactly means?
Why does Yao's garbled circuit does not hav... |
Given a keyed pseudorandom function $f: S \times X \rightarrow Y$, where $S$ is the space of secret keys, $X$ is the input domain, and $Y$ is the range, the pseudorandom property says that given any secret key in $S$ the uniform distribution over $Y$ is indistinguishable from the distribution of $f(X)$.
Am wondering, ... |
1. Scenario
Suppose that we have a source that is generating one random value per, say, minute. So we have random value $x_1$ in $1$st minute, $x_2$ in $2$nd minute, $\ldots$, $x_n$ in the $n$th minute, and so forth.
The distribution of values $x_1, x_2, \ldots$ is not entirely uniform random, but follows the followin... |
I saw a paper said RC6 cipher is weak and weakness cause of using 'SINGLE CLASS OF WEAK KEYS'
What is that mean? and could we solve this problem ?
Thank you.
|
If I have a known plaintext and ciphertext pairs and 2 unknown keys of length 24 bits. (Assume encryption method is unknown)
9acb0442f0c5341e 035a85c5772da926
aa209b8e700e0976 f1849958b47fec38
6cb50b02afd3a30c 4e48ca11ee429960
10cd96722811a558 0a18dd10a6b31c5c
18d2fe904d088f48 f84950f2d18dc4e8
83e4f98dd04ab55f 4dc9a896... |
Let's say I have a text file, and I modify it slightly 20 times, and I encrypt each modification using gpg -c (with the same 20 chars secure password). If the attacker has access to the 20 encrypted versions, is the decryption time lower? In this exact scenario, is the encryption breakable?
|
The following is from BGV paper (https://eprint.iacr.org/2011/277.pdf) p. 12.
$\text{FHE.Add}(pk,\textbf{c}_1,\textbf{c}_2)$: Takes two ciphertexts encrypted under the same $\textbf{s}_j$ (If they are not initially, use $\text{FHE.Refresh}$ (below) to make it so.) Set $\textbf{c}_3\leftarrow \textbf{c}_1+\textbf{c}_2 ... |
I'm trying to understand Mitsuru Matsui's "Linear Cryptanalysis Method for DES Cipher", specifically the attack he describes at the end of section 5, on 5-round DES. I followed the attack on 3 rounds, and here's the math for it:
For 5 rounds of DES, I distilled things so that there's only 4 types of variables:
Plaint... |
Say I have a pair of public and private keys associated with some resource (e.g. a TLS certificate for a website mycoolsite.com). I am free to take those keys and reuse them for a different resource (e.g. for anotherneatsite.net). My question is: is there an efficient way to "tag" the original keys with the data "thi... |
As far as I know it is possible to extract the key or key parts using side channel power analysis attack on AES, but we need some strong attacker model in order to do that. The first attack I know about is attacking the first AES round, comparing the first SBOX outcome, where we need to know the plaintext of our traces... |
I recently studied the multivariate Coppersmith algorithm.
Let $f(x)$ be $n$-variate polynomial over $\mathbb{Z}_p$ for some prime $p$.
Informally, the multivariate Coppersmith's theorem stated that if the assumption ($*$) holds, then one can solve the multivariate Coppersmith's algorithm in polynomial time in some par... |
I require an encryption algorithm that requires two parties with two different keys to be able to decrypt it. I could double AES encrypt, but I am instead considering AES encryption followed by a OTP since 1) I would like to hedge against the unlikely possibility of an AES exploit and 2) as the information being encry... |
If you have to generate a sufficiently long keystream, why would the keystream eventually repeat?
If the keystream repeats does it pose the threat of being decrypted by a hacker? How could one use it to that advantage?
|
Let $C(X)$ denote the cardinality of the set $X$. For example, $C(\{0\}) = 1, C(\{0, 2\}) = 2$ etc.
Let $S$ denote a (potentially infinite) sequence of random bits. Split $S$ into $k$-bit words $w_1, w_2, w_3, \ldots$ For example, if $k = 4$ and $S = 0001111010100100\ldots$, then $w_1 = 0001, w_2 = 1110, w_3 = 1010, \l... |
I am currently reading through Secure Distributed Key Generation For Discrete-Log Based Cryptosystems, which describes a secure variant of the Joint-Feldman protocol. In this paper, in section 2 (Preliminaries), it's stated that the communication model assumes the participants have access to a "dedicated broadcast chan... |
Can someone please explain what exactly is the difference between key exchange protocol and key distribution protocol? I looked on the Internet but it was not clear to me. I would be grateful if somebody could either explain it or direct me to some references.
|
I work for an institution where patient data is collected and I am supposed to encrypt it. At the moment I do the following steps (with R):
Randomly assigning an ID to each patient. The procedure avoids duplicates (using sample(), among others)
Create a salt for each patient (using salt <- bcrypt::gensalt(log_rounds= ... |
The only accumulator that I know is the Merkle tree, which has these asymptotic worst:
Space, non-pruned: $O(n)$.
Time insertion/removal: $O(\log_2 n)$.
Time verification: $O(\log_2 n)$.
My question is: Is there any accumulator whose non-pruned version has an asymptotic worst-space that is cheaper than $O(n)$? e.g.,... |
I am learning about symmetric encryption and its security properties. One of the security notion is security against chosen cipher-text attacks (CCA), particularly IND-CCA notion.
Under this notion, adversary has access to both an encryption oracle and a decryption oracle. The IND-CCA game/experiment imposes an importa... |
In the context of ECDSA , given that i have a message and a private key , i can change value of k and i will get different signature , doesn't that mean i can create infinite signatures and all of those will be valid and that means i can forge a signature right as i can assume that random signature that i guessed for a... |
I am studying the Salsa20 algorithm and I was wondering if you could help me understanding the expansion function. I don´t understand what the Pos or stream position as I have read in other places does, is it meant to randomize the data, similar to the nonce? Any help would be greatly appreciated!
|
I was studying the theoretical attacks on ChaCha cipher here (See section 3).
There is one special attack procedure which require key-IV(Initial Vector) pairs. These key-IV pairs are special in the sense that they produce high bias (minimum difference after one round in the differential attack) so that it is helpful in... |
I've been implementing an asymmetric key exchange for creating a symmetric key.
My question is more of a philosophical/legal one in terms of key-exchange responsibility, and what happens when let's say, a commonly known key is used.
I'd like to set these base variables:
The client has the servers public key hardcoded ... |
I'm reading FIPS 197 (AES) to try and understand how the algorithm works but I don't yet have answer for are these two questions:
I see the 256 byte s-box for substituting during the rounds. Do the values in this 256 byte table get updated or is it a static table for the whole transformation?
In key expansion, I see t... |
I have problems with understanding the advanced composition theorem in DP.
Let I have two approximate-DP mechanisms ($k = 2)$ where each satisfies $(\epsilon = 0.5, \delta = 0.1)$-DP. By basic composition, I know that using two queries sequentially will guarantee $(2 \cdot 0.5, 2 \cdot 0.1) = (1, 0.2)$-DP.
Advanced com... |
Let $E$ be an elliptic curve curve $^2 + xy ≡ ^3+^2+$ (a Weierstrass curve) (in this case, with characteristic 2) over a binary extension field $(2^{m})$ with constructing polynomial $()$ be an irreducible, primitive polynomial over $GF(2)$, and let $P(x_p,y_p)$ be a point on the curve.
I have seen various implementati... |
Suppose Alice encrypts a number which indicates her bid on a contract, using textbook ElGamal encryption (malleable). This encryption of produces a ciphertext pair 1 and 2.
How can Eve modify 1 and 2 to make it a modified value of 2 which is an arbitrary value of ? (eg. 1% more than x)
For a modified message two time... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.