instruction stringlengths 32 27.2k |
|---|
I implemented a block cipher similar to AES.
But the reason I can't decrypt is that I can't get the inverse MDS matrix.
The MDS matrix I used is a 3x3 MDS matrix on $GF(2^8) \implies GF(2^8)$ like AES
\begin{bmatrix}
1 & 2 &2 \\
2 & 2 & 1\\
2 & 1 & 2\\
\end{bmatrix}
The encryption process is the same as that of AES mix... |
I've been searching for some, easy methods to help mitigate, a cache timing attack on software AES implementations.
Currently, my implementation uses, a usual 256 byte S-box
uint8_t sbox[256] = {0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30... /* and so on*/}
My goal as a developer, is to prevent/increase dif... |
I'm developing an experimental Amateur Radio digital protocol for over-the-air data exchange. A part of any protocol over fallible transport layers is of course some kind of error control (ECC, FEC, CRC, etc). My original intention was to use a simple 16 bit CRC to checksum each individual packet.
An additional conce... |
I'm trying to calculate the expansion factor for a polynomial of the form $x ^ n - x - 1$.
Any help would be appreciated.
|
When I read about the DLP, it seems that the assumption is that it is not generally possible to solve it in polynomial time. But I also read that there are several algorithms in $\mathcal{O}(\sqrt{n})$, for instance, the Shank's baby-step/giant-step so there must be some misunderstanding by me.
What is the assumption?... |
I need to find out the order of the group for an elliptic curve. See the image for the question.
The inequality condition after simplification leads to $-2 \sqrt{p} \leq m \leq2 \sqrt{p}.$ Also, the order of the group will be a factor of $m$ (Lagrange theorem).
I found a research article on https://link.springer.com/c... |
I am searching for a hash function which has these attributes:
low Avalanche Effect, similiar files should get similiar outputs
low number of collisions (if I have 0*10000 in one file, and 0*99999 + 1 in another the hash should differ and should not collide to easily)
The use case is "bruteforcing" a file hashed by t... |
I am new to crypto and authentication so have been doing reading around this and thought that I had a pretty good understanding of how this works. However when implementing my hashing using bcrypt.js I am once again confused.
I thought that the steps were:
Store Credentials:
Generate random salt
Append salt to passwor... |
Maybe it’s a silly question, I’m interested in the best known/chosen plaintext attack on only one round of AES-128. More specifically, what is the smallest number of known/chosen plaintext/ciphertext pairs which allow us to recover the key with high probability? What’s the relationship between how time scales with the ... |
Typically, Private Set Intersection (PSI) protocols let you learn the subset of items on each party's dataset that are in the intersection. The problem in this case is a relaxation of these kind of constructions. I would like to learn only the number of elements on the intersection.
I could achieve this by using proxy... |
The RSA assumption:
Given a randomly generated RSA modulus $n$, exponent $r$ and a random $z \in \mathbb{Z}_n^{*}$, find $y$ such that $y^r=z$.
The strong RSA assumption:
Given a randomly chosen RSA modulus $n$, and a random $z \in \mathbb{Z}_n^{*}$, find $r>1$ and $y \in \mathbb{Z}_n^{*}$ such that $y^r=z$.
In the s... |
I have an intuitive idea of this, but I am not sure if I am formally interpreting it correctly. In the scenario I am considering, each party is identified by a sequence of $n$ bits and I have $2^{n}$ parties.
If I say that an adversary can control a polynomial number of parties, what does it mean formally? Is it with r... |
If I want to prove my protocol is secure, can I just use a game based approach and/or a simulator approach? Or are there other common approaches?
|
Are secure hash function outputs different from permutation sets of the same length and value? If yes please explain how they appear differently.
For example, MD5 would produce
8743b52063cd84097a65d1633f5c74f5
A non standard permutation algorithm that is impossible to inverse without a key would appear to be the same ... |
What is the differences between data compression as used in e.g. the ZIP protocol and compression as performed in cryptographic hashes? Are there common properties as well, apart from creating a smaller representation of the data?
|
Consider a block cipher that encrypts bit strings of length $n$, where the key-space of the block cipher is of size $2^{kn}$, $k \geq 1$. My understanding of perfect secrecy is that a system is perfectly secret if (and only if?) the size of the key space is larger than the size of the message space. But then, if the... |
If we have a very performance critical interactive session, like a video game, running on a trusted platform (video game console).
If our goal is to prevent exfiltration of up to date information (enemy locations, health etc) and malicious commands sent to server in a small time frame (aim botting), say ~1000ms through... |
According to the Wikipedia article about SMPC:
Secure MPC is closely related and builds on to the problem of secret
sharing, and more specifically verifiable secret sharing (VSS), which
many secure MPC protocols use against active adversaries.
So, is there an SMPC scheme that doesn't use secret sharing? Are any i... |
To me (new), it seems that a lot of cryptography relies on group theory.
Are there any zero knowledge protocols which do not rely on a group?
|
PKCS#1 v 1.5 stores hash algorithm identifier that was used to digest the original message. I would like to know if and how to extract this information.
I am working on a buffer containing the signature bytes and a buffer with public key.
I know it can be done (e.g. openssl rsautl does it with -verify and -asn1parse),... |
the answer to this question suggests that the x-coordinate of an ECDH shared secret is itself usable as an encryption key without apply a KDF.... if so, then what additional security is provided by the KDF???
i'm operating in a very resource-constrained embedded environment, where eliminating code normally used in a K... |
If I Generate some key K for the AES algorithm. Encrypt a message M with key K and take the last 64 bits
of the result as the hash of M.
Would there be any disadvantages?
What if I took first 64 bits of the message rather than the last 64 bits?
|
I have three messages, each known to be XOR-encoded, with the same key used for each message of this XOR cipher.
Encoded message 1: $e_1\,=\,00100111010$
Encoded message 2: $e_2\,=\,01001110110$
Encoded message 3: $e_3\,=\,11010110101$
I also have an extra information: I know that the decoded contents of $e_1\oplus e... |
Say i'm given a cipher text to decrypt, however i also have access to a server that performed the encryption; where i could enter
any plaintext and observe the result of encryption.
would it be classed as a known plain text attack or cipher text? I'm abit confused
|
I have installed my Fedora Workstation version 23 using native disk encryption. Since it, I am upgrading it using dnf system-upgrade plugin. Today, I have fedora 32. Some time ago, I’ve discovered about SHA1 is now discontinued.
Reading the cryptsetup luksDump of my encrypted system, I can see it was installed using SH... |
I am reading the paper on GCM The Galois/Counter Mode of Operation (GCM) . I have some doubts about the implementation of table M0 and R.
When I have to multiply by the variable P it is nothing more than a shift to the indexes. At the top of page 10 I have the example of multiplication by X · P and I suppose the... |
I recently read about OWFs and realized that the composition of two OWFs (called, say, $g$ and $f$) are not necessarily an OWF. However, if I modify the question a little bit and fix $g$ to be an injective function, with $f$ still being an OWF, is their composition $g(f(x))$ a one-way function?
I now understand the int... |
I am trying to understand Secure Channel Protocol 03 from specified by Global Platform and have seen a few implementations. From the standard:
Session keys are generated to ensure that a different set of keys is used for each Secure Channel Session. The session keys are derived from the static Secure Channel keys.
"
... |
The security of elliptic curves depends on the difficulty of the discrete logarithm problem. Should Shor's Algorithm ever prove viable then elliptic curves would cease to offer any useful security properties, hence the need for post quantum crypto algorithms.
Most discussions of Shor's algorithm are for integers but ho... |
I am only a beginner in cryptography and I am getting confused by the following:
Question
Consider a known-plaintext attack performed on a double-DES cryptosystem.
(a) Determine the maximum number of times the DES algorithm needs to be run when
using the brute-force strategy.
(b) Determine the maximum number of times t... |
The paper 'Why One Should Also Secure RSA Public Key Elements' describes an attack where an adversary can fully recover a private key by injecting faults into the modulus before exponentiation takes place in a signing operation. Two modes are described for this attack, one where the adversary has no knowledge of how th... |
First some background. I am building an application where people send each other emails with messages inside that need their sign-off. Once the participants receive the email they're also given a callback link (the link is generated by cc-ing an email address tied to our app server, and then the app sever sends all the... |
If this is something that already has a name, please tell me to look at that, but I have not been able to find one yet.
I am considering this process for storing some data securely. I want to provide a way that neither party can decrypt the value by themselves, ( and no way for the original value to be retrieved if on... |
If I perform RSA on my input 5 times, I get the original input back out.
Why is it that often, iterating RSA encryption just a few times cycles yields back the original value, when the public modulus N is small?
|
My question is in $\mathbb{Z}_p^{*}$ context, where $p=q\cdot k+1$ for two primes $p,q$ and $k \in \mathbb{Z}$; $g$ is the generator of the subgroup $G_q$ of $\mathbb{Z}_p^{*}$, of order $q$.
Let's consider a small $H$ (e.g. $H=1024$) and a specific $h \in \mathbb{Z}_p$, with $0 < h < H$, and we randomly choose $g \in... |
What's the approach used in cryptanalysis to make an decrypter for a simple xor stream cipher in a Black Box scenery with only the output?
|
When people ask for a block-cipher with a larger key space than AES-256 replies usually just state that there is no need. I see where that is coming from the future is hard to predict.
The two main problems I can see are Grover's algorithm (see below) and the fact that we can not see all the problems.
I have no idea ho... |
As well known, different assumptions of difficulty of some problems are used in provable security. E.g., if some crypto-scheme is breakable only in case the attacker finds preimages for hash function, we say that the scheme is as secure as preimage resistance of hash-function.
Imaging, that some hash function is not pr... |
Trying to find a quick calculation to check if my value is primitive rather than working out every a^n (modP) for n= 1 to p-1?
|
Here's a corner case for you.
A user produces a small amount of confidential data and would like to delegate a third-party to perform some computation on it and return the results. Data and results are to be kept secret from the third-party, you can assume a "curious but honest" threat model.
My first naive intuition ... |
The PKC is in this way:
Alice and Bob fix a publicly known prime $p$, and all of the other numbers used are private (unless sent). Alice takes her message $m$, chooses a random exponent $a$, and sends the number $u = m^a\pmod p$ to Bob. Bob chooses a random exponent $b$ and sends $v = u ^ b = m^{ab}\pmod p$ back to Ali... |
For example,
R (R (R (R (R (m))))) = m where R(m) denotes the RSA encryption with public keys N and e.
What property of the RSA keys would cause this?
|
I've been trying to find a solid method to prevent cache timing or other possible side channel attacks on an AES implementation, that uses lookup tables for S-box substitution.
I realize that there are methods to eliminate table lookups using techniques like BitSlice AES and also AES NI instruction set. But I'm stuck ... |
((A , B , C) , (D , E , F, G, H))
Where:
A is 0x0-0xF, (1 of 16)
B is 0x00-0xFF (1 of 256)
C is an 8 digit integer
D is a one of a list of one hundred words padded to 12 characters
E is a one of a list of one hundred words padded to 12 characters
F is a one of a list of one hundred words padded to 12 characters
G is a... |
Consider an ordinary LCG modulo $2^n$ with an internal state of $n$ bits and an output of $n/2$ bits, with the twist that instead of simply truncating the state to produce an output, we take the upper and lower $n/2$ bits of the state and XOR them together.
$$X_{i + 1} = A X_i + C \bmod{2^n}$$
$$Y_i = (X_i / 2^{n/2}) \... |
Does the problem of noise growth exist in the Paillier homomorphic scheme ?
|
I am in need of a non-uniform random number generator where each n-bit output has a hamming weight with a certain binomial distribution.
For example, I would like a non-uniform PRNG which generates 32-bit outputs with a hamming weight whose binomial distribution is n=32, p=0.1. For instance, 0xFF should be output with ... |
public key... a padlock (anyone can lock it)
private key... the key to the padlock (only key owner can open it)
Alice and Bob each have their own padlock and key
Anyone can get a replica of any padlock (public key) but only the padlock owner can open it (private key)
Alice sends Bob a private message:
Alice locks a bo... |
Is it possible to find the key of an HMAC-SHA-512 given the input and the hash output?
If so, what algorithm if any prevents this?
I'm working on a simple E2E communication system between two self-managed servers, and my idea is to store a static key on both servers, and it is critical that the stored key cannot be r... |
I am very new to cryptography and so I am looking for feedback on this question on RSA. Please let me know if I have made any mistakes, Thank you!
(a).
RSA Algorithm:
-choose two primes p,q
-compute n = p * q
-compute phi = (p-1)*(q-1)
-choose e such that 1 < e < phi and gcd(e,phi) = 1 where gcd is greatest common div... |
Currently, I am studying the Asmuth-Bloom secret sharing scheme and want to learn more about its polynomial version.
What are the exact reasons to use polynomials over integers for this scheme?
|
This is the main paper for Curve25519. In section 2: Specification there is a important theorem. In this theorem Bernstein defines the function $X_0 : E(F_{p^2}) \rightarrow F_{p^2}$.
First Question: Curve25519 is a Montgomery curve and uses the projektive arithmetic, which only needs the x-coordinate. The defined fun... |
From The Algorithmic Foundations of Differential Privacy
It wrote that :
But from this pdf
I am confused which one is right, or I misunderstand.
In second method, after I compute Pr[v], and then what to do?
I am not sure how to implement the Laplace mechanism.
|
Can one use zksnark to prove the knowledge of a discrete logarithm? In another word, can zksnark (R1CS) encode exponentiation?
|
Boyen's signature is a well-known post quantum digital signature scheme. It's a lattice based scheme that uses a trapdoor of the lattice $\Lambda^{\perp}(A)$ and it's security is based in the SIVP problem. In section 2.3 of this paper Ring Variant it's commented how to construct a ring variant of this scheme to improve... |
Consider the following $(2n+1)$ protocol:
$\mathcal{P}$ and $\mathcal{V}$ engage in an interaction where $\mathcal{P}$ consecutively sends a message $a_i$ answered by $\mathcal{V}$ with a random challenge $b_i$ for $i = 1,\dots,n$. Finally $\mathcal{P}$ gives a final answer $z$ and $\mathcal{V}$ outputs either $1$ or $... |
This is a question out of curiosity !
A hash function produces an output that is considered computationally infeasible to reverse.
Let's consider, for the sake of illustration purposes a tried and tested hash function like SHA 256, belonging to any of the families ( 2 or 3). Since the block size for SHA 256 is 512 bi... |
I'm working on a quantum random number generator based on the shot noise of CMOS camera sensor. Shot noise in an image is caused by the variance of the number of photons hitting the sensor per unit of time. The distribution follows the Poisson distribution. To collect shot noise, I have to illuminate the sensor with a ... |
Message Authentication Code as far as I know works on the shared secret key. Do they work in the same way. Is there no difference between symmetric and asymmetric processes. Can anyone please explain me from message integrity and authentication perspective?
|
Joux presents an elegant way to generate k-way multi-collisions with about as much effort as generating a single collision: https://www.iacr.org/archive/crypto2004/31520306/multicollisions.pdf
However, so far I have only found applications of this attack on full-length hash functions like SHA-256 or MD-5. Therefore, co... |
I want am making an application, demonstrating an attack on a weakly performed diffie-hellman. I need to implement an algorithm that can use the shared variables in order to compute the key. Searching for resources, I keep running into the logjam attack. However I can't really filter out the number crunching from all t... |
So I've been stuck on this question for a very long time.
How do you use double encryption to encrypt a hard disk so that all of the following conditions are met:
All data on the hard disk is encrypted.
There are multiple users and each user has his own key to make the harddisk readable/writable. Think for example of ... |
So I have implemented a client and a server performing Diffie-Hellmann, however sometimes the symmetric key is not valid?
Example:
Prime: 23
Primitive root: 5
client secret: 14
server secret: 16
This results in a faulty generated symmetric key.
Client shared key: $${5^{14}\mod 23}=13$$
Server shared key: ... |
Suppose you have a public program P(n) which takes message n and generates an encrypted output (utilizing asymmetric cryptography) for some entity which has the private key to decrypt it.
Using a scheme such as Elligator (for elliptic curves) it is possible to have P which has output indistinguishable from random.
But ... |
I wonder if someone can help me find the algorithm used to generate validation codes from a serial number.
I already have some working examples of serials->codes pairs:
19003148 -> 523254
19003162 -> 458091
19003064 -> 618138
20000589 -> 138224
I understand that the validation code is somehow calculated directly from S... |
Suppose there is an elliptic curve
$E:y^2=x^3+(p-1)\cdot x\bmod{p}$
with $p>3$.
The question is: What are the points that have an order of 2?
|
Let $k$ by a randomly generated $n$ bit string, and $m$ a $n$ bit message. Then putting $c = m \oplus k$ is the one-time pad and is perfectly secure. Now assume the transmitter and receiver wanted to share more messages: then they could publicly choose a random $n$ bit string $b$, and then by putting $k' = b \oplus k... |
I am curious to know whether (Yao's) garbled circuits are actually deployed in practice. There has a lot of works on optimising garbled circuits (e.g., here and here) and I am interested in whether these simply of theoretical interest or with practical applications in mind. (A quick Google search did not yield much.)
|
I read one answer to a similar question that put forth that a hash function is distinct from a PRF, however I've also found materials purporting that cryptographic hash functions are PRFs, and I'm not sure now. Also, is HMAC a PRP because of being keyed? I thought that a cryptographic hash function being keyed (i.e., w... |
For a hash set where the values are supplied by a third party, one concern is that an attacker can run a denial of service attack by creating many values that all fall into one bucket of the hash table, causing accesses to take linear time instead of amortized constant time and overloading the system. (Since it’s a set... |
RSA is homomorphic wrt multiplication and therefore it is not IND-CCA2. But how to show it.
What are the steps to win IND-CCA2 game?
How is the probability of winning calculated?
|
So I have build an application which purpose is to demonstrate Diffie-Hellman. I don't fully understand some of the arguments for the sizes of the numbers used in the algorithm.
It seems like there is a general concensus that the prime used should be atleast 1024 bit, more preferably 2048 bit.
Doesn't that just make th... |
The Post Quantum Cryptography is a type of cryptography that lies on physics properties instead of mathematics , it has many algorithms and implementations like NTRU , McEliece , SIDH ... etc
But there is a difference between Post Quantum Cryptography and Quantum Cryptography , i'd like to know some algorithms of that... |
The proof I'm struggling with is the following:
Let $\mathcal{E}$ be a cipher defined over $(K, M, C)$. Suppose that $SSadv[A, \mathcal{E}] ≤ \epsilon$ for all adversaries $A$, even including computationally unbounded ones. Show that $|K| \geq (1 − \epsilon)|M|$.
The semantic security advantage, $SSadv[A, \mathcal{E}]$... |
When Argon2, Balloon, scrypt, bcrypt¹, PBKDF2… are used for a password, we can call them password hash (for password storage) or password-based key derivation function (for use in encryption).
But that might not be understood when the context involves no passwords. Purposely-slowed hash is more descriptive, but awkward... |
First of all, I want to make sure I understand stream ciphers correctly:
I put a plainchar (e.g. byte?) through the stream cipher and receive a cipherchar. Correct?
When I now have a pair of plaintext/ciphertext, I could then brute-force all secrets which map plainchar[0] to cipherchar[0]. For the next character, I onl... |
I am wondering if someone can say if the following qualifies as a PRNG. Input a random bit seed of length $n$ into the generator, and over $k$ steps the generator uses $k$ publicly known integers to compute the pseudo random bit sequence, outputting a stream of $kn$ pseudo random bits.
I am wondering if the use of the... |
I’m not an expert in crypto, and I would like to design draw system (like a lottery, but choosing one of the participants), the most open possible, allowing a third party to verify the data/draws, and even replaying it with the data, giving the exact same results.
Would it be helpful to verify the draw, if I publish th... |
It is the Exercise 9.14 (9.1) from the book A graduate course in applied cryptography by Boneh and Shoup.
Let $(E, D)$ be an AE-secure cipher.
a. $E_1(k,m):=(E(k,m), E(k,m));$
$$D_1(k,(c_1,c_2)):= \begin{cases} D(k,c_1) & &
\text{ if } D(k,c_1)=D(k,c_2),\\ \text{ reject } & & otherwise \end{cases}$$
b. $E_2(k,m):=... |
A basic cryptographic accumulator can be implemented by simply multiplying prime numbers to form a composite number such that the membership of any given prime can be determined simply by dividing it into the composite and ascertaining the quotient is a whole number (and not 1 or the composite number).
Imagine that Ali... |
Supposing that the (3 total) primes are kept secret? Does the reuse of $p_1$ allow an attacker to compromise $n_1$ and $n_2$ if the attacker guesses that both were generated with a shared prime between them (each having one unique prime)?
|
Suppose I intercept the same message m sent to 2 friends. I know what the message is and I know the used modulus n, as well as the ciphertexts but I don't know the respective public exponents. I.e. my system of equations is:
$c_1 = m^{e_1} \ mod \ n$
$c_2 = m^{e_2} \ mod \ n$
Is there a way to retrieve the public ex... |
In one my classes, I have the following exercise:
Prove that, in the DSA signature scheme, if a DSA signature is accepted, it is also correct.
How would I go about proving this? In cryptography, what is one usually referring to when saying a signature is correct? Does it mean that if the verifier accepts the signatu... |
I am trying to understand the safety precautions regarding the variables used in Diffie-Hellman and I was refered to this post answer Does the generator size matter in Diffie-Hellman?.
In more details: for DH, we use a subgroup of size q of the integers modulo p (a big prime) with the multiplication as group operation... |
I am currently writing Python script that initiates a secure handshake. I am kind of reinventing the wheel here, so that I can properly learn it.
Now, I have Diffie-Hellman mostly working from scratch, and both client and server has agreed on a key to use. This key is an integer of ~2048 bits (2047 most of the time. 20... |
Just saw this string of letters:
picture
here's a raw text version:
bgedrf,jeidiqghe
gq-gfdchcubfe--q
iqhogmebhbiehc
ticdcf
x
geheedajftc,dieieff
hggyiddifeetshdccf
cdxhd-hcvddhie-cgi
efgfih-rlixeffeii-hd
feigfg
someone has already tried a Caesar Cipher, but I'm not exactly an expert on encryption and cryptography.
... |
This is a bit vauge and long winded. Any partial answers or comments/ways to make this more precise would be greatly appreciated.
Fix some general structure for a cipher, for example Sbox then Permutation then add round key iterated n times.
Consider all ciphers obtained by this method where we choose the S-box and per... |
I have found some contradicting answers regarding finding a safe prime.
When p is a "safe prime", this means that $(p−1)/2$ is also prime. We then define $q=(p−1)2$. In that situation, the order of any non-zero $g\mod p$ (except 1 and p−1) is either $q$ or $2q$
If it can produce a group of size $2q$ then the groups ... |
I assume 1 atleast is excluded from the set of possible secret keys, since you can compromise the key just by looking at the equation if it is 1 $g^1 \mod p \equiv g$. In case g is less than $p$ obviously.
What about lower numbers like anything below 100, would it be clever to discard them from the possible keys in ca... |
For convenience I had an id_rsa keypair and duplicated them with a new name. I may or may not use them consistently on different machines. (The reason was to keep an existing id_rsa on a machine I didn't own.) Today I decided to give them new passwords ssh-keygen -f id_rsa -p. Just to make sure, I checked md5 on both s... |
Most successive squaring time lock puzzles I've seen appear to be broken by Shor's algorithm. Is there another practical and efficient time lock protocol that is not broken by Shor's algorithm? If not, what will I need to make one?
time lock requirements
What I mean as a time lock puzzle is something that balances bein... |
In the Diffie-Hellman protocol, each participant selects a secret number $x$ and sends the other participant $α^x\bmod q$ for some public number $α$.
What would happen if the participants sent each other $x\,α\bmod q$ for some public number $α$ instead?
Give at least one method Alice and Bob could use to agree on a key... |
I'm currently working on a Python implementation of the BFV[12] cryptosystem.
I got to a point where key generation, encryption, addition and decryption works as expected. Where I'm struggling with however is multiplication and relinearization. In particular relinearization "Version 1".
I do understand that given the m... |
Consider I knew the seed of the random number generator that Bob uses to send encrypted emails to Alice. Would I have an advantage in deciphering the message? Also, how does, for example, openssl generate a completely random seed so the rest of the generated sequence isn't discovered? Am I missing something here?
|
In ECDSA, the public key $P$ is computed via the private key $k$ and the generator point $G$: $P=[k]G$
The scalar $k$ (private key) has to be an integer.
However, I am wondering - does the private key/scalar need to be an integer in the first place? Would it be acceptable if the scalar is a decimal (example: $k=111254... |
Kerberos transforms the user password to obtain a secret key, which is also stored in the kerberos database. That way what travels through the network is the derived key, not the password itself, which defends against network eavesdropping attacks. After authentication a session key is obtained.
However, what's the rea... |
When I read about DLP, I found that there are groups where the computation is easy. I found that it is known that computing discrete logarithms in the subgroup generated by 1 + N is easy. For example : $ (1+N)^{x} = 1+ xN $. Is this correct? And what is the mathematical foundation of this computation? Why is consider... |
What is the difference between an encryption protocol and an encryption standard?
Am I missing something here? Or are they in fact two different concepts altogether?
|
The complexity of computing discrete logarithms in a multiplicative group modulo a prime $p$ is assumed to be sub-exponential time. The complexity is determined by $q$, the biggest factor of the group order $p-1$. Is there any group $\mathbb{Z}_p^*$ such that discrete logarithms are easier than subexponential in $q$?
|
I am creating a web app that applies Python's random algorithm (Mersenne Twister) to generate random 12-bit integers. I am concerned as to how a user can predict future results by recording the needed number of sequence using API calls
import random
def rand12bits():
return random.randint(0, 4095)
How many of thes... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.