instruction stringlengths 32 27.2k |
|---|
I'm new in the crypto world and I've just discovered PBKDF (I used to use typed passeword as symmetric key).
When using some crypto mode, you're required to generate an IV which must be completely random and not predictable, the best length is the length of a block size. PBKDF (and hashing functions in general) needs a... |
Suppose I use GnuPG to symmetrically encrypt a file like so:
gpg --no-options -c --cipher-algo AES256 --no-random-seed-file -o my.out my.file
I then provide a passphrase when prompted.
What steps does the software actually take to get from the passphrase I provide as a user, to the actual 256-bit AES key which is use... |
I'm trying to study a simplified TLS-style protocol, including verifying RSA signatures. It's an attempt to verify using only a valid certificate. However, I can't manage to get anything to verify properly. I have a modulus, exponent, signature, and hash of the message. With the following parameters:
modulus = 28459 =... |
I was asked to implement traffic encryption between the game server and clients.
Currently, the traffic is not encrypted in any way, which lets players use cheats to listen to the traffic in order to obtain information about the location of the opponents.
Traffic packets are small (50-70 bytes) and the developers are n... |
I am new to linear cryptanalysis, so I decided to try to break a toy cipher that was designed to be vulnerable to linear cryptanalysis. Unfortunately, I can't get it to work no matter how hard I try. I've read the Wikipedia article and several papers, but they always seem vague on how to turn equations that hold over t... |
I'm building a device that performs a modular inversions using a secret modulus. I would like to know if it is possible to recover all or part of this modulus by side-channels (timing, power, EMR, etc.).
All information I found related to side-channels in modular arithmetic applies to modular exponentiation.
The algori... |
Recently i'm reading "Cryptographically Strong de Bruijn Sequences
with Large Periods" . In the section 2 2.1 Basic Definitions and Properties , property 1 says that $$2n<LS_s\leq2^n-2$$ for a span $n$ sequence. The author claims that this bound comes from "Characterizations of Generators for Modified de Bruijn Sequenc... |
In most of time, what I see is explicit signatures such as ElGamal, it's rare to see the implicit signatures. So I wonder
why it's rare to be seen?
what aspect is it mainly used?
what's the difference between implicit signature and explicit
signature?
P.S. I want a detailed answer, better give some examples of implic... |
I'm using OpenSSL 0.9.8 on OSX Maverick, and I want to use a PBKDF but I can't find any doc/man about it on OpenSSL's website.
I'm working on QCA, an OpenSSL wrapper for Qt, and when I arrived there was PKCS5_PBKDF2_HMAC_SHA1 as PBKDF2, a function I can’t find either on the OpenSSL website. It's marked as DEPRECATED on... |
Typically ad hoc networks do not have a proper infrastructure and the routing is done only through the base stations which are connecting a wired and wireless network. Does quantum cryptography protocols and QKD provide a better security for such ad hoc networks.?
|
I've seen a few puzzles based on a type of cipher in which letters in the plaintext are substituted with groups of characters in the ciphertext. The ciphertext only uses a handful of unique characters. For example:
a -> 154
b -> 53
c -> 12
d -> 41
e -> 153
...
In this example, bead is encoded as 5315315441.
Since no... |
Why are security against eavesdropping and security against CPA equivalent
in the setting of public-key cryptography?
|
I'm currently working on web services which allows to send and retrieve data.
The data belong to a team.
A team is composed of users.
Each authenticated user can send and retrieve data to/from their team.
I need to add encryption to this with the following requirements:
Data are encrypted on the server and the server ... |
I have been working on a Bloom Filter implementation recently and after a discussion with a co-worker about how many hashing functions to use I told him I was limited with using hashing functions that are already implemented and didn't want to risk the loss of distribution if I derive hashing functions from them.
We ca... |
Attack scenario:
SSD physically retrieved from a computer that is turned off. The entire disk is encrypted with AES 256-bit (GNU/Linux, LUKS). The SSD has had TRIM enabled for several years and the file system has seen a lot of use, i.e. a lot of files deleted over time (triggering TRIM). Assume that the key used is su... |
In learning how DH works for cryptography applications, I'm coming across some confusing language. For starters, most of the time DH is discussed in the context of "generating" their shared secret. However, I'm also seeing that it can be used for encryption purposes as well (such as encrypting the shared secret using a... |
Consider the pairing $e: G_1*G_2 \to G_t$.
Why we are mapping element from group $G_1$ and group $G_2$ to an element in $G_t$.
How are they used in cryptography?
What advantages do they provide?
|
Is a one-time pad still breakable on a depth of 2+ if the plaintext is completely random?
I'm assuming this idea is wrong, mostly because it occurred to me, but let me walk you through my logic so you can concisely correct me:
A one-time pad is unbreakable on a depth of 1 because a comprehensive
brute-force attack wil... |
Given the following preconditions:
A plaintext A (~512bit length), that is hashed by using SHA-1 and truncated to (the first) 64 bits.
I know both, the plaintext and the truncated hash, and want to perform a Second Preimage Collision Attack.
Furthermore, a part of the new plaintext B, that should produce the sam... |
Im trying to understand if nowadays using AES is secure or not, after reading some arguments on Schneier’s blog (to be more exact, a comment to “The NSA Is Breaking Most Encryption on the Internet”) it seems like it is not secure:
Now as the NSA GCHQ et al know very well the more efficient you make the implementation ... |
Schneier says:
Fewer and smaller S-boxes. It may be possible to reduce the number of
S-boxes from four to one. Additionally, it may be possible to overlap
entries in a single S-box: entry 0 would consist of bytes 0 through 3,
entry 1 would consist of bytes 1 through 4, etc. The former
simplification would redu... |
Is there a way to setup a hierarchical encryption using public key encryption?
Let's say a higher level user can decrypt messages encrypted by lower level users. Is that possible?
I guess it is only possible to do with hierarchical key management, like the higher level users have access to the lower level user's keys.... |
So finding a pre-image means given the hash value, one tries to find a message that gives this value using the function's standard IV. What about pseudo-preimage?
|
May sound stupid to many, but I would like to have some pointers on what exactly is contained inside a private key. I have decent understanding of public/private keys/certificates (have created them many times) and their purpose but would like to take a step back and see what is inside them using a "dump" utility or so... |
I am looking for an authentication mechanism that works best with low memory, low computing power devices. I came across a paper "A Practical Zero-Knowledge Protocol Fitted to Security Microprocessor Minimizing Both Transmission and Memory" which is released in 1988.
Couldnt find any recent papers. Is it the best one ... |
El Gamal encryption involves picking $(p,g,b)$ which is our public key. We compute $b=a^x$ $mod$ $p$. Here, $x$ is the private key which we don't know.
What are some efficient and strong algorithms today used to finding this $x$?
I am currently dealing with numbers such as $b=42-60$ digits long and $p=30-50$. So $b$ ... |
This might sound pretty weird, but I was thinking of a game a person could play alone with a pen and paper.
I got this idea where the person would write a random four letter string on a paper, and would have to decode it. There would be a mean to verify if the person is getting closer to the goal or not. So, I decided... |
A problem is given: 1 million users are authenticated with 9-digit PIN codes (e.g. 343534643). The PIN values are stored as hash values in a database. The hash is SHA-256, and is computed as:
hash=SHA-256(password|username)
An attacker has a graphics card which can compute 500 million hashes in a second. How long does... |
This question is broken into two sections really:
Symmetry in RSA
I have been analyzing raw RSA and I have noticed some interesting symmetrical properties of the algorithm.
Assume that $M$ is a positive integer between $2$ and $N\over2$, ($N$ is the RSA modulus). Then:
$$
M_s = N - M
\\ C = M^e \pmod N
\\ C_s = M_s^... |
The developers claim that a 6 letter long password hashed with 3.8 second's of scrypt would cost $900 to brute-force.
If we use more cycles, how quickly will the brute force cost increase?
What are the minimum system requirements to compute such a huge KDF on a desktop or mobile?
Is there any formula to estimate its... |
Given the finite cyclic, additive group (G, +), with |G| = n and generator = g, what are the computations and exchanged messages for Diffie-Hellman?
What I tried myself:
Alice chooses a private $a$ and sends $p(|G|)$ and $g$ (generator) to Bob.
Alice calculates $A = a\cdot g \mod p (|G|)$ and sends it to Bob.
Bob cho... |
I'm reading this paper, which on page 3(Section IV.C) presents a Jointly Random Verifiable Secret Sharing Scheme for Elliptic curves. The algorithm makes sense to me save for this part:
"Each $P_{i\neq j}$ verifies that his share is consistent with other shares i.e. $a_0^{(i)}G = \sum_{j \in B}b_j f_i(j)G$"
Just to exp... |
Suppose I've got two clients $A$ and $B$. Client $A$ encrypts data in CTR (Counter) mode to get a ciphertext. What information will client $B$ have to receive from $A$ to decrypt the ciphertext? Just the “key”, “IV” (nonce), and “counter start value”?
|
Assume that the group $G$ is the set $\mathbb{Z}_{n} = \{0,\ldots, n-1\}$ for a 1024 bit integer and $+$ is addition modulo $n$. Then why would Diffie-Hellman key exchange in this group be insecure?
|
Suppose we have a cryptosystem homomorphic for addition (say Paillier's). Is there a way to perform a logical OR operation between two binary values (with a binary result).
We can, of course, obtain the encoded result of addition between two values (by multiplying the encoded values):
$Enc(x + y) = Enc(x) \cdot Enc(y)$... |
To give some foreground information: I acknowledge that I am a cryptography newb and not by any means an expert (and probably never will be).
In a recent CS class we had several assignments writing and implementing RSA and Diffie-Hellman. It was fun but it was exclusively two party encryption. I want to implement multi... |
Suppose Alice and Bob wants to send messages through Sue without revealing to Eve that the exchange took place. Slightly more formally, I don't want Eve to have any advantage telling if Alice is sending spam to random recipients, or if Alice is engaged in an information exchange with Bob. Is this possible?
Eve tracks a... |
In the Type A curve used in Pairing based Cryptography, what is meant by sign0 & sign1 in the expression below?
a_param struct fields:
exp2, exp1, sign1, sign0, r:
r = 2^exp2 + sign1 * 2^exp1 + sign0 * 1 (Solinas prime)
q, h:
r * h = q + 1
q is a prime, h is a multiple of 12 (thus q = -1 mod 12)
Reference: http... |
Is this the mathematical equation for the Vigenere Cipher or something else and if something else what is it?
Where t is the letter of plain text and n is the position of t within the text and c is the ciphered character.
For 't' and 'c' taking a as 1 and z as 26.
((t + n) > 25 -> c = (t + n) - 25) ^ ((t + n) <= 25 -> ... |
I am currently experimenting with ed25519 and I noticed that on secret key creation, bit 254 is always set and the lower 3 bits are always cleared. I found that bit 254 is always set to protect against timing attacks in this question: When using Curve25519, why does the private key always have a fixed bit at 2^254?
But... |
I want to create an online roulette game. Is it OK if the PRNG is seeded only once, when the user starts the game, or is it recommended to re-seed sometimes during game? Maybe just seeded once a day on the server and every players would get a next random number without re-seeding? How would you do? How do they do it at... |
What is the best (thoroughly covering) textbook for application of LFSRs in cryptography?
(Beside Cipher Systems by Beker & Piper)
|
Alice is color blind. She never knows if her gloves are matched. Her
brother Bob always teases her saying her gloves are mismatched and
she should go change them. Alice wants to know if Bob is telling the
truth about her gloves.
Assuming Alice only has 2 colors of gloves, how can she design a
protocol th... |
It is my understanding that PGP has both an integrity check and an authentication check. What vulnerabilities would open up if it didn't have that integrity check?
It seems like the authentication check is also basically an integrity check because the authentication would be a signature of the message. So if the messag... |
What is the difference between CSPRNG and PRNG?
Is there performance differential between them? For example: We use PRNG for key generation which is very expensive and CSPRNG for IV/nonce in block ciphers which is fast?
What is the difference between the two types of RNGs?
|
Assume that we have a message $m$ of size $n$, and it is padded with two 01 bytes in front. Then the signature $s$ is computed using a private key $ks$. Can we still use the Known Message Attack to create a signature for message $m^2$ or $pad||m||pad||m$ by multiplying the signature with itself? Or will the padding st... |
I have made a python code for one DES rotation. Can I use the resulting cipher text as a plain text for the same rotation with the same key? I think the answer is no, I can't do so. But I need to be sure, an explanation will be very helpful.
|
When trying to prove the security of an asymmetric signature, for instance, for existential (or strong) unforgeability against chosen messages attack, do we need to consider the signer as a possible adversary?
|
Assume that I have an plaintext $m$ and it is padded with $randompad||00||m$ and then it is encrypted with RSA and a public encryption key so we get the encrypted $Sm$.
Then to assure its integrity we use our signature key and we publish the verification key. The input to the signature is this (so again we have paddin... |
I am a student taking cryptography this semester. I was just wondering why can't we use this simple protocol?
Alice → Open Connection → Bob
Alice ← Cert$_b$ ← Bob
Alice → {K$_{AB}$}$_{Bob}$ → Bob
Assume bob is the server and we're only interested in one way authentication.
Is there anything wrong with it in terms of s... |
The Decision composite residuosity problem problem states that is impossible to distinguish between those two ensembles:
$\{x^N \mod {N^2} | x \in \mathbb{Z^*_{N{^2}}}\}$ and $\{r \in \mathbb{Z^*_{N{^2}}}\}$
Can we assume the same for these:
$\{x-1+x^N \mod {N^2} | x \in \mathbb{Z^*_{N{^2}}}\}$ and $\{r \in \mathbb{Z... |
Consider the following scheme. Alice wants Bob to make some computations for her, but she doesn't want to reveal the data on which he's going to do it. So, she encrypts the data, sends them to Bob, he makes some (Turing-complete) computations on them, and sends an encrypted answer. For example (C++-like pseudocode)
// ... |
I can't get my head around Pollard’s Rho Method for solving discrate log problem
I have read in a book:
The basic idea is to pseudorandomly generate group elements of the
form α^i · β^j
So,what are i and j
We continue until we obtain a collision of two elements, i.e., until
we have
α^i1 · β^j1 = α^i2 · β^j... |
I have heard that to combine two keys HKDF is better than using XOR function. But if you look at the HKDF RFC I could not figure out how to use it for concatenating two keys. What I can see is HKDF can be used to derive a key from another key. So I want to know how to use HKDF to concatenate two keys.
|
How can one be sure that the man who you're talking with is the one who you think he is? i.e. How can one perform authentication in P2P network without a central trust server or Certificate Authority?
I'm just wondering how someone can make distributed (peer-to-peer) overlay network or chat using DHT for finding peers ... |
Is it possible to tell which encryption algorithm was used, assuming I have a key and a encrypted text?
To not complicate the situation let assume we are speaking about symmetric algorithms only.
Are there any common methods to discover encryption method?
|
But recently, with the scandals about the (in)filtrations, I read that the NSA (and of course others, but I'm not particularly worried about NSA) is able to break SSL and track your data.
It is true? What can I do about that, given I do not know much about cryptography?
|
I am using PBKF2 to derive a encryption key from a password. suppose entropy of my password is y and my PBKF2 function has x number of iterations. So how to calculate the entropy of finale key derived from the PBKF2 function.
|
I have an ECDSA implementation in Mathematica over secp256k1 and $r$ and $s$ are always positive numbers. But if you encode them as bytes, the most significant byte can be over 0x80, which would make it a negative number if the big-number is interpreted as being signed.
I'm asking because the bitcoin implementation has... |
Is this algorithm demonstrating proof of work? This is a algorithm where a "token" is combined with a time stamp and then a cryptographic hash is generated from the combination, next the objective is to find a token whose hash will collide with N digits of the timestamp+token hash.
This operation is computationally in... |
I'm trying to brute force a 3DES problem given a reduced keyspace (ie I know the first half of the key) but with an unknown IV. The code decrypts to plaintext. My first thought was that I could set the IV to the first 8 bytes of the CT, decode the rest and then substitute back to find the IV. This doesn't seem to work ... |
In reading about the Bitcoin protocol I noticed how much its proofs-of-work apparently depend on uniformity of the SHA-256 hash function. And so presumably do many other applications.
How do researchers go about proving uniformity of proposed hash functions? Is it just an empirical matter of running many inputs throug... |
Like people always say: “Attacks only get worse…” — which is why I'm asking early.
I have been reading the paper “RSA Key Extraction via Low-Bandwidth Acoustic Cryptanalysis” published December 18, 2013 by Daniel Genkin, Adi Shamir, Eran Tromer.
Attack
In short, they discovered that it is possible to crack 4096-bit RSA... |
What happens to entropy after hashing?
Suppose you have a key with entropy $k$. Can entropy $k$ be increased by hashing the key?
|
Lets say that I have a server which encrypts information at the server side using ECB mode with the blocksize of 16. If the server appends data that I control with a secret and sends back the ciphertext, it is possible for me to figure out what the secret is, by bruteforcing one character at a time.
Now lets consider a... |
It might be common, but if we had to solve an equation like this $m=s^{e}$ mod $n$ where $m,e,n$ are known. How can we find $s$. What optimisations could be applied? And what would the complexity of finding $s$ be relative to $n,e$?
Moreover, if we use GNFS or anything similar what does the complexity express exactly. ... |
I am looking for an adequate protocol for public key decryption, which would allow $n$ parties to jointly decrypt a cipher text. The usage scenario for such a protocol would be a mixnet that wouldn't require the sender to know all mixes in advance. The requirements are:
There is a single externally known long term pub... |
I've learned that public key encryption is based on the problem of Discrete Log (as regard to group theory) which believed to be hard.
But, can we say that it doesn't matter on which problem our public encryption rely and say that it couldn't be CPA secure anyway?
|
I'm wondering how a backdoor in a random-number generator (as rumored the NSA have placed), actually compromises the security of things like VPNs or TSL/SSL.
What I understand is that, if such a backdoor exists, then after observing a certain number of pseudorandom bits, the attacker can then predict the rest of the ps... |
I was trying to implement zero knowledge protocol for authentication based on the paper "A Practical Zero-Knowledge Protocol Fitted to Security Microprocessor Minimizing Both Transmission and Memory".
In that, the first step is…
each security device with identity $I$ receives an authentication value $B$ (The inverse ... |
From this question I understand that, for a block cipher, using CBC is better than ECB. It seems that if one only has part of the cipher text, then decryption is difficult because the decryption depends on the previous cipher block.
But, what if one does have the whole cipher text? Is CBC then better? It seems, that in... |
Premises - please check it and critique if necessary:
If factoring the products of large numbers suddenly becomes simple, PKI goes up in smoke.
Is this correct?
If it is correct, it seems to me that the only alternative is a return to shared secret schemes… is there anything serious out there that still relies on shar... |
Sorry, the question is not easy to state (or wasn't for me, anyhow).
So I'm writing a very flexible format for security. It allows for full choice of cipher, key size, and so on, along with key confirmation and derivation. All of this is communicated in objects with Protocol Buffers serialisation. Now, I get that I nee... |
Consider the following simple cipher:
$$c_1 = S(m_1 \oplus k_1) \oplus k_2$$
Where $S$ is S-box, $m_1$ - 16-bit plain text, $k_1$ and $k_2$ is two parts of 16-bit key.
If S-box is standard then this cipher is quite easy to hack by differential analysis. But consider $m_1$ as two-dimensional array 4x4 bits and S-box as... |
I have been reading about attacks against RSA Digital Signature in a book
The attacker chooses the signature first and then computes the
message. As a consequence, he cannot control the semantics of the
message x
why the attacker can't control the message??
Let's say that e=115 ,n=11021 and the attacker want to ... |
I'm developing a security/encryption software and I'm using AES CFB (block size: 16 and key size: 32 bytes).
I want to know, if I also keep IV (32 bytes) secret like the key itself (32 bytes), would it add to security or not?
Encryption key and IV will not be specified by user, it will be generated and then encrypted w... |
Let's assume that Bob, at some point in time, has created a PGP (key length and other parameters are not relevant at this point). For some reason, he has chosen a very poor passphrase, for instance lemon. Some time later, Bob realises his poor choice and decides to change his passphrase to something much more secure,... |
Sorry if this is a stupid question, but: in Shamir's scheme, we construct a polynomial and make our secret $S$ the zero-th coefficient $a_0$. What, if anything, necessitates this - in other words, can we make include $S$ as $a_1$ or any other coefficient?
|
It is said that the RSA algorithm uses number theory. What parts of number theory does it use?
I know it uses modular arithmetic and Euler's totient theorem and function. Is that all?
|
In a traditional oblivious transfer setting, the sender has a list $(x_1, x_2, ... , x_n) \in G$ where $G$ is the chosen group. The receiver has $b \in \mathbb{N}$, such that engaging in the protocol the receiver is given $x_b$ and the sender does not learn $b$.
Presume I want a slightly different procedure, where the ... |
I'm attempting to recover plain-text ($P_1, P_2$) from two uneven cipher-text strings ($C_1, C_2$) that I suspect used the same key ($K$).
When I XOR $C_1$ and $C_2$ together to obtain ($P_1 + P_2$), there is repetition of a string of characters several times within the XOR string e.g:
.81afg.81afg.81afg.81afg.81afg.8... |
I once needed to an XTEA snippet to from C++ to Python and it did not work properly. I then found a function on ActiveState.com and noticed that it looks almost exactly like mine, with one exception - for some reason, its "delta" variable was changed. Here's the test code:
import struct
def XTEA_encrypt(buf, k):
r... |
I need to generate a CA (4096-bit RSA) and server keys for openvpn and I want them to be "top quality". Here is my plan:
gather entropy from multiple sources (saving individual files): FreeBSD Yarrow, Linux (with haveged daemon while entropy_avail is 4096), ANU QRNG, something else (e.g. wifi capture file encrypted wi... |
Digital identification using steganography, can it be broken?
I have read a few articles saying that using an I.D. embedded in video, audio, etc can help track down the origin of a copyright violation. OK, then they said it can't be broken, so I got that "I'm gonna do it, just to prove you wrong" feeling and here I am.... |
Time-Lapse Cryptography has been introduced by Michael Rabin and Christopher Thorpe in the paper “Time-Lapse Cryptography”, but it does not seems to be popular. It is a really good paper with an great theoretic background and the authors themselves mention to release an implementation of it “in a few months” (stated in... |
CDH problem roughly says that choose $U=g^u, V=g^v$ uniformly at random from cyclic group $G$, it's hard to compute $\operatorname{CDH}(U,V)=g^{uv}$.
Square-DH problem roughly says choose $U=g^u$ uniformly at random from cyclic group $G$, it's hard to compute $Z=g^{u^2}$
If I can solve the CDH problem, then it's very... |
Zero-knowledge proofs with soundness, completness and zero-knowledge enable a prover to convince a verifier that a witness validates successfully a predicate without giving any information about the witness and without the verifier being able to extract the witness from the commitment C. Such kind of functionalities ar... |
Is my protocol correct?
For fun, I tried to design a protocol that would allow off-the-record communication. I'm not sure it works, I have a feeling there might be a problem with it that I'm not seeing. Please tell me whether you see a problem with it.
Here's a dramatization of the protocol I'm imagining:
Alice want... |
For some key schedule $e_n(e_{n-1}(k))$ (where $e_{n-1}(k)$ is the result of the previous round) , does $e$ need to be a one-way function?
In the case of DES or Rijndael the key schedule doesn't really look like one, as the adversary only has to reverse the operations to get the input.
My question is this:
In the case ... |
Way back when, DES had a theoretical security level 56-bits. 2-key TDEA provides about 80-bits of security, and 3-key TDEA provides about 112-bits of security. Obviously, those security levels are not linear in the cascading of the underlying block cipher.
First question
How does one estimate the increase in security l... |
A client application needs to encrypt a UDP datagram for a server with known EC public key $P$. Performing a full ECDH key exchange would defeat the benefit of using UDP as a connectionless protocol. I am therefore looking at ways to share a temporary symmetrical key decided by the client only.
Two solutions to that co... |
As the full version of HMQV is very long, I will give a graph of it below
\begin{array}{@{}l@{}c@{}l@{}}
\hat{A} && \hat{B} \\
(a,A=g^a)&&(b,B=g^b) \\
x\in_R[1,q-1],\quad X=g^x \\
& \xrightarrow{\textstyle \hat{A},\hat{B},X} \\
%&& verify \; X \in G^* \\
&& y\in_R [1,q-1],\quad Y=g^y \\
& \xleftarrow {\textstyle \... |
Alice gives a random key $K$ (e.g. 32 bytes long) to Bob through a secure channel.
Bob want to prove to Alice through an unsecured channel that he knows the key.
Is it secure for Bob to send $s||KDF(s||K)$ −with $s$ a random tag, say 8 bytes long− ? It seems Alice can recompute $KDF(s||K)$ and compare. Nobody can dedu... |
Wikipedia article on Man-in-the-middle attack mentions, in the list of defenses against it, some method called "Carry-forward verification", but it does not explain it. I am curious about different MITM defense methods in general. Can someone describe this method or point to description? (Of course googling does not gi... |
Consider the following protocol (from the book "Cryptography: An introduction", by Nigel Smart):
A → B: A, Na
B → S: B, {A, Na, Tb}Kbs, Nb
S → A: {B, Na, Kab, Tb}Kas, {A, Kab, Tb}Kbs, Nb
A → B: {A, Kab, Tb}Kbs, {Nb}Kab
where the smaller letters are the suffix so example Kab means the Key shared by A and B. Tb represe... |
Let's say I have a web "widget" that a customer could include on their website. They would include the widget by adding an iframe that points to a URL on my site. I want to ensure that my widget can only be used by paying customers so I was thinking of using an HMAC (HMAC-SHA256 specifically) to verify the customer lik... |
Plaintext:
Attack at dawn!!
Hex:
41747461636b206174206461776e2121
Key:
abcdefghijklmnop
Hex:
6162636465666768696a6b6c6d6e6f70)
Through calculations done both by hand and with various sites online, the result should be:
379693884e25f00f6e8aaa43df4db541
The result is the same length as the input, byte-for-byte.
I ... |
From what I understand after testing the Crypto-JS file here:
http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js
AES creates encrypted strings that contained letters, both capitalized and lowercase, as well as numbers, division characters, addition characters and equal sign characters.
Do AES encrypt... |
Consider that you stumble upon 5 different AES output strings. One of these strings can be decrypted with a secret phrase, the other four strings are based on the real string but have had random parts of it replaced (and thus can no longer be decrypted).
Without knowing anything else about these strings, or their conte... |
Is there any known instance of a Two Key TDES ever being successfully attacked (in real life), when the key is used to encrypt less than $2^{20}$ words?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.