instruction stringlengths 32 27.2k |
|---|
I've been looking into RSA and the attacks against weak implementations of it, such as when $e$ is small and there's no padding. On Wikipedia, the following attack is outlined for small $e$ values:
When encrypting with low encryption exponents (e.g., $e = 3$) and small values of the $m$, (i.e., $m < n^{1/e}$) the resu... |
I see a statement like this on a product's download page:
"The signature for setup-x86.exe can be used to verify the validity of this binary using this public key."
where each this above is a hyperlink.
I thought the purpose of a sig is so that you could verify the validity of a document.
So what's the purpose of such ... |
I have a use case of symmetric encryption with a single-use random key K known only by the sender and the receiver:
In my scheme, Bob is able to send beforehand a tiny amount of information to Alice. Alice must send her data through Eve, which is an untrusted network. V is the "address" of Bob (not secret): a single-u... |
My area of research is algorithms for calculating optimal addition chains.
I have a new high performance algorithm that at its core benefits from estimating the number of set bits ($v(n)$ Hamming weight) in a solution to the Frobenius equation.
So for example with a given $n$ and $a_i\geq 1$ if
$n=\sum_{i=1}^z a_i x_i,... |
It's my understanding that LUKS encrypts data by using a randomly-generated master-key, which is then itself stored encrypted by my passphrase. When I want to access the data, I use my passphrase to decrypt the master-key, which is then used to decrypt the data.
Question:
Is it possible to have LUKS just encrypt the da... |
This question does have to do with cryptography, but not necessarily with encrypting meaningful data. This is my first post here, so if I'm going about this question incorrectly please let me know.
Some quick back story:
I have a regular volume of hard drives that I need to wipe. I'm not wiping DoD stuff, and I really ... |
I was (re)reading the paper "Practical Covertly Secure MPC for Dishonest Majority–or: Breaking the SPDZ Limits".
One of the key points in this paper is that they present a covertly secure BGV key generation protocol (Protocol B1, p15). The public key is revealed, but the secret key is full-threshold secret-shared among... |
Because a block cipher is a PRP and thus bijective, the fact that the input in CTR mode never repeats means that each block of keystream will be unique. This creates a distinguisher from random data following the birthday bound if enough data is encrypted even before the counter repeats, especially if the block size is... |
If I use for example AES-256 (GCM), and my message is bigger than 256 bit (broken into smaller 256 bit blocks for encryption), should the IV change for every 256 bits of the message?
|
I've noticed that the original HKDF in rfc5869 defines a feedback loop. So the pseudo-code is something like:
for i = 1...n
out[i] = HMAC(key, out[i - 1] + i + info)
However, the NIST recommendation 800-56C seems to only depend on a loop counter for each round:
for i = 1...n
out[i] = HMAC(key, i + info)
From ... |
I get the message "Secure Renegotiation IS NOT supported" if a TLS 1.3 cipher will be chosen at a TLS handshake with openssl s_client. Since TLS 1.3 does not support renegotiation at all I assume that this message can be ignored. Is my assumption correct?
|
I study this article: How to Hack a Mac Password Without Changing It
and get interested in what hash algorithm is used for hashing user accounts passwords in macOS 10.12+?
My hypothesis is that it is PBKDF-SHA512.
|
Why do we say shift cipher is perfectly secure when it is easy to break it (source)?
Let's say I have a plaintext.
"Australia is a big country";
I encrypt it using a shift of 2;
That ciphertext can be broken using brute force search over 26 numbers.
|
Question: Is there any cryptanalytic leverage to be had from the fact
that some of the 56 "raw" keybits of DES are used more & less often than others?
Observation: over the course of the 16 rounds of DES each of the eight
DES S-boxes is used 16 times, so there are a total of 128 S-box "instantiations" or "instances". ... |
We know that if the decisional Diffie-Hellmann problem is hard then the Elgamal encryption is CPA-secure. One show that if the chosen group is $\mathbb{Z}_p^*$ then the decisional Diffie-Hellman problem is not hard. For instance, one realizes that $g^{ab}$ is a square with probability $3/4$ with an argument based on th... |
I am using python and libnacl, which is a libsodium wrapper, to develop an application where users can deposit encrypted data.
Alice uses libnacl.sealed.SealedBox(keyBob) to encrypt her message and uploads it to a database for Bob to download it.
Bob and Eve can read the database and observe there I a new entry. Neit... |
I am using OAEP in a project and I want the resulting number of bits (n) to be 288 bits. Most of the implementations online seem to be for 1024 bits and using SHA-256 and I was wondering if truncating the number of bits in the G and H functions and then xoring would result in any security issues such as an increased pr... |
I was trying to decrypt a text encrypted with AES and ECB mode.
I did try several keys and IV. I solved it by ignoring IV. (The IV was given, but it was maybe a distraction)
My question is in which cases IV is needed and in which is not?
|
I need some orientation to solve the following problem:
Let $p = 2q+1$ be a safe prime and $s(x)$ the smallest of the two square roots of $x$ modulo $p$. Then:
Determine the distribution of $s(g^{ab})$ for $a,b$ chosen uniformly in $\mathbb{Z}_q$.
Explicitly formulate Elgamal wrt $\mathbb{QR}_p$ modulo a safe prime $p... |
Say Peggy wants to prove to Victor that she knows one of his passwords. She doesn't want Victor to know which password she knows, because she knows that some passwords are more valuable to Victor than others, and wants to keep the advantage that Victor doesn't know which of his passwords she knows.
Victor wants to veri... |
Is there already a cipher which uses a method like vigenere yet the shifted encrypting alphabets are mixed?
i.e.
ASDFGHJKLZXCVBNMQWERTYUIOP
BNMQWERTYUIOPASDFGHJKLZXCV
CVBNMQWERTYUIOPASDFGHJKLZX
etc.
|
Let's say we have a randomly encrypted message and I pasted the contents of that message on a blog for some reason I do not share the key.
Would you be able to figure out the key?
This is the message not encrypted:
This is the message.
This is the encrypted message:
-----BEGIN OneTime MESSAGE-----
Version: OneTime ... |
We talk of related keys and related key attacks, but what is a 'related key'? So in three related parts:-
How can one key be related to another key?
Is there a metric describing the degree of relationship?
Is there a link between the nature of keys' relationships and any specific cryptographic functions?
|
This is something that is needed while generating additive shares ($D_i$) for decryption key (represented by $d$) where each additive share must be coprime with respect to $p-1$ i.e $\gcd(D_i , p-1) = 1$
|
I read the Helios Paper Helios: Web-based Open-Audit Voting.
In section 4.4 Anonymization they are saying that "once the voting period ends" the admin can "shuffle" (re-encrypt and permutate), "shuffle proof", "decrypt" and "decrypt proof" and then finally do the tally.
I tested an election and none of these tools were... |
I would like to know if deriving a key from a pseudo-random string with a single iteration is secure.
Concretely, I am designing a system where a secret key is derived in the client side, and then sent to the server for authentication. The steps are as follows:
User enters email and password
Derive k0 <- pbkdf2(passwo... |
I everyone,
I am considering an RSA encryption over the multiplicative group $G = (Z/nZ)$
of the ring $Z/nZ$, where $n = pq$, and $p$ and $q$ are distinct odd primes.
First, I want to prove that $H=\{x^4|x\in G\}$ actually is a subgroup of $G$.
Next, I am assuming that there comes a probabilistic polynomial-time algor... |
I am trying to figure out the best parameters for Argon2 for password hashing.
I have read the RFC and the recommendations they put into it. So I follow up on the recommendation on the paper depending on my target machine.
The thing is that one single call fits perfectly into the desired time. However, they never ment... |
In the SHA-3 standard (page 31) the security of SHA-3 is defined quantitatively, for example, they are saying SHA3-256 provides 256 bits of preimage resistance. How is this number of bits to be interpreted?
The definition of preimage resistance that I know doesn't speak of bits, but of a running time $t$ (and a success... |
I am designing a protocol where a user A sends a time-locked deposit to user that if the user B within time t provide a proof that he exists in a location x (this may be obtained by third party like Google), user B can get the deposit of A. Otherwise, A can get his money back.
Any help of how to do that using cryptogra... |
I am writing a small chat program to explore some methods and concepts in cryptography and currently I am using a shared AES key tunneled with RSA which upon further reading revealed many flaws both in the mode choice and the concept itself. So after some more videos, articles and posts I decided to implement 2 ECDH p... |
A key schedule that generates round keys by XORing a round constant with the key is linear and can be vulnerable to related key attacks, but let's ignore that for now. Constants are necessary to avoid the slide attack. How complex do these constants need to be and how much must they differ?
For example, would a trivial... |
This is needed because I use a random function to generate the encryption key in RSA setting to generate random numbers and check if $\gcd$ is $1$.
|
I am trying to solve the BM algorithm to find the shortest LFSR and the feedback polynomial but i keep getting stuck. Is there anybody who could solve any binary code so the steps could be little clear. I had seen the algorithm on Wikepedia but too many letters without any implemented examples are very confusing for me... |
I'm somewhat new to encryption. I see that the actual RSA sizes are 1024 and 2048? Can those key sizes support data blocks of 128 MB?
|
Under the definition of Gennaro et al (link), a DKG protocol needs to satisfy “correctness” and “secrecy”. Correctness is divided into three sub-properties:
C1. All subsets of $t+1$ shares provided by honest players define the same unique secret key $x$.
C2. All honest parties have the same value of public key $y = g^... |
This is my first question here, so if I ask it to the wrong group or otherwise infringing the (written or unwritten) rules of the community, please bear with me.
My problem is this: In an exercise in futility, I am trying to write a small program (in C) that implements the DES (FIPS 46-3) standard. I stumbled upon that... |
Trying to write a C program that implements the DES standard (FIPS 46-3). I am unsure about how the standard should be interpreted when computing the various permutations specified in the document, with regard to the external data that is loaded in the algorithm.
For example, the IP (Initial Permutation) takes the 64 ... |
Diffie-Hellman works as follows:
Given public parameters $p$ (a large prime) and $g$ (always referred to as a generator of $(\mathbb{Z}^∗_p)$. Then:
Alice randomly chooses $a<p$ and sends $A\leftarrow g^a \mod p$ to Bob;
Bob randomly chooses $b<p$ and sends $B\leftarrow g^b \mod p $ to Alice;
Alice computes $S\leftarr... |
In the process of doing some research, I stumbled across the following two claims on the PokerStars website.
We do record all of the hole cards in all real money hands. This is an
important tool to help us investigate fraud and collusion. However,
this information is not accessible to anyone until after the
conc... |
I'm looking to identify the EC key derivation method used in Hyperledger Fabric. I can't find anything in the docs or the protocol specs, but the functions' code is here for the private key and the public key.
The derivation function seems to be very simple, DerivedPrivate = MasterPrivate + (k+1) and DerivedPublic = Ma... |
I would like to know if splitting a key generated by PBKDF2 to derive two keys is a safe practice.
Concretely, in my system, I need to derive two keys. One for symmetric cipher used in the client side, and one for authenticating the user by sending to the server. The first key is never sent to the server so that only t... |
Alice sends Bob a message using AES-GCM. Bob is a software developer with just enough cryptography knowledge to be dangerous. He wants to start processing data as soon as he receives it. He observes that he can ignore the tag and just decrypt the CTR-mode ciphertext.
In every mode I can think of it is possible to decry... |
One can have a NIZK proof for DLOG by applying Fiat-Shamir heuristic to Sigma protocol, such that one can prove non-interactively that $x$ is discrete logarithm of $X = g^x$. Then, in simulation based proofs, the simulator can extract the witness $x$.
What interest me is whether a party $P_2$ given $X = g^x$ and DLOG ... |
I like the idea of a Zero Knowledge range proof. But I read that, to prove my age in a range, a commitment is required by a trusted party (TP) stating my age. How does that work? is the commitment a certificate from the TP?
Also, if I need a user “A” to prove to the verifier his current location (longitude, latitude) i... |
My understanding of an ideal block cipher is as follows:
For a block cipher with block size $n$, there are $2^n$ possible plaintexts. The number of possible keys (mappings) would then be $2^n!$.
The size of a single key would then be $2^n$ because you're choosing one full permutation from the set of all possible permu... |
I'm confused about what terminology to use. I see people referring to such a cipher-MOO combination using both terms.
|
I'd like to avoid sending user passwords over the wire. Would the following challenge response protocol be secure (served over TLS)? I know this is similar to SRP.
Sign-up
Client takes password and randomly generated salt and inputs them
into scrypt.
Client takes scrypt output and uses it to create a signing keypair u... |
Using MD5 or SHA1 for instance, and applying integers (as seed so to speak) to the hash function, in sequence, and only keeping, say, the first 64 bits of the resulting hash, do we always have a probability close to $1/{2^{64}}$ to have $$\text{hash}_{64}(n) = \text{hash}_{64}(n+1)$$ for every $n\in\big[1,2^{64}]$?
|
Why don't we use a Hill cipher of 100 × 100? Or even bigger? That would be close to unbreakable.
The number of possible keys in a 2 × 2 Hill cipher is 157248. For 100 × 100 the number is beyond limits.
|
in the literature I have found some algorithms mentioned as ZK and Fusion in image steganography. But I couldn't find any detailed information about these algorithms. Could someone please help to resolve this?
|
I read that Schnorr protocol cannot be proved zero knowledge on that link:
Perfect zero knowledge for the Schnorr protocol?
Could any one suggest alternative Zero knowledge proof protocol so a prover can prove to a verifier that he knows the private key corresponding to a particular public key?
|
Sorry for my dumb question, as I'm not crypto guy.
Is there any algorithm, which allows to encrypt some message with the public key, but the associated private key is only valid for specific period of time?
E.g. private key is valid till 2018/01/01, and after that date I'm unable to decrypt the message with that privat... |
We know that the Totient function is multiplicative. Which means that when $p$ and $q$ are relatively prime, then $\varphi(p q)$ is equal to $\varphi(p) \varphi(q)$. My question is, are only prime numbers used in RSA or can they also be coprime like e.g. 11 and 16? I am asking this because I understand why RSA is multi... |
In a given public key cryptosystem, if the problem of determining the private key from the public key is NP-complete or co-NP-complete, does that imply that NP = co-NP?
Complexity theory is definitely not my specialty. I ask because from what I read that it seems that this would be the case (informally):
Determining t... |
I understand the purpose of the SubBytes layer (confusion) and the ShiftRows and MixColumns layers (diffusion).
But I don't see the purpose of having more than one key addition layer. What I've been able to find is that it can mitigate side channel attacks if the AES implementation leaks information, but I don't see th... |
As far as I know, a secret key corresponding to a given public key is not unique. So, for example, there are actually multiple secret keys that can produce the same digital signature under RSA signature scheme.
What I wonder is, how can I compute the expected time to find a matching secret key of a given public key? I ... |
Diffie-Hellman groups are vulnerable to sieving precomputation attacks. These attacks allow a one-time computation against a given DH modulus that makes it practical to attack all subsequent key negotiation operations using the same group. It is speculated that, at least in 2015, it takes only $8M USD to build ASICs ca... |
Consider a public modulus that is supposedly 4096 bits. But since it contains two hex pairs of zeroes, i.e. ...:00:...:00... such that the bit length of the decimal value instead becomes 4093 bits, is it actually a 4096 bit key or not?
I hope my question is vaguely intelligible.
Edit:
modulus is here https://pastebin.c... |
I am developing an algorithm that uses a lookup table to process the data, I want to know how many unique tables can be created. If I have a table of 256 values I know that 256! would tell me how many tables are possible, but the math of the algorithm moves forward or backward along this table based on the calculation ... |
I read that paper Efficient Protocols for Set Membership and Range Proofs of Camenisch et. al that describes the zero knowledge range proof. The paper applications looks interesting like if you want to proof your age between a range without stating exactly what is the exact age?
But I read that a commitment (C) provide... |
From this answer, I see that from a mathematical point of view, one could define the $\text{Keccak-}f[25w]$ permutation for an arbitrary value of $w$.
I am interested in the following question: disregarding all properties of the resulting function except the invertibility (because $\text{Keccak-}f[25w]$ is required t... |
In my free time, I write an algorithm for fun (and it may be the best hobby I had so far).
Currently, the output this algorithm produces is indistinguishable. I ran multiple analysis process and asked two mathematicians to double check that part (no definite answer but pretty good so far).
But the inherent problem is t... |
This is a quote from my cryptography notes:
If $h$ is a random function oracle of output length $n$ then also the two KDF constructions:
$K(x) = h([0] \| x) \ldots \| h([L] \| x)$
$K(x) = h(x \| [0] ) \ldots \| h(x \| [L])$
yield random function oracles of otput length $L \cdot n$.
They call this property domain sepa... |
I have a plaintext "monday" and ciphertext "IKTIWM" and $m=2$.
I want to find the key of the Hill cipher.
I made a matrix
$$ \begin{bmatrix} a_1 & a_2 \\ a_3 & a_4 \end{bmatrix}\begin{bmatrix} m \\ o \end{bmatrix} = \begin{bmatrix} I \\ K \end{bmatrix} \pmod{26}$$
$X=\{\{m,o\},\{n,d\}\}$, $Y=\{\{I,K\},\{T,I\} \}$, I w... |
This is a weird one... I am looking for a method which I don't even know how to call, nor whether it actually exists!
Given a pair of asymmetric keys $s_{k}/P_{k}$ and defining $Sig_{k} \dagger B_{i}$ as the signature of block $B_{i}$ using $s_{k}$. Is there a a function $\otimes$ with the following characteristics?
$... |
I try to understand Pedersen commitment in elliptic curves over finite fields. I could use some clarification.
Let's say we have two generators $G$ and $H$.
Is that required that $G$ and $H$ are two different generators of the same group?
Pedersen Commitment $C$ will look like that.
$$C = aG + bH$$
$C$ is a point o... |
In the RSA problem, picking a message $x \in \mathbb{Z}_N \setminus \mathbb{Z}_N^*$ implies factorizing $N$. Since factorization with respect to the standard RSA generator is hard assuming the RSA problem is hard, it is likely that selecting $x \in \mathbb{Z}_N \setminus \mathbb{Z}_N^*$ is hard. Thus, one may ask the q... |
Deriving a secp256k1 public key is also possible. For whatever reason, I'm only being provided X and Y, not the public portion.
I just need to get the binary representation of the public key given that I am provided X and Y.
|
Simple question:
I just learn the existence of the great Yao's Xor lemma (see a quick sum-up at the end of this post). I'd like to use a similar argument, but instead of a simple function, I've a two rounds (quantum) protocol that outputs a secret $s$ that the adversary may poorly describe. Is there any extension of Ya... |
I've read this and this but I'm not understanding why padding a message with a simple random is not secure.
For example, consider a 256 bytes modulus. We can agree that the first byte from the message is 0x00, the next $n$ bytes are the message itself and the next $m$ bytes are random bytes. We have that $1+n+m=256$. T... |
In this thread Henrick Hellström says that when $ed \equiv 1\ (mod\ \phi(n))$ then $(m^e)^d \equiv m\ (mod\ n)$. So I thought this is how Euler's theorem is related to RSA. But at least I thought that due to Euler's theorem the prerequisite for $(m^e)^d \equiv m\ (mod\ n)$ was $ed \equiv 1\ (mod\ \phi(n))$, until I rea... |
Consider a relaxed definition of security. Let $\epsilon < 1$ be a constant and say we only require that for any distribution over $M$ ,any $m \in M $, and any $ c \in C$
$$
|Pr[M=m|C=c] - Pr[M=m]| < \epsilon
$$
I want to find a lower bound on the size of key space $K$ relative to $M$ for any encryption scheme that mee... |
I understand the typical way to use HKDF is to make one call to HKDF to obtain multiple keys. Is it safe to use HKDF the following way to generate different keys ? If not, why?
key0 = HKDF-extract-and-expand(0 salt, Z(DH key exchange), x co-ordinates of public points as info).
key1 = HKDF-expand(key0, info1)
key2 = H... |
There are 3 properties offered by a cryptographic digital signature scheme:
Integrity guarantee of the message signed.
Authenticity guarantee of the message signed.
Non-repudiation of the message by the signer.
Property 1 and 2 are also offered by MACs and can be described in one word. The 3rd property is a bit s... |
What is the following protocol known as?
Is it considered secure? Would it work?
Background
Alice and Bob each have a secret.
They wish to determine if they both know the same secret.
If they do share the same secret, they are happy for each other to know this. If they don't share the same secret, they don't want to ... |
RFC 8439 states:
AES is used there for encrypting the nonce, so as to get a unique (and secret) 128-bit string, but as the paper states, "There is nothing special about AES here. One can replace AES with an arbitrary keyed function from an arbitrary set of nonces to 16-byte strings."
If an implementation like SunJCE... |
I have a file that include a long string , I can calc the md5 of this file .
Is there any way to know which string I need to add for this file so the md5 of this file will be specific md5 that I want?
For example , if I have string 111222333444 the md5 of this string is 092d75d9d14011469f281795901bdd1b if I want the m... |
So people say to choose $d$ such that $e*d=1(mod((p-1)*(q-1)))$.
However, $1\%$ anything always equals $1$. Maybe I am not understanding it correctly, but the only way to get $e \cdot d=1$ is just by doing $e^{-1}$ which leads into a very very small number $\lll 1$ because $e$ is large.
How are people getting $e$ and $... |
In my question here Zero knowledge set membership protocol
The suggested solution allows a prover to choose a commitment $C$. Then, A trusted third party ($T$) can validate if $C$ is valid or not. The $C$ is in form of $C = rG + [age]H$. How to make a similar protocol with $C = g^{r}h^{[age]}$ as in Pedersen commitment... |
I figured how to show that strong OWFs cannot have polynomial sized ranges. But I am unable to prove the same for weak OWFs.
|
Context
I'm trying to implement the Attribute-Based Encryption (ABE) scheme described in the paper - Extended Proxy-Assisted Approach: Achieving Revocable Fine-Grained Encryption of Cloud Data (Yang et al.).
To summarize the scheme in my own words - it is a CP-ABE scheme where decryption of a ciphertext c is performed... |
Hello I'm trying to show that the function G'(s) = G(s) || G(G(s)) is not a secure PRG even if G is.
My first question is that in this case, how do I know what G is doing? Just wondering because in previous question it's been specified as a length-doubling / tripling G, but in this case I'm assuming that G is returning... |
Im havirng a had time understanding ECC. For example, I have the equation below:
Equation : y^2 = x^3 - 4x + 1
Initial Points :
A = (2, 1)
B = (-2, -1)
N or number of iteration : 10
Final Point or Location : ?
I know that ECC has got to do something with private keys and public keys. But I know Im missing... |
I have a prover and verifier. They are engaged in a zero-knowledge proof protocol. A verifier sends a challenge $c$ to the prover so he can compute a proof using the value $c$. How to use Fiat Shamir so that a prover can compute that challenge $c$ from some public parameters without interacting with the verifier?
|
For a signing scheme involving generating a $256$ bit digest using SHA256 followed by RSA with $2048$ bit modulus, the signature would always be 256 bit without padding even though signatures of up to $2048$ bits are allowed in the RSA scheme that follows.
As such, is there a need to pad the $256$ bit digest to improve... |
I found some related question but no real explanation of what it is and when and why to use it. What are the benefits and downsides and is it recommended?
|
When planning a file signature scheme (basically, just to sign all files content). Is it obligatory to defend against ECDSA key substitution attack?
ISO/IEC 14888-3:2018 NOTE 5 states:
The mechanisms of EC-DSA, EC-GDSA. EC-RDSA and EC-FSDSA may be
vulnerable to a key substitution attack[10]. The attack is realized
... |
In the decryption step in helios, why do we need Chaum-Pedersen to prove that a certain plaintext $m$ corresponds to a given ciphertext $c$?
Why can we just encrypt $m$ and see if it's equal to $c$?
|
I am looking for an explicit and simple reduction of commitments to one way functions.
I don't care about the number of rounds, only simplicity.
I am aware of the simple reductions you can find in Wikipedia of commitments to one way permutations and to pseudo-random generators, but the first isn't to one way functions ... |
I have a need to anonymise phone numbers so that I can carry out testing and analysis work on telecoms data sets and comply with GDPR. I typically receive a batch of a few hundred thousand events containing phone numbers, and need to anonymise all the phone numbers in that batch under the following conditions:
A defi... |
I've to mask data into some different value but to keep their property such as order an exact match (substring is yet impossible)
What's the state of the art in data masking? I've some data on which I want to perform a search but I can't use the data as they are. the data type are standard data types, that is, string i... |
The well-known Luhn check digit (used in credit-card numbers) is a public method to append a check digit on the right of a decimal number, so that any 1-digit alteration and any exchange of two (different) consecutive digits in the outcome will be caught with certainty.
Can we make a 1-digit Message Authentication Code... |
I have created a text file called test.txt and the content of the file is Hello World
I would like to change the SHA checksum hash without modifying the contents and filename. Is there any way to do that without using any third party tool on the internet.
|
Asymmetric encryption schemes do leak something about the encrypted plaintext: the length of the plaintext. How can this be mitigated?
My solution: Padding the plaintext with some string of the arbitrary length – add 1 and then a string of zeros
What are some other ways this information leak can be mitigated?
|
I'm puzzled by the measure $$E(S) = -\sum p(i) \lg p(i)$$ because I'm considering a source emitting $0, 1, 0, 1, 0, ...$ and having the maximum entropy as given by $E(S)$. Shouldn't $E(S)$ measure the quantity of information? The sequence that just repeats $1$ after $0$ seems to me to convey very little information -... |
Has there ever been a hash function that was actually used in the field, no matter how long ago, for which there is now a feasible preimage attack?
All hashes that are nowadays considered 'broken' (such as MD5 and MD4 and older, and to some extent also SHA-1) are only susceptible to collision attacks, i.e. generating t... |
I am trying to implement a signature scheme involving RSA signing of a message digest generated by SHA-$256$. I want to hash the input into an RSA domain point instead of the fixed $256$ bit digest generated by SHA.
Apparently, this can be achieved using a Full Domain HashingFrom the Wikipedia definition of Full Doma... |
In Dan Boneh's crypto book, there is a section describing the "Rewinding Lemma", however I cannot find it explained in other sources on the internet.
How does this differ from the forking lemma?
|
Assuming I cannot use DH scheme, and the long term key is known to both sides, is there a known algorithm / standard that defines how to derive a short term key from a long term key?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.