instruction stringlengths 32 27.2k |
|---|
This is from a lecture :
The adversary sees the message-tag pair(m,τ), where m= (m1,m2,...,mn)The adversary sees the message-tag pair(m′,τ′), where m′= (m′1,m′2,...,m′n)The adversary computes m''=(m1,...,mn,m′1⊕τ,m′2,...,m′n)
The message-tag pair( m'',τ′)is a forgery
But I don't understand why xoring the tag τ of the ... |
I have managed to lose 5 words of my 24 word Ledger Nano S recovery phrase. I have words 1-19 but I am missing words 20-24.
I have significant holdings on the wallet so would very much like to recover it if possible.
The passphrase is a BIP39 mnemonic (see https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki)... |
Is the file just read bit by bit to calculate the hash with those values or is there more to it?
Are there any resources to read a bit more about file hashing?
|
RFC defines:
state = constants | key | counter | nonce
Suggested on multiple places is to set counter to 0 or 1.
It is still unclear to me what the function of counter is. Why not just use larger 128bit nonce, instead of a 32bit counter + 96bit nonce?
Does the counter at position of 13th byte actually increment by one... |
A recent password hashing competition set out the following detailed technical requirement:-
that the API should include, but may not be limited to, a function with the following prototype:
int PHS(void *out, size_t outlen, const void *in, size_t inlen, const void *salt, size_t saltlen, unsigned int t_cost, unsign... |
I'm working on something that requires computing a checksum / file integrity. I've heard MD5 was no longer recommended. Should I use Blake2 instead? Is there a specific variant of Blake2 I should use for checksums? Blake2s? Blake2sp?
|
This is going back a ways... Schneier discusses SKIPJACK at Declassifying Skipjack. Schneier offers a link to a reference implementation at ftp://ftp.funet.fi/pub/crypt/cryptography/symmetric/skipjack (it is still alive). The unoptimized reference implementation is written by Panu Rissanen.
NIST provides the SKIPJACK t... |
i'm building a low-power wireless sensor network in which each slave node has a public/private ECC key pair -- generated by the node itself during manufacturing.... the slave node is also provisioned with the public key of a distinquished master node, at which time the slave can compute a shared secret used during dir... |
I'm attempting to identify the method of encryption for a black-box symmetric encryptor that produces blocks of output that are 4 bytes in length (e.g. small inputs fit in 16 bytes, then 20 bytes and 24 bytes as more input characters are added).
It's symmetric encryption and the value is always the same for the same in... |
My case is rather special. I need to send data in small chunks, each under 32bytes. ChaCha20 state is 64 bytes.
Since I will be receiving data stream in chunks, id like to verify it on the fly (i.e. after I receive each chunk, make sure it was not tempered with).
Using MAC is a bad choice, as I'd have to compute MAC e... |
I was wondering about an algorithm that would take a bitstring as an input, shuffle it and output it. You could use a deterministic RNG to select pairs of bits to swap, using the seed as some sort of password, handing it to people to let them reconstruct the shuffling process. Is this a good idea? Has anyone already th... |
I'm trying to encrypt a file using DES in CBC mode but when I try to specify the key derivation function it tells me my command is wrong. It only fails when I try specify the KDF and works when I don't. This is the command i'm trying to use - openssl enc -des-cbc -pbkdf2 -in test.txt -out test.bin -pass pass:test
This ... |
Let's say two users (U1, U2) each have a private key they keep to themselves, and each broadcast a corresponding public key to the world.
Let's then say that U1 wants to send a signed encrypted message to U2. I understand the idea that U1 wants to encrypt the message using his own private key, so that U2 can have proof... |
For privacy-preserving comparison, is it possible to represent the function of $f(a,b)=\max\{a,b\}$ as a binary polynomial $p(a,b)$?
|
It's the first time for me to learn about Key Exchange Protocol. And I thought that in both ECDH and DH there is a necessary step to share some public infomation(the common parameters) to each sides such as the SSH2_MSG_KEXDH_GEX_REQUEST to get g.
But in my machines, the 2 sides decided to use curve25519 to exchange th... |
I am currently doing some study on differential cryptanalysis.
However, I have two open questions in the field.
The first question is: How can I calculate the number of messages necessary for a successful attack?
I have read that if you have found a concrete characteristic by the cipher with probability $p$ that the n... |
In am learning the SSH RFC
An encryption algorithm and a key will be negotiated during the key
exchange. When encryption is in effect, the packet length, padding
length, payload, and padding fields of each packet MUST be encrypted
with the given algorithm.
So the structure of the packet would be like that. How does ... |
How can one guarantee that the generated DH secret key is of certain length? Say 256bit. Actually, prime length is not enough since the remainder of the last process, the modulus, may result in too small number.
|
Given a d value = -(10240/10241)
How would I convert this into 64 bit limbs?
I have to expand on this because of stackoverflow quality algorithm, I've tried using python to get the integer rep/hex rep, but it's not a whole number, so I'm a bit lost
|
First, I'm pretty new to the world of encryption. As I understand it, in WEP, the plaintext and CRC are XOR'd with the IV and the key (or more accurately, the key/stream, which is produced by a pseudo-random generator) to get the resulting ciphertext.
Basically, given two different messages encrypted with the same IV a... |
This idea is inspired by a recent question about sending 32 byte messages, encrypted, without a MAC but still achieving the equivalent protection of a MAC just by using a block cipher, extra invocations of this block cipher and extra bandwidth (for example, since message is small and sending any number of bytes up to a... |
I am designing a secure vault, which stores tens of thousands of encrypted messages and authenticated with Fernet/HMAC, A user query the vault with a key, could I use some kind of index to tell if the key can be used to decrypt any of the stored messages?
Or do I have to try decrypt them one by one?
|
For example, the message is a json: {name: john, age: 13}, and is sealed with signature.
Now, is it possible to derive a signature for the new message: john is less than 18 ?
I feel, to achieve that, the less than operator should be well-defined.
Any known research in this field?
|
For a full-disk encryption setup, with a physical disk X and the induced logical volume X_crypt, there are several ways to initially fill the disk:
(A): Fill X with zeros;
(B): Fill X with random data;
(C): Fill X_crypt with zeros;
(D): Fill X_crypt with random data.
All theses methods have advantages and disadvantag... |
If I am encrypting a file with GCM/AES256 with a weak key (say a sha256), does the fact that it takes time to brute force a long message improve my security?
Example:
I use the sha256 of "ARainyDay" to encrypt a 1kB file.
To brute-force it, one must still try and decode my file 5429503678976 times (26^9).
Even consider... |
If you compute $A^b \bmod P$ for all $b$ the set of results $R$ depend at $A$ (and $P$).
$R = \{A^b \bmod P, \forall \space b \in \mathbb{N}\}$
In case $R$ contain all numbers from 1 to $P-1$, it has the size $s = |R| = P-1$ then $A$ is a prime root of $P$. In all other cases size $s < P-1$.
Can you determine how man... |
I was explaining MPC to a high school student. He was excited and asked me for some examples. The only ones that I could think of are by using garbled circuits. Are there some simple MPC protocols for operations such as addition, multiplication, exponentiation, max, min that I could easily explain to an high school stu... |
When generating and exchanging keys, what is the purpose of performing key evolution after public key exchange + authenticated encryption?
|
Let's say you know a (possibly) large table of ids and some corresponsing hashes $h_{ID_j} = H(ID_j | secret_j)$. The resulting table looks like
$$ ID_1 | h_{ID_1} $$
$$ ID_2 | h_{ID_2} $$
$$ ... $$
$$ ID_n | h_{ID_n} $$
The hashes of the ids are secretly created by n id owners with each knowing a randomly generated s... |
why the nonces(N1 and N2) and Timestamps(T1 and T2) are used in Public key Authority? which of them prevent replay attack?
|
Just to preface this I'm very new to cryptography. However, I've been reading that ECB should not be used under most circumstances due to its symmetry which allows attackers to gain information about the plaintext from observations of the ciphertext.
It got me thinking about a way obfuscate patterns in the plaintext be... |
I can't understand it because $(g^x)^y=(g^y)^x$ in nonabelian group too.
thank you very much for read my question
|
Background:
Quite a long time ago (somewhere 1998) I thought I was really clever and invented my own encryption/decryption code. Looking through old code I rediscovered my old algorithm. (No, it was never used in any production environment.)
I'm wondering what type of encryption my naive self invented back then. I'm gu... |
I'm reading about Zero-Knowledge-Proofs, in particular the argument of building a Simulator in order to prove the zero-knowledge property.
As expected, there's something that doesn't click yet.
Since a simulator is using a transcript to 'fool' the verifier, I understand the idea that since the Simulator knows nothing b... |
I'm studying quantum cryptography and my question is "simple":
Is the use of entangled states, like in the Ekert91 protocol, more secure than using not-entangled states like the BB84's ones?
Is easier to detect eavesdropping in Ekert91?
|
As we know, SIS problem is defined as: for a function $f_A(s)$=$As$, where $A$ is a fixed, randomly-chosen matrix in $\mathbb{Z}_q^{r \times n}$, it is hard to find elements $s \in \mathbb{Z}_q^{n}$ with some bounded norm $||s||\leq B$ s.t. $f_A(s)$=0 for random $A$.
If I modify the above definition as follows: consid... |
Group signatures allow any member of the group sign the message on behalf of the group anonymously using his own secret-key. Only group manager can reveal the identity of the signer.
Verifier Local Revocation (VLR) is an efficient approach of membership revocation.
In VLR group signatures, revocation-token is generate... |
I want to detect original print and a reproduced print. So if I embed some information in this kind of noise texture, after reproducing the original print there might be some loss in information due to degradation in quality in printing. So my question is, Can I use steganography to measure information loss? So I can d... |
I can't seem to find a simple explanation of Mutual Index of Coincidence.
I am finding explanations of Mutual Index of Coincidence not Index of Coincidence.
I don't understand what the formula below means
$$\textit{MI}_c(\mathbf x, \mathbf y) = \frac{\sum_{i=0}^{25} f_i\times f'_i}{n\times m}$$
I want to write code to ... |
I want to know is there any way to retrieve data embedded in a steganalised image by just scanning the image with mobile scanner? Just like qr code scanning
|
I am new to cryptography. As I was reading a note regarding S-box construction, I found a step mentioning multiplicative inverse of a number in the finite field GF(2^8). I couldn't understand it!! Can anybody help me by explaining the procedure(step by step) to find multiplicative inverse of a number(say 95 in hex) in ... |
In Remark B.1 from this paper it says:
We assume canonical representation for binary fields $\mathbb{F}$, given by an irreducible polynomial and a primitive element $g \in \mathbb{F}$ for it (i.e., $g$ generates $\mathbb{F}^*$). We use the standard basis {${1, g, g^2, ..., g^{n-1}}$} to represent $\mathbb{F}_{2^n}$ ov... |
My question is simple. I have a secret that is generated with a 10 byte long pseudorandom generator library (e.g. Java's SecureRandom), that in theory provides a security equivalent to $2^{40}$ (birthday bound). This secret is encoded afterwards (e.g. Base64). This is supposed to reduce entropy, while extending the str... |
I'm looking for a way of one way hash data for multiple records. We have a privacy requirement to anonymise information "after it's used for its intended purpose" which is a little wooly at best.
I'd therefore like to delete everything once a project is finished, but this has been met with pushback internally "in case ... |
Based on this datasheet or this patent, one of the usage of PUF is printer cartridge identification and authentication. I was wondering why printer cartridge needs identification and authentication. In other words, what is the security concept behind it?
Furthermore,
what is the required protocol for it?
which item b... |
In the specifications of JWE (RFC7516) they specify the values for (asymmetrically) encrypting the symmetric key. In RFC7518 in section 4.1 they list the options, of which two are relevant for my case
alg = RSA1_5 (RSAES-PKCS1-v1_5)
or
alg = RSA-OAEP (RSAES OAEP using default parameters)
Both use RSA-keys of size 204... |
I've got raw and encrypted message, which contains only numbers. For example:
Message: 32016550980634121428089400169, encrypted: 35682226122303060179704449482
I've written such an algorithm:
d = 1
n = enc+1
for k in tqdm(range(1, 10**7)):
e = k * n
if pow(msg, e, n) == enc:
print("WE")
But looks like I've ... |
Conventionally, sigma protocols are defined as being a three-move protocol (1. commit, 2. challenge, 3. response). Reading papers like "Bulletproofs" (Bunz, Bootle, Boneh et al., 2018), it feels like the authors avoid to call their protocols "sigma protocols", although their protocols are always repeats of either 1, 2 ... |
I have one problem about cryptography which I don't if someone already solved it. I want one device (master) to receive one encrypted package from each one of the other $n$ devices (normal) and I want the master to be able to decrypt each package without being able to identify from which device it came, knowing that th... |
Name a well-known and standardized function $F : \{0,1\}^{256} × \{0,1\}^{128} → \{0,1\}^{128}$
that is believed to be a pseudorandom permutation.
I was thinking SHA256, but I am not sure. Can someone clarify this please?
|
We all regularly use password based, key derivation functions, however something that strikes me as counter intuitive is how PBKDF can somehow "stretch" the entropy of a supplied password to generate crypto graphically secure keys.
i.e. how does "hdk3mnt4k%@^" (a reasonable password), get stretched in terms of entropy ... |
I've looked around and couldn't find a direct answer. As a general rule, I've read from various sources (here here, and here) that the strength of an elliptical curve key is half of the size of the prime field. I.e. for a 256-bit prime field (like a secp256r1 curve) the we have 128 bits of security and for a 384-bit pr... |
I want to encrypt several files correctly with a PBKDF2 generated key (using a password and salt), I am currently doing so but if I enter the wrong password, as expected an exception occurs.
Note: there is no server involved
1) I was thinking of how I could do this. I thought the way that makes most sense is to encrypt... |
Why initialize values and array SHA256 with specific buffer?
h0 := 0x6a09e667
h1 := 0xbb67ae85
h2 := 0x3c6ef372
h3 := 0xa54ff53a
h4 := 0x510e527f
h5 := 0x9b05688c
h6 := 0x1f83d9ab
h7 := 0x5be0cd19
and this array :
k[0..63] :=
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c... |
I have messages with the following fixed lengths:
4 byte
8 byte
16 byte
I want to encrypted them and prevent modification by appending an authentication tag using a MAC algorithm of my choosing (e.g. using Encrypt-then-Mac schema). Additionally I want the cipher output message to be as short as possible.
Let's say th... |
The great thing about public key cryptography is that anyone can generate a keypair, keep the private key secret and publish the public key anywhere they want. This is used in CAs where an administrator presents a CSR containing a public key and gets a certificate back with the same public key signed. It's also used ... |
For example,
If I needed to generate a random number. I use a good source of entropy to generate r.
Then I add values a, b and c whom are generated from bad entropy such that new entropy = r + a + b + c
How would the overall entropy look like?
The plus sign means to add and not concatenate. I believe that if we conca... |
Would it be feasible to give two parties a seed to generate random numbers? So that when they want to send data to each other they send the correction on the random number generated?
The random number generated: 110001
Data you want to send: 101010
Correction you send(with 1 good and 0 false): 100100
Obviously, this co... |
I understand the concept of 'trying all possibilities at once' but can anyone explain this with respect to the fact that my PC only accepts one password at a time? There's no input field that accepts all these possibilities and the same goes for the passphrase field in encryption... Why should we be afraid of quantum c... |
Consider the following encryption and decryption functions where $\mathbb{Z}_{N}^{*}$ is a cyclic multiplicative group, $g$ is a generator for the group and $F$ is a keyed PRF.
$E(m, i, k) = m \times g^{F_k(i)} \bmod N$
$D(c, i, k) = c \times g^{-F_k(i)} \bmod N$
Is the above scheme IND-CPA? How would I prove it?
My fi... |
To get some certain properties for my use case I need a prime $P$ which has the form:
$P=2\cdot Q \cdot R \cdot S \cdot t+1$
with $Q,R,S,t$ primes as well.
Why that form - Use case
Together with this three factors $q,r,s$ are used. The values $v$ of interest have the form
$v(a,b,c) = q^ar^bs^c\bmod P$,
Those factors ... |
Homomorphic encryption schemes based on Ring-LWE need to sample the noise terms from a discrete probability distribution $\chi$ over the integers with support $[-B,B]$. For example, the Fan-Vercauteren encryption scheme uses the discrete Gaussian distribution.
Several Ring-LWE-based public key encryption and key encaps... |
I’m in a situation where I need to perform authentication against a large set of exactly 8 bytes longs passwords (with however full choice of encoding from the user and even custom encoding support): more exactly 15,000,000,000 passwords corresponding to the same numbers of unsorted hash which should be used on a publi... |
I am using the values as follows:
$(p, q, n, \phi(n), e, d) = (1033, 5039, 5205287, 5199216, 65537, 3784241)$
Yes, I have made sure $e$ and $\phi(n)$ are coprime.
For example, if I were to encrypt the value $13130$, I would get $4664915$ and then I decrypted $4664915$ and got $13130$.
The problem is when then I encryp... |
Assuming you know the factorization of used prime $P-1$
$P-1 = s \cdot f_2\cdot f_3...f_i$
Now you want to find a member of a subgroup $\mathbb{Z}_s$.
This means any $x$ with
$x^s \equiv 1 \mod P $
Naive way whould be selecting a random value $x$, compute $x^s$ and check if it is equal to $1$.
Another way I found onl... |
Can you suggest mechanisms to ensure the correctness of the protocol output, against Active Adversaries in multi-party protocols. Specifically for a dishonest majority setting?
I would like to have paper references that would allow me to continue my research
|
The average conditional min-entropy of X given Y,
$\tilde H_\infty( X | Y)$, measures, roughly speaking,
the amount of randomness that is in $X$ given as side information $Y$.
(for the formal def, https://eprint.iacr.org/2003/235)
Consider the following statement:
Let $A,B,Z$ be arbitrary random variables, let $k\in \m... |
I am practically implementing differential cryptanalysis on a cipher from the book "the block cipher companion" .
I am successful to get the last key $k_5$. Just to say some words about the implementation:
I search for a good differential, calculate the probability and generate a list of input pairs which satisfy m... |
Please consider this answer before reading
I am trying to find GCD of two polynomials, but I have some troubles understanding division and euclidean algorithms:
1) In description of division algorithm it is stated that polynomial b must be of degree N-1, but when finding the inverse of polynomial we must pass $x^N - 1$... |
NIST FIPS.186-4 has standardized 5 ECC curves on field (P-192, P-224, P-256, P-384, P-521) and 10 elliptic curves on binary fields. None of them seem to have pairings. Are there any standard curves which support pairings? Are there any libraries which support those curves?
|
Assuming there are a group of individuals with static ecdsa keypairs, of which the public keys are in a shared database that all of them have access to, how can each participant publish an ephemeral public key and prove that it was made by an individual owning one of the static keys in the database without sharing whic... |
In Bulletproofs range proof, Pedersen commitments look like $C=aG+bH$
If I need to proof several values' range proof and keep G as constant, do I need to change H everytime?
I have found it doesn't change in Grin and dalek-cryptography.
|
Is it true that in a binary linear code number of words, which start with zero, is always at least as much as words, which start with 1?
I have no idea how to prove or disprove it. Can you give me a hint how to start, please?
|
Is bn256 or bls12 a type-2 pairing-friendly curve?
As Dan Boneh said here
While in many pairing instantiations this ψ exists naturally, in some instantiations it does not.
However I can not find the isomorphism function in related library like bls12 and bn256.
|
Will a 128 bit block have some security implication in post-quantum cryptography?
|
Is all random private key that generating a unique session key is both forward secrecy and key freshness?
|
In these slides, offline and online PUF-based authentication protocols are explained in minute 16:30 and 17:30, respectively. I understand the way the online protocol works. Basically, the server keeps a table of CRPs, sends a challenge, then verifies the generated response (by PUF) from the table.
However, I do not un... |
The answer in this question defined how to calculate the probability of rotational cryptanalysis on modulo multiplication $\odot$. This paper defined an algebraic equation of how to calculate the rotational probability of modular addition $\boxplus$ which is
$$
\textbf{P}(\overrightarrow{X\boxplus Y} = \overrightarrow... |
Is Public key used directly to encrypt a message or it is used to derive other keys ?
Can we decrypt a message with same public key using which it was encrypted ?
So far I understand, as PKI is based on mathematical functions which are hard to solve in opposite direction, an encrypted message should not be decrypted us... |
Would a factor besides the normal discrete logarithm problem increase or decrease the solving time?
$k = n \cdot g^a \mod P$
with given $k,g,P$ and the knowledge $P= 2 \cdot N \cdot f+1$, while $f$ can be a product out of other primes. The factor $n<P-1 \in \mathbb{N}$. The generator $g$ can generate a group with max... |
I have a model of substitution permutation networks, modified as follows:
instead of iterating $n$ times a round(each of which is composed of the key mixing phase,
substitution S-BOX) and permutation), I apply the key mixing phase to the input $n$ times, followed by $n$ substitution, followed by $n$ permutation.
What... |
I am trying to understand how signature scheme proposed to NIST, Picnic, works.
The proposal uses $\textsf{ZKboo}$ and $\textsf{ZKboo++}$ as their basis. I can see how the ZKPoK works, where the witness $x$ is some key for any block-cipher. A prover and a verifier can run a game based on MPC in the head such that they... |
I designed a PRBG which produced 20000 bits. Please help me here. How do I test for randomness using FIPS 140-2 suit. I know what each test entails. Question is, can I get like a program/software/code that implements these test on a .txt file of the 20000 bits. Thanks in advance.
|
I am working an a Windows application that will encrypt and decrypt files using AES Encryption. The 32 byte key which is diversified and derived using a ATSHA204 unique serial number and some addition data via the SHA256 algorithm.
The key is stored on an ATAES132A serial EEPROM and is locked from reading and is only ... |
Is it ever possible for a hash to have more than 8 digits in SHA-256?
|
I'm not clear about the relation between the following definitions:
zero-knowledge protocols;
honest verifier zero-knowledge;
non-interactive zero-knowledge.
To my best understanding, zero-knowledge protocol commonly refers to "interactive" zero-knowledge protocol, and non-interactive zero-knowledge is not called a "... |
The most common S-boxes that I've seen are 4-bit and 8-bit (I've seen a 3-bit S-box in PRINTcipher, but I'm pretty sure they only did so due to significant hardware constraints). I understand that anything larger would be difficult to hold in a lookup table, and that 4-bit S-boxes are small enough to exhaustively searc... |
I'm using the class BouncyCastleAesCbcBytesEncryptor from Spring Security. One of the constructor has the following signature:
BouncyCastleAesCbcBytesEncryptor(String password, CharSequence salt, BytesKeyGenerator ivGenerator)
I was first thinking that salting is not necessary with AES, my first idea was confirmed by ... |
I am using RSA to sign my license file using Microsoft CNG API. I am signing the license file and sending the file with the public key to the end user.
Now I have a problem, what if someone's signs the license file content with entirely new set of private\public key pair. Then they can easily replace my public key with... |
Consider the following SIS problem: for a function $f_A(s)$=$As$, where $A$ is a fixed, randomly-chosen matrix in $(R_q)^{r \times n}$=$\left(\mathbb{Z}_q[X]/(X^N+1)\right)^{r \times n}$ and $q$ a prime, it is hard to find a short element $s$ with some bounded norm $||s||\leq B$ s.t. $f_A(s)$=0. Is SIS still hard to so... |
In his paper [1] on page 17 and 18, Merkle proposes an improvement on Lamport's OTS by only signing the 1's in the message in combination with a checksum of the amount of 0's in the message. I get the intuition, and why this would, on average, approximately reduce the signature size by half. However, I am not sure what... |
Consider the algebraic curve given by a short Weierstraß equation $y^2=x^3+ax+b$.
If $4a^3+27b^2=0$, then there are repeated roots of the right-hand side $x^3+ax+b$. How are these repeated roots bad for a discrete-logarithm-based cryptosystem?
|
I'm curious about an algorithm that would be good for the following scenario:
32-bit "plaintext" input, taken from a counter
32 or 64-bit "ciphertext" output
It should be possible to decrypt the output with the key (and possibly a few other hidden parameters, like an offset and current counter), and return the origina... |
given some examples $k_{n_i},k_{m_i}$ out of each value set:
$k_{n_i} \in \{n \cdot g^a \mod P\, \forall a \in \mathbb{N}<P\}=G_m$
$k_{m_i} \in \{m \cdot g^a \mod P, \forall a \in \mathbb{N}<P\}=G_n$
Each set has size of $S$ which is a prime and known. Value $P$ is also a prime with $P = 2 \cdot S \cdot f+1$. Factor ... |
I am missing a crucial piece of the maths behind the DLP, and I'm hoping someone can give me a really dumbed down answer..
If $h=g^x \bmod p$ and we're working in the group $Z^*_p$, why can I not find $x$ in linear time given I have $h, g, p$, and $Z^*_p$? I have at most $\operatorname{ord}(Z^*_p)$ iterations to run ... |
I'm a beginner at working with Edwards Curves, and I'm trying to implement an Ed25519 signature. I have a question from a text. Please see the illustration below (in Python).
At the part of scalar multiplication it simply uses the double-and-add method:
def point_mul(s, P):
Q = (0, 1, 1, 0) # Neutral element
... |
Suppose I need both encrypted TCP and UDP, say TCP for reliable control signals from server to client and UDP for low latency data from client to server. If I first establish TLS, for the DTLS connection:
Can I safely skip the certificate verification?
Is reusing the master secret or sending a new one over the TLS con... |
This is not a duplicate of Entropy measurement from shuffled cards, as this concerns use of cards as a cryptographic entropy source, rather than calculating entropy from some number of cards.
The Solitaire cipher from Cryptonomicon makes use of a deck of cards to encipher messages. However, it is considered insecure,... |
Today's security is based on $RSA$ and $DLOG$ primarily. If both go down then it is hard to imagine a scenario where internet can be salvaged quickly.
Assume $RSA$ with $n$ bit prime factors and $DLOG$ with $n$ bit prime modulus have a (possibly practially realizable (Shor's algorithm still has challenges in implementa... |
Alice is a data provider and Bob and Charlie are consumers.
Alice has a set of data assets $A_*$. Alice wants to share some of her assets with Bob, some with Charlie (they are not necessarily mutually exclusive).
Apart from the common assets she has shared between Bob and Charlie, she doesn't want the adversaries to a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.