instruction stringlengths 32 27.2k |
|---|
In many cases why going through the security proofs I have seen that some does it using a blackbox reduction to some known hardness assumption DDH and others do it using a hybrid argument by arguing the indistinguishability between the hybrids is equivalent to adversary's advantage in the DDH game.
What I don't unders... |
I don't understand how the AddRoundKey function works, because the following example is from the cipher authors. I`m trying to add 76 and 7d, and my result is f3.
Could someone explain this?
8F 20 3E 06 5F C3 54 45 B5 FE B9 AC A7 A0 C6 76 +
86 2F 1F 65 3B 77 5B A1 D0 5C BC 2F 38 E2 D8 7D =
16 50 5E 6B 9B 3A B1 E6 86 ... |
When I study symmetric encryption, it is quite straightforward to understand the following: in the presence of eavesdropper, simply using a PRG $G(k)$ and XORing multiple messages won't provide indistinguishability in the similar fashion as for a single message.
But what happens for multiple distinct messages? Will a ... |
recently I heard the term "transcipher" during a discussion (seems something related to double encryption using two different keys), but I was not able to find any information about such a term in the internet. Is it an actual cryptography term? if so, what does it mean?
|
Just for the sake of learning, I'm attempting to write an ECDSA implementation in Java.
I have what I believe is a correct implementation for point addition and doubling, but I'm not sure how to implement point multiplication - Every online description I've found says to use an algorithm like this:
public static Point ... |
It is sometimes required while proving the security of a protocol in the malicious setting that the simulator is able to extract the witness set of the adversary, who tends to be the prover of possessing some knowledge, in the ZKP step of the protocol.
I was having issues understanding how the simulator would be able ... |
Consider a simple, 1-round Feistel network.
Because the ciphertext is essentially $(L_1,R_1)$, if one knows the plaintext $(L_0,R_0)$, the only unknown left is $K$.
However round functions in Feistel networks are not necessarily invertible. For example, one could in principle use a cryptographic hash as a round functio... |
I have learned new crypto words, so I rewrote the question:
I have quite random 32-byte hash which I want to use as a seed for generation of 10 pseudo-random positive numbers up to some maximum number, the generation must be reproducible. I would prefer, if those 10 numbers would differ from each other.
There is an exa... |
This is a ciphertext :
§ƒÜì ©©”Ѫÿƒ_G¢4Ø{i§çÞ“./
when I put this ciphertext here in this site :
http://www.charactercountonline.com/
some others 4 weird characters were shown : one character after the / and two characters between the ì and the © and one character between ¢ and 4
what are those characters ?
do they belo... |
What is the main difference between CFB and CFB8 modes in 3DES? Is it only a change in block size from standard 8 byte to 1 byte when doing 3des and XOR? I cant find any pseudocode for this CFB8 mode? any pointers?
|
OSPF features the use of Auth Crypto Sequence Number however, from reading the RFC it would appear the sequence number is not being used as a nonce.
In addition, a non-decreasing sequence number is included in
each OSPF protocol packet to protect against replay attacks.
This provides long term protection; however, it ... |
I have two numbers $x_1$ and $x_2$, and there are two Paillier homomorphic encryption (public, private) key pairs $(p_1,r_1)$ and $(p_2, r_2)$. I only know $p_1, r_1$ and $p_2$. Suppose $C_1=E_{p_1}(x_1)$ and $C_2=E_{p_2}(x_2)$, here $E$ means Paillier homomorphic encryption.
How can I prove $x_1$ equals $x_2$ when I o... |
I have 32-byte Keccak hashes and I have some maximum number, for example 500, how to uniformly convert those hashes to pseudo-random positive numbers up to that maximum?
I mean I have for example 100 quite random hashes and I want to distribute them so the result would be something like 80 numbers hit once, 19 twice a... |
The order of the base point, $l$, is 2^252 + 27742317777372353535851937790883648493
However, the base point group is nested within other large groups, the largest of which is of size $8l$.
There are also nested small subgroups, the largest of which is a small subgroup of size $8$.
Is it therefore correct to say that th... |
I do not understand the format used in Shoup's "Using Hash Functions as a Hedge against Chosen Ciphertext Attack (page 8 of the PDF) for universal one way hash functions (UOWH). What are $k$, $u_1$ and $u_2$ in $\operatorname{UOWH}(k; u_1, u_2)$?
|
Regarding this article about a signature recovery
However, with the signature and the message that was signed, and the knowledge of the curve, it is possible to generate two public keys
So we can derive 2 public keys for each signature and message
I try work with python library https://github.com/ludbb/secp256k1-py.
... |
Let $G=\langle g \rangle$ be a cyclic group of prime order $Q$. Let $H_1:\{0,1\}^*\to G$ be a hash function. Is the following a family of PRF for $s \in \mathbb{Z}_Q^*$?
$$f_s(x)=(H_1(x))^s$$
Or equivalently, let $H_2:\{0,1\}^*\to \mathbb{Z}^*_Q$ be a hash function,
$$f_s(x)=(g^{H_2(x)})^s$$
Intuitively it is in ROM, b... |
I have been reading this paper by Abdalla, et al. But there's something I don't get about the security proof (Theorem 3.2) for the basic IP scheme from DDH--how are they simulating the mpk's using $g^a$?
I understand that for each basis vector they are sampling secret keys, and for $x_1 - x_0$ they are implicitly sett... |
An anonymous key exchange protocol $P$ is pair of probabilistic machines $(A,B)$ that sends messages to each other and at the end, both $A$ and $B$ will share the same key $k$.
The attacker can see the protocol transcript $T_P$ of $P$, that is, the sequence of messages exchanged between the parties in one execution of ... |
Must Bob and Alice establish a 'connection' before a symmetric or asymmetric encryption scheme is secure? If so, is there ever some expected plaintext whose decryption authenticates the users?
In addition, could anyone recommend a good introductory book or paper on cryptography for a beginner like me?
|
So after SSL handshake the master secret is used to securely transfer data encrypted using symmetric cryptography. My question is simple: after SSL handshake, when the server (for example my bank) sends to me message encrypted symmetrically, is the message body (when my computer decrypts it) signed by server's public k... |
I want to find an algorithm to get a private/public key pair where one coordinate of the public key has some specific prefix (for example: 20 leading zeroes).
In the secp256k1 case (the Bitcoin curve), G. Maxwell has found a public key with coordinate
x = 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c6... |
I'm generating permutations with a generalized Feistel network which will output integer values $r_j$ in a specified range $[0,period]$ pseudo-randomly, according to the counter input, which will then cycle after having reached each of them all exactly once.
Rather than splitting the counter into two equally sized bitv... |
Let $\Bbb{G}$ be a cyclic group of prime order $q$ generated by $g \in G$.
Let $G$ be a PRG defined over $(\Bbb{Z}_q^2, \Bbb{G}^3)$ such that:
$G(a, b) = (g^{a}, g^{b}, g^{ab})$
How can I show that $G$ is a secure PRG assuming DDH (decisional Diffie-Hellman) holds in $G$?
After reading this, I'm confused to prove $G$... |
Suppose DL is hard in $G=\langle g \rangle$. For a uniformly random group element $r \in G$ (suppose $r=g^a$), is it hard to find $s$ given $r^s$ and $r$? Does the computational assumption have a well established name?
I can show it at least as hard as DDH, because if $\mathcal{A}$ can find $x$ given $g^y$ and $g^{xy}$... |
I'm not much familiar with cryptography, so please guide me in the right direction on the following question:
Let's say I have some data (array of bytes) $D$. I want to convert it into $N$ pieces (arrays of bytes) in such a way that
if someone knows at least $m$ of those pieces ($m \le N$) then it should possible to r... |
Most cryptographically protected protocols use TLS these days. This applies to mail protocols, HTTP and many others. The newly designed QUIC has also adopted TLS as its cryptography layer.
However, SSH is different: it has its own cryptography layer.
Why does SSH have a non-TLS cryptography layer? Are there any benefit... |
I have an idea for a peer-to-peer network that will require every connected peer to verify many symmetric signatures per second. In bitcoin, it's the same - every peer independently verifies signatures of every transaction. How many signatures, which sign some message (ECDSA or RSA or whatever is fast and secure) can m... |
I feel like I am missing some information regarding salting. How does one choose the salt? If you reuse the same salt for all passwords, can it just be figured out and then used in conjunction with normal brute-forcing. And what are the common ways to generate the salt?
|
Are there any post-quantum, forward-secure, hybrid, optionally authenticated key exchange protocols? Specifically, I am looking for one that can be deployed in a hybrid with X25519 + EdDSA.
|
Assuming $k$ is the key (128 bit) and $m$ is the message (128 bit), how can I use the block cipher $blockenc(k,m)$ to make a stream cipher which can produce quintillion pseudo-random bits?
|
The web pages of BearSSL have the following performance numbers:
Poly1305 1730.92 MB/s, amd64, ctmulq
AES-128 CTR 92.38 MB/s, amd64, ct64
It seems that constant-time Poly1305 is over an order of magnitude faster than AES-128 in the counter mode, without any special CPU instruction support in either.
My understanding ... |
Any suggestions for A Proof-of-Work algorithm in literature so that the time required for solving it is linear with the puzzle difficulty ??
|
I'm new to cryptography, and I'm trying to understand the concept of rekeying. What is the motivation (necessity) behind rekeying? What is the detailed mechanism for generating new session keys for an encrypted established connection?
Clear explanations of basic concepts would be very helpful, as would links to good v... |
I couldn't find this explained in another question, but is there an actual reason as to why Jacobian coordinates are used for elliptic curves? Do they provide some sort of advantage in terms of performance? Or are they easier to use for security proofs?
|
I want to implement non-interactive Bit Commitment scheme for messages of arbitrary length.
And I am curious, what is the reason of using Pedersen Commitment scheme over Salted Hash (in other words HMAC).
Example is coin flipping protocol from Wikipedia:
Alice "calls" the coin flip but only tells Bob a commitment to ... |
I am looking for such an cipher algorithm that is based on asymmetric cryptography where the order of encrypting is irrelevant.
For example:
There is a message "x", Bob encrypt that message with his key and passes result "zz" to Alice. Alice encrypt that message with her key and receives: "xyz".
There is a message "x".... |
I have read the Wikipedia article that states Dunkelman, Keller and Shamir managed in 2010 to mount a related-key attack in a pretty decent time (2hrs) with a Core 2 Duo.
Why was Kasumi breakable in 2G (A5/3), but not in 3G?
|
Consider the following setting: We have a sender $\textbf{A}$ and a receiver $\textbf{B}$. The sender $\textbf{A}$ a wants to send a message $M$ through a channel where each message to $\textbf{B}$ can be up to 8 bytes. Due to the limited size each message can have Truncated Timestamping (TTS) is used.
I am asking mys... |
Is Cipher based message authentication (CMAC) susceptible to block reordering (just like CBC)?
|
Hash functions such as SHA are considered as non-algebraic statements. How can one construct a NIZK proof to show that the output of a hash is computed correctly in an efficient manner.
|
I have modified SRA algorithm to suit my problem and I'm wondering if it is still safe to use.
Main question is if RSA Encryption key that contains even number is a safe one way function?
In RSA algorithm: encrypted message is (message)^e1 % N
As far as I understand when I select e1 as even number, multiplicative inve... |
I have studied PBKDF2 for the application of hashing passwords, and frankly I don't understand the justification for the complexity of PBKDF2 over iterative hashing with a cryptographic hash function.
Here is an example: (obviously if you want a longer/shorter hash, choose a longer/shorter digest)
|| - concatenation op... |
I'm reading about various hardware random number generators which - among others - implement the following approaches:
Analog-to-digital converter noise
Johnson–Nyquist noise
Reverse biased semiconductor junction
Avalanche diode with optional atmospheric noise
Edit: Modular entropy multiplication
What are the practic... |
Is there any algorithm for generating the same ciphertext from different plaintexts, depending on the key used? This seems similar to Honey Encryption, but I don't need to have every key give realistic data. I want to specify a set of keys and corresponding plaintext.
For example, "hey" encrypted with key1 and "bye" en... |
The verification algorithm for ECDSA is:
$P=e\times G$,
$(r,y)=k\times G$, and
$s=(z+re)\times k^{-1} \bmod n$,
where $P$ is the public curve point, $G$ is the generator point, $e$ is the private key, $n$ is the order of $G$, $z$ is the message hash and $k\in [1,n-1]$.
$u = z\times s^{-1}$ and
$v = r\times s^{-1} \... |
I am studying the Elliptic Curve Diffie-Hellman (ECDH) on Bluetooth 4.2.
There are some questions about the PK..
Where do these public and private keys come from?
Who defines them?
and Will it be changed ?
if it can be changed, How to do certification ?
|
Let $E$ be an elliptic curve defined over $\mathrm{GF}(q)$, where $q=p^r$. Let $G$ be a cyclic group of points of $E$. Then how we can map points of $G$ into $\mathbb{Z}_q$ using a hash function.
|
If I have two different MD5 password hashes with two different salts (the salts are known), is there any way to cryptographically deduce if the two passwords match? Other than brute force password cracking, that is.
|
I have some troubles in understanding the q-SDH problem. The discrete logarithm problem states the following.
Given a point P of order on an elliptic curve and a point Q on the same curve. It is hard to find a such that $0 \leq a \leq p-1 $ and $Q = aP$.
The q-SDH problem states the following:
Let $g_1$ be a generator ... |
Is the private key required once the certificate is hashed and signed? After a certificate is generated, public key is shared within the certificate itself. Is the private key used for any other purpose within the handshake or certificate validation?
|
The Montgomery Powering Ladder performs an exponentiation with the operations square and multiply (called double and add in the case of elliptic curves). To my knowledge the order and kind of operations involved are independent from the exponent, which prevents side channel attacks if the exponent is a secret key.
But ... |
What's the industry standard for an efficient finding large Sophie Germain primes?
As a part of request handling in my application, I need to generate Paillier key.
My current approach is to generate a pseudorandom probably prime number q backed up by Miller-Rabin test, then setting p = 2q + 1 and checking if p is als... |
We would like to encode ECDSA Public Key specifically keys generated using the ed25519 for storage .
What is the best and less error prone method , for now we think about using Hex strings or Base64 are there other encoding schemes that can be used ?
|
Reading many papers in the homomorphic encryption domain and in cryptography, a lot of schemes operate on bits as 1 and 0.
If I wanted to implement a scheme, for example, Gentry's FHE, would I have to encode inputs as "bits" or just use bytes (C & C++ (char), Golang(byte), etc)?
|
Besides the IV, ChaCha20 takes a random number and a counter as input.
I couldn't find more precise information about this but it seems to be that the counter is just a safety measure in case of a bad the PRNG.
If the user has a good PRNG, would it be safe to use another random number instead of a counter in ChaCha20?... |
The keyspace of XTS is $2^{512}$ due to its use of two distinct keys, and the most effective attack (a meet-in-the-middle attack) brings this down to $2^{384}$. This implies that knowledge of either the main key or the tweak key does not significantly reduce security. What confuses me is the idea that the scheme is sti... |
It's well-known that computing lots of hash functions (like SHA1) in parallel involves the use of GPUs in most cases. However, when doing something serially, such as computing sha1(sha1(sha1(...sha1(x)))) parallelism would not seem to be that useful.
I ran into this very problem recently, and I started running a progr... |
I was trying to solve this problem:
Sometimes Alice needs to send a file to Bob, guaranteeing her identity and the file integrity (no confidentiality
required); the two parties are sharing a secret w and make use of a hash function $H$ that outputs 40-bit numbers and a symmetric encryption $E$.
Each time they use the f... |
Given:
$eG=P$, $kG=(r,y)$
ECDSA signature transmits (r,s) and does this calculation:
$u = \frac{z}{s}$, $v = \frac{r}{s}$
$uG+vP=(r,y)$ means the signature is valid
Why do we transmit $s$ and not $s^{-1}$?
Currently, $s=\frac{z+re}{k}$, why not $s=\frac{k}{z+re}$? The equations would all go through:
$u=zs$, $v=rs$
$uG+... |
I need an encryption operation be 1000-1000000 times more complex than decryption operation. Is it possible to achieve with EC cryptography?
|
I'm trying to study the difference between non-interactive zero knowledge (NIZK) proof of knowledge and proof of membership. I have known that in NIZK proof of knowledge the prover wants to convince the verifier that he knows the proof of a given theorem without revealing any additional information about the witness. I... |
In the mix column stage when multiplying the byte value by 2 the following gives the correct answer. If the MSB of the byte value is 1, then left shift the byte value by 1 bit and then XOR the resultant with 27. What is the logic behind this number 27. How was it arrived at.
|
I have implemented a ruby code where i generate private and public keys as below.
However, I read few articles [1] on DSA and why it should not be used. I'm not good at cryptography. But still wanted to know whether my implementation is vulnerable to recover public/private key?
$group = ECDSA::Group::Secp256k1
$privat... |
I am working with Atmel's/MicroChip's ATAES132A 32K AES Serial EEPROM chip for hardware encryption and decryption. This is my first venture into cryptography. I've been reading through the datasheet and have a question on how to generate the MAC for decryption. I've asked this question on the Atmel forum, but I didn't ... |
What are the advantages to add the key in the inner or outer part of first state in keyed sponge hash functions?
|
I'm studying the multivariate cryptography and specifically attacks using Groebner basis. On the complexity of such direct attacks, it is well-known that the most important parameter is the degree of regularity.
It is very confusing that there are index of regularity and degree of regularity in literature. Often, the d... |
Say we have two public cyclic groups $G_1$, $G_2$ of corresponding prime orders $p_1$, $p_2$, and known generators $g_1$, $g_2$.
Say $g_3$ is also a generator of $G_2$.
For publicly known $C_1$ and $C_2$, and secret $r$ and $m$, I want to prove:
$POK\{(r, m): C_1 = g_1^r \land C_2 = g_2^rg_3^m\}$
Note here that $C_2... |
I scanned a file in this site :
https://www.virustotal.com/#/file/70902a0e2e5608b5ce980f0a28d23b6943287b3955e2fddb12e6c805c7be906b/detection
and got this :
SHA-256 70902a0e2e5608b5ce980f0a28d23b6943287b3955e2fddb12e6c805c7be906b
can the above sha-256 be cracked to plain text ?
|
As I understand it, both work with elliptic curves, but there seems to be a difference as EdDSA is generally recommended over ECDSA.
|
I know that in UC model, environment controls the real world adversaries but there is still a simulator wrapped around these real-world adversaries in the ideal world (which we sometimes collectively call ideal adversaries). I wanted to know if all the interaction that happens between the real world adversary wrapped i... |
I implemented DES Coder in VHDL using ISE IDE by Xilinx in sequential architecture which was pretty easy and straightforward. Now my task is to do the same using pipelined architecture so that the whole thing will work with maximum possible clock frequency. I read numerous papers from IEEE site concerning pipelined DES... |
This question relates to NIST Special Publication 800-90B, Recommendation for the Entropy Sources used for Random Bit Generation. A copy is available here.
Can anyone supply a pointer to any publication that has used the entropy assessment techniques of sections 5 and 6? These relate to the characterisation and entr... |
I am now reading a paper 'The Exact Security of Digital Signatures - How to Sign with RSA and Rabin' and there is an equation e = (q_sig + q_hash) * e' on page 401.
(e : success probability of RSA, e' : success probability of RSA-FDH)
What I want to know is the relation between query count(q_sig, q_hash) and security p... |
Assume we have a password and add a unique salt to prevent various precomputation attacks.
Why don't we do this:
SHA256(SHA256(SHA256 ...(Password || Salt)))
So, we have n iterations (like in PBKDF2) and because of the iterations, it should take much longer to compute the hash for a password, which is key stretchin... |
I would like to get a USB token to secure my keys. My use case is protection of 3 GnuPG keys that I will be using 10 times per day at least. I plan to create a new key ring from scratch. Because ECC seems more future-oriented than RSA, this is what I chose to use. I'm wondering which USB token to choose as well as whic... |
In the ElGamal signature scheme, in addition to the public/private keypair, a random integer $K$ such that $\operatorname{gcd}(K,p-1)=1$ is chosen in the range $[1,p-1]$.
This clearly excludes $K=p-1$, because $\operatorname{gcd}(x,x)=1$ for any $x$, but not $K=1$.
However, if $K=1$, the first part of the signature is ... |
In the GnuPG 2.1 release notes, there is this phrase:
For many people the NIST and also the Brainpool curves have an doubtful origin
I've read elsewhere that people have doubts about the NIST curves, but I've never heard anything disparaging about the Brainpool curves. What could the release notes be referring to?
|
In LPR12, page 4 is described a ring-LWE encryption in which we are working in a ring $R = \mathbb{Z}[x]/(x^n + 1)$ for a $n$ a power of 2. The public key is of the form $(a, b= a\cdot s + e)$ where $s$ is a secret key and $e$ a "small" element sampled form an error distribution. This is then generalized to other cyclo... |
I'm aware of the way that the original plain text is converted into a number by taking the ascii numbers of the byte array of the plain text, but doing things the other way around doesn't seem to work.
The encrypted message is pretty much a series of random digits(let's say it's in hexadecimal), which means that some ... |
I have been given a public key ($y_1=x_1G$), but I don't yet know the private key ($x_1$). At a later time, I will get $x_1$ if some conditions are met.
Question:
Let's say I generate a new key pair $( y_2, x_2)$, both of which I will know.
Is it possible to add up these key pairs?
$ y = y_1 + x_2G$
$ x = x_1+x_2 $
Le... |
In most programming languages, there is a module or function in the stdlib for creating random output like random.random() in Python.
Because those functions use a normal PRNG that is not cryptographically secure, over all the years those generators have been used for crypto nonetheless because of the name "random".
Wh... |
In an article on password hashing security, Anthony Ferrara suggests using bcrypt to hash passwords and then using a "strong cipher (AES-128-CBC) with a key rotation policy".
This seems like a good suggestion which would help to counter ASIC attacks on bcrypted passwords. However, this could be circumvented if the secr... |
I'm familiar with a definition of a truly random function:
$f$ is a truly random function if it was selected uniformly from the set of all the functions $f(x):\{0,1\}^{n} \to \{0,1\}^{n}$
But I'm having a struggle to figure out if a new function $g$ that was constructed with some manipulation over $f$ will be also trul... |
The popular ECC parameters secp256k1 are documented in SEC2 as using curve $y^2\equiv x^3+a\cdot x+b\pmod p$ with $a=0$, $b=7$, $p=2^{256}-2^{32}-\mathtt{3d1_h}$, base point $G$ with the apparently haphazard $(x,y)$ coordinates (hex)
79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
483ada7726a3c4655da4f... |
The goal is to create a secret S on a trusted server by having users A, B and C each send a private seed to the server, in such a way that any 2 of them can later recover S by resubmitting their corresponding seeds.
Edit: the actual use case is to create a secret that the server can use in memory but won't persist on t... |
I have a question regarding the IEEE 1363.1 standard for NTRU with padding, which offers CCA security. Does the IEEE standardized implementation offer post-quantum security as well?
Also, what are the major differences between the IEEE 1363.1 NTRU standard vs. the NTRUEncrypt NIST PQ submission here: https://csrc.nist.... |
Say we have an ideal 16-bit PRP. Since it appears that a permutation with a small domain can be used to turn it into a PRF, which can then be used in a Feistel network. On the surface, it makes it look like this means a trivial random permutation implemented using nothing more than a lookup table could then be used to ... |
I came across a SHA-256 implementation that seems not to conform to the standard and because I can't change the implementation I would like to know if it's safe for use or can be a potential weakness.
For the last 32 byte block instead of performing this: (As copied from wikipedia)
Add the compressed chunk to the curre... |
We can see on many papers for cryptography that there are many uses of negligible probability to ensure something (security, correctness, etc).
How can we say that some probability is negligible?
I want to know the maximum value of negligible probability.
In other words, if we have a some probability $1/k$ for some $k$... |
We know that perfect secrecy in encryption is possible (one-time pad). Now, the concept of key exchange like Diffie-Hellman is that we can establish a shared key without an interceptor knowing, and with no previous communication.
Obviously, for Diffie-Hellman as such, an interceptor can actually find the shared key; it... |
I'm considering a variation of the Diffie-Hellman key exchange protocol based on integer modular multiplication in place of exponentiation. If done naively, that would obviously be insecure, but I'm wondering if it is possible to recover security by erasing the least significant bits before transmitting a product. The ... |
When I integrate lib sodium, into a c# project, and try to consume, encryption and decryption in a particular way, it works, but the confusion is about, which method to use while encryption or decryption, as it provides various ways to encrypt/decrypt. For example :
Problem Statement 1: Currently, I have multiple a... |
Let $F_k$ be a pseudo random function.
Is $F'_k(x) = F_k(x) \oplus k$ necessarily a pseudo random function?
I think that it is a PRF, but I just can't find a reduction that works with it.
|
I understand how ECIES work. I have a structure of message
[alice`s ephemeral public key, MAC tag, ciphertext]
I do not understand what I shoud do if I want to use ECIES with ECDSA. For example, each side in application network has static public/private key pair which are used for authentication. I want to know who se... |
Let $\mathcal{E} = (G, E, D)$ be a CCA-secure public-key encryption scheme defined
over $(\mathcal{M, C})$ where $\mathcal{C} := \{0, 1\}^\ell$.
Let $\mathcal{E'} = (G, E', D')$ be a scheme (over $(\mathcal{M, C'})$ where $\mathcal{C'} := \{0, 1\}^{\ell + 1}$) where:
$E'(pk, m) = E(pk,m) \Vert 0$
$D'(sk, c) = D(sk, c[... |
It appears that in cryptography a lot of definitions are based on the time complexity of various algorithms. For example, a "good" encryption scheme should be resilient against a polynomial adversary. Or, inverting the image of a one-way function should take more than polynomial time.
But what about space complexity?
... |
I'm studying Kerberos and other Key Exchange Protocols.
They always (or very often) require that the clocks are synchronized. To this purpose they periodically probe a time-server. This is said to be a critical operation because new kind of attacks arise. But which attacks?
|
In this question about hardware random number generator, a discussion about the following question has been started: In order to test RNG's and entropy's quality, should test suites like ENT and Dieharder be applied on raw entropy or on whitened entropy?
|
For a given Key $K$ and two messages $m_1, m_2$ is it possible for an encryption algorithm (say AES-256) to produce this: $AES(K, m_1)$ = $AES(K, m_2)$?
I understand that the output has to be unique (aka every input has to be mapped to a different output) so that it can be decrypted, but it just seems so bizarre to me ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.