instruction stringlengths 32 27.2k |
|---|
I am reading through the AES specification and am not able to wrap my head around the multiplication definition (section 4.2).
In section 4.2 why is the modulo chosen as {01}{1b} which is $283$ and not $255$? The irreducible polynomial is $m(x)=x^8 +x^4 +x^3 +x+1$. Is there a significance to this seemingly random cho... |
I am trying to understand how differential Cryptanalysis works. Here I read how to use differential cryptoanalysis for cracking FEAL4 cipher.
The big gotcha with this process is that you cannot just reuse the above differential path to crack rounds 2 and 3. You must build new differential characteristics that only cov... |
Follow-up to: Parallel-resistant proof-of-work scheme?
Is there a proof-of-work scheme that:
can only be solved serially;
given the solution, can be verified in minimal time;
deterministically constructs the problem from some input, where the difficulty varies randomly dependent upon the input;
can be verified by an... |
I understand that the word size is the internal "working package size" below the block size of a cryptographic hash function (and a block cipher), as each block is broken into words an than processed round-based. Does this size have any practical relevance when using that function? For instance do algorithms with 64b w... |
After an answer here, about generate elliptic curves, I've start thinking about the algorithm. The mentioned algorithm will produce curves in the Weierstraß Reduced Form (WRF) over finite fields:
$y^2 = x^3 + ax +b$ with $a,b\in \mathbb{F}_p$
And this WRF is the representation used in the NIST (where $a\equiv-3\pmod ... |
I'm looking to do some research into how RSA is used in the wild. I've read through a few papers and it seems other researchers have had no trouble collecting millions of keys to perform analysis on.
I've done some preliminary research but can't seem to find any one site from which to download other people's public key... |
I am writing an application in Java that will be using SHA-1 HMAC message authentication. From what I understand, a connection over HTTPS is considered secure enough to share a secret key in plain text, and there is little added benefit to hashing the key before sending it from the client to the server.
So, my imple... |
Bitcoin uses SHA-256, Base58Check, ECDSA (Sep256k1) and RIPEMD-160 as the basis of its encryption (see this article for a short guide on how addresses are created).
I would like to create an iOS-based wallet app that offers reasonable security.
OpenSSL is not available on iOS, and is quite a large dependency. What I'm... |
I'm thinking of implementing rainbow tables for a specific blowfish problem, but I have trouble thinking of the proper way to apply the original paper (and its application to hash functions) to blowfish.
Say we have a not too clever password hashing function, which just uses the password as a key to blowfish-encrypt a ... |
I have a situation in which I need to combine a 32-bit datum, G, and a 64-bit datum, I, to produce a 64-bit datum. No two tuples with the same I value will have the same G value, and vice versa. Collision resistance must be very high (data corruption will result if not).
Technically, I don't need encryption, but most... |
Alice has a set $S$ of words. Bob has a set $T$ of words. They want to compute the intersection $S \cap T$ of their words, with the help of a semi-trusted third party Trent. Trent runs a central server. The server is normally well-intentioned and not malicious. However, we are concerned about the risk of server co... |
I am building an open source hardware system that will be used to control things over the internet. The system consists of a Base Station and Modules which use wireless communication at 2.4GHz to exchange data.
Now I have come to the point where I need to protect the transmitted RF data against re-transmission and decr... |
My company just implemented whole disk encryption on all laptops (Symantec) and the concept seems flawed. Please correct me if I'm wrong, but if I have known file in plain text and that same file in encrypted text, it possible to use that information to find the key for decryption.
If there is a better stack to ask ... |
I have been reading about “Timing Attacks on RSA: Revealing Your Secrets through the Fourth Dimension” by Wing H. Wong. I was wondering if this attack is feasible while signing with RSA and, if yes, how?
Also, how this kind of attack is applied with DH?
Talking about timing attacks in general, in which way AES is af... |
Does anyone know the purpose of the "purpose" byte in the PBKDF2 implementation in Crypto++? It appears that the PBKDF2 does not use this byte, but I want to make sure I am not setting the option to some stupid default.
Here is the method signature.
If you look at line 42 of the pwdbase.h file, it seems to indicate th... |
Given two arbitrary/random $n$-bit words, how could one best mix them to get one $n$-bit word for general crypto usages?
I suppose that one should have an adequate measure of goodness of the mix before being able
to answer that question. So I would like to first ask: If $z=f(x,y) \bmod 2**n$ is the result of the mixing... |
I'm reading A Practical Public Key Cryptosystem Provably Secure against Adaptive Chosen Ciphertext Attack and here define Semantic Security ...
Semantic security, dened by Goldwasser and Micali [14], captures the intu-
ition that an adversary should not be able to obtain any partial information
about a message giv... |
If Linear Cryptanalysis exploits the fact that the plaintext and ciphertext are not completely unrelated, is the attack possible without having access to the plaintext?
|
I'm pretty sure I understand how public/private key cryptography works. Anybody can encrypt a message using a well-known public key, but only the person who holds the private key can decrypt it.
My question concerns securely sending a message to multiple people. Say there are n public/private key pairs. Is there a way ... |
I'm not sure what this attack model is called - it's not known-plaintext and also not quite cipher-text-only. It is similar to this question except the general case (not just two keys) and using keys you'd find in the wild.
Say you have one hundred ciphertexts which you know are the result of encrypting exactly the sam... |
One thing cryptography articles never seem to explain is how the message actually gets encrypted. You get this long-winded lecture on number theory which ends with, Ta Da! and we have a public and private key. Then, they never explain the process of exactly how some 100,000 byte word document gets encrypted using the p... |
I'm learning modular exponentiation with Chinese remainder theorem.
I found a great answer from below
How can I use eulers totient and the chinese remainder theorem for modular exponentiation?
But I can't understand the last step of construction from $C_p$ and $C_q$ very well. Can someone explain it to me? Moreover, if... |
I have trouble to understand how I can show that the Decisional Diffie-Hellman problem (DDH) is self-reducible.
I found this as a description of a random self-reducible problem.
Given an instance I1, it can be solved as follows:
(a) transform I1 into a uniformly random instance I2
(b) solve I2 and
(c) transform the sol... |
If I want to check the integrity of some piece of data, I can check that a cryptographic hash of the data corresponds to a known hash.
Alternatively I can also check a digital signature on the data and see that it corresponds to a known authority for the data. I can use certificates or not for this.
I can also verify ... |
I would like to perform a variant of Elliptic Curve ElGamal in java using the BouncyCastle libraries.
I currently face the difficulty of mapping a message $m$ onto the elliptic curve $E_p$. I have so far multiplied the generator $g$ of $E_p$ by the message $m$. However, this is hardly reversible. Hence I cannot retriev... |
I am trying to find the article to reference when discussing the Diffie-Hellman key exchange.
According to Wikipedia Hellman said that
The system...has since become known as Diffie–Hellman key exchange. While that system was first described in a paper by Diffie and me, it is a public key distribution system, a concept... |
I am currently trying to create an ECCCurve for E-521. Unfortunately, it is not currently a named curve in the library I am using, so I will have to define it manually.
I am using the definition of the E-521 curve provided here:
E521 is a curve over GF(2^521-1), formula x^2+y^2=1-376014x^2y^2,
basepoint
(15710548941849... |
One-Time-Pad is information theoretically secure as long as the random number stream is evenly long or longer than the data stream it encrypts, for a "deciphered" message could have been any message with the same length as the given with the same probabillity. Does the same apply to symmetric ciphers, too?
For instanc... |
The likelihood of breaking, for instance, an AES-128 cipher is 100% after $2^{128}$ tries in brute force, meaning that I've got to try $2^{128}$ keys to certainly break it.
What if I (hypothetically) had recorded $2^{128}$ bits of data encrypted with the same AES-128 key? How does this help in cryptoanalysis?
And how i... |
I need to uniquely assign a 32 bit integer to a collection of human readable strings (i.e. they will not be generated with hash collision in mind). I don't expect more than a few thousand strings. I would like to evaluate the possibility of using the first 32 bits of the md5 sum for this. What is the distribution of... |
Can a monoalphabetic substitution cipher attain perfect secrecy?
Definition of perfect secrecy:
$${\rm Pr}[\,{\rm Enc}_k(m_1) = c\,] = {\rm Pr}[\,{\rm Enc}_k(m_2) = c\,]$$
|
Why does SHA-1 algorithm have exactly 80 rounds? Is it to reduce collisions? If yes, then why do SHA-2 and SHA-3 have a lower number of rounds?
|
I was trying to figure out how HOTP kept from wrapping over, when I saw this explanation of how it works, by Thomas Pornin [source]:
The intended scenario is the following: the client has a handheld device which outputs the
successive passwords, one new password per button-press. The client may press the button a
... |
I am very curious on the fact that SHA, MD5 and all related Hash Functions change the output even by changing one bit in input Message. Why is that?
|
I am trying to find how much time an AES encryption and decryption takes for a given amount of data and key. In all the cases encryption takes way lesser processing time than decryption. I tried to get this answer somewhere else but can't find. May I know why does decryption takes a lot more time than encryption for AE... |
I'm writing some code to digitally sign certain files (JSON, if you must know), and I'm trying to understand the use cases, not being a crypto guy myself.
I understand there are use cases where several parties all need to sign the same content, e.g. the two parties who enter a contract sign it to indicate their approva... |
I'm looking for a pseudorandom function (PRF) with "traitor-tracing" properties.
More specifically, I'd like there to be multiple equivalent keys, so I can give different parties different keys, but have them yield the same operation. In a standard PRF, there is a single key $k$, and everyone who uses the PRF is given... |
Is it possible to accomplish the following scheme?
There is a Server (S) and many clients.
Each client enrolls with S, exposing its real identity; S saves the real identity information in its database and executes some keys/identifiers exchange with each client (could be something like DHE or RSA).
Then, someone sends... |
First I'd like to note that I'm really a beginner at cryptography, and while this interests me and while I have researched it in the past few months, there is still a lot of things that simply aren't clear to me, and I would like to have them clarified so I can move on.
Let's say (because this scenario is what I have p... |
I can't understand how the "cryptographic functions" are to be selected RSA + OAEP which are used in OAEP. How to choose these "cryptographic functions"(G and H)?
|
There are standard schemes for obfuscating a point function; I'm wondering if we know how to obfuscate a slight generalization of a point function. I'll elaborate more precisely.
Definition 1. A point function is a function $f_{v,w}$ defined by $f_{v,w}(x) = w$ if $v=x$ and $f_{v,w}(x)=0$ otherwise.
We know how to obf... |
Recently, there has been a major theoretical breakthrough in program obfuscation, in the area of indistinguishability obfuscation.
Background: Indistinguishability obfuscation is a form of program obfuscation, with the following security property: if $C_1,C_2$ are two different circuits that both compute the same funct... |
I’m implementing some file encryption module with random-access capability and AES-CTR seems the right way to go.
I understand that reusing Keys and IVs can expose the file to ‘Stream Cipher Attacks’ when portions of the file are being modified (assuming previous versions of the file are still available).
I want to av... |
Let $f(x) = ax + b$ be an affine encryption function. $a$ and the cardinal of the field of our keys $K$ (in English, 26) must be coprime so that the encryption function is bijective and the decryption function defined and bijective as well.
Could you please clarify how (in terms of congruences) the two having a $pgcd>1... |
Looking at http://safecurves.cr.yp.to/ to find a safe curve, I find that most curves described here are of a different form from that generally used.
In Bouncy Castle, for example, FpCurves take curves of the form $y^2 = x^3+ax+b$ (Weierstrass), whereas the (safe) curves found on the above linked have different forms, ... |
I know that RSA normally is made to make it with big integers, but i trying to make the algorithm myself (with the help of wikipedia) and I´m making it with small numbers to track the problems easily.
The problem is that sometimes the decryption of the encrypted message is wrong!
Exactly when I choose p=11 and q=5, the... |
I want to create a brain wallet using a custom diceware since I don't like the original one. Instead of 7776 words it has 46656 because I use 6 dice for each word instead of 5, and also it only has words with many characters.
So this is what I got so far, please tell me if I made a mistake:
$$\frac{2 ^ {\log_2(46656) ·... |
I am trying to learn about the Elliptic Curve Digital Signature Algorithm (ECDSA) by verifying the results in some example calculations. I found a PDF of example ECDSA calculations from NIST here:
http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/ECDSA_Prime.pdf
In the section "Example of ECDSA with P-256", NI... |
You plan to use a public-key cryptosystem based on the RSA trapdoor permutation in three different real-life applications, in which the attacker has, respectively, only one of the following resources:
a single computer,
a collection of computers distributed across the Internet, and
a quantum computer.
When choosin... |
It's easy to create an RSA modulus where almost no one knows the factors: for example, I can generate two 1024-bit primes $p$ and $q$ and set $n=pq$. If I publish $n$, I will be the only person in the world who knows, or can know, $p$ and $q$.
The (now defunct) RSA Factoring Challenge numbers were generated like thi... |
Creating a 2048bits RSA keypair I figured that doing this using
openssl takes as an input 32bytes of "randomness" from /dev/urandom
pgp (openPGP) takes as input 300 bytes of "randomness" from /dev/random
My questions is. Does the number of randomness influence the cryptographic qualities of the resulting keypairs?
|
I am looking at the different attacks on RSA. I came across known-plaintext attack where the public key can be used to encrypt all possible messages until it finds a match on the sent encrypted message. However, on the book I found in the library it seems this form of attack is also called "Forward search attack".
If... |
I am a beginner to the concept of homomorphic encryption. One thing that makes me very confused is why we use the circuit concept or approach to homomorphic encryption. Gentry's paper does not discuss it in detail. Are there any papers or books could make me have a better understanding of it?
(I mean the circuits part... |
In the recent iOS Security white paper from Apple (February 2014), the section on iMessage discusses using two different asymmetric key types as part of its standard operation:
When a user turns on iMessage, the device generates two pairs of keys for use with the service: an RSA 1280-bit key for encryption and an ECDS... |
I am learning SSH protocol. With my current understanding of SSH protocol, I think that message digest algorithms for using in digital signature should be derived from Key Exchange. But Openssh implementation uses only SHA1 for signing and verifying of digital signatures. SHA1 is hard coded in these two functions, ssh_... |
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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.