instruction stringlengths 32 27.2k |
|---|
I'm playing around with ECC, trying to encrypt traffic between my webapp and backend (its not a product, im trying to learn and understand more about ECC)
I managed to generate keys, successful run key exchange and got same point on both ends.
Now I wonder how I should convert my point which has 2 coordinates into AES ... |
What is the difference between corruption and compromise? Are Compromising a user and corrupting a user same?
|
I'm trying to implement Private Set Intersection using the additive ElGamal public key encryption system. The code I've written can encrypt and decrypt numbers using the ElGamal system, so far so good. Adding and multiplying the cipher also works. Or at least, it works with positive numbers.
As I understand modulo arit... |
In Cryptographic Algorithm Validation Program for KDF document, here, page 9, it says "If a field size that is not a multiple of 8 bits, the shared secret is represented by a string of bytes that is padded with zeros on the left".
However, I get a valid input like this,
dhLength=4348
g^xy=ED6DAAE... (Total contains 108... |
Does there exist a hash function $h$ and an input $x$ such that $h(x) = x$? I believe this is a special case of collision-resistance. I imagine such a case is guaranteed not to be possible (otherwise such a hash function wouldn't always be guaranteed to be useful), but how is such a case proven to not be possible?
|
For RSA, my understanding is that large primes are found randomly to build a private/public keypair. If a static seed can be used in that random search process, it should be possible to derive the same public/private keypair reliably.
For a repeatable discovery of foundational large-primes, the search for random primes... |
Is it more secure to combine algorithms for password hashing, for example, Scrypt, Bcrypt, SHA-3, etc.? If an attacker wants to use dedicated hardware, he would need one for each algorithm. However, I know having multiple algorithms increases the probability of having bugs and leaks.
If having multiple algorithms for E... |
In Practical Threshold Signature it says that there is a requirement in which the RSA public exponent $e$ must be more than $l$. $l$ in this case is the number of players in the threshold group.
My question is: Why is there a constraint that the public exponent must be larger than the number of players?
In my case, my... |
I am currently reading the book Cryptography: Theory and Practice (4th edition) by Stinson and Paterson and going through the exercises. I have reached the Threshold schemes section and am currently doing the exercises related to Shamir's secret sharing scheme.
The first exercise (11.8 in the 4th edition of the book) a... |
I am in a dispute regarding a test question in an exam.
The question is something like that:
What would happen if one were to use RSA with $n=100$ and $e=13$ to
encrypt a message $m$?
a) You would be able to encrypt the message but not decrypt it.
b) You would not be able to encrypt the message.
...
Both parties agre... |
So, I am following an online course about cryptography these days, and I am stuck in an assignment. Here it is:
---------Known--------------
$m_1$: message 1
$m_1$ = 387
$s_1$: digital signature for $m_1$
$s_1$ = 10469409596699442355039984040567927145168928743974011888196879861271479836018790561696532494530611626118651... |
We have several candidates for OWF, like multiplication/factoring and discrete exponencial/logarithm. What I am asking is:
Does the existence of one way functions imply that our candidate functions are indeed one way functions?
Is there a candidate one way function whose one wayness is directly tied to the existance of... |
The password is 11 chars. It has 5 letters and 6 numeric characters. There is at least 1 uppercase and 1 lowercase in it at the same time.
Can an attacker benefit from these information even though he doesn't have an info about where the numbers and letters are at?
|
Many advice against using AES in ECB mode as it always produces same cipher text for a given plain text.
That shortcoming can be addressed by using salt appended to original message so that the resulting cipher text is different each time , the receiver can then decyrpt the cipher text and discard the salt keeping the ... |
I got an alert last night to the keywords above and was curious, so took a look at the tor site flagged which is the following one:
http://nsrz5iogimqwgeax3clpp6hvfy6viom2woy7dghgxes4sqk63r7svoqd.onion. Obviously you need TOR to access it or a service like Tor2Web though reachability is spotty.
I'm asking SE because th... |
Does anybody know if there is some kind of measure on how often public-key cryptosystems like El Gamal, RSA,... are implemented. Which ones are most common?
|
Given a 'message' $M$, a proof of the 'correctness' of RSA encryption means to show that $(M^e)^d \equiv M \pmod{n}$, where $n=pq$ is a product of primes, and $ed \equiv 1 \pmod{\phi(n)}$, where $\phi$ is Euler's totient function, so that $\phi(n)=(p-1)(q-1)$.
Most sources attribute the correctness of RSA encryption to... |
In the paper On the Size of Pairing-based Non-interactive Arguments by Jens Groth, it is always referred in the equations to satisfy that $a_0 = 1$ and the others $a_1, ..., a_m \in \mathbb{F}$.
I am not sure I understand this specification, as we can always set $a_0$ later to 1 if needed. I first thought it was to int... |
I add differential privacy (DP) to my machine learning models by using PyTorch-DP. PyTorch-DP supplies me with the values: $\epsilon$ and $\delta $. I know that the $\epsilon$ tells us something about the probability $\rho$ that the privacy of individuals in the dataset (DP) is broken. So, a $\rho$ of 0.5 might corresp... |
I am trying to build website that will encrypt some data for the user using his/her the output of scrypt on it, now the idea is that this schema is not flexible because if the user loose their password then all of their data is lost, instead came to following options:
Option 1 :
Generate random 128 bit key $k_1$
Gene... |
Suppose I have a sequence of bits of length M. I need to hide N out of M bits (hiding means forcing them to be 0) using RNG with a key. How I can relate the output of RNG to the number and positions of N bits. Can the attacker knows a pattern here assuming the same key is used each time i want to send the bits? Assume... |
Can I use something like Shannon entropy to determine the suitability of a symmetric key? I found a symmetric key which wasn't generated using a CSPRNG and it had a very low Shannon entropy.
I ran an experiment on 1 million keys from a CSPRNG having a Shannon entropy of at least x where all the weak symmetric keys I fo... |
I know that in IACR - Better Zero-Knowledge Proofs for Lattice Encryption
and Their Application to Group Signatures it constructs such a challenge set: {$ x^i $}. But the inverse of the difference of the elements in it should multiply $2$, which is not good enough. How to construct a good set (say, just exactly fits th... |
Please do forgive me for my naivety. I have inherited a legacy system wherein the CA which signs the certificate is of version 1. Is it possible to generate a x509 version 3 certificate which is signed by this CA?
I use openssl for this.
Thanks
|
I know that implemntations with T-tables such as Golang's are prone to side-channel attacks, but is AES's S-Box wihtout any additional table also insecure ?
|
If I have number $2$, which is additively shared into $3+4 \bmod 5$.
Now I need to change the filed to a large one, like $500$.
How to convert the shares, so that I can have a new number or shares $a+b \bmod 500 = 3+4 \bmod 5$.
|
What I'd like to do is to have the Prover store a value x where x remains hidden.
From x, I'd like to extract one blob r1, and save it in the Verifier's database.
Later in the future, the same Prover who holds x should compute a new r2 from x, such that one cannot easily extract x from r2 and send it over to Verifier.
... |
I would like to encrypt and decrypt files with AES-256-GCM. I need a solution that works with Java, PHP and JavaScript. In practice, users can upload, download files via web browser and/or desktop app and there are files that will be generated by the server itself. (I'm currently using openSSL, but I'm thinking of swit... |
I want to encrypt some small text files so I can put them online, in non-restricted access (not the best idea, but it's cheap and simple). I know I should use something like Truecrypt instead of this, but I'm looking for something lighter and simple.
import base64
import os
from cryptography.fernet import Fernet
from c... |
I'm looking for the name of an RNG method or algorithm, described below. Combining multiple results of a non-uniform random number generator can produce a more uniform result. It seems like this would be a common method employed by RNG algorithms, and especially HRNGs, to produce more statistically random results.
It w... |
T-Tables and S-Boxes are prone to side-channel attacks, is an implementation without any lookup tables resistant to side-channel ? In this answer, https://crypto.stackexchange.com/a/63520/80926, the author says that secret-dependent if statements, loops and mathematical operations like multiplications may not be consta... |
As someone new to cryptography,I have a question about how logins work on websites. I understand mathematically how asymmetric encryption works and how https web requests work to securely send symmetric encryption keys. What I struggle to understand is how a website can have an encrypted version of my password stored t... |
Suppose we have a $512$-bit (or $512\times n$ bit) message that we'd like to hash using SHA-256. I've looked at the implementation, and from what I understand, after padding, there will be a total of $2$ (or $n+1$) message "blocks" that are fed into the function, with the last block being completely padding. The last m... |
I've always known that the IV should be 128 bits, because that's the block size of AES, regardless of the key.
However, I just saw one vendor advertising AES-256 with a 256 bit IV.
Is there any point to that? Does a 'double' IV bring additional guarantees? For example, reducing the probability of having the same IV wit... |
Pardon my terminology, but is there a hashing function of some sort which accepts a string as input and generates a non-textual output of some sort, or perhaps a unique output that can be used to draw a visual representation of the output.
I refer it to as "hash" because the same output should always lead to the same ... |
Given two Schnorr Signatures that were made from the same $x$, where each $x$ is private. Is there a way to prove that they came from the same $x$ without revealing $x$?
I heard about Chaum-Pedersen Protocol and how it is supposed to address this, but I am a bit confused how it should work. The book I'm reading has the... |
I was thinking about a brute force attack on Curve25519. For this, we need to solve the discrete Logarithm problem $P = [n]Q \bmod 2^{255} - 19$. $P$ and $Q$ are known Points on the elliptic curve, so we 'only' need to find $n$. The $n$ is in $ \{2^{254} + 8 \cdot \{0,1,2,\ldots,2^{251}-1 \} \}$. So there are $2^{251}$... |
SHA-3 uses Padding, so the original message has a certain length.
In the case of SHA-3-512 each block has the size of 576, so any message must be padded, such that it is a multiple of the blocksize 576.
I know the rule that the padding is done via the formula
p(m)=P10*1
where P is a predetermined bit-String and the * i... |
There is a number of block cipher modes, including ECB, CBC, CFB, OFB, CTR and others.
After reading "Serious Cryptography. A Practical Introduction to Modern Encryption" by Jean-Philippe Aumasson, where the author described CFB and OFB as folklore which no one really uses,
I am curious which ones are most commonly use... |
I am a long time scroller, first time poster in the crypto stack. I've recently been finding myself leaving the realm of mainstream/standard crypto (imo that consists of symmetric/asymmetric encryption, some ciphers and one way hash functions ect). I am currently faced with a problem regarding using the RSA algorithm t... |
I've worked on low-level security (side-channel attacks etc.) for years and have a PhD in crypto. Web security is something I've never needed to touch beyond knowing how the TLS handshake works with various cipher suites.
I'm starting a role where I'm expecting to also do work on mobile app security. It seems like e.g.... |
A new paper "New results on Gimli: full-permutation distinguishers and improved collisions" has been published stating a full 24-round permutation distinguisher with a cost of $2^{64}$ and 23-round permutation with a cost of $2^{32}$ and has been practical implementation. The 23-round distinguisher could be extended i... |
I found this explanation of Enigma rotor movement on this website, but can't quite understand the methodology: Enigma rotation example
A ⤑ B → D ⤑ C (rotor III in position B)
C ⤑ C → D ⤑ D (rotor II in position A)
D ⤑ D → F ⤑ F (rotor I in position A)
F ↔ S (reflector B)
S ⤑ S → S ⤑ S (rotor I in position A, reverse)
... |
The BIP32 spec says this in the security section:
Note however that the following properties does not exist:
* Given a parent extended public key (Kpar,cpar) and a child public key (Ki), it is hard to find i.
The spec doesn't say that this line is valid only for keys that are not hardened.
Is this true even if the ch... |
Is an MD-MITM attack possible for AES? As I know, we can break 2 rounds of AES. So we could apply the MD-MITM attack 5 times. This should significantly reduce the security of AES.
What stops us from these kinds of attacks? Why GOST was broken with such method and AES not?
|
I am attempting to understand how to use Montgomery multiplication in an RSA private key operation: $X \equiv a^{e} \pmod{n}$ where $a$ is the message, $e$ is the exponent, $n$ is the modulus.
Using the algorithm from Montgomery Reduction (with $r=2^k$, where $k$ is the bit length of modulus $n$):
ModExp(a; e; n) { n i... |
I am using ECDSA as a digital signature scheme. Using Charm, I got the timing for the multiplication, exponentiation, and pairing operations; they take 0.005, 9, and 4.4 ms respectively. I want to estimate the computation overhead to sign and verify a message. Any suggestions please.
|
In a previous question, I read
... for $b$-bit security meaning $O(2^b)$ work for an attacker to break the system...
While in Katz's Introduction to modern Cryptography, I read:
The key-generation algorithm $\text{Gen}$ takes as input $1^n$ (i.e., the security parameter written in unary) and outputs a key $k$".
Wha... |
How many value can have a private key with this format? p,q,d = (19, 41, d) where 1< d <18x40?
I want know how to calculate that.
|
I want to find a number, such that the result of its SHA-256 hash is all 0.
I don't know if this number exists.
|
In the paper The Security and Performance of the GaloisCounter Mode(GCM) of Operation,it shows the AES GCM SECURITY in Corollary 1.
there are no distinguishing attacks against AES-N-GCM that work with distinguishing advantage greater than $A_{A E S-N}+q^{2} 2^{-116}-q 2^{-89.4}$
there are no forgery attacks against ... |
I've read that storing password hashes in a database, you can store the salt in plaintext alongside the actual hash with no detriment to security. I was thinking that one could derive a key from the user's password, and use that key to encrypt the random salt, so that every time the user goes to login, the salt is decr... |
I want to know if my usage of the web crypto API is sensible.
I want to use it for symmetric and public-key encryption and decryption, and signatures, but as a non-expert I am scared by the warning on the MDN page:
Warning: The Web Crypto API provides a number of low-level cryptographic primitives. It's very easy to m... |
I found that homomorphic signatures allows an agency to carry out arbitrary computation $f$ on the signed data $m$ and accordingly gain a signature for the computation result $f(m)$ with respect to $f$. Another related notion is functional signatures, in which DO hands out a secondary key $sk$ to allow a specified agen... |
I’m developing an application that runs over TLS. In addition to password-based authentication we’d like to be able to use SSH keys.
Is there any prior art in using SSH keys for authentication over TLS? Does anyone know of any potential problems with implementing such a scheme?
Thank you!
UPDATE: After a bit more rese... |
If I know the private and public exponents ($d$ and $e$) of an RSA key pair, is it possible to (efficiently) calculate the public modulus $n$?
|
I am looking at a seemingly popular piece of JavaScript code to generate a UUID which is supposed to be a 128-bit number:
function uuidv4() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
... |
I am trying to introduce myself to cryptographic hashing and encryption. I am looking for original papers of sorts, to describe the inspiration behind why they choose certain numbers, if they are relevant, and why they choose certain algorithm features. But every paper I have found so far is like this which just descri... |
Consider a use case that requires the creation of multiple asymmetric key pairs. There are two options for generating random seeds for a PRF:
Use a software based RNG and generate a new seed for each key pair
Use a hardware based TRNG, generate a single seed, and increment that value for each new key pair
Would eithe... |
A signature Sig is given as input to random oracle H, such that y = H(Sig) and Sig should be hidden from the verifier. How to prove in zero-knowledge to the verifier that y is the correct output from a random oracle evaluated on Sig which verifies under some public key in a given set of public key while keeping the Sig... |
According to ElGamal encryption, in order to encrypt a message I need to generate a shared secret s and after that I am to calculate c1 and c2 that are the final encrypted data. But what if my message is much longer than the bitness of the encryption system? I could split the message into many chunks and encrypt them s... |
The paper regarding curve25519 presents a theorem in chapter 2 (specification). The extension field $F_{p^2}$ is used in this theorem. I don't understand why this extension field is needed for the curve25519. This is how far I got:
The theorem implies that for some elliptic curves $E$ exists a unique $s \in F_p$ for ev... |
In the paper "Efficient Encryption from Random Quasi-Cyclic Codes" of Gaborit et al. p.14, I read "Encrypt$(pk=(G,Q,s),\mu,\theta)$: uses randomness $\theta$ to generate $\epsilon \xleftarrow{\\\$}V,r=(r_1,r_2) \xleftarrow{\\\$}V^2$...". Does it mean exactly "uses randomness $\theta$"? Where Can I find a descryption of... |
Background
Hashing files is an expensive thing for CPU. I am tasked to write a secure digital signature scheme. For that, I decided to check the integrity of files using Hash/Digest.
To be more secure, my plan is to use two or three hashes instead of one. Rough diagram looks like following.
Generating Hash which will b... |
I want to SHA256 hash phone numbers in order to hide them. Is this a good idea? Are there any other ways I could make this safe?
|
I am an undergraduate student looking for resources (books or lectures) explaining mathematics involved in cryptography, such as number theory, elliptic curves etc.
I found the book 'A Course in Number Theory and Cryptography by Neal Koblitz' hard to follow.
|
I started learning about key sharing and Shamir secret sharing, I'm wondering whether you need someone who knows the key initially and then distributes it, is this step necessary or not?
In my case I have a group of people that run a permission blockchain (they are the consensus nodes) and I want all incoming transacti... |
According to this paper ,
Multipartite secret sharing scheme is a scheme in which the set of participants is divided into disjoint parts and all participants in the same part play an equivalent role in the scheme.
I am not sure about the exact and formal definition for Multilevel secret sharing scheme.
What is the fun... |
In the paper regarding Curve25519, the set of public keys $q$ is $\{q : q\in \{ 0,1,2,...,2^{256} - 1\}\}$ and the set of private keys $n$ is $\{n : n\in 2^{254} + 8 \cdot \{ 0,1,2,...,2^{251} - 1\}\}$.
My main question is: Why is the structure of the public and private keys the way it is?
What I don't understand: In T... |
When I look at my public key on the key server, the first two characters of the ASCII-Armored data section (as defined in section 6.2 of RFC 4880, which defines the structure of the ASCII-Armored OpenPGP Message Format) differ from the first to characters of the public key as viewed from my terminal after downloading t... |
I have an RSA encryption with public key $(3,n)$ with 2048 bits modulus $n$.
I want to find the value of the plaintext $m$ so that the ciphertext (in bytes representation) value ends with \x00+MySpesificString.
$ciphertext = pow(m,e,n)$
where $m$ can be any string and ciphertext has the following format
any string+\x00... |
Usual post-quantum crypto, like the isogeny-based algorithm, has its value lying in that no one yet has found a quick way to break it with quantum computer. This makes me wonder why don't we build post-quantum crypto based on undecidable problems? Yes, in some case quantum computers can be much faster than traditional ... |
I am fascinated by the idea of blind signatures and their applications introduced by David Chaum for electronic cash and voting and his provided analogy with carbon copy is quite compelling. However looking into some schemes, as one in Wikipedia, I see that in contrast to an ordinary cryptographic signature scheme wher... |
I am studying differential privacy and I got stuck again in proof of a lemma. Which is:
$D_{\infty}^\delta(Y||Z) \leq \epsilon$ if and only if there exists a random variable $Y'$ such that $\Delta(Y,Y') \leq \delta$ and $D_\infty(Y||Z) \leq \epsilon $.
I have a problem understanding the reverse proof.
Definitions:
Be... |
I propose a hash function as following:
H is an Merkle-Damgard hash function with a compression function $f: \{0,1\}^{3n} \to \{0, 1\}^{2n}$. Output function $f_N: \{0,1\}^{3n} \to \{0, 1\}^n$. M is input message and M* is padded message as follow rule: message M divided into n-bit message blocks $m_i$, $1 ≤ i ≤ t$ an... |
An ideal lattice is a lattice $\mathcal{L}(A)$ generated by a block matrix
$A = \left[ A^{(1)} \mid \dots \mid A^{(m/n)} \right]$ whose blocks $A^{(i)}$ are constructed from a vector $a^{(i)}$ and a transformation matrix $F$:
$$ A^{(i)} = F^*a^{(i)} = \left[ a^{(i)}, Fa^{(i)}, \dots, F^{n-1}a^{(i)} \right] $$
where
$$
... |
Would it be insecure to hash a message $m$ to an elliptic curve point by multiplying it to some generator $G$ for the purpose of a private set intersection ?
$$
M = hash(m) * G
$$
I keep seeing references that hashing with $M = hash(m) * G$ might be dangerous :
How to Hash into Elliptic Curves, Thomas Icart
Determini... |
The Wikipedia page on MAC calls the algorithm that is used to generate the MAC as a signing algorithm. Is that a fair use of that term? Can we then say that HMAC-SHA-1 uses SHA-1 as the signing algorithm?
Since the term signing algorithms is usually used in digital signatures that use asymmetric cryptography, won't thi... |
One of the various equivalent definitions of the LWE problem is the following:
Let $n,q$ be integers ($q$ usually is a prime number), $\chi$ a discrete probability distribution over $\mathbb{Z}$ (usually a discrete Gaussian distribution) and $s$ a secret vector from $\mathbb{Z}_q^n$.
We denote $\mathcal{L}_{s,\chi}$ th... |
I am trying to analyze symmetric block ciphers like DES, 3DES and AES, using Cryptool 2.
I want to do a frequency analysis on each of these ciphers, in order to comment whether this is an effective way for cryptanalysis or not.
However, the ciphertext these ciphers produce comes in hex form:
My question is - when perf... |
I've read about BIP32 key derivation functions.
I'm trying to understand how, given a secp256k1 key pair, that "child" public keys may be generated from just the public key, and the corresponding child private keys can be generated from the private key.
It seems to me (and I'm probably mistaken) that the HMAC-SHA512 an... |
The classical discrete logarithm problem is to find $x$ such that $g^x\equiv h\bmod p$ where $p$ is a prime and $g$ is generator of multiplicative group modulo $p$.
The demerit of this approach seems to be knowledge of $\lambda(p)$ where $\lambda$ is Carmichael Lambda function.
Supposing instead if we had $g^x\equiv h\... |
For instance, let's say Bob's phone number is X and Alice has somehow identified that Bob's phone number is X.
Now she doesn't have a direct way to contact Bob, so she wants to post in a public forum with proof that she knows Bob's phone number.
This almost seems impossible since phone numbers are a very limited space ... |
I wish to distribute a file from A to an automated system B.
The requirements are:
Contents are encrypted
Contents are tamper proof
Contents origin is verified
To do this I have devised the following system
A key pair is created, where A (origin) has the private key and B (destination) has the public key. Note: I say... |
As alluded to here (split-key vanity addresses for bitcoin), ECCDSA-keys can be merged such that the sum of two private keys $S=S_1+S_2$ yields a public key which is the sum of the respective public keys $P=P_1+P_2$. Thus, given a key pair it is trivial to construct all public keys that are integer multiples of that pu... |
In the paper regarding Curve25519 DJB defines the base point to be $P_{base} = (9,y)$. The main reason for choosing it this way is, that $P_{base}$ has a big prime order which gives security advantages. But there are a lot of other points with the same properties. $x=9$ was choosen, because it is the smallest point wit... |
I know how the Diffie-Hellman Key Exchange (DHKE) works. But where is it used? And ok, now both have the same key. But how are those keys used anyway?
I've heard that HTTPS is using the DHKE. Ok, but what are they doing with the key? Are they just multiplying the message with the key? And dividing by the key on the oth... |
I apologise if this question is a duplicate. I couldn't find any similar questions.
I am writing a web app that consists of a series of drop-down style question menus. These generate more drop-downs as questions are answered.
I want to use the end user's answers to the presented questions to generate a JSON file (or ... |
Let's say we have a cipher with such property, that every round change 50% of bits in every block in average. Is it obvious or it means that after few rounds we will get exactly 50% changed bits?
If I think about it, it looks like it doesn't have to be like that. Next round can delete some changes from previous round a... |
It is possible that find the $a, b, c$ randomly in here?
$$
abc \equiv 1{\pmod {\varphi (N)}}
$$
Instead of
$$
de \equiv 1{\pmod {\varphi (N)}}
$$
in the RSA Algorithm.
|
This is question about how many RCON values are used in AES 192 and 256.
I read the NIST Publication introducing AES and in Appendix A.2 and A.3 (Key Expansion for 192 and 256-bit keys), only $rcon_1$ to $rcon_8$ were used for 192 bits and upto $rcon_7$ for 256 bits. My question is how can only 7 or 8 values of $rcon$ ... |
In ROLLO -Rank-Ouroboros, LAKE & LOCKER p.20, it says that "Notice that for 128 security bits parameters, the practical security is rather higher than 128 at about 170 bits." How Can I calculate this size?
|
Oblivious RAM has been around in theory for about 30 years at this point.
Is anyone using it in practice? Has it made its way into industry? (Including any variants such as MPC ORAM or ORAM that uses trusted hardware for the client.)
|
I know Håstad's broadcast attack when e = 3, but what if e = getPrime(randint(350))?
|
I know it will not encrypt anything. But is $1$ valid as a public exponent in an RSA public key?
|
What is an optimal way to associate a RSA key-pair with a recovery phrase/seed for access recovery purposes? I've seen a lot of cryptocurrency wallets provide this feature, however, I'm not looking to create a blockchain or anything. Just a wallet/key-pair with a recovery seed.
|
There is a usual example about homomorphic secret sharing, focused on e-voting. Supposing we use Shamir's scheme for the Secret Sharing system, a participant generates a polynomial whose a0 is +1 (yes), 0 (abstention), or -1 (no), and then distributes the calculated n points to the tellers. Each teller will calculate t... |
Given $\operatorname{AES-CBC}$ (128-bit), with $IV=0$ and unique encryption keys $$K_{Enc} = \operatorname{CMAC}(MK, \text{known_text})$$ where $MK$ is a shared symmetric 128-bit key and $\text{known_text}$ would be some concatenation of a message counter and a device ID, that are transmitted in plain text. $K_{Enc}$ ... |
What ensures that a mined block will be accepted on the network? I mean, if I mine a valid block in the blockchain, and I transmit it to the network, what is the incentive to people accept it? Doesn't may happen a case where I mine a valid block and it get's refused?
And the reverse case, what ensures that if I mine a ... |
Assume:
$x = m^{e-1}\bmod n$
$y = m^{d-1}\bmod n$
Here $m$ is a message, $e$ is the public exponent, $d$ is the private key and $n$ is the modulus of an RSA key pair.
Now if I know $e=65537$, $x$, $y$, and $n$, can I retrieve the message $m$?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.