instruction stringlengths 32 27.2k |
|---|
I don't consider myself to be an expert in this field, so forgive me if there is an obvious answer. I am having a tough time finding an algorithm that can sign data and output a 32-byte signature, that is in common use. Specifically, I'd like to find an algorithm that frequently available in many security APIs that a... |
In RSA signature scheme, it is a common practice to 'sign' the hash value of the message so that the length can be fit.
Question: If we have $s=m^d \bmod n$ where $d$ satisfies $ed \equiv 1 \pmod{n}$ and we also know $s$ and $m$, is this still considered secure?
|
i read something about Diffie Hellman. What i don't understand: Alice selects a randomly generated Number, calculates X = g^x mod p and sends X to Bob.
If she calculates g^x, she needs to calcluate g+g+g+g+g... until she has calced to g^x. Than she calculates it mod p and sends the Result to Bob.
If Eve listens, she n... |
I am taking a codes and cryptography course and the following is a questions on a past exam that I could not and still can't solve:
Suppose that $E_k$ denotes the function that encrypts a message $M$ with AES where $K$ is the 128-bit key. Suppose that a cryptographer discovers a function $F$
so that $E_k(M) = F_{k_1}(F... |
my cryptography professor gave us this problem for extra credit a while back and I attempted it but I didn't get it correct. I have gone back to it, but I'm even more lost now than I was the first time (HEADS UP: my professor gave us some long numbers to work with)
Let N=
217480967426598493570186980401996167920452820... |
In Bishop's Introduction to computer security, on page 118, we see the following:
Definition 8–2. A cryptographic checksum function (also called a strong hash function or a strong one-way function) $h: A → B$ is a function that has the following properties:
For any $x ∈ A$, $h(x)$ is easy to compute.
For any $y∈B$,it... |
What type of cipher could give ciphertext where for example random ASCII chars between say F-z (symbols and numerals inclusive), but with only a few spaces? Frequency of chars shows some similarities to alphabetic frequency and is 200 chars in length.
I've been reading up on ciphers and have not come across any common ... |
Looking for the simplest code in C. Need a set of functions that will first generate a public/private 64-bit key pair, and then the function to code/decode a given 64-bit block, no built-in checksum or anything more advanced is needed.
|
Public key certificate is a digitally signed document which verifies the sender is indeed the person. May I know how can the receiver tell the sender is indeed the person solely based on information on the public key certificate? What are contained in the certificate? Does a public key certificate contain the same info... |
I was having a discussion with a colleague yesterday whose education and experience exceeded mine. He said something yesterday that sounded incorrect to me intuitively, but I don't have the knowledge to contradict it.
He claimed that the only reason a secure cryptographic hash is better at detecting tampering or corru... |
I have read about long message attacks on some cryptographic hash functions. However, I don't quite understand what is being referred to as a "long message".
Also, do long message attacks only apply for such "long" messages or can they also be used (any exceptions?) with "normal" messages? ("Normal" as opposed to "lon... |
My cryptology professor gave us this problem on a past homework assignment and I only managed to get one of the 3 parts correct. Needless to say, I want to know how to do the other two parts as well. The question is as follows:
Consider the following DES-like encryption system that operates on 16-bit strings.
The sy... |
Consider I have two ciphertext $c_1$ and $c_2$ encrypted using RSA encryption. By definition if I multiply them I'd get $c_1.c_2 \ modN$. My question is what would happen if $c_1.c_2 >N$. Can we still decrypt it and obtain the product of two plaintext?
|
The Congress of ThéOùÇa enacted that civilian use of any public-key encryption system is authorized on the territory of ThéOùÇa, subject to meeting certain security requirements published by the Ministry of Defense. The essence of these is:
..must operate per the internationally recognized RSAES-OAEP algorithm and rel... |
I'd like to implement something like a write-once public/private encrypted shared secret (no better quick description for the lack of terminology knowledge). I guess, I'm trying to implement HSM.
The scheme goes as follows:
given a secret (e.g. 512 characters long string)
generate a public & private key pair
encrypt t... |
I want to implement Mental Poker in JavaScript as a toy program and lead in to a larger serious project so I did my research and found Massey-Omura cryptosystem and the Shamir three-pass protocol however I couldn't find any implementations of them, and the information on how to do SRA is scant. Would anyone be able to ... |
Suppose a server uses TLS to protect communication between us and the server.
I observe that in the TLS handshake protocol, password is not mentioned anywhere.
Then why do we need to have a password? What is its purpose?
|
I realize servers such as Google, Yahoo, which use RSA has 2048 bits public key. After comparing those keys, I realize that the public keys share a common property, that is first 9 bytes and last 5 bytes are always the same. Since those public keys have 270 bytes altogether, this means there are only 256 useful bytes,... |
I know Python is a powerful programming language but is it secure for cryptography? I mean is it possible to reverse engineer the program (written in python) and discover the algorithm of cryptography or other things?
|
Can someone explain this to me?
For example how M chanes to 0c?
Changing plaintext to state:
|
I am making an encryptor software for a stream cipher with my own PRNG as a project for an inter school science competition. How can I make one so that after it generates the pseudo random nos. it can recognise each character and make the shifts. Can any one explain this either in Python or in a pseudo code algorithm.
... |
S-box has to satisfy different design criteria. How to calculate non-linearity , propagation criteria for an AES S-box?
|
I ask about represent message in Menezes–Vanstone elliptic curve cryptography I now encrypt function as follow
$C_1 = (M_1 * K_1) mod\ P$
$C_2=(M2 * k_2) mod\ P$
My question is about how much the size of $M_1$ and $M 2$, if we assume we are working on the 256 curve.
Does the size of $M_1$ is one character and $M_2$ i... |
I am building a system to collect a unique identifier (MAC addresses from 802.11 probe requests). The system will have several collection points over a large area, submitting to a central database. I want to do traffic analysis without allowing a known MAC address to be mapped to the points where it was seen.
My goals:... |
Why is the complexity of pre-image resistance $2$ raised to the power of $n$?
I have been looking in everything lecture about pre-image resistance, but I still didn't know the answer.
|
I've got an API spec that specifies NRPAD and FPAD as possible padding schemes. I see these being used together with the Korean SEED algorithm. The SEED specification however is void of any padding mode description as is the API.
Can anybody tell where these padding schemes are defined, and how they operate?
|
Is Paillier cryptosystem commutative?
If not, how can we construct an oblivious decryption protocol based on Paillier?
|
From here, there are $14$ bytes specifying the file format of the key. I am still quite confused about the format bytes. For example, the following public key
30 82 01 0a 02 82 01 01 00 8e a3 d1 c7 9c 86 05 52 3d 70 9a 5b 24 8a 6e ab 8f 5d 8d 9a 44 5f 25 78 c7 ba bd 3a a6 e1 36 b8 55 88 18 d7 ea e8 14 2c 68 8f e7 fe 94... |
I got this question on a previous exam and I got it wrong. I've gone back through it several times since then, but I can't seem to get it. I would really like to know how to do it, so if someone could give me a step by step walk through (answers included), I would really appreciate it! Thanks! The question is the follo... |
General consensus is that DH_anon (and ECDH_anon) ciphersuites should be disabled since they offer no way to verify if the server is the one you intend to communicate with. However, I have never run into a client that supports DH or ECDH_anon. Could an attacker really leverage this to pull off a successful attack (with... |
In a PDF related to AES algorithm for mix column stage is written:
The multiplication mentioned above is performed over a Galois Field.
The mathematics behind this is beyond the scope of this paper. This
section will instead concentrate on the implementation of the
multiplication which can be done quite easily w... |
Say I have a key, an iv and an AES/GCM/NoPadding encoded string and I want to split this information between three people such that only jointly can they reveal the secret.
Is it safe to just split all this data to three equal chunks and provide to each party in a format "1/3 of key-1/3 of pass-1/3 of iv"? Under "saf... |
I have an encryption service in which the user decides the length and the type of key, so I would like to build a tool that educates the user on the brute force times for the key they created if using machines like: "A normal PC", "The most expensive graphics card on the market", "The Tianhe-2". There will also be the... |
XCBC paper says all three keys should be independent. It doesn't say they must always be different. However it seems this is necessary to differentiate padded message and message without padding.
Lets say we derive all three keys so that key 2 and key 3 might be the identical (randomly). Is it secure?
|
I had to make my own PRNG for a stream cipher for an inter-school science project. So I thought of cubing the seed instead of squaring it (like in the middle square method). And to prevent prediction of the next number, the digits in the cube had to be jumbled using a seed-dependent algorithm which the users had to imp... |
ECBC-MAC: $E_{k_2}(CBC-MAC_{k_1}(m))$
If we use same key for encryption (CTR or CFB) and k2 (end tag encryption) in ECBC-MAC in encrypt-than-MAC sheme, is it secure?
|
If $f:\{0,1\}^n \to \{0, 1\}^n$ is a one-way function, $G:\{0, 1\}^n \to \{0, 1\}^m$ is a pseudorandom generator, and $U_m$ is the uniform distribution over $m$-bit strings. Is the joint distribution $(f(X), G(X))$ computationally indistinguishable from $(f(X), U_m)$, for uniformly chosen $X$?
|
Given that computers can be easily compromised, there is a need for a hand cipher that can withstand computer attack. Clearly the traditional hand ciphers fail.
One time pads work. They also have the important property of being able to burn used keys and thus prevent decrypting old messages if keys are revealed. But... |
I am working on RC4 encryption/ decryption algorithm based on the following:
A wants to send M to B, for that A did:
H = Hash (K||M)
C = Ek (M||H)
A sent ciphertext C to B. (I have completed until this part)
Upon receiving of ciphertext B calculate:
M||H = Dk (C)
Now, how do we obtain M as I need to verify if H' = Ha... |
Where can we find the cryptosystems used to generate public key certificate? Are the cryptosystems under the signature algorithm and signature hash algorithm? Do I need to analyze the packets trasmitted between my computer and the server? For example, ciphersuite.
Suppose the following ciphersuites are transmitted from... |
I'll like to know if SEAL 3.0 (cf http://web.cs.ucdavis.edu/~rogaway/papers/seal.pdf) is broken. I stumbled on Bernstein's website that claimed that SEAL 3.0 has been broken. (cf http://cr.yp.to/streamciphers/attacks.html)
However, I'm unable to find any papers or proofs that it has indeed been broken. I was hoping to ... |
In the context of interactive proof systems, we often see the term "sound" used. What is the sense of this word?
|
I am referring to this paper by David Brumley and Dan Boneh: Remote Timing Attacks are Practical (In proceedings of the 12th Usenix Security Symposium, 2003).
In this paper on page 4, Brumley specifies the following steps :
Step 1. Calculate guess, $g$.
Step 2. Calculate $U_g = g\cdot R^{-1}\bmod N$
Step 3. Send $U_g$... |
I´m stuck in my homework and since its homework, I would rather get some hints than full solution. The problem goes:
factorize n = 88416763 in case that you know that the square roots of
51733469 (mod 88416763)
are 50224876, 38191887, 22222, 88394541.
|
The NIST standard FIPS 186-4 describes an implementation of the Lucas primality test in section C.3.3.
I can follow the algorithm but I am puzzled by step 6.2:
$V_{temp}=\frac{V_{i+1}^2+DU_{i+1}^2}{2} \bmod C$
Where does this expression come from?
I do understand this is the step that computes $V_{2n}$ from $V_n$ and $... |
So, a fair die throw is really random, not pseudo. So, would a RNG implemented as the result of a die throw in a physics engine (say, Newton, Havok, Nvidia's PhysX) be regarded as both cryptographically secure and really random (Not a PRNG, but a real RNG)?
|
Or better yet, is encrypting a block with 2 AES-128 keys just as secure as encrypting a block with 1 AES-256 key? By the way, I've only recently been learning cryptography stuff; I've made working prototypes in python for both RSA and AES and am familiar with (basically) how they work in general; just not the complex m... |
I have just undergone a one semester course in cryptography. I was introduced to multiple theoretical aspects, the way several algorithms work, the methods and their stability and so on. Due to time constraint, not much of problem solving was done. I want to understand more of cryptography through practical problems. H... |
I was asked this by my professor and I didn't understand the reasoning behind it. If Alice has a the key pair $(p_a, n_a)$ and Bob has the key pair $(p_b, n_b)$, why do $n_a$ and $n_b$ have to be relatively prime?
|
I have an application in which I need to create up to J randomly shuffled-copies of an array of length N. Then I will have millions or even billions of iterations such that, in each iteration, I will have to fetch the value of K << N entries of the J permuted copies of the original array. The K entries that need to be ... |
So I need to to illustrate Davies-Meyer hash function for a message “123” with 1-byte blocks. I can use the extended ASCII representation where each character is represented as a byte. And I can pick the initial value of hash H0 as all zeros.
So far I've padded the message, but now I'm stuck and don't understand where ... |
I am having problems with proving if the one-way function (https://crypto.stackexchange.com/tags/one-way-function/info) is hard to invert or not.
$2^\sqrt {m} $ one-way function $ f: \{0, 1\}^{2m} \to \{0,1\}^{2m} $
and $ g(x) = f(0...0^m || x_1, x_2, \ldots, x_m) $ $ g: \{0, 1\}^{m} \to \{0,1\}^{2m} $ (the || means... |
Alice has a value $a$ and she signs it using her secret key $d_1$ as: $s_1 = (r_1 * g^a)^{d_1} \bmod p$, and Bob has a value $b$ and he signs it using his secret key $d_2$ as: $s_2 = (r_2 * g^b)^{d_2} \bmod p$, where $r_1, r_2$ are uniformly random values and $p$ is a prime number. Both send their values ($a$, $b$) and... |
I have a MD5 hash which is obtained by hashing certain strings appended by a pipe character ( | ). (I know the values of these) A secret key is added as a suffix to this (I don't know the secret key). My question is, is it possible to crack the secret key if the resulting hash and the hash without the secret key is kno... |
I am not a hardcore cryptographer so this might be a really stupid question. I am looking through some papers in homomorphic encryption and discovered they describe computation as "circuits", why do they use this particular term? Isn't algorithm a more suitable word? Do "circuits" have some special meaning in cryptogra... |
In this scheme, a 256 bit key is split into two 128 bit sub-keys. Message blocks are 256 bits and are also split into two sub-blocks. Before encryption, each sub-block is xor'd with it's partner and then xor'd with the opposite sub-key, in order to link the entire key to both blocks.
From the example below:
sub_aes_key... |
So the Davies-Meyer Hash Function is: Hi = Hi−1 ⊕ exi (Hi−1)
Say I pick H0 = 1110 0011
And the message x1 = "5" or "0000 0101"
Is this the correct way to compute H1?
H1 = 1110 0011 ⊕ (0000 0101 ⊕ 1110 0011)
H1 = 1110 0011 ⊕ (1110 0110)
H1 = 0000 0101
I must be doing something wrong because the hash function always come... |
I have this message in Hex:
9887702584b28e6c71b7bb997e7195bf817a3884bf98353889fa9f7d34c7bc8a7625c7ae837425cbfa9e7b258eb6cb73308ea8876c7195bf88703f93b69239718eaecb623094fa9b673e85bb897928c798997c2586b3853222c7b88e6625c7b18e6525c7a98e762382aec535058fb398353894fa89703286af98707188bccb613982fa98703295bf886c7194af99673e92b4... |
A Smart Card is a kind of secure device, with limited storage capacity and
computational resource.
If we use a Pseudo-Random Number Generator to generate random numbers in a Smart Card, then is there any problem?
|
Is there any tool available that can test whether a simple substitution cipher is working.
I will put my scenario in detail. Lets say I built a simple substitution cipher that maps 8 bit data to 16 bit encrypted cipher using an 8 bit key. I need to verify whether the substitution cipher is actually unique for all possi... |
I need to know, please:
(1) Is there anyway to pick uniformly at random permutation polynomial in a field of prime order?
(2) Are there many permutation polynomials in a field?
(3) In a finite field of q elements how many bijective polynomials exist whose degree are smaller than d ?
***Indeed has the permutation poly... |
I've been exploring Zero Knowledge Proofs and while the classic cave example by Jean-Jacques Quisquater makes sense, I find the discrete log example problematic.
Since the Verifier is given p, g and y, where p is a large prime, g the generator and y = g x mod p. The value x is secret. My problem is that that there is l... |
The PKCS#1 standard defines multiple padding schemes for signature generation/verification (EMSA-PSS and EMSA-PKCS1-v1_5), and encryption/decryption (EME-OAEP and the less safe EME-PKCS1-v1_5).
Which attacks are possible on signature generation/verification and encryption/decryption if no padding mechanisms are applie... |
For my crypto assignment, I'm asked to enter a prime P and generate Q such that Q|P-1
Can anyone guide me what is Q|P-1?
|
Why is it more efficient to compute a message digest (message & signature) rather than sign the message directly?
|
In non-authenticated DH, p and g are made as public record. p needs to be a large prime number and g should be smaller than p. Why does g need to be smaller than p?
|
As a beginner in cryptography, I do not know anything about different pairing types more than their names. So far, I know these names: Ate pairing, tate pairing, eta pairing, and r-ate pairing.
I am curious whether I should care which type of pairing I am using in my implementations? Do they affect performance or secur... |
I have a prime $p = 7$ and was tasked to select a random value in $\mathbb Z_p^*$ in my signature scheme.
What does the full range of $\mathbb Z_p^*$ contain in this case?
Is it $\{0...7\}$ or $\{0...6\}$ or $\{1...6\}$ or $\{1...7\}$?
|
I can't seem to verify the signature scheme described below.
Key Generation
Public Key:
$$y_1=g^{a_1}y^{a_2} \pmod p$$
$$y_2=g^{b_1}y^{b_2} \pmod p$$
$g$ denotes a generator of $Z_p^*$ and $y$ is a random element from $Z_p^*$. The private key is $(a_1,a_2,b_1,b_2)$.
Signing
$$\sigma_1=a_1m+b_1 \pmod q$$
$$\sigma_2... |
I understand the implication of the Fermat-Euler theorem and how it applies to RSA and the detailed explanation by user Ninefingers at What is the relation between RSA & Fermat's little theorem? is very useful.
However, the Fermat-Euler Theorem states that $a$ and $n$ should be relatively prime to satisfy the following... |
Consider the following scenario:
Suppose A and B have set up their RSA public keys, namely $(e_a, n)$
and $(e_b, n)$, where the n-value is the same. Also, it happens that
the $\gcd (e_a, e_b) = 1$. Suppose C wants to send both A and B a
message $M$ that is coprime with $n$. Thus, C encrypts $M$ using A and
B's... |
I've written implementations of Salsa20 and ChaCha that accept 384 and 448 bit keys. It was fairly trivial to implement, the 'sigma' constant is replaced with key material, and the counter, (which was initialized at 0), rotates and can be initialized at any value. So along with the 64 bit vector, the entire 512 bit sta... |
Given public key encryption scheme $(\mathit{gen}; \mathit{enc}; \mathit{dec})$, we now construct a new scheme $(\mathit{Gen}; \mathit{Enc}; \mathit{Dec})$ as follows:
The key generation algorithm $\mathit{Gen}$ is the same as $\mathit{gen}$.
Each ciphertext for a message consists of three ciphertexts that independent... |
I am trying to find out if the SSH protocol preserves integrity of the transferred data in the following scenario:
The SSH client is running on a virtual machine, at some point in the middle of the connection a snapshot is made of the virtual machine and another copy of the client is brought up in some location.
I am a... |
I have a function that derives two sub-keys from one passphrase using PBKDF2 one which is used as a encryption key the other for HMAC generation, because these two sub-keys will need to be regenerated when the user wishes to decrypt there file so the salt used and the number of iterations must be available to the clien... |
what is the source of nonce in SALSA20 algorithm.
basically who provides the value of nonce in SALSA20 algorithm
|
Are modified implementations of standard cryptographic algorithms better that the standard versions?
Since the algorithm is not standard, is it harder to break? Is it safer?
|
I've been thinking of ways to store credit cards securely, I thought of this:
Take the users credit card info
Put the card info in a standard format
"Full Name/Card Num/Security Num/Expiry Date"
Then encrypt the data using a 512 bit private key:
Then I'll have something like this:
0c72233aeb2de52bce867baf54a93dd... |
I'm thinking about creating an encrypted messaging web application where users create RSA key pairs, they store the public key on the server for others to see and also store an AES encrypted private key on the server. Thus, to verify their identity, they can decrypt the private key and send a signature.
That said, I'm ... |
I am looking for the implementation of IPsec security algorithms for both
authentication and Encryption.
Is there any open source implementation available for the same ?
And if someone supposed to implement these algorithms, then what background knowledge is required for someone new in the cryptography world?
Please re... |
hashing some data and encrypting data share some similar attributes. Surely this is why "Difference between encrypting something and hashing something" has been asked.
The point of this question is hence not repeating the different purposes. Instead I would like to ask.
Since hashing does not, by intention provide a wa... |
A FPE preserves the format. There is a correspondence between the format of the ciphertext and the plaintext.
Given that a message in some binary enconded format can easily be divded in some l blocks of n bits which will be encrypted to l blocks of n bits I would call (some necessary padding issues ignored) pretty much... |
This is an honest question regarding terminology. I believe that I understand why one mode to use a block cipher is called a codebook. But I wonder why electronic as a work appears here?
Is it fair to say this is just a fancy/stylish addition?
Should it relfect that often encyption is used with electrical devices?
Wou... |
I am in doubt : of course one can create a tl connection between a client and a server.
But what if the client sends self encrypted with, say, blowfish, data to the server? The goal is that the server remains dumb about tls.
The question is not if it is possible, it is.
But in case of a "unattended listening by someone... |
Is there an encryption which would produce a ciphertext longer than the plaintext?
(please ignore block-chaining IV stuff, which would result in a data being generated from the plaintext).
The point in question is that a ciphertext generated $\{0,1\}^n$ seems inferior to one twice as long $\{0,1\}^{2n}$ in terms that m... |
Can someone help me see the flaw in this cryptosystem?
Note: This is homework and it is due today at 1:30pm. An answer before that is not expected; I'd just like to understand what the flaw is.
From An Introduction to Mathematical Cryptography By Jeffrey Hoffstein, Jill Pipher and Joseph H. Silverman (Springer, 2008);... |
Let's imagine a cipher that works like the following:
Plaintext is encoded to Base64.
The characters in the encoded plaintext are substituted with a randomly shuffled character set(A-z, 0-9, -, _, =). The shuffled alphabet is, in essence, the key.
Not particularly complex or even secure. But...
What if I wanted to ... |
Aremed with only basic crypto knowledge, I'm trying to understand the security benefits of LUKS over plain-mode dm-crypt. Hopefully this is a good place to ask.
Given the LUKS header contains information describing how the payload is encrypted, would it not be more secure to use plain dm-crypt instead?
I'm thinking tha... |
I need to use RSA-SHA256 signing. Unfortunately not all Microsoft CryptoAPI providers support that. It's possible that I might get a handle to a CryptoAPI provider that can just encrypt/decrypt with RSA, and maybe sign with SHA1, but not SHA256. Also, the private key might be unavailable (say, it could be in a smart ca... |
In various cryptographic programs I've written (most have been toy problems, but this current one is not) I have taken a slothful approach to performing a message digest (hash) of numerical input. I have been casting the numbers to strings, concatenating them, and then performing the hash. (Actually, this is a keyed ha... |
Sorry for this ignorant question but I am currently weighing up the advantages and disadvantages of BCrypt over PBKDF2 and from what I have read BCrypt is considered more secure but from what I have discovered BCrypt only derives as 248-bit key (Example: E2cP18g8DyWwg3emgpHOaPBZzrcRVrO) and the rest of it is the salt, ... |
Let $E$ be a random even permutation of the set $\{0\dots n-1\}$. We construct a permutation $P$ of the set $\{0\dots m-1\}$, for some $m\le n$, using cycle-walking; that is, computing $P(x)$ is as follows:
repeat
$x\gets E(x)$
until $x<m$
output $x$
What is the probability that the parity of $P$ is $n-m\bmod 2$, ... |
In NIST SP800-38A: Recommendation for Block Cipher Modes of Operation
CFB can be used with a parameter s - the size of a data segment in bits - which determines the amount of key stream material that is produced per block.
API's often also have parameters to at least generate a segment 8 of bits or a segment of the sa... |
SSLv3 is almost 18 years old; why has it not been updated to a more advanced version with stronger rules and structure. What have been the issues and dependencies in doing so till now???
|
I thought encryption algorithms (like AES) are used to encrypt texts. So, how are files or folders (containing pictures, videos, etc.) encrypted? What is it that encryption algorithms exactly encrypt?
|
First of all, I only understand the P versus NP debate on a rather shallow level as I am not a computer scientist. So perhaps the answer to the question is straightforward but if not, I would be interested to know more.
I believe the consensus amongst computer scientists, complexity theorists, and programmers today is ... |
Why is there a need to generate more than one high entropy seed? It would seem like if the original source of entropy is high quality, than some 512 bits should be more than enough to seed a CSPRNG which has no strong (or known) weaknesses, and pretty much endlessly generate new random numbers and re-seed itself. The a... |
I'm currently dealing with multiple blowfish-encrypted files that share the same key. All are encrypted using ECB mode judging from their appearance:
I don't know what the key is but I know 64 byte (or 6 blocks) of consecutive plaintext. The key length used is most certainly 448 bit.
Now, I just recently started to ... |
My family was planning a secret santa and I thought about how I might write a little web app to dole out these secret assignments. But the downsides to this approach are obvious: there's no way for the users to know that I'm a) generating the results randomly and b) not snooping on the (secret) assignments myself.
In t... |
Suppose that the key generation is insecure; each key bit is independently generated, but the value of each key bit is '$1$' with probability $0.90$. These keys are used in AES. What is an efficient attack against these weak keys.
The only thing I know is that a randomly chosen key has a lot of $1$s. But from this I d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.