instruction stringlengths 32 27.2k |
|---|
Given a toy cipher that picks a key, k, from the key space of {00,01,10} and a message,m, from the same set {00,01,10} and encrypts using E = m ⊕ k.
How can I change the encryption function E in order to make this cipher perfect(according to Shannon's perfect secrecy rule)?
NOTE: This cipher is not perfect because ther... |
Let's assume we have a message $M$ and it's signature $S$ and that $|$ is
the concatenation operator.
Should we encrypt $S|M$ or $M|S$?
Does it even matter?
|
I would like an answer that could be sustained by a mathematical proof.
Let's say I'm using AES-CCM to encrypt a lot of messages, and I always use a different nonce.
I know that when the nonce space gets exhausted, the encryption key needs to be changed.
The question is: even though my encryption key has not been compr... |
Is there a standardized padding scheme which is prefix instead of postfix
and that uses random bytes except for the first byte which would be the
length of the padding?
|
Let c = a.b mod p
where p is n bit prime number (e.g. 128 or 160 bit prime number);
a - random number between 1 and (p-1);
b - random number between 1 and (p-1);
Given c, a and p, how hard to compute b?
|
I have some trouble understanding what happens when a LFSR is clocked. I have tried many examples but I do not get the correct result. Can anyone point out my errors?
I have the following polynomial:
$$f(x)=1+x+x^5+x^6+x^8$$
I am working on this as a part of a known plaintext attack and I have the following keystrea... |
I have just started reading the Scale-Invariant Fully Homomorphic Encryption over the Integers paper and I'm a bit confused about something:
When decrypting the ciphertext:
$c = r + (m+2r^*) \cdot \frac{p-1}{ 2} + q \cdot p^2$
using the decryption function m = (2c mod p) mod 2, I get $-m$ instead of $m$. Can someone pl... |
As far as I understand one big advantage of ECC is that we can use pairings on the group of torsion points of the curve.
I was wondering if it is possible to construct pairings from general finite fields $\mathbb F_q$?
If not on finite fields $\mathbb F_q$ are there other structures in cryptography where pairings are u... |
I was wondering if interleaving the resulting crypted data with dummy bytes placed at random positions but known in advance by the peers could improve security (no matter the algorithm and strength used, this is just baby step theory here) or do the contrary (and why).
E.g.:
normal: kIolmspJgheydhNud
with dummies: kI9o... |
I am trying to find a concrete example of the Weil Pairing.
What I have done until now is that I took $E=(x-1)(x-2)(x-3)$ over $F_5$.
I took $E[2]=\{\infty,(1,0),(2,0),(3,0)\}$.
I know that there exist a rational function f such that
\begin{equation*}
div(f)=2[T]-2[\infty]
\end{equation*}
How can I find this function f... |
I have to implement RSA Signature Verification procedure (RSA-2048) on a Cortex M0 based MCU. My budget is 15kB Flash and 2-4kB Flash RAM.
Is it even possible to do RSA on a low end MCU based on Cortex M0?
|
I'm creating a messaging application that will use an outlook account to send an email. However, I'm unsure about the proper steps to store the e-mail password on the user's computer. Suppose I had the following code:
SmtpClient SmtpServer = new SmtpClient("smtp.example.com");
var mail = new MailMessage();
mail.From = ... |
I'm new to cryptography and I'm trying implement a file encryption feature into a Python program but I'm running into a big issue...what is needed for someone else to decrypt the file?! Obviously, I can decrypt the file on my end. I'm not worried about that.
Basically, I need to encrypt a file and send it to another pe... |
If one is going to use an HMAC, I.E: http://php.net/manual/en/function.hash-hmac.php, where exactly are they storing the key?
Without some sort of secure storage (i.e not in a local file or code), I feel like one is fooling oneself when using a HMAC (as with the above function). I missing something related to the stora... |
I am currently implementing the SHA256 hash-algorithm for a "custom-built" embeded-device. Obviously I have a problem with message padding. The routine I wrote does not work with message whose size equals exactly 512 bits.
In that case, how should the message be padded ? i.e.
M = "AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPAABBCC... |
I am doing a paper on textbook RSA (this is for high school btw) and in my example I need two very large primes, but I want my $e = 3$.
Is there a short way to calculate the values of $p$ and $q$ such that $gcd(e, φ(pq)) = 1$?
|
I am studying the cipher suites provided by TLS 1.2 and found an interesting question.
TLS 1.2 adopts GCM for encryption and SHA256 or SHA384 for hash (e.g. TLS_RSA_WITH_AES_128_GCM_SHA256). But, GCM already provides data authenticity (integrity).
So, my question is that why TLS 1.2 includes another hash functions (SHA... |
I've been keen on IT Security for a long time now and I've learned a lot about networking & security. However trying a "decryption challenge" I'm lacking what I think is basic encryption/decryption knowledge.
So I've got a ciphertext without knowing about the algorithm or key used encrypting the plaintext. I assume tha... |
Hypothesis: Let $z,a$ be uniformly random elements of a field $\mathbb{F}_p$ where $p$ is a large prime number. Also, let $(-z)$ be additive inverse of $z$.
I have a fixed secret value $x$. I mask it as $I=x+z$ and send it to a semi-honest server.
Later on, I send $w$ and $c=(-z)\cdot w+a$ to the server, and ask it t... |
Noting D-Wave's press release on a 1000 qubits quantum computer had me wondering...
Does the number of qubits nonlinearly change the speed/rate at breaking a SHA256 hash?
If someone makes a say 10,000 qubit processor, does this speed up cracking the hash more than 10 times (linearly) faster?
|
Let's say we have a construction like in this question: We have a OWF $h(.)$, a secret salt TXT, and a counter starting at 1, and we compute
H1 = h(TXT || 1)
H2 = h(TXT || 2)
...
Hn = h(TXT || n)
According to the linked question, this scheme is secure. However, I was wondering how to formally proove this.
My first att... |
I'm trying to decrypt a cipher that I suppose has been encrypted with Vigenére.
However I came about the following thought:
The cipher consists of characters from [cghijklmnopqrsuvwxyzABCDEFGIJKLMNOPQRSTUVWYZ0-6+].
My thought: The characters seen in the cipher need to be in the alphabet used when encrypting via Vigenér... |
I've read about the "Weak Diffie-Hellman" attack (paper, website), where a resourceful entity like a state can pre-compute values for known primes to aid solving the discrete logarithm problem for that particular prime.
I've also read that SRP is very similar to Diffie-Hellman, and has common groups (see RFC 5054). Can... |
If you have a random uniform sequence of bits $A$ generated by a TRNG with good performance of randomness tests (eg Dieharder, NIST, Kolmogorov complexity, chi-square, etc) and perform an encryption (eg AES) with a known deterministic key $B$ so that it results in a new encrypted sequence $C$.
Is the encrypted sequence... |
I am working on a javacard applet project where i need...
Secure communication between two applets let say there is applet A
and applet B. Let say both applet has their own RSA key pairs.
Now I want to perform Diffie-Hellman key exchange between these applet.So
that both applet can talk securely.
How to perform abov... |
Suppose party $A$ has two pieces of data, $X$ and $Y$, either of which may change separately, or they may change together.
Given the following constraints:
$A$ knows its current $X$ and $Y$ but has no further knowledge about its previous or future values, nor can it store anything else
There is only one-way communicat... |
I want my application to generate an EC key pair.
The first four bytes of the sha256 hash of the public key should contain a known IP address.
As hashes are one-way functions, I need to brute force this by generating four billion keys.
Is this possible, in under an hour, on a laptop?
Openssl is not the way to do this ... |
In the Kerberos authentication protocol, as described here:
would it be safer to replace step (1) with:
$$
A \rightarrow T : A, E_{K_A{_{T}}}(B, N_A)
$$
so that a passive adversary does not know the identity of party B with which A wishes to communicate?
Or even add an extra layer of security by encrypting the whole ... |
Is a memory-hard proof-of-work scheme necessarily resistant to speedups from custom ASICS?
Background: Bitcoin uses a proof-of-work scheme based on SHA256 hashing. The scheme is compute-bound. Initially, people would mine solutions on their PCs or GPUs. However, eventually it was noticed that a custom ASIC (a custom... |
We know that a good hash function is a one way/trapdoor function. Easy to calculate one way, harder to work out a previous state.
I was wondering if anyone knew a good hashing system that allowed you to calculate an arbitrary number of steps into the state future.
E.g. instead of running the hash function 10,000 ti... |
The latest AMD programmer manuals, dated June 2015, include the RDRAND instruction in the instruction set. For completeness, it lacks RDSEED. Confer, AMD64 Architecture Programmer’s Manual Volume 3: General-Purpose and System Instructions, page 278.
The description includes the text:
Loads the destination register wit... |
I'm pondering a problem of how to enable transfers of files from clients to people that does not yet have an application/account/keys yet.
Here's my current thought for Alice wanting to send Bob FancyPants.png through my tool:
Generate random UUID
Generate encryption keys from that UUID
Encrypt FancyPants with the key... |
I have been assigned to generate 15000+ homogeneous and uniform random numbers for a work.
I have been searching if Mersenne Twister generate homogeneous distribution of numbers but I don't find nothing. I have found a lot of test and proprieties but I do not know if any of those proprieties/tests refers to the homogen... |
Say that Alice encrypts a $\text{plaintext}$ with $\text{key}_{m}$ and gives the $\text{ciphertext}_m$ to Bob. Alice wants to send several gigabytes of $\text{plaintext}$ to Eve but she is on a mobile 3G connection. So instead, Alice and Eve exchange a new secret $\text{key}_{eve}$. She then creates a $\text{key}_{muta... |
Please criticize the (homebrew?) mode described below; to point out a single major defect/uncertainty or the link to (the analysis of) an equivalent construction is quite enough. Assume the performance is ignored in favor of security.
This scheme looks like something that emerges from time to time. Here is yet another ... |
I didn't understand how ECDH actually works. Disclaimer: I know very little about elliptic curves.
Here is how DH works:
Alice and Bob agree on a prime number $P$ and a generator $G$. (They use one from RFC 3526)
Alice generates a long-enough (how long?) secret $S$ and
calculates $R = G^S \pmod{P}$ and sends the resul... |
I'm starting to study about visual cryptography, but I am stuck with the following problem.
On paper "Visual Cryptography" by Moni Naor and Adi Shamir, on page 6. How to read/what is the meaning of
$$J^0_i = 0^{i-1}10^{k-i}$$
and
$$J^0_k = 1^{k-1}0$$
where $1 \le i \le k$?
Can someone explain how to read it? Because I ... |
Recently, I was reading: Are there any specific requirements for the function F in a Feistel cipher?, and the answer posted mentions a Feistel Cipher named Turtle, which uses a four-round Feistel scheme as a round function for a four-round Feistel scheme.
I wanted to know if doing so would provide better security than ... |
I have a question. If you receive a DES encrypted message for which you would NOT recognize the plaintext if it were decrypted, is there any way to potentially determine the key if all keys are likely? What about for AES?
|
I'm working on a communication protocol where a client sends encrypted data to a server. What happens is that in some point, the client creates a symmetric key used to create data digests through the HMACSHA256 algorithm. Then, the idea is that data is sent to the server along with its digest, so the server can calcula... |
This question might seem silly, but how true is the fact that the round function $F$ does not have to be invertible?
I am curious to know this, because non-invertible functions can be very lossy, i.e., can lose much of the information related to the input, hash functions for example.
|
After reading this article, I started wondering how should I approach the problem of choosing p and g params in 1024-bit Diffie-Hellman key exchange.
In my project, I am going to establish keys between many users. Should I create different p and g for every one or e.g. every 100? Is there any tool that would generate m... |
Consider the following two authentication schemes. In both cases the server knows a public key of the client (for a signature system in the first and an encryption system in the second case).
Scheme A
Server presents a randomly generated plaintext to the client, and asks the client to sign the message. The server can v... |
I can't find anywhere details on how to fingerprint a public RSA key in PKCS1 format.
There are a lot of examples on the internet on how to fingerprint an RSA public key in openssh format using ssh-keygen -lf id_rsa.pub but in my application I am receiving a public key in PCKS1 format and even if I can remove the -----... |
Most block cipher implementations expect users to pad so that the message matches the cipher block size. I understand the purpose of the padding is to make the input match the cipher block size. It also has a the possibly beneficial effect of hiding the actual message length from the observer.
With NaCl secretbox, the ... |
I've been thinking a bit lately about how to get quantum resistant signatures fast and (relatively) small.
One idea I've been keen on exploring is finding a crypto PRNG that allows fast-forwarding, e.g. Calculating what the hash will be N states in the future, without the ability of moving backwards.
The grand idea bei... |
Assume I have to implement a secure channel protocol by myself. Assume further that for some obscure reasons (library restrictions?) I can't use any of the pre-made libraries for SSH, TLS and such. Assume even further that there are only few algorithms available namely the neccessary ones, such as AES, GCM, ECDH, ECDSA... |
Shamir secret sharing techniques rely on polynomials for splitting and reconstructing. It's security properties are very good, i.e. it is impossible to reconstruct the secret when $t-1$ shares are given.
The coefficient for the highest term of a polynomial should be non-zero.
But is it mandatory for other co-efficien... |
We have multiple virtual machines sharing the same physical hardware. We use /dev/urandom for session key generation. But a question comes up: if /dev/urandom utilizes metrics from the physical hardware for entropy, isn't there an increased risk of duplicates for VMs on shared hardware if calls are made at the same exa... |
I'm reading Rabin Cryptosystem which requires to compute 4 square roots $r, -r, s,- s$ while decryption of cipher text $c$ such that
$$r = (y_p \times p \times m_q + y_q \times q \times m_p) \mod n $$
$$-r = n - r $$
$$s = (y_p \times p \times m_q - y_q \times q \times m_p) \mod n $$
$$-s = n - s $$
$m_p = c^{\frac{1}{... |
I understand that bigger ciphers show more recurring patterns and therefore should be easier (or at least faster) to decrypt as you'll have a better statistical analysis, being
However, if we use an evenly grown key, would this still be true?
I've been wondering as I'm trying to decrypt a Vigenére cipher which seems (a... |
Let $\mathbb G$ be a cyclic group of order $q$. The Discrete Logarithm Problem (DLP) is, given $g, g^x \in \mathbb G$, to compute $x \in \mathbb Z_q $.
I'm interested to know if there is a known variant of DLP as follows:
Given $g, g^x, g^{x^{-1}\bmod q} \in \mathbb G$, compute $x \in \mathbb Z_q$
It is clear that th... |
I'm using bouncycastle which uses X and Y coordinates for public keys.
An EC public key is more compactly represented by the X coordinate and the sign of the Y coordinate.
How do I use bouncycastle to transform X and Y into X and Y-sign, and vice versa. (The curve is secp256k1 if that makes any difference.)
|
When designing SMPC protocols using secret-sharing, it is a common approach to compose a protocol from several sub-protocols (each proven secure under the formal definition of security w.r.t. semi-honest or malicious adversaries) by applying the sequential composition theorem. These sub-protocols obtain shared input an... |
I am trying to figure this one out: What would be the encrypted output for an input x if the same key K is used in all three boxes of 3DES?
The encryption scheme for 3DES with three different keys, and $k_3 = k_1$, is
$y=ek_3(ek_2(ek_1(x)))$. So, if the key is the same 3 times, then the encrypted output of x would be $... |
I need a set of seeds $S=\{s_1,..., s_n\}$, for pseudo-random function where seed $s_i$ is used to generate a set of pseudo-random values. Obviously I need to be able to regenerate the sets of pseudo-random values, but I do not want to keep the seeds. Thus, I'd like to use a master seed to generate the other seeds.
Que... |
Can I assume this? Specifically, I want to know if the following two cases are valid. Suppose $prf_k(m)=c$
One-wayness: Only given $c$, we cannot reveal $m$.
Without key $k$, even given $m$, cannot get $c$.
They seem intuitive, but I want to be assured of their validity when I say that. Is a pseudorandom function als... |
Is frequency analysis a viable attack on non-text data encoded by substitution (eg image and audio formats encoded with a substitution cipher)?
|
SSL (Secure Socket Layer).
windows Webbroswers ( Chrome, Mozilla, Edge, explorer ) are using which winapi set to Encrypt and Decrypt Data. SSL is asymmetric encryption.
So which Api set is being used to decrypt receavied chipher.
|
I've decided to remove a previous unanswered question of mine and break it down into smaller pieces so it's not such a loaded question.
For this question I need to prove that I've committed to a number, and that same number is the plaintext of some ElGamal ciphertext, without opening the commitment or decrypting the ci... |
So I'm trying to find a method of encryption that not only obfuscates text, but also compresses the result.
For example, if I encrypted ninechars, the ideal result would be less than nine characters.
Otherwise, if this is not possible, is there a method where I can set a limit on the amount of characters in the result?... |
As we all know, if $E()$ is an additively homomorphic encryption, we can multiply $E(a)$ by an integer $b$, then we will get $E(ab)$. But what if $a$ is a float number? Can we still get $E(ab)$? Which scheme can support this?
|
I am learning cryptography by myself, and I am not able to understand the meaning of "probabilistic encryption algorithm".
How is it different from "deterministic encryption algorithm"? How can the output of a probabilistic algorithm be different for the same pair of plain text and key when used two different times?... |
I need to generate a hash for a small piece of data (~50 bytes). I'd normally use MD5 or SHA but that's not available in the platform I'm programming for.
Luckily, it provides Triple DES and I thought I could use it as cryptographic hash function (pseudo-code):
function MyHash(text)
data = padded(text, 64)
key... |
A lot of definitions for semantic security make use an experiment $\text{Exp}$ which is performed between a challenger $\mathcal{C}$ and an adversary $\mathcal{A}$ that begins as follows:
$\mathcal{C}$ generates a random key w.r.t. the considered cryptosystem and a given security parameter. $\mathcal{A}$ selects two me... |
The password manager I use lets me choose an algorithm from the list below in order to encrypt my password database:
Microsoft Base Cryptographic Provider v1.0:
RC2-128
RC4-128
DES-56
3DES TWO KEY-112
3DES-168
Microsoft Enhanced Cryptographic Provider v1.0:
RC2-128
RC4-128
DES-56
3DES TWO KEY-112
3DES-168
Microsoft... |
I currently need to encrypt large files (video, over 6 Gbytes) for our customers.
To ensure authenticity and integrity, we chose HMAC-256 as we already use it in our internal messaging system.
But working in embedded systems, we are limitted by the memory.
If the message is the whole data file, we could not stored 6Gb... |
Previously posted here. Someone suggested I could post it here to get some answers.
I am trying to solve a CTF challenge, here. Basically we're given message and key inputs to a cipher and its resulting ciphertext. We're then given a encrypted message we have to decrypt.
I started trying to reverse engineer the algori... |
Using a format preserving encryption scheme that uses AES internally as its block cipher, for a plaintext that I encrypt I want to use that input plaintext as the key.
However using AES-128, my keysize is required to be 128 bit. But i cannot guarantee my plaintext to be exactly this length - they are words or number... |
I'm designing an open ioT protocol to be used on ioT boards based on Texas Instruments RF-based MCUs. These MCUs have an AES module to easily encrypt and decrypt AES content, so that's why I choose a symmetric key algorithm rather than a public key one (also, RSA would need licensing). So, obviously, there are some pro... |
Definitions
Suppose I have two large safe primes $p$ and $q$, and a composite number $N=pq$. I have $G$, a large cyclic subgroup of $\mathbb{Z}^{*}_{N}$; $g$ and $h$ are generators of $G$. I commit to $x$ using a random value $r\in{_{R}\mathbb{Z}_{N}}$ as $(x,r)=g^{x}h^{r}\mod{N}$.
I have a set of valid messages $S=\{p... |
Imagine if Alice encrypts message to Bob (using public key $P_{bob}$) and then Bob encrypts the same message to Carol (using $P_{carol}$). Is there a way for Bob to prove that:
$P_{carol}$ was indeed used
Message is still the same that Alice passed to Bob.
Note1: Both ciphertexts and public keys are visible for every... |
I want to know to how break NaCl encryption when a nonce is used more than once for a given key private key. According to PyNaCl docs:
It is VITALLY important that the nonce is a nonce, i.e. it is a number used only once for any given key. If you fail to do this, you compromise the privacy of the messages encrypted.
|
The j-invariants classify the elliptic curves up to isomorphisms (if we suppose to work in the algebraic closure). Is this classification used in some way to decide whether or not an elliptic curve can be used in cryptography?
If j-invariants can not be used for classification, is there an other classification which r... |
AES algorithm is using $GF(2^8)$ Galois Field. What if we use $GF(2^{16})$ in place of $GF(2^8)$? Will this improve the algorithm or not?
|
I'm trying to understand how AES works. I got as far as knowing how a password is converted to an unifinished key with the PBKDF2 function. After that RFC3962 says that an AES useable key most be derived from the unfinished key:
Then it refers to the DK function in RFC3961, and no further information is left on the DK... |
For the LFSR mod 2, determine the degree of m and maximum sequence length
s_(i+3)≡ s_i+s_(i-2)+s_(i-4) mod 2
determine the degree of m and the maximum sequence length.
I can get the degree of $m$ easily by taking $2^{(m -1)}$, but I am confused about getting the degree of $m$. I don't even know what this is referri... |
I need an additively homomorphic encryption scheme that satisfies: $D(\sqrt{E(m)}) \approx \sqrt{m}$. It seems that the lifted ElGamal satisfies this, but it is hard to do decryption if the message space is large. Is there any other scheme that satisfies this?
|
I was recently asked whether a certain library supports the ECDSAwithNone Signature algorithm. Clearly this would mean ECDSA with the identity function as the hash function. I know this is a really bad idea. And I also know that there's a trivial attack if two messages have the same prefix as the "hash" gets truncated ... |
So I'm looking to encrypt files using AES CTR, using a shared key that would be accessed via a per-user password.
My two main concerns are:
making sure that the algorithms in use are appropriate for their use (proper entropy, used appropriately given the larger context)
that the persisted data won't (significantly) im... |
I am working on a document to explain Bitcoin to students. But I am having a hard time translating the principle described in §2 of the Bitcoin whitepaper in layman's terms.
There is a great question (Is there a simple hash function that one can compute without a computer?) with a great answer, which helps to understan... |
Modern x86 CPUs support the PCLMULQDQ instruction, which does an XOR-multiply of two 64-bit numbers instead of an add-multiply (i.e. typical arithmetic multiplication). This makes XOR-multiplication for $GF(2^{128})$ significantly faster.
However, it's only one half of multiplication in $GF(2^{128})$: after the XOR-mu... |
Let’s assume Bob is some algorithmic stock trading machine. Bob takes commands from Alice, who sends messages to Bob.
For example: Alice could be sending a message to Bob to stop trading. But if Mallory is able to capture cipher and figure out the effect of sending that cipher to Bob, Mallory could send the captured c... |
XTS-AES uses two keys $(k_1, k_2)$, which are obtained from a concatenated key $k$. Does this key $k$ remain same for the whole disk or changes per sector?
|
Does encrypting a double-length 3DES application key (that has an odd parity) under a double-length 3DES zone master key (also with an odd parity) affect the parity of the application key?
|
Are there any good symmetric-ish cyphers that involve three or more steps with independent key material for each step?
Formally, there should be a function $K(s)$ that returns a tuple $(k_1,..,k_n)$ and a function $P(k,d)$ such that if $d_i = P(k_i,d_{i-1})$ then $d_n=d_0$ but there are no known relationships between s... |
I have an Enigma message and I know what the original message is (a repetition of the same letter). Is it possible obtain the enigma key? I only know what kind of Enigma machine is it, but I need to guess the config. parameters.
|
Definitions:
M - original message,
Me - encrypted message M,
S - watermark message,
Ms - message M with steganography watermark S,
e - encryption private key,
d - decryption key (it is private too),
s - key for signing message with watermark,
ds - decryption public key, inseparable combined with watermark key s,
v - ke... |
Problem:
I'm thinking about a lightweight solution to provide source authentication (only one source) to multiple receivers (multicast message).
Context:
Taking the problem to ground, we can think of use cases like firmware update (one to many), or a command to turn on several lights 'on' (that command can be sent by o... |
PREMISE: This question is purely theoretical because usually an attacker will not know private exponent d and can't compare it with obtained MSB bytes.
Suppose an RSA 1024 bit signature.
An attacker through a key exposure obtain the half most significant bytes of the private exponent d.
Can the attacker reconstruct the... |
How is it insecure when Alice encrypts a message with a One-Time-Pad to Bob, and Bob then uses the decrypted message from Alice as the next One-Time-Pad?
For example: Alice sends Bob a message Hello World with the Key of Orange Fish which they both shared earlier. Vvlyu Atzdk (Hello World). Then Bob uses Hello Word (wh... |
Due to growing concerns over the threat of quantum computing to asymmetric cryptography (RSA, ECC, etc), a number of "quantum resistant" replacements have been proposed (SPHINCS, McBits, and many more). How are these cryptosystems proven (or argued) to be secure in the presence of quantum computers?
Are the schemes on... |
I have read some content on trusted execution environment, and I like to ask exactly how it improves hashing. What I read at Wikipedia’s “Trusted Execution Technology” article states:
...PCRs) which hold various measurements in a shielded location in a manner that prevents spoofing.
Does this mean one does not have ... |
Suppose two parties A and B are using a public-key encryption scheme in order to communicate securely. A and B both have a public/private key pair:
$$ A: (P_A, S_A), B: (P_B, S_B)$$
and A already knows about B's public key but has no proof of authenticity.
What is the most an adversary C can do while impersonating one ... |
I am familiar with public key signatures, but I was wondering if there is a method to accomplish the following.
Suppose I publish a file (say a PDF article) on a peer to peer network. How can I generate some sort of public key or signature which will allow one peer to prove to another peer that they have a copy of this... |
We all know and love the meet-in-the-middle attack, which basically makes double encryption pointless using a time-memory trade-off. Now, the NSA recently recommended to use double encryption to adequately protect sensitive data from quantum attackers.
This made me ask myself:
Can one combine Grover's algorithm with t... |
I was wondering if the following hash function
f(x) := md5(x) & md5('abc'&x)
(with & as concatenation operator) is secure.
This schema can be even extended like this:
g(x) := md5(x) & md5('abc'&x) & md5('def'&x)
To find a collission in f(x), following requirements would be met:
f(x)=f(x'), x!=x' <==> md5(x)=md5(x') ^... |
I have calculated the affine points on the curve $x^2 + y^2 = 1 − 3x^2y^2$
over the field ${\mathbb{Z}}_{11}.$
Using $y^2 = \frac{1-x^2}{1+3x^2}$ I got the following points:
$(0,1),(0,10),(1,0),(2,2),(2,9),(9,2),(9,9),(10,0)$
Total comes to be 8 points. But what I know is that total points should come 11-1 = 10.
So I ... |
Assuming that you are paranoid before storing your file (distributed across a shared location), which will be the best case scenario: splitting the file first and then encrypting or encrypting first and then splitting?
|
In the Wikipedia article on Block Ciphers, it says about the Electronic Code Block mode:
The disadvantage of this method is that identical plaintext blocks are
encrypted into identical ciphertext blocks; thus, it does not hide
data patterns well. In some senses, it doesn't provide serious message
confidentiality... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.