instruction
stringlengths
32
27.2k
The original HMAC paper based the security proof on the fact that the compression function of the Hash is already a MAC (appropriately keyed). How does this relate to common assumptions for compressions functions? Is it required to show security of the Hash function? Conversely, can a good hash function have a weak com...
It was mentioned in an answer to a different question that it's possible that, any day now, someone might figure out a way to turn those into a preimage attack, which would compromise the security of HMAC-MD5. Reminder: $\text{HMAC-MD5}_K(x) = \text{MD5}(K \oplus opad \mathbin\| \text{MD5}(K \oplus ipad \mathbin\...
This is how ransomware can work as far as I understand: Most ransomware works with symmetric encryption on individual files. For each file the script generates a new key. A list is then generated containing all the file-paths with their respective keys. This list is then asymmetrically encrypted. The victim has to pay ...
I am building a simple one time pad system using a low-power microcontroller to XOR a stored key with an input string, and vice versa. Due to several internal factors, it's very preferable for the system to use only the 95 "printable ascii" chars instead of full 256-values bytes to represent pad keys. Since the input i...
Hi illuminated crowd of cryptography. I am currently working on a login token for a web API. The feature for the token is to be a mostly featureless identifier. The only property I need is, that I should be able to distinguish it from a random number before I query my database if it is actually valid. I also don't wa...
Basically, I want to encrypt some strings in my app, strings like access tokens or passwords. I planned on using AES, and mainly saw a good library at https://github.com/tozny/java-aes-crypto. Note that this is used only for protection of sensitive data while the app's purpose is other. As I said, simply add a bit of e...
So this one is a tinfoil-hat question. It is 99 % theoretical. So we assume that I am someone who stores highly confidential information. Maybe super secret stolen goverment stuff. And I get caught by the authorities. The information is store in an AES256-XTS: Sha512 volume. The attacker has unlimited money and power...
I need help during implementation of C# interface (.NET framework) for encryption of messages which are sent to/from HBCI (Homebanking Computer Interface) server according to RDH-10 standard. Predispositions for the encryption process are as follows: Signature algorithm: RSA Operation mode with signature: RSASSA-PSS [...
Are there cryptographic scheme where encryption is sequential and take a long time (in a way that it can be quantified) while instead decryption with a secret key takes very short time? Some sort of reverse time-lock encryption where it takes a long time to decrypt rather than encrypt? (Either with symmetric or asymmet...
I know there are recommendations of elliptic curve parameters (such as NIST P-xxx). Are there recommendations of DSA (or DLP such as Schnorr signature) or RSA parameters? If not, why?
Given Paillier's Cryptosystem. What size in bits would be considered secure for now and the near future? I know it differs for every cryptosystem. For reference, the most important part of my implementation of the key generation is given below. I would wish like to increase the performance of my app but remain secure ...
I'm signing mails with the RSASSA-PSS (p1v2.1) certificate. When I click Details, it shows "Signature Algorithm: RSASSA-PSS". openssl x509 -text shows Signature Algorithm: rsassaPss Hash Algorithm: sha256 Mask Algorithm: mgf1 with sha256 certutil -dump shows: 1.2.840.113549.1.1.10 RSASSA-PSS Now, whem I...
When encrypting a file symmetrically with gpg -c file.txt, when and how does it compress the file? I was working on a cryptopals challenge and wanted to test out my AES ECB detection function. I made a simple text-file that was around 1KB and encrypted it through the python package PyCrypto, the output file was also 1...
I have a DS and a csca certificate that contain special OIDs from the BSI. They are: 0.4.0.127.0.7.4.1.1 ECDSA with SHA1 (BSI) 0.4.0.127.0.7.4.1.2 ECDSA with SHA224 (BSI) 0.4.0.127.0.7.4.1.3 ECDSA with SHA256 (BSI) 0.4.0.127.0.7.4.1.4 ECDSA with SHA384 (BSI) 0.4.0.127.0.7.4.1.5 ECDSA with SHA512 (BSI) openssl does not...
Why are we still using the default of AES-128 when password protecting a Microsoft Word document. My answer is and always has been - because its good enough and MS don't recommend changing to AES-256. However, that has got me thinking: if a user password protects their word document (.doc, .docx) with a 10 character pa...
An encryption scheme is based on the DLP: $c = a^x mod ~b$, where $x$ is hard to find. How hard is it to find $a$, given all the other values, $c$, $x$ and $b$? Would this make the problem easy to solve? $c^{1/x} = (a^x)^{1/x} mod ~b$ An example would be great to better understand.
I am given the following Merkle–Damgård construction: Let $f \colon (\{0,1\}^n \times \{0,1\}^b) \to \{0,1\}^n$ be a compression function. Fix a string $\mathrm{IV}\in\{0,1\}^n$, and for $M \in (\{0,1\}^b)^+$ define $H(\mathrm{IV},M)$ as follows. Parse $M=M_1 || \cdots || M_\ell$, let $h_0 = \mathrm{IV}$, and let $h_i ...
How would a timing attack against AES be carried out in a real situation? You could not guess the key from the processor's power usage after the plaintext is encrypted, right? And what would you need for this scenario? How long would it take? And if side channel leakage is really such a big deal, why is AES still used ...
So I want to create a simple, fast and yet secure authentication in two steps for a PC - microcontroller communication. The first step is a seed request, the second step is an authentication request. The encryption that is being used is AES-128. There should be a fixed key k with a length of 16 bytes. Whenever a seed r...
2-rounds DES (M-DES) • $|M|=|P|=|K|=2^4$; • S-boxes: $S_1 = [1 0]$ and $S_2 = [11]$; • The initial and the final permutation are the identity permutation; • The expansion function is the identity function; • The key schedule function is defined as follows: For a key $K = (k_1k_2k_3k_4)$, the round 1 key is $K_1 = (k_4k...
More specifically is it reasonable to assume that someone with the resources of a state actor can feasibly compute a rainbow table of all the sha-512 hashes of values within the $2^{128}$ key space? Am I correct in assuming that the most efficient attack in this case would be to compute a rainbow table, given that sha-...
I modified the generation key function of XTEA using a PRNG with 128 bits. I have to attack it using both differential and linear cryptanalysis but I don't see how, it's possible to attack a PRNG?
I have seen some research papers where they compare encryption/signature times on elliptic curves.But when i have implemented the algorithms and calculated encryption times but each time i get some different timing.i thought this was due to random scalar chosen for scalar multiplication in el-gamal encryption scheme.So...
I'm working on a feature for a project to determine if a given X.509 certificate is an EV Certificate, and if so, who is the authority behind that certificate. To do this, I grabbed the list of EV OIDs from Wikipedia, and keep them in a hash of OID -> Authority Name. I get the certificate policy OID and convert it into...
Bear with me, I'm a utter newbie in this field. I'm looking for a way to tackle this: Alice and Bob have a secret document. Alice gives Bob a key to secure the document. Bob uses this key to encrypt the secret document. Nobody that finds this key should be able to decrypt the data. Alice holds a special key that...
I'm very new to cryptography (and cryptanalysis), and I'm wondering how to decode a substitution cipher, where all of the letters are replaced with symbols, that is, pictogram cipher?
Could you confirm whether my understanding of the SHA-1 collision issue is correct? If for certificate $A$, the message digest equals to $X$ and a Root CA signs it with its private key everyone can verify its authenticity by decrypting the signature with the public key that is pre-loaded in to the browser in form of a ...
It doesn't need to be cryptographically secure. Would CRC64 be a good choice? What's the minimum hash length that can be considered cryptographically secure these days?
Is this an issue for, perhaps, RSA? I wonder if a key could be any other size, say 261 bits.
There's a program I'm using that downloads encrypted XML files to a user's computer that can be decrypted within the program with a provided password. I have the correct password for one of these encrypted XML files. Basically my question is: Is there any way to decrypt an encrypted file without using that file's speci...
I've studied linear cryptanalysis, but i don't think I have it very clear. I've the following doubt: I've constructed a "cryptographic" hash function for an exercise, and now i want to show summarily that is secure from "linear cryptanalysis". My idea was simply to create a linear approximation like this: X_1 XOR X_2...
In (EC)DSA as per FIPS 186-4, the message to sign is first hashed. Imagine that we skip this hashing stage, instead put the message where the hash was, and constrain the size of message $h$ to the original hash's output width $N$ bits. The resulting scheme is vulnerable to (at least) these existential forgeries ($q$ is...
I am trying to do a project on RSAES-OAEP cryptography.Can anyone advice me any good applications where this can be used where there will be a lot to learn about in a programming and application perspective?
I'm looking for a partial additive homomorphic encryption over $\mathbb{F}_{2^k}$. I know that, I can take an additive homomorphic encryption over $\mathbb{F}_2$ and just concatenate each bit that we encrypted. (as suggested at :Additive homomorphic encryption over small fields) But it seems very inefficiently, when $...
I am using a hardware TRNG feeding the entropy pool on the client side. But, in a world of virtualized, headless server hosts, what are the cryptographic/security consequences for random numbers (or a RNG) of possibly poor quality (entropy) being used on the server side of ephemeral key generation and DH key exchange? ...
ZUC is a function that converts a string to another string. However, unlike a Hash function, ZUC converts a certain-length string to a any-length string. Can someone point me to its documentation or the specification?
I have a problem to find the sub-key. The system is… For each round, we make the following stage: We add the round key $K_i$. Substitution : we have 8 blocks of 4 bits, and an S-box takes each block. S = [7,3,6,1,13,9,10,11,2,12,0,4,5,15,8,14] Permutation : circular shift of 2 to the right. I choose the differe...
I'm writing an assignment about the Enigma machine, and i'm trying to calculate the amount of settings the enigma machine has. I have found several sites regarding this topic, but it seems like there are to answers to my question. The first answer is 158,962,555,217,826,360,000 and the second is 107,458,687,327,250,619...
Alice has $p_a,q_a$ and Bob has $p_b,q_b$, all elements of a ring $R$. They want to obtain shares of the value $pq$ where $p=p_a+p_b$, $q=q_a+q_b$. How do they do this ? Does revealing their shares of $pq$ leaks their shares of $p,q$? I am supposing that in the ring $R$, it is hard to deduce $p$ and $q$ from $pq$.
I want to know if there's an "easy" timing-free way to compute the sign of $y$-coordinate of $r G$, for a secret scalar $r$ and $G$ the generator of an elliptic curve. We have several choices for scalar multiplication: 1) use a Montgomery ladder, which provides the $x$-coordinate, but tells you nothing about the $y$-co...
I could not find in the NIST recommendations on XTS how many blocks can securely be encrypted with XTS-AES. Through the recommendations, I've found: The length of the data unit for any instance of an implementation of XTS-AES shall not exceed $2^{20}$ AES blocks. The specification cited in NIST The XTS-AES Tweakable ...
How long exactly would it take for a regular computer to crack an elliptic curve public/private key via bruteforce, vs. a quantum computer using Shor's algorithm with a couple thousand qubits? Can anyone reference me a source? I'm assuming the digital computer will take thousands of years, but how long exactly is the ...
SKEME is a Key Exchange protocol used in the Internet Key Exchange (IKE). It contains three phases: SHARE, EXCH, and AUTH -- these are defined in Section 3.2 of the linked SKEME document. I am trying to understand a confusing part (to me at least) about the AUTH phase of SKEME. There is a bit of background to cover b...
Can anyone please tell me the major difference between FIPS 186-2 and FIPS 186-4? I know with FIPS 140-2 they want the DSS standard to be FIPS 186-4, but what difference does it make?
Reading the specs of a new electricity smart meter (called Linky in France), I was surprised about the chosen encryption method (128 bits symmetric key AES), based on a single secret key (called CCC in the specs), that is shared between the meter and the central system, used to generate session keys to encrypt data. So...
I have a server S1 with an Private String (PS) as an identifier shared with a server S2. Every 10 min S1 publish the hash value of PS+the current time which is used as public identifier (PI). Every one can see the value of PI in the internet. As S2 has the value of PS, he also use MD5 to get the hash value of PS+the c...
Can the set of block ciphers obtained from a tweakable block cipher (using distinct tweaks) be considered as the set of ideal block ciphers ?
The paper “Explicit Two-Source Extractors and Resilient Functions” (PDF) by Eshan Chattopadhyay and David Zuckerman is described by some as being a technological leap in RNG – opposed to slow and incremental benefits over time. What benefits would a faster RNG have for cryptography in general? Does this make some forme...
Out of these algorithms… MD5 SHA1 SHA224 SHA256 SHA384 SHA512 … which has the least chance of collision, and which is the most secure at the time of writing this?
I am looking for a way to have a 'did it expired' key. There's a similar question here, but I have to prevent reusing of the 'did it expired' signature . A possible solution would be a two one-way functions f,g such that- Faythe generate key=f(private key,some date) and send it to Alice. Alice send g(key,hash(messa...
According to the Wikipedia and Philippe Oechslin's Making a Faster Cryptanalytic Time-Memory Trade-Off (pdf), both starting points and endpoints are keys. Here is an example from Wikipedia: As you can see, key kiebgt is the endpoint of this chain. However, according to this site, it is hash values, rather than keys, t...
Statistical distance is a widely used measure in cryptography for comparing two distributions. One can define various other measures for capturing the differences between two distributions, but why do we prefer to use statistical distance? What is the physical significance of statistical distribution definition, which ...
It is mentioned in the famous paper Making a Faster Cryptanalytic Time-Memory Trade-Off (pdf) by Philippe Oechslin that: The total number of calculations we have to make is thus $\frac{t(t−1)}{2}$. This is half as much as with the classical method. Indeed, we need $t^2$ calculations to search the corresponding $...
as you can see on image above, in VeraCrypt you can select either Serpent -> Twofish -> AES or AES -> Twofish -> Serpent what's the point of those permutations? is there any difference if I use A -> B -> C or C -> B -> A combination of encryption algorithms?
In the book titled "Secure Multiparty Computation and Secret Sharing" the authors define an interactive agent and an interactive system. Further, the author defines a clocked entity for considering both synchronous and asynchronous protocols in the UC model. A clocked entity is an interactive agent which has certain ru...
I'm reading about CL-PKC and in Al-Riyami's FullIndent, I find some notations I must be sure to understand, to well explain it in my report. This algorithm takes paramsand $A$'s secret value $x_A$ as input and constructs $A$'s public Key $P_A$ like this : $$P_A = \langle X_A, Y_A\rangle$$ With $X_A=x_A P$ and $Y_A =...
What values for CPU, memory and parallel difficulty should be used when generating an scrypt hash? i.e. $N The CPU difficulty (must be a power of 2, > 1) $r The memory difficulty $p The parallel difficulty I'm using the PHP PECL extension from here to generate my scrypt hashes. Is the following us...
I recently read about the concept of Feistel Networks and Substitution Permutation Networks but what is exactly the difference between the two ?
From what I know Skip32 is the only 32 bit block cipher and I heard its not secure. What do I do or which tool do I use to break a 32-bit block cipher? I did search for this but all I find is attacks for DES(64 bit) and AES(128 bit) but none for Skip32.
In a paper from 2002 (pdf), Jallad et al describe a chosen ciphertext attack on PGP by taking advantage of the CFB mode that the block ciphers use under PGP. It's quite a devastating attack. Is this attack still viable in 2016 or has PGP made changes?
Despite having read What makes RSA secure by using prime numbers?, I seek clarification because I am still struggling to really grasp the underlying concepts of RSA. Specifically, why can't we choose a non-prime $p$ and $q$? I do understand the key concept: multiplying two integers, even two very large integers is rel...
Suppose I have an AEAD mode based on a block cipher that requires two or more keys. In some cases, there is a complex proof that one key suffices. But finding such a proof is hard. An alternative is to use the block cipher in CTR mode to generate a pseudorandom stream from a master key, which is then split as needed i...
I have recently read about how blockciphers and how stream ciphers work, and although I think I finally got everything right, I'm still wondering how increasing blocksize increases security.
Can anyone explain why CBC-MAC is not secure for variable length message? I read many books, but there are still some confusion. Such as the highlighted parts in previous pictures Questions: why need to set $T''=C_0$? why $T'''=T''$. How to prove this relationship? $new\ message = P_0,P_1,(P_0 \oplus T')$?
Apologies if this is a dumb question but allow me to describe the dilemma I have: Suppose that I am protecting a private key on a device using a password & PBKDF2. The obvious attack would be an offline bruteforce by which an attacker would know the password used to protect the private key and would also have access to...
For academic reasons, I'm playing around with OpennSSL 1.0.2g. I tested RSA encryption/decryption. I created key exchange with DHKE. But I'm struggling to find a way, to create ECDH, using only OpenSSL. Is it possible to create such key exchange only using OpenSSL?
I'm not a cryptography expert, but this seems like it falls into this area. Imagine I want to design an election system (senate race for example) where I send the exact same ballot of 100 candidates to every voter. Each voter selects their preferences (can vote for multiple candidates, including 0 or all). Each voter t...
In this paper authors claim that $\{0,1\}$-matrices are almost-MDS (have branch number $n - 1$) on when $n$ is $2, 3,$ or $4$. For example, how can this two matrices have the same branch number? $$\begin{pmatrix}0&1&1&1\\ 1&0&1&1\\ 1&1&0&1\\ 1&1&1&0\end{pmatrix}$$ $$\begin{pmatrix}0&1&1&1&1\\ 1&0&1&1&1\\ 1&1&0&1&1\\ 1&...
From what I've read about Feistel ciphers, I can understand that within each block, there is both confusion and diffusion. But it is unclear to me how a Feistel cipher permutates among blocks of data. If a message is longer than the block length, how would changing one part of the message affect the encryption of other...
In ElGamal encryption $(g^r, g^mg^{kr})$, if the randomness $r$ is always chosen from even numbers, and the attacker knows about this, is it still provable secure?
In the top answer to this question the answerer says 'with a sufficently long key'. I am using a SHA1-HMAC (may switch to SHA256-HMAC) algorithm to verify cookies sent to clients as authentication tokens haven't been tampered with. The cryptographic keys are rotated with a new one being generated every 24 hours. Keys a...
Can this attack be parallelized? It is a $2^{57}$ complexity collision attack on SHA-1 based on disturbance vectors. If it is practical it is easy on a GPU ($\approx1.1$ GPU-days). If it is completely sequential it is much more tedious but still possible ($\approx556$ days on a 3GHz CPU). Both numbers are small enoug...
What are the probabilities of differential & linear characteristics for the function that XORs the high and low bits from a $n \times n \rightarrow 2n$ bit multiplication? I remember reading somewhere that this function (which seems very fast in software) has excellent non-linearity. This suggests applications in (say...
If I want to learn about quantum resistant crytography what are the best resources? Which type of elliptic curves should I be studying?
I have a 4 bit S Box byte[] S = new byte[16] { 0x9, 0xE, 0x5, 0x6, 0xA, 0x2, 0x3, 0xC, 0xF, 0x0, 0x4, 0xD, 0x7, 0xB, 0x1, 0x8 }; How can i calculate Correlation Immunity of this S Box
In Secrets & Lies (2000), Schneier describes a chosen ciphertext attack on the public key under PGP: "Since RSA and ElGamal are malleable, known changes can be made to the symmetric key that is encrypted. This modified (encrypted) key can then be sent along with the original message. This opens up the possibility of r...
In the paper, "Post Quantum Key Exhange - A New Hope," the authors present a lattice-based key exchange based on the work of Chris Peikert. In this "New Hope" key exchange the authors try to gain security by having the basepoint for the key exchange (a polynomial with coefficients in a finite field) randomly generated...
I am developer of an application that uses XTS with ciphers which use 128-bit blocks (AES, Serpent and Twofish). I now want to use XTS with a cipher which uses 256-bit blocks (Shacal-2). AFAIK, I just have to extend the tweak to a 256-bit value. But what to do with the multiplication of the tweak? Should I keep the 0x8...
I'm kind of guessing that the answer may be no. Since the compression is trying to reduce the output size using various optimization methods, this may cancel the properties of a hash algorithm. But take the following Python code: >>> import zlib >>> import hashlib >>> zlib.compress(hashlib.sha256('data'.encode('utf-8')...
I am very new to cryptography but can someone explain what exactly does 0...0 and 1...1 mean in general term. Is it that 1st and last bit can be 0,0 and `1,1 respectively and in-between bits can be anything $(0,1)$? In case it helps… I stumbled upon this while trying to solve the following multiple choice question: Le...
I'm reading about RSA and I have doubts: 1) To choose $e$, this value have to be between $1$ and $\phi=(p-1)(q-1)$, with $\gcd(\phi, e) = 1$, right? 2) In my example, $p = 139$ and $q = 491$. So $n = 68249$ and $\phi = 67620$. Assuming my point 1 is correct, $e$ can be $67619$. But $d$ can be $67619$ too, because $6761...
As part of rooting a device, I need to generate a 256-byte RSASSA-PSS signature using SHA256 as the hash and MGF1-SHA256 as the mask function, for an update file I created. I can choose any 32-byte key; moreover, I am provided with a default key, namely 49db67e9a6f198be22b03e84dedd69b834ba67d42e017d2f1ef08f0203010001...
If I use the round function from a secure SP network (such as AES) and use it in a Feistel netwok, is this a good starting point for the second cipher? My thought is "yes" because: it already has good diffusion and confusion it doubles the block size, so the number of rounds can be doubled at no perf cost.
Most padding schemes for asymmetric encryption (OAEP, OAEP+) are only proven secure in the random oracle model. Although no attacks are known, it would be nice to find a padding scheme with provable security in the standard model. Are such padding schemes known?
Imagine that you are designing an online game, the framework consists of a player A, a game host H and a trusted central server S. The player A has a symmetric key KAS and id A that is known to the trusted central server (these would be set up using a registration key printed on the CD box). The host and server have w...
Do I need to worry about timing attacks in Base64 encoding/decoding of private keys? This is a common operation (ex. PEM keys) and is variable time in typical implementations.
I need to write an "Authoring" application which produces large files. These files must be signed so that the "Consuming" application knows that it was authored with a matching key. The consuming application must access the signed files read-only, with random access. This means it will not read the full file but still ...
In Section 8 of this, Lindell presents a construction of an oblivious transfer protocol which is secure in the malicious model under the following variant of the DDH assumption (page 53): [F]or every probabilistic-polynomial time non-uniform distinguisher $D$ there exists a negligible function $\mu$ such that $$|\ma...
I was wondering if we could construct a symmetric encryption scheme by assuming that the secret key itself in GGH is public and the shared "key" is the error vector $e$. To encrypt we would take the lattice basis $B$ and our shared secret $e \in \mathbb{R}^n$ and do: $c = m*B + e$ and to decrypt: $m = (c-e) * B^{-1}$ ...
I want to start encrypting all of my hard drives, but I don't know whether to choose XTS or GCM mode. Why is it that XTS is recommended (since the most websites I visit use GCM in their HTTPS connection)? So my question is: should I use XTS or GCM, and why is one better than the other?
Suppose there is a hashing function: $$ph = bcrypt(sha256(m + k), salt)$$ Here $ph$ is a password hash obtaining by applying $bcrypt$ on $sha256$ result of concatenating a message $m$ with a secret key $k$. Assuming that key $k$ is not visible to attacker; key is a "truly" random sufficiently large string; the work fa...
If a part of my data is damaged, corrupted, or deleted, is it then still possible to decrypt the rest of the data if you still have the key? The situation: a piece of data (something like a document for example) encrypted with AES with a 256-bit key with XTS as the mode of operation.
I am working on a web application enabling users to communicate over private messages which is just one part of the whole system. The main focus during my development process is to protect the privacy of my users, I think this should be one of the main responsibilities for every software developer. Especially when you ...
I've been working my way through the paper “Efficient Collision-Resistant Hashing from Worst-Case Assumptions on Cyclic Lattices” by Peikert and Rosen, and I've come across something that doesn't seem to make sense to me. (Apologies if the level of detail in the following is inconsistent, I'm somewhat less than famili...
It seems to me that algorithms like Blowfish and Twofish with key-dependent S-boxes are almost impossible to implement without table lookups, and thus are almost impossible to implement in software without being vulnerable to timing attacks (other than by linear search through a large array, which is much, much slower)...
Why can't we use an MDC (“Manipulation Detection Code”, as also handled in this Q&A) to provide origin authentication when using public-key encryption?
If I am going to use a master key to generate a session key, why the master key must be "stronger" than the session key? Like should not be distributing 128-bit AES keys derived from a 56-bit DES key.
I'm reading about OAEP / PKCS padding used for PGP to turn deterministic algorithms like RSA from deterministic encryption to probabilistic encryption (randomness in the resulting output). That way the same input encrypted with RSA should produce a different output each time. However, the wikipedia page for probabilist...
I often see in papers (e.g. this one) that for an elliptic curve with generator point $G$ and order $n$ the private key $d$ can take on any integer value in the range $[1, n)$. When $d = 1$ the corresponding public key $Q = dG$ is of course then just the generator point $G$. Why is this allowed? I understand that the c...
If an adversary has access to the generator g of a group G and is given access to $g^{x}$ and $g^{(1/x)}$, will it make it any easier to derive the value of $x$ compared to when he had access to only $g$ and $g^{x}$? EDIT: My question is different from “Can we reduce Diffie-Hellman problem to “Discrete-log inversion” p...