instruction stringlengths 32 27.2k |
|---|
Is the SWIFFT hash function described in:
https://en.wikipedia.org/wiki/SWIFFT
still considered a provably secure one way function? Is it also considered secure against attacks by a quantum computer? Would it be a good candidate for a post-quantum (quantum safe) hash?
|
I was reading this answer that shows how to calculate the inverse of public exponent, i got to the point where we apply the euclidean algorithm and finish substituting to get
(40−2×17)−1×(17−2×(40−2×17))=1
it states "this is a linear combination of 17 and 40, after simplifying you get:"
(−7)×17+3×40=1
which gives us t... |
I'm crash studying the public key cryptography topic and I have a few questions about how signatures are created.
So are digital signatures just encrypted hashes? If that's the case then I can hash my symmetrically encrypted message, pass it with the signature maker with my private key, then it can promise authenticity... |
i've some trouble understanding the base of the range proof presented at
https://elementsproject.org/elements/confidential-transactions/investigation.html
I've understand the base of the Pedersen Commitment but I lost when he speak about commitment to zero:
A pedersen commitment can be proven to be a commitment to a ... |
(I am a cypto amatuer )
So in Openssl there is the "-rand" option for taking a file containing randomness for the RNG . So I thought taking a pretty big file would make it more secure .
So if you use a lets say 2048 bit random binary file form "https://www.random.org" made from cosmic noise you would be pretty safe r... |
Given the existence of a secure hash function $h: \{ 0,1 \}^* \rightarrow \{0,1\}^k$, how can I construct a secure hash function $h': \{ 0,1 \}^* \rightarrow \mathbb{Z}_q$ ?
Of course this is easy for $q=2^k$, as we can always see $\{ 0,1 \}^k$ as the set $\mathbb{Z}_{2^k}$, but what if $q$ is an arbitrary integer?
Th... |
There is some points that I don't understand yet about ransomwares :
the attacker generally put his bitcoin address in the malware, can this address be used to identify and reach him ?
on the assumption that the malware use symmetric encryption, can we use reverse engineering to retrieve the key ?
on the assumption ... |
I'm experimenting with implementing a Fair Exchange Protocol that assumes there is a trusted third party to provide a hash-checksum of the two files for each missing byte, (so that the exchange can happen byte for byte towards the end of the files) as described here: Two mutually untrusted parties want to exchange data... |
As I understand, during TLS handshake phase, it is not legal for an endpoint to send its own handshake messages till the time it processes its peer's entire flight of messages completely. E.g. although a server is able to compute master secret after seeing client_key_exchange,
it cannot send its own change_cipher_spec... |
We know that the order of an element $a$ in the group $\mathbb Z_n^*$ is $k$ where $k|lcm(p-1,q-1)$ where p,q are distinct primes.
Something else i think we know is that the elements that have order $lcm(p-1,q-1)$ will generate exactly $\frac{φ(n)}{lcm(p-1,q-1)}$ different subgroups which may have common elements (in o... |
I am trying to solve here a task but I have no clue on how to approach it. The last few days I tried to find a way but I have no clue :( Maybe someone of you could give me a hint on how to do it.
The following assumption is given: $p-q=O(\sqrt[4]{N})$
Using the given assumption I have to show that it is possible to ret... |
I am trying to understand the below paragraph.
Elliptic curve Diffie-Hellman is often calculated using the Montgomery
ladder. This gives a simple and efficient calculation that is
naturally resistant to timing side channels. The Montgomery ladder
also allows each party's public key to be a Montgomery u-coordinat... |
I can think of at least one problem with it - that testing for a correct key (when brute forcing) is simpler with a mac key (at least for short messages) and therefore can help brute force decryption.
|
I know simple formulas like
$$E(x) = (ax+b)\pmod n$$
where $E(x)$ stands for encryption,
$$D(y)= z(y-b)\pmod n$$
where $D(y)$ stands for decryption,
and
$$ax==1\pmod n$$
Assuming someone gives us an encrypted string, is there a way to find $a$ and $b$ from that string? If not, what informations we should have to find ... |
How are the weaknesses of the Merkle–Damgård construction (i.e. the Herding attack, multicollisions, length extension, expandable messages) avoided in the sponge construction?
|
A prime $p$ is Sophie Germain if $2p+1$ is also prime. Wiki says if $p\equiv3\bmod4$ then $2p+1|2^p-1$. This seems to put a huge restriction on density of Sophie-Germain prime if they are $3\bmod4$. For this reason do all systems use Sophie-Germain primes with $1\bmod 4$ for discrete logarithm?
|
I've seen it mentioned multiple times, but have not seen a formal proof of how security of an encryption scheme against a non adaptive chosen-ciphertext attacker (under non-malleability or ciphertext indistinguishability) implies security against an adaptive chosen-plaintext attacker.
Does IND-CCA1 imply IND-CPA (and ... |
The classic discrete logarithm problem is to find $x\in\Bbb Z_p$ such that we know generator $g$ of $Z_p$ and $p$ is a prime with $\frac{p-1}2$ a Sophie Germain prime and we are given $h\in\Bbb Z_p$ such that $g^x\equiv h\bmod p$ holds.
Suppose given $g^x\equiv h\bmod p$ we know how to generate $g^{x^{2^i}}\bmod p$ at ... |
I read that TLS 1.3 supports encrypted handshake. Is it achieved using encrypted_extensions?
Does it mean that the records which contains handshake messages are encrypted/protected from the point of view of record-protocol?
Or
Does it mean that the handshake protocol itself encrypts its message payload and records ar... |
As far as I understand, there is no general way to enumerate irreducible polynomials in a particular finite field, which are similar in nature to prime numbers over the integers.
The GCM mode finite field has order $2^{128}$, which matches the block size of AES, and uses the irreducible polynomial (see source page 8)
$... |
The Path-ORAM construction assumes that the data outsourced into the ORAM scheme is split into blocks of size $\Omega(\log^2{n})$. With respect to this assumption the authors state that their storage overhead is $20N$ and their bandwidth overhead is $\mathcal{O}(\log{N})$.
How would those those performance metrics be i... |
I'm using ISAAC for encryption but only need an 8 bit number. So, if I use N mod 255, I presume the output would be only a random sequence of 255 numbers... but is it still secure?
I could of course copy the 8 bit number to be encrypted into the first 8 bits of a 32 bit number and then fill the rest of it with random ... |
FHE schemes claim to use some security parameter $\lambda$ for deriving the other parameters of the scheme, the size of the key and the possible circuits that can be evaluated. Like in Fully Homomorphic Encryption over the Integers. What does this parameter signify ?
Is something that applies only to FHE schemes and pu... |
To be able to generate random numbers for lottery games, we have the following requirement:
The random number generator, which uses the deterministic algorithm to determine the game result, has to work with a length of at least $$2^{64}$$ period to ensure that the random process is generated so that in the case of a p... |
Is there a way to calculate how much safer RSA-OAEP is compared to RSA with PKCS#1 v1.5 compliant padding? Or is there a good rule of thumb?
|
I have a rather particular classmate who wholeheartedly believes that there isn't such a thing as reasonably secure cryptography and that most people can steal encrypted data. I have attempted to explain (with must frustration) the security of AES. I often attempt to make points about how certain implementations and st... |
I'm trying to duplicate an RSA signature, and am having trouble at the last couple of steps. I'll detail what I've tried.
I used OpenSSL to generate some 128-bit RSA parameters. Here are my public modulus and exponent:
N = 0xdb52a89a63825f9e498144c240f5c23b
e = 65537
The (hashed, unpadded) message and signature are:
m... |
Is there a way I can compute $2^{100}$th power of ripemd-160 of my string, just like I can do with square matrix powers? I.e. can I easily compute ripemd-160 large amount of times?
|
As homework I need to find the password of a crackme in ascii-coded binary. We were also given a specific part of the crackme (in the image below), which we will need to use a side channel attack against, most probably a timing attack.
I know that, based on the function given, you can find out the right password length... |
I am a beginner in cryptography. I studied the Elgamal algorithm.
secret key= (p,g,a)
Encryption= c1=(g^k mod p) , c2=(m.B^k mod p) // 0<k<p-1
Decryption= c1^(p-1-a)*c2 mod p
A simple example for decryption:
a=4
p=7
g=3
c1=2 , c2=3
decrypted message= 2^(7-1-4)*3 mod 7 = 2^(2)*3 mod 7 = 4*3 mod 7 = 12 mod 7 = 5
Number... |
I am decrypting the Apple Payment Token in Demandware, the apple pay token is encrypted in GCM mode, but in Demandware, we don't have GCM mode in Cipher class, so can I use other modes for decryption? Can anyone suggest me regarding this?
|
I need to send an Excel file to someone, normally I would use encrypted e-mail, however, this is not an option with this individual. What is the minimum length password I can apply to this file to get a decent level of protection and is there a way to mathematically compute the strength of a password?
|
The scenario: A user clicks on an encrypted file, and enters his password, in order to decrypt and authenticate it using HMAC (when its key is derived using PBKDF2). If the iteration-count is fixed, it's deemed secure.
What if the iteration-count is read from the file, Is it still secure? I assume that it's secure in t... |
I am a beginner to cryptography, and have started reading Katz and Lindell's book titled "Introduction to Modern Cryptography". I'm unable to understand what the probability distribution over the message space $\mathcal{M}$ represents in the definition of perfect secrecy of encryption schemes (Definition 2.3 in the abo... |
What is the rationale for the difference between MD5 and SHA-3 padding schemes?
MD5 appends 10* and then the 64-bit message length in bits.
SHA-3 appends 10*1.
Why do they use different padding schemes? MD5 is based on the Merkle-Damgard construction, while SHA-3 is based on the sponge construction—is this relevant?... |
Here's the situation. Suppose I have a secure PRF $F$ and use $F$ in the following way:
for equal size message $m_i$ in $\{m_j\}^{q}_{j=1}$( $q=poly(n)$, $n$ is security parameter ), randomly select $k_i \xleftarrow{\$}K$ and compute $c_i=F(k_i, m_i)$, where $K$ is key space. All previous computation results $\{(k_j, m... |
I have a question regarding https/tls. Lets say a client requests a website from a server via https. The client stores the entire traffic and his secrets to disk. Can i afterwards verify the authenticity of the data in the recording?
To my understanding after the initial key exchange (which is signed by the server cert... |
It is possible to hash public info (e.g. new york times headline) into an object to verify that it existed after a given date. Is it possible to do the obverse, namely verify that an object must have existed before a given date?
|
There's a new password store mechanism, called Sphinx
http://webee.technion.ac.il/~hugo/sphinx.pdf which is very nice and protects from device or user compromise. I haven't found any implementations and tried to do my own using curve25519 primitive and libsodium.
There's login phase when user and device do communicati... |
According to Computer Networking: a top down approach, Chapter 8 (6th edition), block ciphers involves breaking the input message into blocks of size k, where generally k = 64. However since k = 64 implies that we need to create a table of input size 2k or 264 in our case, therefore we simulate randomly permuted tables... |
I am trying to determine the multiplicative inverse of $47$ modulo $64$. So I have looked for an algorithm or scheme in order to perform this.
I found this wiki explaining how to find a multiplicative inverse. I tried to perform all the calculations, but the result was incorrect. I got $5$ as a multiplicative inverse, ... |
Suppose that users A,B and C want to create a digital signature together. The users do not trust each other so, they need to create a signature that receives input from all of them.
The best way I though of was with RSA where each user performs a step of the key calculation:
User A selects prime p
User B selects prime... |
Just a follow up on this question since I don't have enough point to comment:
Does a partial preimage attack imply a preimage attack?
Partial target preimage attack: Given $M$ and t-bit partial target of $d \leftarrow H(M)$, find $M^*$ such that t-bit of $d^* \leftarrow H(M^*)$ is the same as the t-bit of $d$ at the s... |
Is there any specific method to use AES-256-CTR correctly? I heard a Playstation 3 security vulnerability was exploited due to a CTR error. I would like to avoid this.
How Do I Use AES-256-CTR Correctly?
Currently I am using PHP with OpenSSL. I have a key specified as well as the contents of the unencrypted data but I... |
So this is an idea that popped into my head the other day and I wonder if there are any known crytographic schemes with these properties?
Is there a way to construct a public / private key system in such a way that I can somehow compute some "seed" like 0x22EDEF67FFEED that can be used to derive an infinite number of p... |
In some cases (such as XML or JSON files), the bytes being encrypted have very specific semantic requirements, such that a random byte sequence will be rejected with very high probability.
In such circumstances, is it possible to do without an authentication tag, and reject forged messages at a subsequent stage? This ... |
Suppose I want to encrypt and authenticate a large file. The file is so large that it cannot fit entirely in memory, and I will be processing it in a streaming fashion. Truncation of the file and forgeries must be detected, but it is okay to if it is not detected until after all data so far has been processed.
My cur... |
And if I am on the right track, how do I reach the solution from here?
I'm doing a CS game and I've hit a wall (I'm a rank beginner when it comes to encryption) on the encryption portion. I've been given the encrypted output and what I think (from my research) is an encoded version of the key using this:
For me, C is ... |
I am taking cryptography course in Coursera from Stanford University. I have following question
I have a question why append 0 in G(k) i.e., G'(k) = G(k) || 0 is
considered as not secure PRG as 0 in message is copied with out
encryption. Whereas in semantically secure E'(k,m) = 0 || E(k,m) i.e.,
prepend 0 is considere... |
For a specific need with embedded system (key establishment with unilateral authentication and pfs) i am looking for a standard c (2e, 1s) key agreement protocol.
Unfortunatly it doesn't exist in nist sp800-56a standard (while c (1e, 2s) ka protocol is defined)
So i have a double question:
- what may be the reason for ... |
Why plain RSA encryption does not achieve CPA-security?
|
I had found in the past a publication in a crypto conference (in 80s if i am not mistaken) which I believe was the first proof why for example a random function $f:X\rightarrow X$ with $\#X=2^n,$ is expected to have collision in $\sqrt{\frac{\pi}{2}\times 2^n}$ iterations. I can't find it, anyone has the reference?
|
I was attempting to re-implement the ASP.NET Identity password hash algorithm in PHP. It uses RFC 2898, which uses HMAC SHA1. SHA1 has been broken by google. Does this mean that RFC 2898 in general and the current ASP.NET Identity password hash format in particular are broken?
|
here is an idea that I feel has some big flaw I can't put my finger on.
The scenario is: Alice will go overseas for 5 days and will hopefully retrieve some information and send it back to Bob. She does not want to let anyone listening to know what day she got the information. She is taking with her a one time pad the s... |
TLS finished message is encrypted under the record protocol's current cipher state. Being able to authenticate FINISHED message at record protocol proves that the genuineness of peer endpoint. Verifying handshake_hash proves that the handshake has not been tampered by MITM.
The verify_data in FINISHED is calculated usi... |
According to the Tag definitions:
Stream Cipher: A stream cipher is an encryption algorithm which encrypts arbitrary length plaintext, using a key. Some stream ciphers generate a keystream from only the key, which is then XOR-combined with the plain text, others feed back plaintext or ciphertext into the algorithm to c... |
LastPass is a password manager that I am sure many of you are familiar with. I have been studying LastPass's source code a bit. From their FAQs and what I can gather from their source code, the way they derive and store your encryption key is as follows:
The client application derives your encryption key using standard... |
I have a hex key that I want to decrypt with a 3DES key in mode ECB.
For example:
hex-key : 0123456789abcdef0123456789abcdef
3DES key: fedcba9876543210fedcba9876543210
result : c89bc7b07189ed94c89bc7b07189ed94
How can I find the 3ES encryption/decryption key from the two entries hex-key and result?
|
In The Design of Rijndael page 39, It describe the design criteria for MixColumns step
Dimensions. The transformation is a bricklayer transformation operatingon 4-byte columns.
Linearity. The transformation is preferably linear over GF(2).
LisDiffusion. The transformation has to have relevant diffusion power.
Performa... |
I'm writing a program that needs to receive an encrypted message from the server and decrypt it on the client.
The problem in this case, is to prevent the client from being able to re-transmit messages encrypted with same key. RSA is designed to use the public key for encryption and private key for decryption. So if a... |
I have a service that allows multiple parties to share domain-specific textual data. This data is also end-to-end encrypted. How can I be sure the sharing parties don't send non-domain-specific data, considering I receive it encrypted?
For example, assuming I require a specific algorithm to be used for the encryption, ... |
How difficult is it to find the AES key if attacker has IV and ciphertext of a known plain text?
I am assuming 128 bit key size.
|
Let us have any linear secret sharing scheme (LSSS) that works on some field $Z_{p}$, where p is some prime or a power of a prime e.g., Shamir Secret Sharing, Additive secret Sharing.
The problem at hand is simple, for any secret shared value in $Z_{p}$, is it possible to convert it (and its shares) to elements on $Z_... |
I'm under the impression that GPUs are only used to optimize some (not all) of a given cryptographic operation. Furthermore, I've only seen this GPU optimization done in Bitcoin.
This observation unleashed a number of rhetorical questions that relate closely to each other.
Rhetorical questions (answer if you like)
O... |
I'm studying a protocol whose security is based on the following assumption: given $g_1, g_2, A, B \in \mathbb{F}_p ^*$ with $g_1, g_2, A \neq 1$ and $g_1 \neq g_2$ , it is difficult to find exponents $r_1,r_2, d$ s.t. the following equation holds:
$$
g_1^{r_1}g_2^{r_2} \equiv A^dB \ \ (\mbox{mod} \ p)
$$
The paper I'm... |
Given the advancements in quantum computing, there's a lot of incentive to move away from the usual asymmetric cryptography. Is there a way to turn a symmetric algorithm (e.g. AES) into an asymmetric one?
|
I have a similar question to this one:
Is an equality test possible when using paillier crypto?
However I want to do the following:
Given the Paillier Cryptosystem.
Given the function $f(input)$, which both Alice and Bob have.
$f()$ is a deterministic function.
Both Alice and Bob have the input of this function.
Alic... |
1. Alternative Cryptographic Primitives
For quite a while, I've been thinking is it possible to "craft" a cryptographic primitive (like ECC) suitable for the purposes of post-quantum cryptography, and today (2017-05-20) I've came to the following conclusion:
There are two classes of primitives that may be used to cons... |
I have a scenario in which one of n participants is to be assigned a positive value and all other participants a negative value.
The outcome of the draw is to be known only by the respective participant. Additionally, each participant has to have the possibility to disclose and proof their bitness (selected/not selecte... |
Im going to make a C++ program about Affine Cipher but i also want to encode the strings with numbers in it. I know for alphabet the formula is:
TO ENCODE: X=(a*x)+b mod 26
TO DECODE: Y=Z*(y-b) mod 26 "Z is the inverse of a"
But how can i imply this formula for numbers? I tried to Google it but i couldnt find anythin... |
I want to generate $n$ random numbers $u_i \in [ 0, 2^{\kappa + 1})$ such that $\sum u_i = c$ $mod$ $2^{\kappa + 1} $, where c is a constant.
Also, taking $n - 1$ random numbers and subtracting their sum from $b \cdotp 2^{\kappa + 1} + c$, where $b \cdotp 2^{\kappa + 1}$ is the closest multiple of $\;2^{\kappa + 1}$ th... |
If RSA Signature is not Decryption, why is it not advisable to use same keys for enc/dec and sig/ver? What is the proof where you may be exposing your private key when you use the same one for decryption and signing? This is for RSA OAEP.
|
When we are using TLS these days we use DH to establish a session key. So where in the TLS protocol do we determine that the host that we're talking to actually possesses the private key corresponding to the x509 certificate that it provided earlier? Or is this no longer required?
|
Here are some details:
I was given was a text that was
converted into hexadecimal, then
hashed via MD5, then
hashed via SHA-1.
That’s all I know about it.
Any help is really appreciated. There is a large bet on this.
Is it even possible or is it totally impossible?
|
I’m implementing an encrypted messaging web app using JS. When composing a message, the user is provided with the public key of the recipients. A body field is also rendered for every recipient. After the user clicks submit, the original message is encrypted with the recipients’ public keys, which is then inserted into... |
I learn from a minithesis to understand RC5.
As we can see at the formula, the round 0 must be using A=A+S[0], because the loop is starting at r(round) 1.
I tried addition and OR(bitwise) to get the answer DA679BFB but keep missing, Here is my result of calculating.
A = A + S[0]
= 4B726970 + BF0A8B1D
= 10A7CF48D... |
I recently started studying about cryptography and I tried to search the internet but I can't find much about these subjects. I want to see the proof of Shamir's Secret Sharing being Proactive and dealer-free .
Later Edit: I found the proof of it being proactive, however I still struggle with the 2nd thing. Basically,... |
Can someone please tell me why is the Ring-LWE more efficient?
By introducing polynomials in place of matrices, what kind of optimizations do we introduce that make Ring-LWE more efficient?
|
As an 17-year old highschool student with some interests into cryptography I developed following block cipher:
Let $H$ be an irreversible hash function with the block length $L$, which also is the block and key length. (I used SHA-256 for my example implementation below).
$O$ is the original key while $K$ is the expan... |
I have a PRF function $F(k, F(k,0)) = 0$.
So that means, $k \times F(k,0) \rightarrow F(k, 0)$.
I hope you can help me understand if the function $F(k, F(k,0))$ is a secure PRF or no?
Thanks for considering my request!
|
In reading the following paper,
https://ai2-s2-pdfs.s3.amazonaws.com/35eb/afbaab34223bca50a7be2f5915fddf918fc7.pdf
Generate two primes $p$ and $q$ such that $q|p-1$. Pick a generator $g$ of $Z_p^{*}$. $g$ is declared as public.
$c_1=g^r$ where $r \in Z_q^{*}$
As far as I understand, $g$ is integer ranging from 0 to p.
... |
I am trying to understand a full RNS FV SWHE variant proposed in this paper.
My problem is with the homomorphic multiplication. Original ciphertexts are represented in RNS representation using base (say $q$ with $k$ co-prime moduli). In order to accommodate for coefficient growth, an auxiliary RNS base (say $\mathcal{B... |
Reaching the end of an ECDSA signature verification, we need to compute multiple point multiplication and addition as following: $R=(x_R, y_R) = u_1G + u_2Q$, where $u_1$ and $u_2$ are scalars, $G$ is the curve generator and $Q$ is the public key point. As we're using elliptic curve operations we're computing our curve... |
We have an old system using the following algorithm related to authentication:
input: a fixed format integer (hex): <user-id>0000f000<device-id>
user-id: 4 bytes
device-id: 4 bytes
algorithm: textbook RSA 2048, sign with (N, d).
and assumes that an attacker can request limited times (5 times per account per day) wi... |
I am working on some image encryption algorithm and got stuck.
I have plaintext data value of $256$ and perform the following (all values in decimal):
$$[256 \oplus 2] mod (256) = 0$$
What will be the equation to decrypt the ciphertext $0$?
EDIT - Sorry...I actually intend to do mod 2 and not mod 256 if the answer of ... |
For most of the lattice-based signature schemes in the hash-based random oracle model (like BLISS), quantum preimage attacks (e.g., Grover's alg) against the random oracle component of the signature are not considered in security estimates and this seems to be reasonable, because a preimage attack does not necessarily ... |
What are goofs that could creep in ECDSA signature verification, perhaps with focus on curves based on prime-order $\mathbb Z_p$, specifically P-256 aka secp256r1? Is it possible to construct test cases for these, and how (perhaps with distinction between various degrees of blackboxness)? How relevant is that in practi... |
What is the difference between lightweight tweakable block cipher and tweakable block cipher? For example, lightweight tweakable block cipher is SKINNY family, and tweakable block cipher is Threefish cipher.
|
Given some JSON with a chosen encoding, you can obviously cryptographically-sign the whole thing as a binary blob.
However, it might be useful if the logical structure of the JSON-compatible object were leveraged to control what is signed, in such a way that you could later provide compact proofs that some subtree of ... |
Can someone please explain the below paragraph from section 2.5 in The XEdDSA and VXEdDSA Signature Schemes? Specifically I want to understand how we are defining the family of hash functions and how is it used further?
XEdDSA and VXEdDSA require a cryptographic hash function. The default hash function is SHA-512.
We ... |
I am a newbie to cryptography and SHA-1.
Currently I am configuring a SHA-1 hash function which takes default length as 128 bits. Is it okay to configure it this way, since I see in most cases SHA-1 uses 160 bits? So what is the most common length used for SHA-1 hashes?
I read in many places that RSASSA-PSS is used for... |
I just started on encryption schemes and have some trouble in understanding the following definition of IND-CPA security:
$E$ is polynomially CPA (IND-CPA) secure, if for all adversaries $A$ and all polynomials $p$, we have: $Adv_a <= \frac{1}{p(\lambda)}$ for sufficiently large $\lambda$, i.e.: For all $A$ and all $p$... |
Assuming we use SHA256 as hash function. In practice you see that a Merkle tree is used to concatenating multiple hashes together to one single root hash.
A Merkle tree is a binary tree which always takes two SHA256 hashes and concatenate them in a recursive manner.
My question: Is it insecure to hash more than two has... |
The AEAD scheme SpongeWrap based on the sponge construction gets only a header (additional data), a body (the message) and a key as input values, according to the paper where it is defined.
What is missing compared to other AEAD schemes is a nonce to make the key stream unique. I am wondering, why this is possible. The... |
On page 617 in chapter 14 of The Handbook of Applied Cryptography, the average number of multiplications in left-to-right k-ary exponentiation is $ l\times (2^k-1)/2^k$, where $l=\lfloor t/k\rfloor $, i.e. the number of k words in the $t+1$ bits exponent after excluding the leading 1. My question is, do the residual $... |
TLS uses handshake protocol to compute session keys to be used later to protect bulk of application data transfer. The handshake protocol and application protocol uses same transport layer port.
IPSec uses IKE for a key agreement between two endpoints. Here the key agreement protocol uses a separate UDP based transport... |
I was reading Professor Lindell and Katz's book. Their book takes the asymptotic approach to the security proof, while lots of papers on crypto seems to use the concrete approach when it comes to security proof.
Are there any references/books that use the concrete approach in their proofs?
|
It seems that a tls endpoint can pump more data records even when it has received a re-handshake request from peer.
Also in dtls, new data records would get accepted even while rehandshake is in progress since any of the endpoint does not have way to tell whether those records originated after a handshake message. This... |
I'm a biologist frantically trying to understand the world of cryptography overnight for research- please ignore my ignorance. I was given a large body of text to crack that is encrypted with AES-128 CBC with PKCS5 Padding. The key is MD5 PBKDF2 in HMAC-SHA1 and I'm given a 13-digit number in the form of "additional in... |
I've seen many articles that actually trust WhatsApp's encryption and they may be right, but here is the thing that really makes me suspicious; all end-to-end encrypted apps I know, such as Telegram and Signal are blocked in China, but WhatsApp that is far more popular is not.
If China is not blocking this app in part... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.