instruction stringlengths 33 27.2k |
|---|
Could anyone, please, tell me history of birth of Blowfish algorithm? Specifically, what is substantiation of Blowfish key length to be in range from 32 till 448 bits? Why, for example, it wasn't 64-512 so it's minimal key could be 2 times shorter than AES and maximal key could be exactly 4 times taller than AES with 2... |
I have client connecting a server over HTTPS to send and retrieve data.
The client always connects through HTTPS
The certificate is known to the client beforehand (hard coded into the software)
The password is auto-generated, so not chosen by the client
For authentication, is there any reason I should do anything mor... |
Disclaimer: the algorithms I present here (and in other messages) are used as a hands-on way to learn about developing crypto algorithms, (and might also be of interest for other curious people), not for practical use (at least not after dozens of iterations and peer-review). I understand some people vote down not just... |
Is it possible (and is there any research I can read) to have 2 key pairs for different ciphers, for example RSA 1024 and some yet to be released EC (or other asymmetric cipher) than uses 1024 bit keys, that have the same public key?
|
i have some experience with cryptography in the banking sectors, mostly in block ciphers like DES 3DES etc. im interested in prepaid electricity meters as it is a number that is generated from a central system which is disconnected from the meter its self.
This would mean they are using a symmetric algorithm using the... |
I know that Huffman is not a encryption method, but I have a bit-stream that I know it's Huffman coded. However, the tree/table that maps the codes to real characters is not available. Surprisingly, during my searches I couldn't find helpful sources or even academic papers on this problem. It seems this problem has no ... |
My problem is the following:
we have a low entropy data called ID. (personal id number of 10 decimal digits plus a sum, and it contains a date)
We want to create a data (H) which is the same for the same id, but id can neither be computed nor brute-forced by trying all combinations.
It should be proven that even we are... |
I am looking for an application (Windows) or code example that might help me find patterns in an encrypted file. I have a ciphertext for which I want to see when a key is repeated. I am not trying to break the encryption - just test for when a pattern repeats if it does so.
I've searched, but haven't found anything y... |
So if I use secp256k1 for example, I've got my key size of 256 bit, and say I sign a SHA256 hash of a message, with size 256 bit, I get an output of size 512bit.
Why is there a difference between the hash size and the EC size. In other words, why isn't SHA512 used instead to provide bigger entropy?
I'm not too familiar... |
I have read the recent logjam paper Imperfect Forward Secrecy:
How Diffie-Hellman Fails in Practice.
On page 11 in the Recommendations section, they state:
Avoid fixed-prime groups In the medium term, employing
negotiated Diffie-Hellman groups can help mitigate some
of the damage caused by NFS-style precomputation... |
Just want to be sure about something before I sign off on a method we're about to put into place.
We have a secret, to which a user-defined key is appended. The user can see the SHA256 hash of the secret.
The secret and the user-key is then hashed with SHA512 to obtain results.
Given the ending hash is SHA512, and the ... |
In most (all?) classical sources such as the book of Goldreich (2001), hard-core predicated are defined thus:
A polynomial-time computable predicate $b : \{0,1\}^* \to \{0,1\}$ is a hard-core of a function $f$ if for every probabilistic polynomial-time (PPT) algorithm $A$, every positive polynomial $p$ and all suffici... |
In El-Gamal Algorithm, the public key is $(p, g, A)$, and the secret key is $(a)$, in order to encrypt some data, the sender generate a random $k$, where:
$(C_1, C_2) = (m.A^{k} \pmod{p}, g^{k} \pmod{p})$
If a hacker know the value of $k$, should this break the algorithm security ?
|
Consider a number $r$ obtained by:
$r=a \cdot b \mod n$
Can knowing the factorization of $r$ reveal some information (bits) of $a$ and $b$ ?
|
I have only the barest understanding of cryptography, but I've been following the Logjam issue; some posts and articles (elsewhere) imply that a client can regenerate DH keys. Is Logjam solely a server issue? Is there a way for the client to perform DH regeneration on a regular basis; if so, how? Is there any way the c... |
I think we're all aware of the Logjam attack.
From now on we know that re-using primes for DH is a bad idea.
But we also say that elliptic curves are safe from the attack (relying on the NFS), because it cannot be applied. I understand this.
Now in my mind this question arose:
Assuming we had enough computational power... |
Let P be a secure block cipher, eg AES-128.
Let's say a server has a CBC encryption oracle which uses an attacker-selected yet unique nonce to generate the IV for each message = P(key, nonce). The same key is used to generate the IV from the nonce as to encrypt the message.
This system is not semantically secure agains... |
from reading the TLS 1.1 RFC, it looks like it would be possible to break a previously recorded TLS <1.2, 512-bit DHE ServerKeyExchange and then send it (unmodified, with the original, valid signature) to a client that still accepts TLS <1.2 and 512-bit DHE to impersonate a server that has since been fixed (disabling D... |
I collect entropy from the following sources:
system_entropy = System provided crypto entropy stream (CryptGenRandom on Windows)
user_entropy = User-provided entropy - in a form of a byte stream of serialized random mouse movements, key strokes etc (this is manually entered by the user, similar to how TrueCrypt collec... |
I have a huge list of MD5 hashes, which takes up quite some space. I wonder whether I would achieve (some) compression by encoding the characters (which are A-F 0-9), with Huffman coding. I made a quick script, and seem to notice that almost every character in the strings (A-F 0-9) has the same frequency in the file of... |
Alice encrypts her data with HER secret key. Then she sends the encrypted data to Bob who should encrypt it with HIS secret key.
Caroline should then eventually get this double encrypted data.
Caroline only wants to receive pseudo-random (looking) data which would only be decryptable for her if Alice and Bob BOTH tell ... |
From what I could research, XORing a random key adds confusion.
But I do not undertand the rationale for that classification. Shannon's confusion is supposed to obscure the relationship between the ciphertext and key, but the OTP clearly does not do this: unlike many other ciphers, if one has one plaintext and correspo... |
Boxcryptor uses various CSPRNGs and apparently hashes the output using PBKDF2 to derive the final key. Even though the choice of PBKDF2 is probably not semantically correct (PBKDF2 is intended for passwords), I wonder if this iterative hardening actually makes sense.
Let's suppose the CSPRNG is backdoored/buggy/broken/... |
I am a bit of a newbie to RSA encryption, so please be patient.
I understand that for a 4096 bit RSA, the numbers p and q should be prime. And to have the best security, the p and q should both be about 2048 bits long.
However, we don't have a way of generating and verifying a 2048 bit prime number with 100% accuracy. ... |
I want a code 'black box' that receives data inputs, processes those inputs, then sends out the outputs.
I want the code to be encrypted, or somehow obfuscated.
Is there any known way to do achieve this outcome?
|
All the articles I read on the web about DSA keep telling me that the size of the hash needs to be truncated so that the bit length is equal to or lesser than the bit length of the prime number of the field.
For example, Wikipedia says:
Choose an approved cryptographic hash function H. [...] The hash output may be tr... |
Encrypt-then-Authenticate (EtA) seems to generally be considered the better option, compared to Authenticate-then-Encrypt (AtE) (see this Crypto.SE question, for example). The people writing the RFC for TLS 1.2 seem to have been aware of this, but have chosen to use AtE anyway.
Is there a reason why this is the case? I... |
[This approach is flawed. A different speculative approach using an RNG instead of the cipher as a source of entropy was posted as a separate question]
Assume $E$ is a block cipher, $C_0 = IV$ and $P_0 = 0$
Encryption:
Add an additional block to the message and store the key in it, ie. $P_n = Key$.
Encrypt all non-fin... |
The most promising of the 4 approaches described here (version 4) has been posted as a separate question. This post should be considered for archiving and historical purposes only.
Disclaimer: the algorithms I present here (and in other messages) are used as a hands-on way to learn about developing crypto algorithms, (... |
In a substitution cipher, I recieve 3 bits and than I return another 3 bits.
The key of this cipher could be a matrix represented as:
(0) 0 0 0 => 0 1 1
(1) 0 0 1 => 1 0 1
(2) 0 1 0 => 1 1 1
(3) 0 1 1 => 0 1 0
(4) 1 0 0 => 0 0 1
(5) 1 0 1 => 1 0 0
(6) 1 1 0 => 0 0 0
(7) 1 1 1 => 1 1 0
So, when we receive 000, t... |
In security, and specifically Block Cipher (AES, DES, etc), when we talk about pseudo random permutations, is the term "permutation" refer to the same meaning as in discrete mathematics. That is, the random shuffling of elements?
So let's the input of DES has n 1s and m 0s, is the output gonna be n 1s and m 0s as well?... |
As I understand, ECB should not be used as encryption mode unless you are encrypting single blocks of data which are always unique and only are encrypted once.
I have a collection of ids represented by integers that I encrypt and transmit (individually) with the same public key using RSA/ECB/PKCS1PADDING. Sometimes the... |
I am studying Merkle tree signature. Let $\sigma=(s,Y_s,\sigma_{\text{OTS}},As)$ be a signature of certain document. Here $s$ is the index of leaf, $Y_s$ is the respectively OTS public key and $A_s$ is the authentication path. My questions are:
1) Is there any attack where an adversary changes part of the signature $\s... |
My idea is to use a stream cipher encrypting 16 bytes at a time as a primative block cipher in a mode of operation such as CBC mode. Is this practical or useful in any way?
|
Given the public key (n, e) and private exponent (d), how to calculate CRT parameters (p, q, dP, dQ, and qInv) of this RSA key pair?
|
I'm trying to create an algorithm to find the public exponent e given a plain (non-CRT) private key that doesn't include the public exponent, i.e. I've only got $n$ and $d$.
A question has already been asked how easy it would be to find the public key given a private key. The answer was that it was likely to be easier,... |
I was reading 'Pinocchio Coin' paper by Danezis et al. where they have said,
"If we use the efficient pairing groups of Pinocchio, computing discrete logarithms in the exponent field $\mathbb{F}_p$ with p ≈ 256 is easy. We could switch to non-standard and larger pairing groups, but this seems undesirable as it would br... |
Apple's latest security documentation indicates that it now uses CTR_DRBG for generating pseudo-random numbers (previously Yarrow instead of CTR_DRBG), using "timing variations during boot" and "interrupt timing once the device has booted" as seeds. Calls to the iOS API SecRandomCopyBytes will retrieve random bytes fro... |
Are ring signatures possible with elliptic curves? If so how. The original paper by Rivest, Shamir, Tauman seems to require an invertible trapdoor function. But I've only seen algorithms for secret agreement (ECDH for example) with elliptic curves. That doesn't seem to be adequate to complete the ring - don't you need ... |
I have been trying to use Go (I could post the code, but I think I posted enough already...) to generate a PGP RSA key. However every time I try to encrypt something with it, something fails. However, I can import it into gpg. I also have no idea what is failing as the error codes have not been completely helpful.
Here... |
Aumann and Lindell defined covert adversaries in 2009 which is informally adversaries which have a epsilon-deterrence to cheat. Some authors (for ex. John R. Wallrabenstein) have defined similar adversaries and called it rational adversaries who act "rationally". I have not seen a simulation-based definition of rationa... |
What is the difference between H(M) and H3(M, s, IDA)?
I am aware of Hash function with a Message and a Key, but there are three parameters in:
H3(M, s, IDA).
Here M is the message, s is the key, and IDA is the identity of user A.
I meant that how to implement secure hash H3(M,s,IDA)
|
For calculating accumulated values for set of elements chosen randomly from, say, $\{e_1 ,e_2,...e_n\}\subseteq X$ we use the formula $acc= g^{f(e,s)}$ where $f(e,s)= (e_1+s)(e_2+s).....(e_n+s)$.
Then, the witness for $e_k$ is calculated as $wit_{e_k} = g^{\prod(e_i+s)} $ where $i \ne k $ (i.e., accumulating all value... |
If one wants to set up a decentralized cryptographic enforcement scheme in which the level of 'confidentiality' of information is marked by its position in a poset, why not use Diffie-Hellman to derive the key of a node from its immediate parents?
This is as opposed to the tree-based scheme described in this paper.
In ... |
I would like to know if there is any security issue in sharing a secret key (of an asymmetric cryptography) between several users.
I know that this secret key is no longer "secret", so it's no longer valid for signature.
The advantage of doing that is to allow a user to send a message to many others (all those sharing ... |
I have been searching about if it is more secure to use CBC mode in OTP but I can't find anywhere where people have sad that it is more secure.
Question: Is CBC mode in OTP more secure?
Because I have been reading articles like "https://stackoverflow.com/questions/22212407/how-to-alter-cbc-encrypted-text-to-change-the-... |
I can precompute the key stream for the CTR mode operation and the encryption at that point is similar to a stream cipher. So why are there stream ciphers still used and proposed after RC4? Recently the ChaCha20 as part of the ChaCha20-Poly1305 AE cipher.
Are there advantages to using a stream cipher especially?
|
Are there any practical limitations? Govt driving license, passport, SSN could be digitally signed making it easy for anyone to validate. They can have a qr code in them which can be easily validated using an android or ios app offline if the corresponding public key is pre installed. This will make fake ids impossible... |
Before round 1 begins, all 64 bits of an incoming message and all 56 bits of the secret key are separately permuted (shuffled)
My question is this : Is the shuffling of the bits performed randomly? If it is performed randomly then how does the reciever decrypt the message successfully even though he/she does not know... |
Alice and Bob meet regularly. They have agreed face-to-face a 128 bit password which they want use to encrypt/decrypt emails written between them.
They decide to use 256-bit AES. Alice wrote her message, but found that every AES 256 application she used to encrypt her text provided a different ciphertext. She could not... |
Is there any non-interactive zero-knowledge proof for discrete logarithm without random oracle over the group $\mathbb Z_p$?
|
I'm quite new to the topic and read a bit about poodle and padding oracle.
I quite understand the "regular" padding oracle attack, substituting the last byte of block(n-1) to determine the last byte of block(n) - by "myguess" XOR 0x01 for the last byte and so on.
Articles on poodle however state, that the attack is bas... |
I am studying about different operation modes of block ciphers my question isn't something specific to that, but is how these operation modes are used in cryptography?
I have this picture here (OFB-mode):
(source)
I would like to know how these operations are combined with a block cipher algorithm? For example we have... |
I'm trying to decrypt a PGP Message that is encrypted with an RSA key, but I only have this information:
Public exponent:
65537
Prime 1: c447376fcf2a4d4f03840c83f68b23202f081f8561a1f0295703df258a96b8fd6cc8cb307558d60cbd692a45ed2414370349e28badf0f180419fc1df2cd87e99
Prime 2:
d876bd7c4963b8c06f148da504d1f7c7b9b20a719a0d... |
We are creating a device with a small microcontroller (20 MHz CPU 16 KiB RAM).
We need some way to securely send signed files to device (only signature, no encryption necessary). An external company has come up with an elliptic curve solution but it needs about a minute to verify a signature, without counting the file ... |
I have read the paper Differential Power Analysis of HMAC SHA-2
in the Hamming Weight Model and I want to understand the DPA Attack. In section 3.2.1 Path 1 (page 4) there is written:
The last remaining parts H$^{(0)}$ and C$^{(0)}$ can be recovered by making substitutions in Alg. 1: in Step 7 of round 1, where
H... |
The specification for OMAC has the following to say about OMAC2:
For OMAC2, we adopted u−1 instead of u2 as Cst2. It requires one right shift to compute L· u−1 instead of one left shift to compute (L· u)· u. This would allow to compute both L · u and L · u−1 from L simultaneously if both left shift and right shift are... |
I'm on the study of Diffie-Hellman and its related math (multiplicative group of integers $\mod n$).
In some crypto papers and documents I've read that $g$ needs to be a primitive root mod $n$ ($g$ order in $G = \phi(p)$), but we actually use $g$ as a generator of a large subgroup of order $q$, where $q$ is a large pri... |
The algorithm for mental poker that I saw on Wikipedia and everywhere else relies on an encryption algorithm such that $E_k(E_j(P)) = E_j(E_k(P))$, but I can't find a modern and secure algorithm for which this is true. The only algorithm I found with this property is SRA (I believe that's what it's called) but it relie... |
It seems that several file encryption systems do NOT use authenticated encryption. (E.g. gpg --symmetric and boxcryptor as far as I can determine). I understand that this is generally considered insecure, but is not demanded of full disk encryption. But for individual file encryption, for example where one is storing t... |
I am studying about the AES encryption standard, and as I know from the theory there is no known weaknesses today about this block-cipher.
I would like to find out or at least to understand what "classification" of secureness is AES.
As I know there are several classifications:
Perfectly secure. Which is not able to b... |
In format preserving encryption an attacker knows the format and data type of the plain text. The format of the plain text and cipher text are same. usually cipher text are unreadable form. then how FPE is secure?what are all the possible attacks on FPE cipher?
|
I want to use a key derivation function to derive a key from another one.
I think HKDF is the easiest solution in my case.
This explanation gives a clear definition of HKDF.
In the case where the number of key bits requested from the KDF is equal to the hash output length (i.e. L = k in the definition), do I have to co... |
We are attempting to integrate our application in to a third party system. To do this we need to pass encrypted passwords in to this system. I have decompiled the assembly and looking at the code it seems that they are using something similar to XOR encryption (In a production system...) From what I can see from the de... |
I've come up with an algorithm to solve the socialist millionaire problem, but I'm not sure if the algorithm is secure. I wasn't able to find any flaw in it, but it seems too simple to be secure, so I'm posting it here. Here's how it would work together with Diffie Hellman to prevent man in the middle attacks:
Alice a... |
Is it possible to construct a set membership proof to show $\delta \in \Psi$ where $\delta$ is publicly known and $\Psi$ should stay only known to the prover?
It seems rather impossible but I would like some confirmation.
|
I am reading page 39 in this "Post Quantum Cryptography" book. Why does equation 15 hold? There is no further knowledge about f and you definitely cannot use any power laws. So, why is $f^{2^w-1-b_i}(f^{b_i}(x_i)) = f^{2^w-1} $ valid?
I have my doubts, because $f(x) = x+1$ is already a counterexample.
|
I have this curve in $E(\mathbb{F}_{131})$: $$Y^2 = X^3 + X + 2$$
I want calculate the sum $P + Q$ considering that $$P= (5,1) \quad Q = (60, 49)$$
For calculating the result I use these formulas:
$$\begin{align}
x_r &= \left(\frac{y_2-y_1}{x_2-x_1}\right)^2 - x_1 - x_2\\
y_r &= -y_1 + \frac{y_2-y_1}{x_2-x_1}(x_1 - x_r... |
Having an ElGamal encryption scheme with p=19 which value can not be assigned to
g?
The answers were : 1,7,11,2
I think you can't assign value 1 to g.
|
I intend to authenticate small packets of data, between 16 and 256 bytes each. For some of them encryption will also be required. This will be used on small micro controllers, with RAM sizes ranging in 1 KB to a 64 KB.
My initial approach was to use AES-128 as the base cipher for a block cipher mode with MAC (GCM for i... |
I'm currently reading Cryptography Engineering and in Chapter 7, the topic of secure channel is discussed.
The channel described is using CTR for encryption. Below I include images with pseudo-code used in the book (source):
In Secure Channel: Initialization, 4 different keys are generated (assuming no collisions).
... |
I would like to better understand the operation of the LED algorithm, especially the process of substitution and permutation of the blocks and especially the use of the keys in each round.
The keys in each round are expansions of a single key or keys are different?
Already consulted sources:
https://www.cryptolux.org/i... |
Having shared a pad of length double the length of your anticipated message, splitting it into x and y.
Then using x to encrypt the message, and using y twice to encrypt the next pad, would that be insecure (seeing as the data I'm encrypting would still be random)?
|
I am researching about lightweight hash functions and I've got two related questions:
What is the standard or requirement for a hash function in general to be considered lightweight ?
Why can it be said that the PHOTON hash function is lightweight?
|
Is there any way to parallelize AES running in CBC mode? (The plan is to parallelize it using OpenMP)
|
Why using AES in ECB (Electronic Code Book) mode a bad idea? is CTR mode better? Given only these two can be used for parallelization.
|
GM is a cryptosystem with a modulus $N = pq$ ($p$, $q$ prime) and quadratic nonresidue $r \in (\Bbb Z / N\Bbb Z)^*$ as the public key. You can see the details on Wikipedia.
Anyway, let's say that $N < 2^{1024}$. Then the ciphertext can be represented as a $1024$-bit string regardless of $N$. In which case, you can take... |
$$\begin{pmatrix}2&3&1&1\\
1&2&3&1\\
1&1&2&3\\
3&1&1&2\end{pmatrix}$$
In the above MDS matrix used in AES encryption, why are the numbers $2$,$3$ and $1$ chosen? Why not any other number?
|
Daniel J. Bernstein (and others) have expressed concern over how "verifiably random" curve parameters are generated. He points out that hashing a public seed doesn't prevent, say, the US government (NIST/NSA) from choosing a seed that produces parameters with a one-in-a-million weakness that is not yet known to the ac... |
The biggest problem with using MtE with a mode where it's known to be secure (CBC) is with the padding, where you can't retrieve the authentication until you know where it is by looking at the padding bytes.
Instead, why not just place the MAC at the very end of the last block, and include the padding bytes in the calc... |
I'm looking for Test Vectors to test my implementation of PRESENT. I would like to test a different input from the usual where the key and the plaintext are either 000..000 or FFF...FFF.
|
I want to split a message using Shamir's Secret Sharing by splitting each byte of it so the field I'm using is $2^8$.
Assume $(2,2)$ scheme, i.e., splitting it into $2$ shares and both of them are needed for reconstruction.
By having one share, can I guess the second (I have max $256$ options) and try to build the poly... |
Yesterday I finished programming my own encryption program. It is using an input and a key. Here are all the steps it is going through. For an example, let say the input is "Hello" and the key is "Hi"
You take the input and convert it into binary:
01001000 01100101 01101100 01101100 01101111
You make this Binary str... |
I am using BouncyCastle to perform ECDH and then encrypt the data between the mobile (Android) and my hardware with ECIES. It all works fine. When I try to sign a byte array and send it to the hardware, the hardware fails to verify. My code to sign is as follows. You can see in the code below that I use NONEWithECDSA b... |
I have noticed, during the period I spent studying RSA, that Euler's Totient function can be calculated in another way than $ϕ(N) =(p-1).(q-1)$
Let me explain myself by pointing to a brief example:
$p = 131$
$q = 11953$
$N= p*q = 1565843$
The totient defines the quantity of positive integers less or equal than $N$ copr... |
From wikipedia, the DDH assumption says,given a cyclic group $G$ of order $q$ with generator $g$, $(g^a, g^b, g^{ab})$ looks like $(g^a, g^b, g^c)$ where $a,b,c$ are randomly and independently chosen from $\mathbb{Z}_q$.
Then what I wonder is, whether $(a,(g^a)^b )$ looks like $(a, g^c)$, where $a,b,c$ are randomly and... |
I know hill cipher is a block chipher ,We produce decryption key by inverse of key matirx but we still use different key for decryption. Therefore Can we say that Hill cipher is asymmetric chipher?
|
I need to know:
1- What does exactly correctness mean in this context?
2- How is correctness implied in malicious model?
3- If the correctness means " the adversary cannot cause the output to be incorrectly distributed"[1] then it can change the computation result with the correct distribution.
[1].Carmit Hazay · Yeh... |
Without having any knowledge of common encryption methods, I wonder if an encrypted text can look like random valid words as if it is a sentence. Is it possible? If so, what methods should I use?
|
While practising on paper I've realized of a property of multiplicative group of integers mod $n$.
First, let's define $G$ being $p$ a prime and $g$ a primitive root mod n or a generator of a subgroup of $p$ whose order is a factor of $|G|$.
Example:
$p=23$
$|G|=p-1=22$
Then find a valid $g$ whose $Ord_{p}(g)=p-1$ or $... |
I have an application that I use sha3-512 to hash my password with a randomly generated 64 characters salt for each password. Is it bad to use this method to store passwords? I know many people reference using bcrypt for password storage. What are the advantages/disadvantages of using bcrypt vs. a hash/salt combo?
|
A quick question, we know that raw RSA is a no go. To solve this we have different PKCS standards forcing structure on the input messages.
For EC the story is something else. For signatures we have ECDSA, for general encryption we have ECIES (hybrid) and ElGamal encryption. Or ECDH for key agreement
None of those schem... |
Intro
For deduplication purposes, I need to split a stream of plaintext bytes into variable-sized chunks. The way this is traditionally done is using a rolling hash function defined over some window $w$ (e.g. 48 bytes). This window "slides" along the byte stream and is evaluated at each byte position, and when the valu... |
Consider the case that
$c = a \cdot b \mod p$
where $p$ is a known prime and $0 < a < p$ and $0 < b < p$ are unknown integers numbers. Furthermore, some bits on the value of $c$ are known.
Q1: Can an attacker learn some bits of $a$ using this information?
The question is based on the following non-modular example:
$a =... |
I don't see an immediate risk of using the hash of the key as the nonce for AES GCM. Is there something I could be overlooking?
|
If you are brute forcing a key and trying trillions of combos, how will you know when you accidentally hit the right answer? Clearly you can't look at each decoded answer to see which "looks right".
|
Random oracles don't exist, but aren't PRFs essentially indistinguishable from them? So why can't we substitute pseudorandom functions wherever we use random oracles?
And if we can do this, why is there any controversy over substituting hash functions for random oracles, when we can instead use pseudorandom functions w... |
I was looking the certificate of this website: https://www.cloudflare.com that has an ECC based certification.
I'm just curious to know if is possible to understand which elliptic curve is used and which point is used.
Another thing: I don't understand why in the certificate there is a RSA 2048 public key and not an E... |
It took more than a decade from when MD5 looked like it was going to break to the point when it was actually broken. That's more than a decade of warning. One might suspect that we were fortunate that we got all that time. Even so, it took a long time for the world to move away from MD5.
How can we be sure that when ou... |
Alice has a secret A, Bob has a secret B. They have a secure channel and a MAC. They each want to know the other's secret, but don't particularly want to give up their own. However, neither will not lie about the secret, but if possible, will stop communications once [s]he learns the other's secret.
How can such a prot... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.