instruction stringlengths 33 27.2k |
|---|
I am maintaining an application that uses PKCS#11 to talk to a smartcard. Somehow a session gets generated, but i cant figure out where in the code.
I am using c# and the PKCS11Interop wrapper. The funny thing is that if in my main application i do a slot.GetTokenInfo() i can see that there is one session open, but if ... |
Bitlocker as example uses AES 128 Bit encryption as default - if it was brute forced how it can be done , I mean where's the file that will be brute forced to generate the password (If I'm right that file is suppose to be the 128 keys generated from the encryption right?)
I'm not asking about software to do this ( I'm... |
So I have a kind of interesting issue. I have a field in my data store which must take exactly 160 bits of information. Some users will choose to make this data encrypted, some won't, so some of those 160 bit fields will be ciphertext some will be plaintext. A boolean will indicate which one the user is using. The impo... |
Can someone please check my work and correct me if I am wrong, I am just starting to learn about DES. I am trying to solve the following problem:
Show that S1(x1) XOR S1 (x2) != S1(x1 XOR x2).
x1 = 000000, x2 = 000001
So, we get S1(x1) first: 00 is our row, and 0000 is our column which is (0,0) and in the S1 Box tab... |
Given X1 and X2 such that md5(X1) = md5(X2) and Y1 and Y2 such that md5(Y1) = md5(Y2), and knowing the following property of md5:
if md5(a) = md5(b), md5(a|s) = md5(b|s)
is there a way to find Z1, Z2, Z3, and Z4 such that md5(Z1) = md5(Z2) = md5(Z3) = md5(Z4)?
|
I have an idea for an research project, but I am first wondering if it has been researched or implemented before.
I think I have a way to come up with a set of PRNG algorithms which have the following properties:
Information theoretic security (or perhaps even perfect security) of the output is guaranteed if it is gua... |
This is for a distributed system: we don't want to have
to maintain synchronization of random streams neither
enforce uniqueness of pads because this would require some synchronization.
Alice and Bob met once.
They agreed on a secret (S) and a symmetric cipher (C).
Let's assume S is 128 bits in length.
Then, they want ... |
For example, let's say I want two cryptographically strong RNGs (R1 and R2).
And I want them to have the following property:
R1 (resp. R2) will never generate the same random number twice.
R1 (resp. R2) will never generate a random number that R2 (resp. R1) can generate.
Is it possible for three RNGs, 4, N ?
Unlike oth... |
I'm trying to get into pairing-based cryptography and I don't see why the group order of the group G in the pairing function
e:G*G-> G_t
has to be a prime number.
I don't find an argument why groups of order p^k for a prime number p and some entire number k cannot be used?
|
Perhaps this has been answered before. Grover's algorithm should result in a 256 bit hash being complexity 128 bits to crack.
I was wondering, what if you had a 512 bit hash , and xor'd the lower 256 with the upper 256 bits to result in a final 256 bit hash number.
Does this increase the complexity (ie: decreasing th... |
I am writing a paper and I got comments from the reviewer that I don’t really understand.
Is there any difference between a CPA (Chosen Plaintext Attack) and IND-CPA (Indistinguishability under Chosen Plaintext Attack) when evaluating the security of an encryption scheme?
|
As I understand, there are a few requirements for a good hash function.
Hard to find any message from a given hash
Hard to find any 2 messages which give the same hash
A single bit change in the input message should lead to change of each bit of the output with a probability of 0.5 (as close as possible to 0.5)
Good c... |
For all PRNGs (including CSPRNGs) lets say there is a sequence x, y, z, then when the PRNG cycles back to x, then the sequence following it will be exactly the same as before. Is this true for all PRNGs?
Are there any rules about minimum cycle length for CSPRNGs used for Stream Cipher? Because if a cycle happens, the... |
I'm using ECDH for generating ECDH public parameters (p,a,b,G,n), I try to get this values using openssl ecparam -in cert.pem -text -noout
For Generator $G=(x,y)$ I get :
Generator (uncompressed):
04:aa:87:ca:22:be:8b:05:37:8e:b1:c7:1e:f3:20:
ad:74:6e:1d:3b:62:8b:a7:9b:98:59:f7:41:e0:82:
54:2a:38:55:02:f2:5d:bf:... |
I have the trusted root certificate which I am validating using the self signed key. I also have the intermediate certificate, which i am validating using the root certificate.
Now when i am validating the certificate do i need to trace back the whole chain to validate the certificate?
Or can i say i have done TPC, if ... |
This is problem 10 of Chapter 4 "Symmetric Encryption" (pdf) from Lecture notes by Bellare and Rogaway:
An IND-CPA secure encryption scheme might not conceal identities, in
the following sense: given a pair of ciphertexts C, C′ for
equal-length messages, it might be “obvious” if the ciphertexts were
encrypted us... |
If I use TOTP to generate codes with different "expiration" time, using the same key for HMAC, will I create some kind of weakness?
|
Bob calculates a private and public key.
Bob sends his public key to John.
Jeff is a third party unwanted member and manages to snatch the public key mid-transfer.
John encrypts his message and sends it to Bob.
Jeff again is able to steal this encrypted message for himself.
Bob can decrypt the message ... |
Everywhere I read, indistinguishability of output from true random is stated as a requirement for CSPRNGs. However nobody bothered to give the rationale for such a strong requirement.
Specifically, Yarrow and Fortuna both use a block cipher as the generator, and both limit the amount of output that can be produced by a... |
In textbook RSA, the Euler $\varphi$ function
$$\varphi(pq) = (p-1)(q-1)$$
is used to define the private exponent $d$. On the other hand, real-world cryptographic specifications require the Carmichael lcm function
$$\lambda(pq) = \operatorname{lcm}(p-1,q-1)$$
to define $d´$.
It is clear that the $d´$ divides $d$, and t... |
I am currently implementing oauth2 bearer token authentication and am storing the tokens bcrypt encrypted. My question is how long should the tokens be to achieve maximum security. E.g. at what length would longer tokens be useless since a bcrypt collision is as likely as guessing the token.
|
For a report on threshold signature schemes, I have to explain a threshold signature scheme and give a simple example with numbers.
A threshold signature scheme is a scheme in which a network of n nodes can only sign a message when at least t of the n nodes agree to sign the message.
I'm trying to understand the scheme... |
Why does AES file encryption not ensure perfect secrecy?
I understand that $\Pr[E(K,M_1)=C_1] = \Pr[E(K,M_2)=C_2]$ given $M1\neq M2$ holds for perfect secrecy of a scheme.
However, this seems to hold for any message with AES.
|
A hash function H is secure in terms of pre-image resis-tance. Does this imply that H has second pre-image (aka weak collision) resistance?
|
Is a perfect hash function always bijective ?
In Wiki "In mathematical terms, it is a total injective function" but it does not mean, that it is bijective.
|
I have a scenario that uses RFC-3526's Diffie-Hellman Group 14 for 2048 bit key exchanges. From the document, it specifies the P (prime) value in hexadecimal value as:
FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
EF9519B3 CD3A431B 302B0A6D F25F1437 4F... |
ephemeral-ephemeral ECDH is it susceptible to MITM attack ? if yes, can you please give me a detailed answer ( Workflow that can be followed by the attacker) and how we can prevent this attack (static-ephemeral or we can keep ephemeral-ephemeral and change some parameters)?
Thank you in advance
|
Here is the POW system: you are given a string and you need to compute a suffix so that first few bits of the MD5 value are all 0. I know MD5 is collision vulnerable, but is it safe to use MD5 here, or, state it in another way, is there a non-bruteforce way to compute the suffix?
|
So for Playfair, we choose a keyword and put that in the keytable with no duplicates. Then, we fill the rest of the table with alphabets in order that are not in the keyword without 'J'.
Does the length of the keyword matter? I am wondering because I wanted to know whether having just a random 25 characters long word f... |
I would like to know how to prove I have certain Facebook account (or that I can login to that account).
|
I'm writing a function to act as a cryptographic hash of a number within a range that returns another number of the same range. The catch is that the result needs to have certain properties. I run a simple test for these properties and call the function recursively if the test fails. Naturally this raises a red flag fo... |
I'd like to have a peek at the firmware of a piece of Hardware. Its firmware is available as a .wav file to be uploaded via audio jack.
https://drive.google.com/open?id=0B6S_PcWWM1YlQnNwT2FSMnFzVE0
And it sure looks like straight forward frequency modulation. I think I can even make out a pattern: useful signal (8 wave... |
If Eve intercepts all the values communicated between Alice and Bob in a Diffie–Hellman key exchange, and applies the hill-climbing algorithm to reverse the modulo function, how will the algorithm know whether it is following the right path?
|
I have an RSA signature scheme with 1024-bit key where I know the following:
Public modulus $N$
Public exponent $e=3$
A lot of signatures
Summary:
To compute a signature, an MD5 hash is calculated from a collection of byte and the textbook RSA private key function is applied to that. The verification procedure for a ... |
For a software, I don't want the user to choose weak keys, so I plan to just read the needed number of bytes from /dev/random to create the needed secret keys. Is it safe to do so?
|
I believe it contains public key but whose? the site like a bank or the certificate authority who has signed?
|
Eve takes a fair six-sided die and adds some heavy paint to the side of the die with the 6 on it. This results in a biased die that rolls a 6 with probability 2/7, and each other number (1-5) with probability 1/7.
If Alice learns that the die is loaded in this way, only has this die, and must generate 20 fair/unbiased ... |
Consider two schemes both have computation complexity linear to the input size (i.e. number of inputs). One scheme is based on Paillier encryption and the other one is based on fully homomorphic encryption.
Question 1: In general, can we compare their performance (i.e. which one is faster)?
Question 2: In general, can... |
CPA attack means the attacker can send in his own plaintext to the oracle and receives some sort of ciphertext back.
CCA attack means the attacker can send in his own ciphertext to the oracle and return some sort of plaintext back.
When we talk about CPA and CCA secure, what exactly are we referring? All this time I ju... |
I am trying to understand how to calculate the average key search time given a specific scenario:
Suppose we have a program that uses standard DES with 56 key bits, and we can test 10^6 keys per second.
The key consists of 8 characters, a simple concatenation of the 8 ASCII characters yielding 64 = 8*8 key bits. With ... |
I have some encoded strings which are probably encoded in a base64-variant - except that there aren't only 64 chars, but all the (printable) ASCII chars between 33 and 126 (0x21 to 0x7E).
I've searched for other base64-variants but only found variants like base85 which excludes some characters that may cause problems.... |
I've been reading up on probabilistic polynomial-time algorithms and one-way functions, and I was hoping to get some guidance on the topic.
A textbook I'm reading states the following for one of the conditions for one-way functions:
Hard to invert: For every probabilistic polynomial-time inverting algorithm A, there ex... |
I'm currently studying for a cryptography exam. I've been given ciphertext that has been encrypted by a columnar transposition cipher. I've been given no shift key length or key word, the only thing I know is that only 2 columns have been shifted.
How can I determine the key? Or better yet, is there another way to deci... |
I have seen numerous references on the internet of people describing SHA-256 as generating an "almost unique" hash.
Exhibit A. there are more.
Is there some mathematical basis to the almost uniqueness? I would have thought that as SHA-256 is an evenly-distibuted (?) hash algorithm which can accept any message (infinite... |
I have a question .
How the system know the attributes of the users to be after that as a public key in ABE?
|
So I have been reading and learning a lot about cryptography lately and in particular asymmetric ciphers such as RSA.
One thing that I am curious about but never seems to be mentioned is how the cipher algorithm manages to compute such enormous numbers in reasonable amounts of time.
This example shows what I mean. Such... |
In Gentry's paper on fully homomorphic encryption using ideal lattices, he finds the values of vectors modulo a certain basis. For instance:
$\psi \leftarrow \psi' \mod B$
Taken from page 69 of Gentry's thesis.
What does it mean to evaluate a vector modulo a basis?
|
I'm having a lot of trouble trying to understand how to implement AES-GCM.
My usecase: Person A sent me a file with a gauranteed unique name. I want to be assured it was from person A, and that no one saw the contents, and that it wasn't tampered with.
I figured that I would do the following:
Person A would give me a... |
For a college programming assignment I have to implement a secure communication protocol between a server and one or more clients. Upon instantiation of the server program, a file is generated, call it 'server_file'. This is then placed in a known location and assumed to be made available to the client program(s) via a... |
Looking in some cryptographic algorithms, I've realized that: The way the plain text is encrypted/decrypted is always specified, but what about the key? Every paper I've seen describing the algorithm never show a way to generate a key, but show the available key sizes.
This leads me to a question: How should I generate... |
There are many examples of MD5 collisions (some of them can be found here Are there two known strings which have the same MD5 hash value?). But as far as I know two inputs should have the same length to have the same MD5 (or same hash in general). Is it correct? Is there any proof of that?
Or otherwise examples of inpu... |
I am trying to understand how the linear complexity profile of an LFSR is calculated.
For example, I have the bit sequence $110101$ and its profile $1 1 2 2 3 3$.
Is there any easy way to produce the profile?
|
Lets say that $f:\{0,1\}^* \to \{0,1\}^*$ is a strong one way function.
Let
$h(x)=f(x)||x_n$ where $x_n$ is the $n$th bit of $x$.
I understand that $h$ will not be a strong one-way function. However, I wish to gain an intuitive understanding why that is.
|
Currently, the code I am staring at uses the CKM_EXTRACT_KEY_FROM_KEY mechanism. That has been disabled in our hardware module, so I need a different mechanism to derive a new key from an existing aes key. I don't want to change too much code as I don't know what the ramifications will be. I could use C_CopyObject, ... |
I'm looking at an implementation of SRP (Secure Remote Password) that essentially follows the Stanford documentation (http://srp.stanford.edu/design.html). I'm worried about one aspect though: In the initial message exchange the server sends the parameters to be used (modulus $N$, generator $g$, salt $s$) to the client... |
I'm trying to test the ring signature scheme proposed by Rivest Shamir and Tauman in the famous paper "How to leak a secret".
One of the step consist in
4) the signer solves the following ring equation for y1: Ck,v(y1,y2,y3)=v"
I have everything except $y_1$.
It's defined that
$C_k,v(y_1,y_2,y_3) = E_k(y_1 \oplus E... |
I spent all day trying to figure ring signature schemes out but apparently I wasted time.
I read the original ring signature paper (Rivest's How to leak a secret).
I'm having numerous problems. Let's just say that a nice and simple example would make everything clear.
I'm talking about something like this example for R... |
I'm designing a key distribution mechanism and have thought of using a securely generated/acquired private key as a seed for a sequence of private keys to be distributed to a number of users using a key encryption key which is exchanged through a secure channel during the initialization step.
The setting is as follows... |
So I'm reading this question to learn more about length extension attack, and I want to make sure I understand the basics of padding.
It says in the post that given the hash and the length of the message, I can easily compute the padding.
Now, from what I understand, each block will always be 512 bits, or 64 bytes.
So ... |
Generally if the body is hashed, why provide the body and the hash as input into the HMAC. Instead wouldn't the same security be achieved by hashing the body and providing only the hash as input into the HMAC?
I looked at the documentation here. I also looked at the answer here which provides detailed description of w... |
For example, Square reader uses hardware encryptions when swiping credit cards.
Is it possible to know the key that is used by the hardware encryption cipher by analysing the hardware circuitries?
The key has to be somewhere in the hardware, right?
|
In their work on SHA-1 collisions (cf. the EUROCRYPT-2016 paper “Freestart collision on full SHA-1” by Stevens, Karpman, and Peyrin) Stevens et al show that they are able to generate "freestart collisions" on SHA-1. They say:
Even though freestart collisions do not directly lead to actual collisions for SHA-1, in our ... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.