instruction stringlengths 32 27.2k |
|---|
From my understanding, salts in password hashes are used to prevent the precomputation of plaintext→hash values (rainbow tables).
I know from different threads that it is unnecessary to keep the salt secret (i.e., it doesn't need to be encrypted), but I wondered if it would be a problem by making it public.
The backgro... |
What is the proper/canonical way to do this?
For example, $0 < r1 < 1$ and $0 < r2 < 1$. Presuming uniformly distributed probabilities for the two, combining/averaging them is going to bias very quickly towards $0.5$.
The specific use case I have is a game/simulation I'm programming. An entity has a random number it wa... |
I find myself wanting to test out a practical implementation of a proof-of-retrievability scheme, simply out of curiosity. These schemes seem to be divided into two variations, publicly-verified and privately-verified. Here's a brief explanation of the problem:
Private:
Alice sends a very large file to Bob.
Bob agrees... |
I am trying to implement Keccak in Java for my school work. And I am getting stuck in two places:
On the summary page the padding is shown as
P = M || 0x01 || 0x00 || … || 0x00
P = P xor (0x00 || … || 0x00 || 0x80)
However on the specification page section 1.1.2 they mention the variable rate padding as 10*1.
Th... |
I'm writing a high school math paper on RSA and I'm wondering if it's possible to relate calculus to RSA. Is calculus used for any part of RSA? It can be for proving equations/theorems, for generating keys, for cracking RSA, etc.
|
At what stage of the SSL/TLS handshake is the DHE and RSA used and what is the purpose of using a pre-master secret when you could just use RSA to exchange the symmetric key (i.e. AES) for further communications. I am confused how DHE, AES and RSA fuse into the SSL/TLS handshake process. Is there a handshake with purel... |
In the context of this data, as shown in the image below, which one is a pre-master-secret and which one is a master-secret. It looks to me as if the final value of 2, for Alice and Bob is a master-secret which can be then used for creating a symmetric key (AES). Am I right?
Alice and Bob agree to use a prime number ... |
Suppose I have generated a new cryptographical result - for example a new cryptographical primitive, or a cryptanalytic attack. How can I find out whether this result is meaningful (significant)?
If the work has never been done by previous people, can I say it is meaningful?
|
-- or: How to Play Poker Without a Dealer
I know this question is long but it's a really interesting theoretical problem about shared secrets and multi-party computation.
General Problem: "Shared Random Generation"
Consider the following scenario: $N$ parties want to play a simple game. For this, some randomness needs ... |
I have only about 2 weeks of cryptography experience mostly in the form of questions on bitcoin.se.
Is Curve25519-java up to date with current Curve25519 standards?
Is Curve25519 itself secure?
In other words, is it safe to use as it a cryptocurrency key-generation and transaction signing & verification algorithm?
|
Is there a way to 'mangle' a public data-source (for example, the current date in YYYYMMDD or the top New York Times headline) to form a one-time pad that will sufficiently hide the pad's source?
What other issues would such a scheme be running into?
Disclaimer: I am not an expert cryptographer and am just interested ... |
Any public key decryption can be decrypted given enough time and computing power. Is there a metric or term for this? Something like
it would require on average 2^43 1024 bit hashes to find private key 'I' based on public key 'U'?
Is there a term that would sum up this average amount of work?
|
I have been looking at an embedded microcontroller which has a cryptographic hardware engine (in particular the PIC32MZ family). These devices have what they advertise as a cryptographically secure PRNG, as well as a true random number generator.
The features of the random number generators are,
TRNG:
List item... |
Is there an algorithm or technique to encrypt all the datatypes such as (video , image , text , fax, audio ,file,etc...) -one algorithm encrypt every thing-?
also if I try to build such this algorithm ,what is the problems that may i face? such as server powerful or processing time, etc ?
Clarification: In our compa... |
Why not just apply hash function on the whole message? Why convert that message into blocks and hash those blocks? To avoid collisions?
|
AES uses a key that is at most 256 bit.
I assume AESCrypt uses AES.
When a file is encrypted with AEScrypt, there is no limit to the length of the password.
What is the relation between the AESCrypt password and the key size of the underlying AES encryption?
|
The diagram below illustrates the process of digitally signing a message with RSA:
As diagram shows, the message is first hashed, and the signature is then computed on the hash, rather than on the full message.
Why hash the data before signing it? Why not sign the whole message? Of course, it'll save time if you sign ... |
Let say $e = 5$, $n = 119$ and $d = 77$. If I encrypt, for example, $m=15$ I get:
$$m_1 = m^e=15 ^ 5 \mod 119 = 36\qquad\text{and}\qquad m_2 =m^d= 15 ^ {77} \mod 119 = 36$$. Why? Is it always like that in RSA? Is it bad?
My question was prompted by an answer to Why hash or salt when signing? : why does this work?
|
For example, say you have a client and server. You use asymmetric encryption to securely deliver two seeds from server to client. Each user then seeds two PRNGs (one for incoming data, one for outgoing). Then when they send data over the network, they add a new randomly generated byte (from the outgoing PRNG) to each u... |
I've been having trouble with coming up with a random number generator that produces a random number between two parties. My current scheme is this:
User 1 gives user 2 the hash of their randomly generated seed, user 2 responds with their unhashed seed. User 1 generates the random number by feeding his own unhashed see... |
It is well known that it's possible to fool Fermat test with Carmichael numbers. But, is it possible to deliberately fool many-rounded Miller-Rabin test by constructing some special number without using brute forcing strategy? I know that one round of Miller-Rabin distinguish with probability 25% that number is prime, ... |
I want to ask about distinguishing attack on CBC MAC, as in the paper published by Ketting Jia, Xiaoyun Wang, Zheng Yuan, and Guangwu Xu: Distinguishing Attack and Second-Preimage Attack on the CBC-like MACs.
In that paper it is said that "if there is a collision in the structure, the MAC function is random function. O... |
The proofs and security of block ciphers constructed especially of Luby Rackoff Constructions and Feistel Networks is based on the number of queries and round functions. The security measure is always based on the probability with which the attacker can distinguish the randomness in the cipher text. For example Patarin... |
Consider a KPA attack, where the attacker gets known plain text and the corresponding cipher text. Since the encryption algorithm is known, he can brute force all possibilities of key bits. What is the implication of having additional tweak on brute forcing the algorithm?
Is this correct to say that now the attacker mu... |
I want to send out short messages to the world which listeners could verify to be send from me.
The way this is usually done is to encrypt the message with a private key where the readers decrypt it with my public key. My problem is that I need small messages, smaller than 64 bytes in base64, plain RSA won't work since... |
I understand it is important to hash passwords over multiple iterations to make things harder for an attacker. I have read numerous times that when processing these iterations, it is critical to hash not only the result of the previous hashing, but also append the original salt each time.
In other words, I think I need... |
I've learnt the formulas needed for the DSA (http://en.wikipedia.org/wiki/Digital_Signature_Algorithm).
But most importantly, I don't quite understand what represents those formulas and why they are the way they are. For example, why if v = r then the signature is verified, why do r and s have such formulas etc.? RSA ... |
I've a couple of questions about this, the scenario is embedding a key pair in a hardware device which will speak with other hardware devices over tls. computing resources are an issue so i want to make intelligent choices about where they go on. We're using TLS to authenticate one device to another, and to ensure in... |
Considering a CPA-secure version of RSA where the ciphertext is just a rundom element from $Z^*_N$. Does that meet the anonymity requirement in which an cpa adversary cannot distinguish between a message encrypted using Alice's public key and a message encrypted using Bob's public key?
EDIT:
My question is related to t... |
I was unable to solve the multiplication table given in the book for $\mathrm{GF}(2^2)$.However, I have managed to solve the addition table.
Acoording to the Book multiplication is the AND operation, but when I applied this I did not get the answer given in the book.
This is the Table given in the book:
I couldn't r... |
Say I have an embedded device which is only capable of doing HMAC-SHA1 transformations (that device is, in fact, a YubiKey).
Would it be secure to feed it like a block cipher in counter mode to get a random pad suitable as an stream cipher?
Of course, I'm talking about not repeating the counter value ever to encrypt da... |
So I have a very beginner-esque knowledge of ECDSA and I'm trying to write something in python to take a private key and output the public key (Basically from what I understand just trying to do the point multiplication k number of times on the basepoint) to get a better understanding.
My two main resources are the wik... |
Here is the protocol outline I am looking at (source: Foundations of Computer Security, Lecture 60: The Needham-Schroeder Protocol)
$$
\begin{array}{ccl}
1.& A \to S \colon& A,B,N_a
\\ 2.& S \to A \colon&
\left\{ N_a,B,K_{ab},\{K_{ab},A\}_{K_{bs}} \right\}_{K_{as}}
\\ 3.& A \to B \colon&
... |
I've been exploring around, trying to understand if such thing is even possible. I have some RC4 ciphertext which I know it's plaintext and I would like to extract the key just from cipher and plaintext. While reading through "RC4 Stream Cipher and it's variants" by Goutam Paul I came a cross (4.1.1) PRGAreverse algori... |
Say I hashed the output from a random number generator (with nonce), would the resulting SHA256 hash be as random as the inputted number?
And If I used the first 5 hex characters, and then used the first 5 ignoring the very first character and so on repeating removal of the first character, would each number be just as... |
Recently I started studying Elliptic Curve Cryptography and I just loved it. I want to transfer some big data (like 3KB), What is the best method, ECDSA, ECIES, or ECDH (and why)?
I am confused, how should I choose between ECDSA, ECIES and ECDH?
|
I am researching some concepts of practical 2 party computation and was curious if anyone could point me to a research paper that is focused on private set intersection where one party has a very large set and the other has a comparatively small set. Specifically, a user has a small set and the server has a large set.... |
There's a classical method to efficiently test if a LFSR with $n$ bits is maximal-length (or equivalently, if the feedback polynomial is primitive), when the factorization of $2^n-1$ is available.
Do we have an efficient method working when that factorization is unavailable, e.g. because we do not want to depend on a f... |
I don't have much background in cryptography, so forgive me if I'm using the wrong mathematical terms to explain my needs.
Following this question, I learned that taking a random secret 16-bytes password and some random 16-bytes msg, and calculating output = HMAC_SHA256(password, msg), it will take an attacker that kno... |
For example: for secure PRG G if I have a G' s.t. G'(k) = G(k)||0, is G' necessarily secure? This question is not for the above example only but for any other possibilities as well. My thinking is that since G is secure (ADV is negligible and PRG is unpredictable), then no matter what I do with G to make G', G' is secu... |
I am looking for a scheme to generate and validate cryptographically secure product keys. My requirements are:
Unforgeable. It must be impossible (or at least very hard) for users to forge a product key.
Short. Users may enter product keys by typing so they must be convenient to enter. 128 bits can be encoded using 26... |
I have some difficulties to understand why we are using finite fields in cryptography.
Why do we use field? Why not ring or group? Is that really necessary that the field is finite? Why not real field?
|
I'm trying to use a java implementation of ed25519.
In the code, I can't find any functions that generate keys.
My experience with cryptography is limited to about three weeks of asking questions on stack.
Does the code generate keys? If so, which function?
|
According to Wikipedia, CMAC is based on a variation of CBC-MAC and fixes some security deficiencies in it. However, I could not find a simple and clear explanation of what the differences between the two algorithms actually are, so I thought I'd ask here:
How does CMAC differ from CBC-MAC, and why?
|
Is there way to make encryption scheme ASIC and GPU resistant, besides using a lot of memory?
And what is there ciphers or modes of use for such purpose? Including public keys algorithms maybe too, if there is any methods for them.
Or it's only worth to defend key derivation function? (Like scrypt, but it obviously fai... |
For what kind of usage should we prefer using Diffie-Hellman in order to exchange keys instead of ElGamal, and most important why should we use one or the other?
I do not see a clear difference between these two algorithms. What are their respective advantages?
|
This might be a quite stupid question: since a naive brute force algorithm to solve the discrete logarithm problem will only take O(n) time for a group G with order n, why is it assumed to be hard to solve? Doesn't hard mean no polynomial algorithm to solve in the context of cryptography?
|
If we want to establish secret symmetric key between two entities, why use Needham-Schroeder if we have Diffie-Hellman? With DH we don't need to have any trusted party, so what's the point of NS?
|
I'm studying AES, and I'm having problems with the MixColumns step.
I read about finite fields, but I still don't know how it works.
How do I construct $GF(2^8)$?
01010011 * 11001010 = 10001110 -> This is the original answer which I saw in a text. I multiplied both numbers, then I got 011111101111110. Now I know I sh... |
At the beginning of OCB's white paper [pdf], OCB is compared to other modes, and non-malleability is one of the properties advertised.
At the end of the paper, it is mentioned the MAC length can be chosen by users according to their needs.
Was long MACs assumed in the claim of non-malleability, or is the property still... |
When I want to encrypt chat messages (in ASCII) before sending, whether it brings some bit of security if I add some extra bytes to the message or shuffle it in some way? I can even try to make data to look like uniform distribution.
Because chat messages consist only of letters and even words, but don't contain binary... |
I was just thinking about my own chance and the way chance can defeat even the most advanced algorithm.
My thought was : you can make a strong session id, but what if by chance, a hacker set this exact match up ?
hypothetical : 454{à"_çé89)hjdsHHKZmdsjYds"#
just try to imagine that someone, by typing a nonsense makes i... |
The Arduino employs an 8-bit ATmega series microcontroller whereas the Raspberry Pi is based around a 32-bit ARM processor, and the Arduino is typically clocked at between 8-16MHz and with 2-8kB of RAM available, and in contrast the Raspberry Pi can be clocked at up to 1GHz and may have up to 512MB of RAM.
This clearly... |
What is the time to complexity to solve
Discrete log problem now in $Z_p$?
Initially for $n$ bit prime $p$, it was $Exp(n^{1/3})$.
|
The NIST elliptic curves P-192, P-224, P-256, P-384, and P-521, prescribed in FIPS 186-4 appendix D.1.2, are generated according to a well defined process, but using an arbitrary random-looking seed value of 160 bits. For this reason a page of DJB's website calls them
Manipulatable: The curve-generation process has a ... |
It is possible to check $a \in \mathrm{QR}_p \text{ iff } a^{(p-1)/2} \equiv 1\ (\bmod\ p)$ if $p$ is a prime.
$n$ is a large RSA modulus. Is it also possible to check if $a \in \mathrm{QR}_n$ if the factorization of $n$ is unknown?
|
Here is an excellent paper on the math of asymmetric key encryption: http://www.mathaware.org/mam/06/Kaliski.pdf
See the example on Page 6.
The public key = $55$
Primes used to calculate public key are $5$ and $11$.
$e = 3$
Now see the appendix:
$L = \mathrm{LCM}(p-1, q-1) = 20$
The paper states $de = 1 \mod L$
I ... |
I have some encrypted files with double-key. I know public key and don't know private key. Can I obtain the private key (and decrypt all files) using two version of one file - crypted and decrypted? And if yes, how?
Thanks a lot.
|
I want to apply homomorphic signature instead of homomorphic encryption in Provable data possession.
So I want to know about homomorphic signature and homomorphic encryption.
|
Java's SecureRandom is meant to be cryptographically secure, and I know part of that means that the output should not be usable to predict further output.
Though, admittedly, my knowledge in the area is limited, and I'd like to test the limits to get an idea of how secure Java's SecureRandom really is.
So let's say I d... |
I know there are already of few questions about this and I'm working with the advices that were given but I still doubt my approach is the fastest, so I'd really appreciate if you helped me find a faster way.
What I want to do:
I have 2 encrypted messages (about 200 characters each in HEX) and I want to decrypt them. I... |
I am currently working on Bilinear Pairing.To start my work i need to find the mathematically prove of three properties of bilinear pairing.
Let $ G_{1} $ and $ G_{T} $be a cyclic multiplicative group with the same prime order q, that is, $|G_{1}|$ =$ |G_{2}|$ = q. Let g be a generator of G1. An efficient bilinear map... |
We have a native C++ application that supports Windows XP SP3.
Recently we've decided to change our crypto algorithms to FIPS 140-2 compliant ones. We are planning to use the following algorithms in Enhanced RSA and AES Cryptographic Provider:
AES256 for encryption
SHA1 for hashing
RSA for key exchange with max key si... |
An efficient bilinear map is given by $ e $: $G_{1}$ × $G_{1}$ → $G_{T} $.
How can i prove this equation with the help of an example.
|
When performing a key search, I've always wondered how you reliably detect a successful decryption once you hit the right key. I assume that you have to analyze the data and look for patterns: words, letter frequency, known file headers, statistical properties and so forth.
Is this a correct assumption and, if so, has ... |
I need to generate a EDH group on the fly in one has not been specified in a config file. Diffie-Hellman is kind of expensive in terms of computation, so I'd like to reduce the cost if possible.
Is there any benefit to selecting a generator of 5 versus 3 or 2 in an attempt to keep the costs minimized? Is this a misguid... |
Oracle DBMS offer builtin random number generator (pseudo to be accurate). DBMS_RANDOM is one of the available packages, it is however considered as insecure for cryptography.
Do we happen to know the algorithm used by this method ?
|
Note that this question is somewhat similar to Can I use my random IV (for AES) as a salt for PBKDF2?
My current encryption format computes two random PBKDF2 salts (encryption and HMAC, 8 bytes each) and also a random IV (16 bytes) to use with AES-CBC. This adds 32 bytes to the final message, which can be a lot for sho... |
Can you help me understand the following reasoning?
If Alice sends Bob a message and that message is encrypted with two keys simultaneously: a symmetric key (Ks) and Bob's public key. The symmetric key (Ks) is also sent to Bob, encrypted with the private key of Alice. The conclusion reached from this exchange of messag... |
I tried asking this on stackoverflow because I thought it might be a simple coding question and didn't want to clutter up this amazing stack, but I received no responses.
CodesInChaos showed me that the proper implementation of Curve25519 for digital signatures is Ed25519 and also informed me that this implementation, ... |
In many crypto papers I see they use a Real World / Ideal World Paradigm. However, I have never see the source code of such Simulators that try to simulate the adversary. Could somebody point me to source code that simulates an adversary in the ideal world? How does this code look like ?
An example of a paper that ... |
Consider the following scenarios:
using OpenSSL to encrypt a file with Rijndael-256
using LUKS to encrypt a hard-drive that is used every day
Exactly when is entropy from /dev/random needed for a crypto process?
Is it only needed for the key generation or is it also needed for the encryption process itself?
When the ... |
I'm looking around for publicly published work on factorization of large numbers using distributed systems of any kind. So far I've come across the PDF "Mapreduce for integer factorization" by Javier Tordable" which looks like an interesting read.
Are there any papers in particular that I should be reading?
|
Let's say I have a list of several million numbers, with only 6-9 digits of secret information per number (this means that an attacker might efficiently guess the other digits). I have to store the list in an unreadable format and when given a new number I want to efficiently know if I have the number in my list or not... |
I know how to do multiplication over ${\rm GF}(2^8)$:
uint8_t gmul(uint8_t a, uint8_t b)
{
uint8_t p=0;
uint8_t carry;
int i;
for(i=0;i<8;i++)
{
if(b & 1)
p ^=a;
carry = a & 0x80;
a = a<<1;
if(carry)
a^=0x1b;
b = b>>1;
}
retu... |
I'm adding some Diffie-Hellman groups to a program as specified in RFC 3526, More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE).
When I test some of the group parameters per OpenSSL's DH_check, a result is returned that essentially states: 2 is not a suitable generator for Group 5 or ... |
Passwords hashed under Unix/Linux systems can use several hashing algorithms.
ID | Method
-------------------------------------------------
1 | MD5
2a | Blowfish (on some Linux distributions)
5 | SHA-256 (since glibc 2.7)
6 | SHA-512 (since glibc 2.7)
I'm interested in how ... |
I have a system where I am transmitting JSON messages securely (using for example AES-128), where each message has the same format.
For example:
{"d":{"status":"success"}}
{"d":{"error":"Message length too long"}}
Where every plain-text message is guaranteed to start with {"d":{ and end with }}
Suppose the attacker k... |
I installed djigzo on my android phone and I want to use it for smime mail.
I don't know the difference between choosing SHA256WITHRSA and SHA256WITHRSAENCRYPTION digest algorithms in the settings.
My online search only returned OIDs and code samples. Can you enlighten me?
|
I've read the Bitmessage whitepaper and I found it rather lacking on the details, but it promises anonymous routing. Can it be considered a variation on mix-networks, where each peer acts as a mix-node?
|
I have large files which are broken into blocks of 512 KB and uploaded to a server. In my DB I store the IV, and the user knows the security key themselves. When downloading, I use the same IV and key.
However, is it insecure running AES-CBC on each different block with the same IV? Won't this give away information ... |
Actually, I'm not familiar to how identity-based and certificate-based systems work, so ,can anyone give me a detail and comprehensive answer to this question? Moreover, in what environments the identity-based systems is recommended(or needed) and why?
|
I have a webserver which only supports TLS 1.0 and I am not sure about something: Which is the better cipher in this group when aiming for the best security?
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xc00a)
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (0xc014)
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xc009)
TLS_ECDHE_RSA_WITH_AES_128... |
I am a graphic design student and for my information graphic project I have chosen the topic of the history of encryption and how the security level developed over the centuries. It’s basically an information graphic to make people like me aware of encryption and its importance in times like these (see: news about the ... |
In FIPS 186-3 appendix D.2 "implementation of Modular Arithmetic", they show shortcuts for solving
$$B = A \mod m$$
for select Curves.
How would you go about determining a valid short cuts for the various curves?
If I wanted to practice on using a small finite field (e.g. 23, 31) because it's something that could be s... |
I'm looking at using the XXTEA algorithm to encrypt a small amount of data (say, less than 32KB) in the context of a software licensing algorithm. That is, we wish to make it difficult (not impossible) for our customers to forge (encrypted) license files of their own.
Our intent is that our software will read the encry... |
I have a program (whereby people can download and run on their own computers) that will calculate a couple of unknown values each day. For simplicity sake, let's assume that the calculation is simply Rand(0, 1). The program will run and the user will get a value e.g. 0.230957203975.
He will then broadcast this value to... |
What is significance of recovering the chaining value of a compression function, when the message and its output are known? in other words, if a compression function $CF$ takes a chaining value $h_{in}$ and a message $m$ as inputs and outputs $h_{out}$.
$h_{out}=CF(h_{in}, m)$
Is it a bad property if given $m$ and $h_{... |
I've always been curious as to how Pay-TV and other Conditional Access systems actually stay secure for any amount of time, given that they are usually one way and (I'm assuming) use symmetric keys for encrypting the video/data streams.
Given that the decoder MUST be able to learn the control word keys via some means, ... |
What is the main reason (attacks) the appearance of the protocol SSL version 2.0 to replace version 3.0?
|
I have a question which arised by analyzing the one-time pad cipher. I encrypt a binary sequence $a_1,a_2,..,a_N$ using a one-time pad with key sequence $k_1,k_2,k_3,...$, so I send $a_1+k_1, a_2+k_2,\dotsc,a_n+k_N$.
Now I make mistake and instead of sending the above sequence I transmit $a_1+k_2,...,a_N+k_{N+1}$. Assu... |
Why is it foolish if you decide to use an RSA cipher to encode some message by first converting each letter of the message to an integer? So for exmaple Space=0, a=1, b=2,...
After the conversion I encrypt the integer $k$ as $k^e \mod N$.
I do not see why is there any difference?
|
Take a hash function H() to be something like SHA-256 and message m. If you are given H(m) and H(H(m)), can you use this info to help derive m?
Also interested in knowing how you analyze this problem to come up with your answer.
|
The encryption mode that I am using is CBC. Algorithm is AES and the key size is 128bit.
I will be encrypting a 36 byte string over 1.3 million times with the same key but with a random IV.
My question, as the title states, is it possible to reverse engineer the key for 1.3 million cypher texts without knowing the key ... |
I'm writing an application for controlling computers from a client.
I'd very much like it if the connection is secure and only authenticated clients are allowed access.
The workflow will be something like this:
A client use decides to add the server
The server allows the client
Alternative 1; On the server screen a X... |
A friend asked me the following, pointing out that the method is not very useful (my problem is I do not see why it is not good):
Consider a person A which chooses $n$ as the public key for the Rabin crypto-system.
We want to be sure that we are communicating with person A so we send her a random item $r\equiv m^2 \... |
Let $p$ be a large public prime. Alice holds a private key $(e_1,d_1) \in Z_{p-1}^*$ such that $e_1 d_1 = 1 \mod {p-1}$. Bob also holds a different private key $(e_2,d_2)$ with the same property.
Let's say Alice wants to send a message $\large m \in Z_p^*$ to Bob:
$1.$ Alice computes and sends $\large m^{e_1} \mod p$ t... |
I am wondering whether an attacker can gain any useful information from having several hashes of an unknown plaintext that differs in relatively few bits. For example, if provided with:
H1 = SHA-256(TXT | 1)
H2 = SHA-256(TXT | 2)
...
HN = SHA-256(TXT | N)
Can an attacker recover TXT more easily?
|
I have a question which is related to the BB84 cryptosystem.
We are not able to send single photons so instead we send $K$ photons at a time all with the same polarization. An enemy can separate one of these from the remaining $K-1$.
If the enemy can detect the polarisation by only looking at one of the photons, the o... |
I am by no means a security expert, but I am curious whether functions that don't produce different outputs when raised to the power of N (without any psuedo-randomness) exist, that are as strong as "bcrypt" or "scrypt"?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.