instruction stringlengths 32 27.2k |
|---|
In FIPS 140-1 there are 4 statistical random number generator tests (The Monobit Test, The Poker Test, The Runs Test and The Long Runs Test. Then FIPS 140-2 came along and supposedly tightened the criteria for these tests. I'll provide a short summary of the changes here:
The Monobit Test
Count the number of ones in th... |
First of all, I know it's a very bad idea to invent your own encryption algorithm. It's better to use existing known, trusted, extensively tested and studied algorithms with a proven track record.
The idea below is purely theoretical, from a studying point of view. I thought of a rather simplistic encryption method, an... |
First of all, I know it's a very bad idea to invent your own encryption algorithm. It's better to use existing known, trusted, extensively tested and studied algorithms with a proven track record.
The idea below is purely theoretical, from a studying point of view. I thought of a rather simplistic encryption method, an... |
In here different byte padding standards are listed as ANSI X.923, ISO 101.26, PKCS7, ISO/IEC 7816-4 and zero padding. All of them seems to apply padding to the last byte blocks. Odds are rare but what happens if the actual data is an integer product of the block size and last bytes conflict with a padding scheme.
For ... |
I clearly understand the story of Alice and Bob:
Alice and Bob are going to use double DES. They know the keys K1 and K2.
Alice sends to Bob the encrypted message c= EK1(EK2(m)). Bob decrypts the message m = DK2(DK1(c)). Alice and Bob believe that Eve (the hacker) will need to discover both keys K1 and K2 by brute for... |
Disclaimer: School work.
I am trying to implement Groestl through Java, and have got stuck on the MixBytes section which can be found here section 3.4.5 page 11. As per the description of matrix multiplication, following was my first naive attempt to do it in matrix multiplication way.
public static final byte[][] B = ... |
I read about the following "safe" ECC curves and notably, secp256 and all the NIST curves are marked as "unsafe" when compared to more modern curves.
I need a curve for signing or encryption, (or both) but not sure how to choose from the following:
M-221
E-222
Curve1174
Curve25519
E-382
M-383
Curve383187
Curve41417
... |
Consider a cryptographic hash function that maps $n$-bit strings to $n$-bit strings:
$$
\DeclareMathOperator{\H}{H}
\DeclareMathOperator{\SHA}{SHA-256}
\H(x) : \left\{0,1\right\}^{n} \mapsto \left\{0,1\right\}^{n}.
$$
Let $\H^i$ denote the result of iterating $\H$ $i$ times, i.e., $\H^1 = \H$, $\H^2 = \H \circ \H$, etc... |
Consider the accepted answer to the question: Why are elliptic curves better than cyclic groups?
It seems to suggest there are subexponential algorithms (i.e., algorithms with running time
$$
L_n[\alpha,c]=e^{(c+o(1))(\ln n)^\alpha(\ln\ln n)^{1-\alpha}},
$$
where $\ln n$ is the input size, $c > 0$, and $0 < \alpha < 1$... |
On Wikipedia it is said that HMAC is basically (without taking into account padding):
$H(key\ \Vert\ H(key\ \Vert\ message))$
where $\Vert$ denotes concatenation.
I understand the need to hash twice, but why concatenate the key a second time in the outter hashing?
Why not simply hash twice, but without reusing the key,... |
I have just started studying Elliptic Curve Cryptography, and I have this doubt. In ECC the group operation is addition (and not multiplication). So, why is ECDLP stated as a variation of the discrete log problem? Wouldn't "discrete multiplier problem" or "discrete factor problem" be more apt?
|
After reading some information on the way iMessage works I have been working on writing some code to try my hand at securely transferring messages in a similar manner and I wanted to confirm that the technique I'm using is considered secure and preferably best practice.
This process assumes that the sender and receive... |
What is the importance of the $r$ and $c$ values?
Keccak[r=1600,c=0] is stated on a calculator on the Keccak website to be a checksum. But I figured if c=0, then there's only one possible output?
If C is 128, is there only 2^64 possible outputs, despite have infinite output length and an infinite number of inputs?
|
I’m looking for a one-way accumulator which can safely add new members (deletion is not necessary) and does not rely on a trusted party in any way. Unfortunately it appears that it does not exist yet.
My project has an authentication based on a block chain (like Bitcoin) so it's manually initialized and after that it r... |
Factoring some 20-45 digit values n with a (simple) quadratic sieve, the quadratic sieve may end up with pairs of x and y s.t. $x^2 \equiv y^2 \pmod n$, but neither x+y nor x-y has a nontrivial gcd with n for any of the pairs.
The contini pdf (www.crypto-world.com/documents/contini_siqs.pdf) is an excellent resource fo... |
I have a laptop without the AES-NI CPU instructions but with SSE4.1.
I'm using Linux and tried the (in-memory) cryptsetup benchmark to get the rough tendency which returned:
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 101,4 MiB/s 159,6 MiB/s
serpent-cbc 128b 52,7 MiB/s 203,4 MiB/s
tw... |
In general it's hard to calculate the roots of a given polynomial $P(x)$.
But the other way back calculating the coefficients is much easier (Vieta's formulas).
If this is a one-way function, is it possible to create a public-key cryptosystem
based on these facts? Or does it already exist?
|
I am generating a key & iv with Ruby's OpenSSL wrapper for an AES CBC 256 setup:
cipher = OpenSSL::Cipher::Cipher.new('aes-256-cbc')
key = cipher.random_key
iv = cipher.random_iv
I am then storing the generated key / iv in blob columns in the database. When trying to display the key or iv it looks something similar to... |
I'd like to create a PSK key to use with TLS-RSA-PSK-WITH-AES-256-CBC-SHA - what is the format of this key?
|
Suppose we use Additive ElGamal defined as follows:
Let $(K,E,D)$ be a triple. The key-generator $K$ outputs the description of a
finite multiplicative group $G$ of prime order $q$, with three generators
$(g,h,f)$ which are set to be the public-key $p_k$ of the system; the
secret-key $s_k$ is set to the value $\... |
I want to ask again about distinguishing attack on CBC MAC, based on the paper published by Ketting Jia, Xiaoyun Wang, Zheng Yuan, and Guangwu Xu: Distinguishing Attack and Second-Preimage Attack on the CBC-like MACs.
That paper says: "The adversary makes $2^{(n+1)/2}$ queries with $m$-block messages that have the same... |
There's a lot of references about McEliece key size being the barrier for proper usage of the algorithm, exactly (or roughly) how large are the keys?
|
Wikipedia states that McEliece is open to "information set decoding attack". What is an "information set decoding attack" and how serious is the vulnerability? (is it just a matter of choosing proper padding/parameters or is the issue deeper)
(motivated by Is key size the only barrier to the adoption of the McEliece cr... |
In OAuth 1.0a and 2.0 using MAC Authorization, I need to generate a hash of all the QueryString Parameters, which requires normalization (alphabetical ordering) of them.
I'm trying to understand what this offers from a security perspective over just generating a hash of Secret Key + Nonce + Timestamp?
My guess is that ... |
When using this very minimal CryptoJS AES example:
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"></script>
<script type='text/javascript'>
var passphrase = "Secret";
var enc = CryptoJS.AES.encrypt("Message", passphrase);
var result = enc.toString();
var decrypted = CryptoJS.AES.decry... |
The Needham-Schroeder protocol is:
1 A→S:A,B,Na
2 S→A:{Na,B,Kab,{Kab,A}Kbs}Kas
3 A→B:{Kab,A}Kbs
4 B→A:{Nb}Kab
5 A→B:{Nb−1}Kab
Here Na and Nb are nonces.
Kab is the key between a and b
Kas is the key between A and KDC
Kbs is the key between B and KDC
My Question: In step 2 if we don't encrypt with Kbs & in step ... |
How would you go about solving basic custom made ciphers - e.g. one generated from this website http://www.wikihow.com/Write-a-Custom-Cipher-Carefully?
This is solving it without knowing the method of the cipher beforehand.
|
I am having a hard time figuring out the soundness proof of the bellow zero knowledge protocol. As it is a typical proof, I would love to deeply understand it.
zero knowledge argument that $h \in <g>$
Lets $G = (\mathbb{Z}/n\mathbb{Z})^{\times}$. The prover wants to show to the verifier that $h \in <g>$. The common... |
I've had an assignment to sign a file using hash and salt, so I read about salt and I got why it's important when it comes to password, but not to sign messages.
How do I sign something using salt? The only way I could think of is that I add the salt to the message then hash both and then send the hash along with the ... |
I'm currently working on crypto tools to encrypt/decrypt 4 blocks of messages using Triple-DES with 2 keys. So, I've reached the final cipher text, but now I have to do the reverse and get the plaintext message. However I'm sort of confused with the decryption process.
For the Encryption, I encrypted using K1, decrypte... |
I have been going through a huge amount of papers to find a simple and a practical method to compare integer numbers without revealing their original values. I know that this falls within the area of secure multi party communication framework. However, I have very limited knowledge in cryptography and I can not really ... |
I am studying a function where I found the some hash properties.
Hash functions:
Given a code c is computationally infeasible to find m such
that h(m) = c
Given m is computationally infeasible to find n != m such that
h(m) = h(n)
It is computationally infeasible to find any pair (m, n) such
that h(m) = h(n)
Actually ... |
Given an RSA implementation that uses Montgomery multiplications and CIOS exp algo, but NOT CRT.
Given a decryption1 oracle that takes chosen cipher text and responds the plain text and the time it took to decrypt it.
Given a decryption2 oracle that takes N,d,c and uses the same code as decryption1 oracle, it responds... |
I understand how for hash functions which are vulnerable to length extension attacks (such as SHA1 and SHA2) it is safer to use a HMAC construction.
What I don't understand is, how or why is $\operatorname{HMAC\_SHA256}_\mathrm{key}(\mathrm{message})$ safer (in terms of resistant against certain attacks) than $\operato... |
I have a Weierstrass elliptic curve ($y^2=x^3+a \times x+b \mod p $)
How can I find the order of the group itself? I have seen Mathematica has a GroupOrder[] command and WolframAlpha will do it for me, but how can I do it myself, mathematically?
The modulus, $p$, will be a large prime number, say 256 bits or more.
|
Alice and Bob want to agree on a bit $0$ or $1$. Both know it would be fair to pick that at random, but there's no way they could meet to throw a dice and no third party they could trust. Are there known protocols that allow either side to prove that they did not manipulate the outcome?
My idea is: Both randomly (or no... |
Apparently current best practices recommend that you do not compress before you encrypt.
For example in this blog entry (*):
http://sockpuppet.org/blog/2013/07/22/applied-practical-cryptography/
It is written:
Developers shouldn’t compress plaintext before encrypting.
Or in this question here on crypto.se:
Is compres... |
I want an algorithm of some sort that can ensure that an operation takes a fairly specific amount of time, but proof that this operation was done can be completed relatively inexpensively.
For instance, I can prove that an operation will probably take around 30 seconds by doing a cycle with a hashing algorithm such as... |
What is the basic difference between the following types of Authenticated Encryption (AE) schemes?
Lightweight Authenticated encryption
Online Authenticated Encryption
Authenticated Encryption for low memory devices
Are they all the same or is there a specific difference between them?
|
What is/are difference(s) among eavesdropper attack, multiple message attack and CPA attack
in context of symmetric key encryption?
I only know that in eavesdropper attack there is an adversary which can send only 2 msgs to challanger and adversary has to distinguish between these in order to win the game but in mult... |
Why is Diffie-Hellman key exchange not hard over $\mathbb{Z}^{*}_p$?
|
One of the new features of Java 8 is the SHA-224 message digest.
What is the use case for having a 224-bit-length hash?
|
I've been reading the article "A (second) preimage attack on the GOST hash function" by F. Mendel et al (link) and I'm having some difficulty to grasp some of the values of complexities/probabilities in the attack. Specifically:
On page 228, how is the probability that two pairs lead to the corresponding values $x_1$,... |
I am studying Triple DES.
I have got two basic questions. One, why are we following a sequence like encrypt(decrypt(encrypt)); what is the problem using a sequence encrypt(encrypt(encrypt))?
Second, why are we not using a single long key (say 168 independent key bits) in lieu of three individual 56 bits keys?
Thanks.... |
I'm trying to design cryptographic protocol to play Rock-Paper-Scissors with two parties, neither trusting each other, nor trusting server they use for communication, so game is 'provably fair'.
So there are Alice and Bob. They don't know about each other, and they've came to server to match them with each other, with ... |
I know that Skein can output a digest of arbitrary size, with a kind of counter mode. Blocks of the resulting digest can be computed in parallel.
What about Keccak ? I know that a sponge function can generate a hash of arbitrary length, but is it possible to generate this output with a parallel algorithm ?
|
Let $H$ be a secure hash function (e.g. SHA256), is it possibile to find $H(M1)$ given $H(M1||M2)$ if the length of $M1$ and/or $M2$ is exact the block size of the hash (that is, 64 bytes for SHA family hashes)?
|
The PKCS #1 v1.5 padding scheme for RSA has been proven to have some weakness when used with TLS for example.
My question is: is it still secure under the following conditions?
Alice sends a message to Bob encrypted with RSA using PKCS #1 v1.5 padding scheme.
If Bob figures out that the message is correct, he will sen... |
When a server is under attack, it send the client the following data:
Nonce - a byte array of Y length
Hash - the hash digest of the puzzle solution
The client has to find X such as Hash(Nonce||Counter) = Hash where Counter is a 32-bit integer value starting from 0.
The client has to return the correct Counter to the... |
I am looking for a trapdoor one-to-one function $f : \{0,1\}^n \rightarrow \{0,1\}^n$ (that is, mapping the set of $n$ bit numbers 1-1 onto itself [any $n$ is OK]).
I was considering the use of something like AES-256 but unfortunately AES is symmetric.
I don't think plain RSA will work since I want powers of two.
Basic... |
The question pertains not in terms of security but computing operational functionality, as it how the computation is done.
Is it true that for RSA with no padding, the length of data must be equal to the length of key?
If so, why is that so? What is the reasoning why the data needs should have the same number of bits ... |
I want to develop an application that will allow a user to create a public/private key pair, and encrypt it symmetrically with a key such that once they enter their password, they will be able to decrypt the key pair and retrieve its contents.
However, it is desirable for someone else that they trust to be able to dec... |
I'm familiar with client puzzles, where the client performs some work and there is a way to prove to the server that the client has done so.
Is there a way to do this, but where the client's resource is memory (storage) rather than computation (CPU)? In other words, the client ties up some storage for some duration, a... |
Suppose that I want to encrypt some data using two different algorithm chained (e.g. AES and Serpent) and harnessing the benefits of CBC.
I can do:
SERPENT_CBC( AES_CBC(plaintext) )
or
SERPENT_ECB( AES_CBC(plaintext) )
Of course the second solution is computationally slighter than the first one.
But can it be conside... |
Alice, Bob, and Carol each generate ECDH keypairs. Alice and Bob establish a communication channel and negotiate an AliceBob secret.
The question is: Is it safe for Alice and/or Bob to reuse their keypairs to negotiate a new AliceCarol and/or BobCarol secret?
The intended use is authentication. Each party can persis... |
When proving a Crypto scheme security under random oracle model, is the random oracle always controlled by the challenger?
What if the Hash is only used by the adversary?
|
We know that Cryptographic hash function is generally a one-way function where we can't retrieve the original message. On the other hand, encryption is a two-way-function where we get the original message from the encrypted message or vice versa. So, in a normal sense, we can't use hash function to construct an encrypt... |
In Shamir's secret sharing scheme, we are trusting a third party who generates the secret polynomial.
How can we ensure security here when we are involving a third party?
|
I'm looking for a very detailed example of proof by reduction. Say we have two or three protocols (that have been proven secure) and we construct a new protocol. We want to provide a proof of security for this new protocol.
For instance, we can consider the following simple example: we have a (secure) signature algorit... |
I would like to inquire if there is any Method to achieve the following:
There is a list $L$ of $n$ entities that are allowed to perform a certain action. $L$ is cryptographically signed by some authority, so nobody can change it without detection.
Now everybody (icluding everyone of the $n$ entities) should be able to... |
If an attacker finds some round key of AES256, is it possible to find the master key?
How safe is the master key if an attackers finds multiple round keys?
|
I'm looking for a peer reviewed protocol or algorithm that can do this, preferentially I need something based on elliptic-curves cryptography.
Alice know the main public key of Bob (B-PUB-1).
Alice want to derive a new public key (B-PUB-2) from Bob's public key (B-PUB-1) in an asymmetric way.
The new key correspond to ... |
Can you help me understand the differences, both algorithmic and practical, between RFC 5246 SessionID re-use and RFC 5077 Session Resumption?
Both appear to be ways to nail up a second TLS session without a Server certificate exchange, leveraging the full certificate exchange and validation of a previous, separate TLS... |
Say we have door where you have to say a password to pass. If theres someone standing nearby he would hear the password and could also use it. So therefore the doorman gives you a different number everytime you want to enter and you have to calculate the password in your head. E.g. you have to add 12 if the number is e... |
Given a partial key for a mono-alphabetic substitution cipher (missing
11 letters), calculate the number $N$ of possible keys, given that no
plaintext letter can be mapped to itself.
Ordinarily, the number of possible keys would be the number of derangements of the missing letters $!11$. However, 5 of the plainte... |
I just read through this article which demonstrates practical (and seemingly trivial) collisions in PBKDF2-HMAC-SHA1, and provides a few examples of collisions.
Am I missing something here? Is PBKDF2-HMAC-SHA1 really broken this badly and trivially? Or am I missing some wider context?
|
I intend to use a generic integrated/hybrid encryption scheme for transmitting information between a client and a server.
Key encapsulation: a 128-bit symmetric key is generated and asymmetrically encrypted.
Data encapsulation: a 96-bit IV is generated, the plaintext is encrypted with AES-GCM using the generated key an... |
NIST have just launched a new service called the NSANIST Randomness Beacon. It has been met with some initial skepticism. Perhaps the cryptography community would have used it before June 2013 when NIST had a trusted reputation. At first I thought it was a mistimed April Fool's joke, however it actually appears to be a... |
Say you have a characteristic polynomial of an LFSR:
$$f(X) = X^4 + X^3 + 1$$
How can I use this function f to get the output of the LFSR, given some initial state?
Obviously I can create the LFSR diagram based on the function, since this function describes where the "taps" are (see .e.g the Wikipedia article http://en... |
The proof of FO hybrid encryption is hard to understand. $\:$ Especially, how does the challenger
respond to the decryption queries when the challenger can only have some encryption queries?
|
Is there any known techniques for using time-space tradeoff for speeding up symmetrical crypto breaking? Kind of like rainbow tables speed up breaking hashes by using huge precomputed tables.
Is something similar possible for symmetrical cryptos like AES? If not, why? Is there a difference between block and stream ciph... |
I'm trying to implement AES CBC MAC splicing attack in Python, the idea is:
given a message M, its tag Tm (MAC(M) = T), a new message N and its tag Tn we build a message such as: M||N = (M1, ..., Mn, N1 ⊕ Tn, N2, ..., Nn) that has the same tag with N (that is because you inserted a block which resets the algorithm).
Th... |
I am studying in CSE and in my recent exam paper, A question was asked as:
Construct a playfair cipher for Plaintext: semester5 and key:technology.
Generally as we are taught yet, there is no example of playfair matrix substitution for numeric value.
So, what to do with number 5? Is there any trick for this kind of enc... |
If you happen happen to have a message $m ∈ Z_n \backslash Z^*_n$, RSA works but not secure. How likely is it going to happen? $|n|=1024$ bits $|p| = 512$ bits $|q| = 512$ bits.
|
One question I had to answer in my crypto exam today was:
Do we need symmetric cryptosystems?
As it stands, that's probably a debatable question, so I'd like to reformulate this as:
Are there any situations where symmetric cryptosystems could not be replaced by asymmetric cryptosystems without serious downsides?
I'... |
I hear a lot about why Montgomery curves are used in ECC, and one reason is that the same algorithm can be used to do both point addition and doubling (this is not true for the Weierstrass normal form).
What are the most prominent unsafe features of curves, and ways one can screw up an ECDH implementation? Are there "... |
Bitcoin mining relies on generating a smaller hash than the so-called target (a function of the so-called difficultly), thus is vulnerable to a truncated preimage attack (you just need to obtain a certain number of leading zeroes).
I believe this is called a near preimage attack.
What is the current status of attacking... |
In the paper for Fortuna the authors say that you can use any good digest algorithm (obviously as long as its output is 256 bit) and then they recommend double SHA-256.
Why? What's the benefit? What happens if I use single SHA-256 or RIPEMD-256, for example?
|
An RSA key pair consists of the private key $(n,d)$ and a public key $(n,e)$ such that $de \equiv 1 \bmod{\lambda(n)} $.
Usually one chooses a small $e$ and computes $d$ by inverting it modulo $\lambda(n)$. This makes things computationally easy for the user of the public key, but makes it expensive to use the private ... |
Proofs of security may be constructed such that an adversary $A$ is used to construct an adversary $A'$.
The reduction/algorithm which uses $A$ has to perform a number of computations in order to simulate the environnement of $A$ (t.i.t.s to intercept/answer to queries from $A$).
I've noticed that we evaluate the time... |
What is the the point of an "online" mode for an authenticated cipher?
I understand what "online" means in this context. However, I have trouble coming up with applications that would benefit from such a feature.
Usually, the "messages" that are encrypted and authenticated are not too long and I think that this is du... |
Can we have separate key for separate blocks which we get while operating a plain text message using CBC encryption model? If yes, what are it's advantage? Please enlighten me.
|
The AugPAKE spec says it can be implemented over elliptic curves. This sounds very promising, but they don't actually back that claim. Can this really be achieved? If so, how would one go about mapping the existing protocol to elliptic curves?
|
Is error propagation in DES PCBC a good method to prevent decryption/crypt analysis by third parties?
If I had a very large file encrypted with Perl's DES with the PCBC option, and then removed the first megabyte of the resulting ciphertext would this render the remaining ciphertext 100% immune to crypt analysis ? Why... |
Alice signs a message $m$ with her private key, yielding a signature ($r$,$s$).
I want to prove to someone else that I have this signature, but I don't want them to have the knowledge of what ($r$,$s$) is.
Is there a transformation I can apply to ($r$,$s$) to yield a new signature ($r'$,$s'$), such that someone who kno... |
I'm very new to cryptography and encryption so I apologize if the answer to this is well known, but I can't find anything in my research.
The crux of the problem is the need to store data on an offline device which cannot be trusted. Is it possible to encrypt the data in such a way that it cannot be read by the device ... |
There are three blind card game players. Each player does not trust any other, even prejudicing other two players may not be blind, or there may be others in the room, peeking at their cards.
In order to protect from glimpsing their hands, each player puts each of his cards into separate locked box, each box having its... |
While reading Shamir, Rivest and Adleman's paper on "Mental Poker", I've met a mention of system such that $E_a(E_b(x)) = E_b(E_a(x))$, without however disclosing details on it, with $E_a(x)$ being “encrypt plaintext $x$ with key $a$”.
Do any existing secure modern cryptosystems have this property, and how is it called... |
The defining feature of a PRF $f:\{0,1\}^k\times\{0,1\}^s\mapsto\{0,1\}^*$ is that, if the first parameter is selected at random, it should be indistinguishable from a function $g:\{0,1\}^s\mapsto\{0,1\}^*$ selected at random.
But what if the key parameter isn't selected at random? What, more exactly, might and might n... |
I know the question is rather unusual, but let me clarify what I'm searching for:
There is one person, lets call her $Alice$. $Alice$ has $n$ plaintexts $t_1..t_n$ and $n$ public keys $pk_1..pk_n$ of other persons.
Now $Alice$ has to encrypt one $t_i$ with a $pk_j$ for arbitrary $i,j$. Each key and plaintext should onl... |
I’ve got two questions:
I’m doing the following:
Data : uuid + int + nonce
Signature: ECDSA(sha256(Data) )
To verify the signature:
decrypt(Signature) == sha256(data)
So if the data, hash function, and public key are known, why is there a need to hash?
If the same Data with a different nonce is sent over and ove... |
Assuming the alert protocol is encrypted AFTER a session has been established and the structure below, how does the client know whether to expect encrypted data or not?
http://en.wikipedia.org/wiki/Transport_Layer_Security#Alert_protocol
|
What are the increased possibilities (if any) of being able to crack a private key given the following:
The associated bitcoin (ECDSA Secp256k1-based) public key is known.
The private key has been used to generate a public key from a different ECDSA curve and that public key is also known.
It is known that the two pub... |
Which of the one (HKDF or TLS1.1+ PRF) is more secure and why?
|
What are the increased possibilities (if any) of being able to crack a private key given the following:
The associated bitcoin (ECDSA Secp256k1-based) public key is known.
The private key has been used to generate a public key from a different ECDSA curve and that public key is also known.
It is known that the two pub... |
I have a hard time learning exactly how the elliptic curve equation is used in the ECC.
$$y^2 = x^3+ax+b$$
If someone knows and could explain to me in simple steps how this is done or a link to it that would just be amazing. I know how point addition is done, so I know the mathematical side to it.
This is a high school... |
Let $(d_1,Q_1)$ and $(d_2,Q_2)$ be ECC key pairs over two different elliptic curves (say NIST P-224 and NIST P-256). According to the Elliptic Curve Discrete Logarithm Problem (ECDLP), if the private keys were generated randomly, it is infeasible to find $d_1$ from $Q_1$ (or $d_2$ from $Q_2$).
Now, say we know $d_1=d_2... |
This page by Nicolas T. Courtois mentions Geometric Generalised T' Method. It is described as
an advanced geometric algorithm, never published, for finding extra linearly independent equations at a given degree, which would normally be found by Gröbner bases techniques, but at a higher degree(!) with much higher memo... |
I would like to know how to test hardware random number generators.
What techniques, tools or tricks to solve the problem ?
Any practical difficulties, implementation complexities etc.
|
These questions revolve around DH and ECDH vs DHE and ECDHE. Specifically within the context of TLS/SSL. There are three questions in total (and a fourth bonus question).
The goal of using Diffie-hellman at all in TLS/SSL is to avoid the case where the contents of the certificate are the sole source for seed value fo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.