instruction stringlengths 32 27.2k |
|---|
I'm wondering why there are two Algorithm Identifiers in a X509 certificate. One is in the "to be signed" part and the other one is at the end right before the actual signature.
Are they used for the same purpose? Do they have to be the same? Can implementations choose which of these two fields they evaluate?
|
I need advice as to whether it is worth the extra "security" and processing of an AES encrypted text string to be hidden in a PNG image as opposed to an AES encrypted text string to be saved in a read-only text file. Both the PNG image and Text file would serve as publicly available AES placeholders that would be decod... |
This to me, sounds like a great idea, but with all rosy-tinted ideas it needs some grounding in reality. Here are the steps of the hypothetical system (with the hypothetical part highlighted):
User runs program to encrypt a file.
Prompts for user password.
Hypothetical part (is it secure?):
Program has a list of encry... |
I've written a script that breaks a cipher text based on a padding oracle for an assignment, but was wondering how I would continue on to create my own cipher text with any plain text I desired?
Someone on the class forum mentioned XORing the intermediate step (or the $D(C_i)$ before XOR with $C_{i-1}$) (taken from the... |
I was reading some stuff on steganography.
There is an example on the wikipedia page :
However, I tried many software to get the hidden image, but no one worked. Is there anything wrong about that?
I tried OpenStego (Windows), SecretLayer (Windows) and VSL (Linux).
|
According to wikipedia, a perfect hash function is a hash function that uses algorithms that has a certain random aspect to their logic. It is suppose to be collision-free.
However due to the pigeon hole principle where given a set of all possible preimages M & a set S where S is the set of all possible hash values res... |
Assume we have an elliptic curve $E$ with a Tate (or Ate,...) pairing
$G_1 \times G_2 \mapsto G_T$
Now the task is to find $g_1, g_1' \in G_1$ and $g_2, g_2' \in G_2$
such that the discrete logarithm $x$ is equal, i.e.
$g_1' = g_1^x$ and $g_2' = g_2^x$
That is easy, but now comes the hard part:
This has to be done w... |
I am in high school and I am writing a paper on RSA. I want to show that low values of the public key exponent can make it easy to 'invert' the function so that the encrypted message can be recovered.
How is this done? I have tried to read the Handbook of Applied Cryptography but it's not making sense...
Would this be ... |
I'm working on a system that has a P2P component. When an individual downloads a binary and decides to mirror it, they advertise themselves in a providers set. The binaries can range from 1-1000MB. I need a mechanism to prevent the abuse use case where they flood the provider set without ever having the binary, and ser... |
Does a method exist where a secret is generated so that is is unknown until 3 or more people (predetermined) reach consensus that it should be revealed?
|
I need to encrypt/decrypt data from my software by AES, the problem is how to make the AES key secure, there is no HSM, should I hard code the key in my code? It seems that a hacker can read the key data by reverse engineering the software.
|
I am using the javax.crypto.Cipher in Java to do AES/CBC/PKCS5Padding encryption. What I am observing is that, if you try to encrypt a Plaintext with no padding, PKCS5 adds another entire block just to padding. For example, if I got a 32bytes Plaintext, assuming that AES is using 16byte block size, the padding size sho... |
In this paper: Sequential Aggregate Signatures with Short Public Keys: Design, Analysis and Implementation Studies the authors sell the paper as the first who propose Aggregate signatures without interactive assumptions as LRSW but with static ones. What renders an assumption interactive? The fact that is not a standar... |
I wonder what is wrong with this scheme for authentication.
Server sends random challenge, C
Client returns (C, B(P)) encrypted in H(B(P)) where B(P) is high work factor salted hash of the user passphrase (e.g., bcrypt), and H() is a low work factor hash
Server has K = H(B(P)) in database, and can use it to decrypt (... |
One of the conditions that a one-way function has to satisfy is the following:
$$Pr[A(f(x))\in f^{-1}(f(x))] \leq negl(n)$$
Now, suppose that we have the following function that's not one way:
$$f(x) = x + 123$$
We know this isn't one-way since we can easily invert; that is:
$$f^{-1}(x) = x - 123$$
But from the perspec... |
I'm looking for behavior similiar to that of LCGs, (i.e. input and output sizes are same). Full cycle of $2^{32}$ different inputs generates full cycle of $2^{32}$ different outputs, distribution of which depends on large key. Obviously combined LCGs (with generated parameters based on the perturb seed key) seem trivia... |
With a fixed key size – key has 128 bits, while block size is 8 byte – how do I calculate how many different keys and texts I have to test for an cryptanalytic statistics study?
Differently worded: I am planning to encrypt multiple samples and see how many bits have changed, compared to the input block. Finally I plan... |
Suppose party A generates an ephemeral RSA key and sends the public key to B. Party B then generates a symmetric key, encrypts it with Party A's public key and sends the Ciphertext to Party A. Party A then decrypts the key that party B sent. Parties A and B then use the key that B generated to encrypt data.
Does tha... |
(This is probably a basic question, and may be a duplicate; if so, just let me know.)
Suppose there are two clients A and B, and some server C. Suppose B and C establish an HTTPS tunnel, and C sends a response to B. And suppose B records the response, and sends it to A.
Can A verify that the alleged response from C wa... |
Given the recent news about SHA-1 collisions, what is the complexity of finding a SHA-1 collision?
Marc Steven's HashClash is still detailing about 260. Does the previous complexity still hold?
|
I know that message collisions are supposed to be hard to calculate for a good cryptographic hash.
Given 1k worth of data, it's hard to find another 1k worth of data that collides with the same hash.
But doesn't it become much easier when the message becomes variable length? I.e. it's easier to find a collision in 0-1G... |
I was reading this paper Homomorphic evaluation of the AES Circuit by Gentry et al. when I thought if something similar can be done with DES or 3DES, e.g. it is plausible to decrypt DES homomorphically ?
|
Suppose I have a Mersenne Twister seeded with some unknown value, and I’ve been given the first output. Given only this first output, and no other information, is it possible to derive the unknown seed?
I feel like the answer is no, but I want to be sure I’m not missing something.
Context: I’m looking at Matasano chal... |
In RFC6628 section 2.2, they say:
w = The password remembered by the user.
W = The password verifier registered in the server. W = g^w mod p, where g and p are agreed upon in advance.
They claim resistance against server compromise. But if an attacker gains access to the password verifier W, how much work is the atta... |
From SRP section 3:
The host stores user passwords as triplets of the form
{ <username>, <password verifier>, <salt> }
Password entries are generated as follows:
<salt> = random()
x = SHA(<salt> | SHA(<username> | ":" | <raw password>))
<password verifier> = v = g^x % N
Where g and N are agreed upon in advan... |
I'm interested exploring key derivation and threshold signature protocol that require point arithmetic (addition) on the private scalar values and $S$ values of the signatures in ed25519.
Specifically what I would like to be able to do
Generate two eddsa private keys: (pub_1,key_1), (pub_2,key_2)
Compute the private ... |
In one of my assignments, I came across this:
Due to MD5’s length-extension behavior, we can append any suffix to both messages and know that the longer messages will also collide. This lets us construct files that differ only in a binary “blob” in the middle and have the same MD5 hash, i.e. prefix || blobA || suffix ... |
I was hoping to implement a software that allows testing a user-defined hash function for cryptographic properties (Meant to pique interest in cryptographic hash function for a school showcase), as well as compare them with well-known hash function to identify their hash functions strong points & weak points. However t... |
Bruce Schneier writes (back in 2005) in a post on cryptanalysis of SHA-1:
SHA-1 produces a 160-bit hash. That is, every message hashes down
to a 160-bit number. Given that there are an infinite number of
messages that hash to each possible value, there are an infinite
number of possible collisions.
... |
There are a few systems like the GNU Name System and the Sphinx mixnet packet format that employ a series of curve25519 scalars all multiplied together as a private key.
Are there any caveats to multiplying several together like this? What about adding them or doing other arithmetic operations on scalars?
Another fo... |
Why file removal tools offer gost 2 passes and British 3 passes or even gutman 35 passes options? In which case the single pseudo random pass is not enough?
|
So after some searching, I kinda know the attack procedure of altering bit by bit. But I'm still confused how this is possible. If I understand it correctly, the attacker never has the key, or tries to iterate keys. So since the oracle can check the padding, I guess itself has the encryption key?
What is a real life or... |
Suppose a message is encrypted with a symmetric block cipher with a random key. RSA is often used to wrap the symmetric key using the recipient's public key.
In this case, the size of the message is increased, as the block size of the RSA encryption (depending on the modulus size) is much bigger than the actual size of... |
Our application requires some 'mild' form of 'proof of origin' for the tokens we issue (~200 bytes), however, the value of each is trivial.
The requirement is to provide 'tamper resistance' rather than 'unforgeable', to not bloat the token size, and to use commonly available 'standard' libraries and tools.
In the token... |
Noob question:
It is my understanding that the raw output from
non-blocking /dev/random (where the kernel's entropy_avail estimate is equal to or greater than the number of random bits required)
or properly-initialized /dev/urandom (i.e., after roughly 256 bits of entropy have been collected by the system)
can... |
Given the linear block cipher $\operatorname{LinearCipher}(k, p) = c$
$$\operatorname{LinearCipher}(k, p_1 \oplus p_2) = \operatorname{LinearCipher}(k, p_1) \oplus \operatorname{LinearCipher}(k, p_2)$$
where $k$ and $p$ are 128-bits.
If an attacker uses a chosen-cipher-text attack, how can they decrypt any plaintext ... |
The man page of cryptsetup says:
Whenever a passphrase is added to a LUKS header (luksAddKey,
luksFormat), the user may specify how much the time the passphrase
processing should consume. The time is used to determine the iteration
count for PBKDF2 and higher times will offer better protection for
low-entropy ... |
At the risk of sounding stupid and being laughed at...I must ask this question. What is required to decrypt an encrypted file? Obviously you need the appropriate key to decrypt, but is any other information needed in order to correctly decrypt the content?
Please forgive me as I am just learning cryptography and this i... |
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?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.