instruction stringlengths 32 27.2k |
|---|
I'm studying up on Merkle Damgård construction for hashing and having some trouble understanding the "padding block", at the end of the message blocks.
When you look it up it says that in the padding block "the message length is encoded in the block". But I'm having some trouble understanding what that actually means.
... |
I'm preparing for a exam in crypto course, and i'm doing some practice problems.
I'm now playing with this problem:
A certain organization tried to modify the Merkle-Damgard construction:
In this construction ∧ is a bit-by-bit and.
The IV is fixed and public in both constructions. Suppose f is a collision r... |
Say I have the Mona Lisa, and I want to stick an RFID tag or similar mechanism on a back corner of the painting to verify this is the real Mona Lisa and any others are forgeries. What mechanism would you use so that an inspector could challenge the tag and verify it is the original tag, and how do you prevent simply c... |
Let's say I have
$p, g$ - known constant, $p$ is prime number, $g$ is composite.
$x$ - unknown random number, $2 < x < p - 1$
$k$ - my input
$S = k^x \bmod p$
$1 < S < p-1$
So, what $k$ should I use to make $S$ predictable? I mean, I want to know exactly what is $S$ equal to.
|
I have to prove some differential privacy in a exercise i'm doing.
I have this table, and problem description:
A research institution publishes study results about political preferences.
In order to preserve privacy of the participants, the results of the study
are output only via the query interface, where count queri... |
Let $x = (x_1, x_2,...,x_n)\in\{0,1\}^n$ for $n\in\mathbb{N}$. Prove that if one-way functions (OWFs) exist, then there exists a one-way function $f$ such that for every bit $i\in[1,n]$ there exists an algorithm $A_i$ such that:
$$\Pr[A_i(f(x)) = x_i] \geq \frac{1}{2} + \frac{1}{2n}$$
I'm having trouble understanding t... |
LBlock is a lightweight block cipher with 64-80 bits block-key size, designed by a group of Chinese scholars. Does anybody have LBlock test vectors?
I am looking for test vectors, which contain the round results.
|
recently I'm trying to use TFHE library for project(https://tfhe.github.io/tfhe/). In order to accelerate the whole program, I use pthread to make multi thread computation. However, I find that the encryption is getting slower with the number of thread increasing. The program is just using bootsSymEncrypt to encrypt ea... |
Is there any known vulnerability or attacks against Curve25519 ?? And pros and cons of using it?
|
This is a super simple probability exercise:
If we have a simple shift/ceasar cipher.
Let's say that there are only three messages encypted.
P ( M = kim) = 0.5
P (M = ann) = 0.2
P (M = boo) = 0.3
What is P(M = ann | C = DQQ)?
So if C = DQQ then I know that M != kim.
therefore:
P(M = ann | C = DQQ) = 0.4
So, I was w... |
Reading https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_(CTR) it looks like CTR (and some other modes) encrypt the nonce (plus count, for CTR) rather than the plaintext.
The plaintext is then XOR'd with the encrypted nonce to produce the ciphertext.
Have I understood this correctly?
Why is it done ... |
Let $x=(x_1,x_2,...x_n)∈\{0,1\}^n$ for $n∈\mathbb N$. Prove that if one-way functions (OWFs) exist, then there exists a one-way function f such that for every bit $i∈[1, n]$ there exists an algorithm $A_i$ such that:
$$\Pr[A_i(f(x))=x_i]≥\frac12+\frac1{2n}$$
I find some information from this post One way function exist... |
I want to find a linearized polynomial as my permutation polynomial in GF(2^n). I know that the only root should be 0. So, is there any way to find such polynomial instead of choosing a random one and checking the roots?
Also, how can I assess this permutation polynomial, i.e. how well it does the permutation?
|
I am testing a privacy mechanism and implementing privacy amplification by subsampling. I am calculating the count aggregate function where the number of participants is known. I am applying a Laplace mechanism as shown below:
DP-count = True count + Laplace ($\frac{\Delta}{\epsilon}$)
The sensitivity depends on the po... |
I am lookin for a good example to illustrate this attack on NTRU using low parameters but I failed to do that, The attack consist to use LLL reduction on A basis of NTRU Lattice, let us use the column convention, how Can I use the first vector to retrieve (f,g)???
|
What's the use of SHA on Non Digital Signature applications?
Why is SHA1 not a risk for Non Digital Signature applications?
What's the difference between Non Digital Signature applications vs. Digital Signature?
|
I undersntand that in Diffie Hellman each party generates a public / private key pair and distributes the public key.
I know that a combined key is created with the sender private key, and the receiver public key.
Is SHA used when the combined key is created?
|
In LWE, the standard deviation satisfies $\alpha p > 2\sqrt{n}$, when we consider the discrete LWE in $\mathbb{Z}_p$, then the rounded Gaussian has standard deviation $\alpha p$. But in RLWE, the error has standard deviation $\sigma = 3.2$, it seems too small on the analogy of LWE.
Is it related to the fact "In RLWE, t... |
Motivation. In their paper about the cryptographic scheme NORX, the authors use a fast approximation of + by bitwise operations (taking fewer CPU cycles than proper addition) using the formula $$a+b \; \approx \; a \oplus b \oplus ((a \land b) \ll 1)$$ where $\oplus$ is bitwise XOR and $\land$ is bitwise AND, and $\ll$... |
In the proof of soundness for the SIDH ZK proof protocol (section 6.2 in DJP11) the authors refer to the "Theorem of the dual isogeny". What do they mean by this?
In particular, I don't understand why it easy to compute $\hat{\psi}$ when using Charles as a black box but not otherwise.
|
I am working on decrypting ciphertext in monoalphabetic substitution algorithm. I tried to decrypt using frequency histogram of English alphabets individually. The percentage of these frequencies can be found here, but the plaintext I got from this was not informative. So I tried searching online and found this website... |
Plain DH key exchange protocol is vulnerable to MitM attack. I checked the SRP (RFC 2945) but did not fully understand why it can help. I thought of a fix to mitigate MitM problem by using a pre-shared key:
Alice and Bob created a shared key via secure channel (face-to-face, off-line etc.), let's call it "psk" (short ... |
NSA recommendation for the pre-quantum period allows the use of RSA-3072 (https://apps.nsa.gov/iaarchive/programs/iad-initiatives/cnsa-suite.cfm), nevertheless, is it safe enough to do it with the above exponent (of $2^{16}+1$), and are there any known vulnerabilities for scheme EMSA-PSS (RFC8017) or for scheme RSAES-P... |
In the simple UC framework paper, there is a brief discussion on session identifiers (sids) on page 13. It states
The main protocol is given a session identifier sid
but it is not entirely clear to me how this happens. I understand that the (S)UC framework requires the sid to be unique and known to all parties.
Can ... |
I'm reading Improved Efficiency for CCA-Secure Cryptosystems Built Using Identity-Based Encryption. In Section 4 there is a description of encapsulation schemes that says
We suggest an encapsulation scheme based on a fixed cryptographic hash function $H : \{0, 1\}^{448} → \{0, 1\}^{128}$ (constructed, e.g., by suitabl... |
EDIT:
According to Gilles's comments and fgrieu's answer below, I would like to summarize what I have learned, and what's still needs explanation:
DHKE is necessary for forward secrecy even when PKI is in use.
Public key may not be used for encryption, which is only possible/guaranteed for RSA cipher. For other syste... |
I'm currently writing a file encryption program, and I designed this scheme to derive a key from user input password:
layer1 = sha256(sha256(...sha256(password ,salt1), salt1), salt1)
I'm repeating the layer1 process about 10000 times or more and after that, I pass the layer1 to scrypt with a random salt:
layer2 = scr... |
As we know, purpose of attackers is finding some high probable differential characteristics in differential cryptanalysis. Then they construct some plaintext structures, plaintext pool and expect some right pairs that satisfy this characteristic with calculated probability. In this context, they determine the number of... |
Let's say we have just RSA public and private exponents $e$ and $d$ but not the corresponding modulus $n$. Is there a method to find $\phi(n)$?
This is for a CTF challenge. I am not concerned about retrieving $n$ at this stage.
My guess would be to start from $d = e^{-1} \mod \phi(n)$, which leads to $1 = e \times d \m... |
AES-ECB encrypts the message by breaking it into blocks and encrypting them one by one. Provided the knowledge of the ciphertext, a portion of the plaintext that corresponds to a block in the message, is it possible to crack the key without brute-forcing?
|
I'm working on a CTF. The challenge is to get the contents of an encrypted message given the ciphertext and the 2048-bit RSA public key. I did finally get the flag after a few hours, but I'm still not sure why the first step worked.
The first step -- factor n into its two prime factors is from what I can tell, not supp... |
as mentioned in the title, and read some past discusstion on AES collison here.
it shows it's possible that, AES(k1, m1)=AES(k2, m1)
just wondering what condition those 2 keys need to meet.
Thanks.
|
What's the approximate computational cost of factoring $N=u^2-v^2$ when $v\ll u$? Assume $u$ and $v$ are unknown integers, with $u$ large enough that $n$ has the size of an RSA modulus.
I suspect there will be at least four ranges of $v$ as it grows, and wonder where the cutoffs are:
$v$ is small enough that for $u_0=... |
We know stream cipher Chacha has practical application. Do you know
any practical application of Stream cipher Trivium?
|
I recently read the RSA cryptosystem but now I confused in key generation phase.
According to the Euler's Theorem, we have just one condition:
e.d = k.ϕ(N) + 1
where:
"e" is encryption key.
"d" is decryption key.
"N" is a number in form of p*q where p and q are both primes.
"ϕ(N)" is equal to (p-1)(q-1).
But some o... |
Assume we have the polynomial space $R_q$ defined as $R_q = Z_q/(X^n + 1)$. Additionally, we define the error distribution $\chi$ as a discrete centred Gaussian bounded by $B$.
Let $s \gets R_q$ be a randomly selected secret. For $i=0,\dots,T-1$ we construct $p_i = sc_i + e_i$, where $c_i \gets R_q$ and $e_i \gets \chi... |
Is there any existing academic literature about this application of traitor tracing?
A video streaming service has a new anti-piracy technique to identify customers who capture and share their streamed videos. It goes something like the following:
For each movie $\mathbf{M}$, there exist a number of distinct "edition... |
Some signature schemes, notably ECDSA, unwillingly allow users to prepare their public/private key pair as a function of two arbitrary messages of their choice, and compute a signature that checks for both messages¹. In the case of ECDSA, the public/private key pair is fully functional, and can sign normally, including... |
Having a oracle that solves Computational Diffie-Hellman problem which for given values $(g, g^a, g^b)$ outputs $g^{ab}$, is it possible to forge a signature in El-Gamal (wiki) signature scheme?
|
I'm trying to understand the difference between the (classical) Generic Group Model as it is described by Shoup [Shoup] and the somewhat restricted Generic Group Model as it is described by Schnorr and Jakobsson in [SJ00].
For clarity, I'm going to give the definition of the two models. For that, I'm using the explanat... |
The message is:
ACAUI MMGRC AILEE HKREG EAISW OSTHDS
With a grid size of 6 x 6. The forbidden cells are in different rows and different columns, so there are no two forbidden cells in the same line.
|
I am working on a portable secure chat via desktop or mobile, which adopts OTP plus asymmetric encryption. The idea goes like this:
Suppose that Alice and Bob are clients, and the server is run by Steve. Steve generates the server private/public key pair, while Alice and Bob generates their client key pairs`. For each... |
I'm looking for a IB-DS algorithm in the web. I found this one (if you know some other let me know). But I cannot figure out what the "identity" is. Better: I don't know if, in the section Key Generation, the $x$ is the identity. E.g. $x = H(EncodedBiometrics)$ (biometrics or any information publicly and inherently lin... |
Assume we have the polynomial space $R_q$ defined as $R_q = Z_q/(X^n + 1)$. Additionally, we define the error distribution $\chi$ as a discrete centred Gaussian bounded by $B$.
Let $s,t \in R_q$ be randomly selected secrets. Let $r_0=as+e_0$ where $a \gets R_q$ is selected uniformly at random and $e_0 \gets \chi$ is sa... |
I want to decrypt a file that has been encrypted using AES-256 in GCM mode in libressl. I have the key but I don't have the IV, is there any way I can still decrypt?
|
I'm trying to understand a verilog AES implementation. I know the order of the AES encryption steps to be as shown:
However the code I see doesn't do this.
They do the following flow graph: at the beginning of the encryption state is loaded with newstate or the plaintext. The round is set to max and is decremented eac... |
This question may be related to this one, though the construction differs.
Let us consider a PRF $f$. We define $g_k$ as $g_k(x)=f(x)\oplus f(x\oplus k)$. Is $g_k$ a PRF, assuming $k$ is chosen at random?
I tried to prove this as follows. Let us consider an adversary $\mathcal{A}$ that is able to distinguish between $g... |
preface: i am not cryptographically savvy. there are similar questions on this board but they do not give the answer i need.
how do i construct a valid IV, given a nonce? What does this have to do with a counter?
im doing 2-way communication with a bluetooth module (it is the server to my phone's client) and its data i... |
I was reading papers about searchable symmetric encryption these days and in the security definition part the author mentioned:
where state is a polynomially bounded string that captures A1’s state, and the probability is taken over the internal coins of Keygen, A, and the underlying BuildIndex algorithm.
So what exa... |
An elliptical curve over $GF(2^3)$ is defined as $y^2+xy=x^3+ax^2+b$ with the given value of $a= g^3$ and $b=1$. $R = P + Q$, where $P = (0, 1)$ and $Q = (g^2, 1)$
Can someone solve this question using an elliptical curve cryptosystem? I have tried solving it but could not do it.
I need to find R.
|
I have searched everywhere in academic papers about time complexity of a brute force attack on a Shamir's Secret Sharing key. I'm confused between if it is $O(p^k)$ or $O(p)$, such that $p$ is the modulo of encryption and $k-1$ is the degree of the encryption polynome. Because practically, if we're going to rebuild the... |
The encryption function $E_{k^+}: Z_n \rightarrow Z_{n^2}$.
The decryption function $D_{k^-}: Z_{n^2} \rightarrow Z_n$.
$m_1 = 42, k = 15, n=77$.
After encryption, exponentiation and decryption, I get:
$$D_{k^-}((E_{k^+}(m_1))^k) \equiv 14 \bmod 77$$
The class of residue of $14$ is of the form:
$$\langle 14 \rangle = \... |
In computer security applications, to check the integrity of a specific data/program binary, a cryptographic hash function is normally deployed to generate a digest and compare it with a reference digest.
When a remote device proves the integrity of the code and data residing on the platform to a verifying party, it is... |
I've been learning about different types of encryption schemes in class and I was wondering if it's possible to create a private-key encryption scheme that is multi-message secure but is NOT CPA-secure?
It seems that CPA security implies multi-message CPA security, but what about the other way? For example if given a p... |
Assuming I have a valid signature scheme, and modify it like:
m = m0 || m1, and output Sign(sk, m0) || Sign(sk, m1).
While it is correct, would this violate existential unforgability?
|
I believe I am overthinking it; however, I need to clear out my doubts.
What is exactly RSA groups and how their order is unknown? I know in RSA N is computed by multiplying two prime numbers (p and q) and it is hard to find p and q given N. Is N what is called RSA group?
In VDF they use unknown order of RSA group; ho... |
Hey can someone please tell me what kind of encryption this is? This is not the whole encrypted code but you should still be able to tell what it is from the structure.
HC1:6BFOXN*TS0BI$ZDFRH5+FPWF9EIZ.0769Y3S3XHP+56R5-F9/17BOMEY4/OBMMD/GPWBILC9GGBYPLR-SNH10EQ928GEQW2DVJ5UL8W2BM8Q.L8SNCYNAK+FA7E7:4N3IK/4S1ARO4R48/3987C... |
Is the representation of the polynomial system of a symmetric cipher overdetermined?
|
I understand the general idea of key switching, but I would like to know when it is used. Sometimes it is referred to as same thing as relinearisation(after multiplication), but is key switching also used when rotating (batched ciphertexts)? If so, how similar to each other are different key switching situations? I am ... |
In IKEv2 document, there are expressions as [CERT,] or [CERTREQ,] in the parts of IKE_SA_INIT or IKE_AUTH exchanges. In this notation brackets indicates that it is optional. I didn't see expressions as CERT or CERTREQ without brackets in document. Is certificate always optional in IKEv2? Under what conditions it is use... |
I wonder is it efficient to use less Target condition and double hash algorithms with different target (or the same target with different Hash algorithms) and one nonce in a Block.
Example
Target 1 for Hash1 H1 is 3zeroes, 000F543D...
Target 2 for Hash2 H2 is 4zeroes, 0000FSDF...?
|
Wikipedia:
The ANOM sting operation was a collaboration by law enforcement agencies from several countries, running between 2018 and 2021, that intercepted millions of messages sent through the supposedly secure smartphone-based messaging app ANOM. The app was covertly distributed by the United States Federal Bureau o... |
In my IoT project, I use the xxTEA encryption algorithm to encrypt my data. I use the same encryption key for all my packets because I don't have the possibility to do a key exchange between Alice and Bob.
I want to know how many packets it would take to deduce my key. I looked on the document of Alex Biryukov named "D... |
I was reading the “Fast Multiparty Threshold ECDSA with Fast Trustless Setup” paper by Gennaro & Goldfeder, 2018 and I encountered this portion (Sect. 2.4, p.6):
This excerpt leaves me slightly confused. First, there’s seemingly a mismatch (a typo?) between r and R — or is it that R is the set from which r is sampled?... |
I am considering the following questions and would appreciate any help.
Problem formulation:
Suppose Alice holds a secret value $x$ and there is a public Boolean predicate function $\texttt{Pred}$ that applies to $x$, $\texttt{Pred}: x \rightarrow \{0,1\}$. A sample predicate function can be whether the input $x$ is in... |
I was looking at an example of the ElGamal encryption operation here (page 24), but I can't seem to understand why:
$$\beta = 3(10, 3) = (10, 8)$$
|
Why exactly do we use factorial for finding an $L$ which is divisible by $p - 1$?
Pollard's algorithm is about B-powersmooth numbers & not B-smooth numbers. So where exactly does the factorial come in? Factorials aren't done by powering anything - it's just a multiplication of numbers without any exponentiation.
I am r... |
While I'm trying to implement BGV scheme myself, I found that I'm really confusing about the encryption and decryption of the scheme. Here's my understanding:
Let $p$ be a plaintext modulus and $q$ be a ciphertext modulus (they are coprime). Let $\mathbb{Z}_{m} = (-m/2, m/2] \cap \mathbb{Z}$ be the fixed set of represe... |
Let $x, y, z$ denote three $n$-bit words such that $$z = (x \oplus y) \oplus ((x \land y) \ll 1).$$
The NORX paper contains the generalized description of the algebraic normal forms for each bit of $x$ given $y$ and $z$: $$\begin{array}{l}
x_0 = (z_0 \oplus y_0),\\
x_1 = (z_1 \oplus y_1) \oplus (x_0 \land y_0),\\
\vdot... |
In a digital signature scheme (Gen, Sign, Verfiy) that satisfies correctness and existential unforgeability, can you assume that the outputs of Sign() are computationally indistinguishable from random?
|
In this Python CRC32 table look-up method, the polynomial is 0x104c11db7.
I can understand that the generated table does not collide. After all, as long as the start and end of the polynomial binary are 1, then the hash obtained by different raw data is different.
But why do the first two bits of the hash table not col... |
$\textbf{Continuous LWE}$ : $(\overrightarrow{a}, b)\in \mathbb{Z}_q^n\times \mathbb{T}$, where $\mathbb{T}=\mathbb{R}/\mathbb{Z}$, $b = \langle \overrightarrow{a},\overrightarrow{s}\rangle/q + e\mod 1$, where the error $e$ is sampled from $\Psi_\alpha(x) := \sum_{k=-\infty}^{\infty}\frac{1}{\alpha}\cdot exp(-\pi(\frac... |
As it is depicted above, the Feistel Network uses random function fi which is not required to be invertible. However, if fi is not invertible, how can fi(Li) == fi(Ri-1)? Furthermore, why Feistel Network is invertible?
|
I'm trying to encrypt and store strings in PHP as per example #1 on the PHP openssl_encrypt documentation.
<?php
//$key should have been previously generated in a cryptographically safe way, like openssl_random_pseudo_bytes
$plaintext = "message to be encrypted";
$cipher = "aes-128-gcm";
if (in_array($cipher, openssl_g... |
Merkle trees can be used for vector commitment scheme. In particular given two sequences S, S' with the same elements in the same order the merkle root for S will be the same as the one for S'. What if I need to append to S and S' the same elements over time but they may differ in ordering? Is there any specific commit... |
I am a member of a sports association and I am developping a simple JavaFX application for managing member's license.
This application will be used on a notebook without any connection, it has to be offline an protected by a user/password. It will run on a shared Windows account.
The application must be the simpliest p... |
community !
I'm looking for the proof of theoritical security of Shamir's secret sharing. I found some articles saying that it's assimilable to the halting problem, which implies that there is no general algorithm to solve it for all possible program-input pairs. But, I don't understand why it stands for SSS encryption... |
Does combining those two different cryptographic hash functions in HMAC, when each hashes the same data separately, then saved together, guarantee zero possibily of a collision simultaneously or is the assumption false and the possibility is not equal zero even in theory?
|
I've been learning about the elliptic curves and how they work, and their usage in cryptography, and I'm trying to figure out how to use them using Go.
Where is the 'a' parameter from my ECC equation y^2 = x^3 + a*x + b, in this CurveParams structure?
https://golang.org/pkg/crypto/elliptic/#CurveParams
To verify I am ... |
Let $K$ be a number field of degree $n$ and $\Lambda^q_h=\{(f,g)\in\mathcal{O}_K\text{ : }fh-g = 0\bmod q\mathcal{O}_K\}$, where $h$ is an NTRU public key. Then $\{(1,h),(0,q)\}$ generates a lattice. I've found it stated in the literature that $Vol(\Lambda^q_h) = Vol(\mathcal{O}_K)^2q^n$ (e.g. here), but how does the p... |
I am looking for a simple encryption of the text messages and in order to save some bandwidth, storage etc, I was looking to encrypt them into the same length strings. Something similar to how youtube is doing for their video ids. Having billions of videos in their database, they manage to encode them with only couple ... |
I'm having a problem with an encryption scheme.
There are two entities, $A$ and $B$. $A$ give a simple message $m \in [0,1]$ to $B$. $B$ should generate an encrypted message of $m$: $e=Enc_{pk}(m)$ such that $A$ can verify if $B$ has correctly encrypted a message generated from $A$ without tampering it. But, at the sam... |
I understand the premise of weak keys in DES and cryptography. From searching online, I understand that keys that are comprised of all zeroes / all ones / alternating ones and zeroes / alternating zeroes and ones are considered weak and should not be used. If I was to use the following key: 0110 0110 0001 0001, would... |
Maybe this sounds like a stupid question. I'm sorry for that.
I just wanted to know is it possible to encrypt a bitmap image file like *.BMP, and generate the ciphertext which is an obscure bitmap image where each pixel is random (The image maybe would looks like an analog TV without an antenna)?
|
The Setup
I have a table of values for which I need to compute a salted hash for each table-cell value. Furthermore, I need the salt for each table cell to be unique and unpredictable. (I can explain what motivates this need later, but for now I don't want to distract from the problem statement.)
Now I don't want to ad... |
I understand that we can verify that given a private input a and a public input b that we can verify a is greater than b. But what if I want to keep both inputs private?
The context is a sealed auction where we need to verify who out of the private bidders has the highest bid. I haven't seen any examples of how this ca... |
Alice split a long string P into two segments A and B. A is relatively short and B is long.
H = sha256(A + B)
Bob does not know P, but knows H.
Is it possible for Alice to prove to Bob that A is the prefix of P, but only needs to provide additional information much shorter than B?
|
I first generate a keyfile with openssl rand -hex 64 -out keyfile.
I then encrypt the file with openssl enc -aes-256-cbc -salt -in large_file.zip -out large_encrypted.bin -pass file:./keyfile.
I am encrypting files sized anywhere from a few bytes to 1TB. I will be using this in a simple bash script.
Is this secure in ... |
I work on a project about CAN bus and I want to encrypt the data among nodes but I have have a problem because CAN bus nodes receive and send 8 bytes among each others and I know the size of AES output is exactly the same as the input. I am confused. As far as I knew, AES works in blocks of 16 bytes.
My question is :
H... |
I am currently looking into how AES works and found a calculator online: http://testprotect.com/appendix/AEScalc
I understand that the AES process has 10 rounds of calculations. Does this mean that this calculator only provides the cipher text for round 0? Would I need to copy the output cipher text and manually paste ... |
I was recently watching Sneakers (which Len Adleman advised on their "cryptography" sub-plot), which included a line along the lines of:
[Some hardware that ostensibly breaks American cryptography] doesn't work against Russian codes.
The speech that Adleman advised on seems vaguely like a description of a more powerf... |
The recommended parameters for a secp256k1 ECDSA curve are:
(All values are in hexadecimal)
p = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F
a = 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
b = 00000000 00000000 00000000 00000000
00000000 00000000 0000... |
In chapter 3 of Katz Textbook, there is a theorem which states as follows:
"Any private key encryption scheme that is CPA-secure is also CPA-secure for multiple encryptions."
I can make sense of the theorem as CPA secure scheme requires randomized encryption and hence encrypting multiple messages will also be secure. ... |
I took a look at Cloudflare Circl because I'm curious which Post-Quantum algorithms are implemented in Go, which could be used to exchange a key.
I read this comment that SIDH is only good for ephemeral key exchange, in contrast to CSIDH.
Question 1:
Therefore, I wonder, what characteristics must a Post-Quantum algorit... |
I am keep generating RSA keys for 512/1024/2048/4096... as bit size. Each time the key length is increasing.
Is it possible to generate/use keys other than the above bit sizes. Let us say 800/1000/2000/...
Am I missing any theory behind ?
|
Let's consider a block cipher in CTR mode. And let's consider a keyed PRNG or just a good PRNG with a seed as the key. The PRNG has to be very fast.
Is it a good idea to put away the key schedule and do "infinite" key scheduling by generating a keystream? Then every block in the cipher will be encrypted with a differen... |
I am solving a four-round Feistel network using pseudo-random round function is a strong pseudo-random function for security against adversaries, but I don't understand that how to solve I know 3 round.
Can you please explain the procedure?
I am assuming ${F : \{0,1\}^λ × \{0,1\}^λ → \{0,1\}^λ }$ be a secure PRF with ... |
Hi I have a doubt at the end of the proof of the RAPPOR Algorithm, when they say the sensitivity is maximized when $b'_{h+1}=b'_{h+2}=...=b'_{2h}=1$ and $b'_{1}=b'_{2}=...=b'_{h}=0$. I don't understand if the maximized is define as the ratio of probabilities or comes from the definitions of sensitivity in differential ... |
I need to implement a PSI that will be used on mobile devices to find mutual contacts. Assuming the set cardinality from both parties A and B are less than 1000, what would be the most efficient PSI protocol that I can use in such a scenario without involving a third party? Would it be possible to extend this protocol ... |
Facebook plan a new cryptocurrency release called Diem. What algorithms are used? What output size is used for the hash function?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.