instruction stringlengths 32 27.2k |
|---|
A message is sent from a person to another. The plain message is first encrypted, even with a weak algorithm - say, DES. Then, the encrypted message is encoded with a simple substitution, which is private and remains the same through all the conversation.
Is it feasible for an external attacker to decrypt the message,... |
The specification doesn't seem to indicate how to pad messages to the requisite 512-bit boundary.
What is the padding scheme for the original Tiger hash?
|
I have the following problem: Alice wants to send Bob a message such that Bob knows it is from Alice but at the same time he cannot prove that Alice send him this message.
The solution I came up with, using RSA, is:
Alice picks a random key K, and encrypts the message M using this key K. M'= aes(K, M)
Alice hashes K a... |
I have read that in cases where there is a limit on the amount of data sent over the network, one idea is to sent only $t$ bits of data rather than sending all the bits. For example, in the Schnorr scheme this can be employed.
My question is, whether this can be specified by sending the $t$ bits along with the other in... |
I'm not cryptography expert but I have this doubt…
Suppose I have 2 different keys:
secretkey1
secretkey2
And a plain text:
myReallySecretPlainText
If I use AES-128 on my plain text with my first key I get this:
U2FsdGVkX19fHxumDqEB9Kuyvhj+aoHpctLCdo2VEvt1danATMo+sBaz3nsCaS/Z
now, if I use on this cipher text my s... |
Why are Fermat primes ($2^{2^n}+1$) useful as $e$ (the public key) in RSA encryption?
I understand why $2^n+1$ primes are useful, because they would simply be 100...001 in binary, which for computers is faster in calculations. But why is it important that the exponent is also a power of 2?
|
I am currently implementing Shamir's ID based signature algorithm as proposed in Adi Shamir, Identity-Based Cryptosystems and Signature Schemes. Advances in Cryptology: Proceedings of CRYPTO 84, Lecture Notes in Computer Science, 7:47--53, 1984.
However I am stuck with generating the private key for a certain identity.... |
I am trying to implement Efficient Robust Private Set Intersection using additive ElGamal.
I am trying to run the full protocol mentioned in Section 3.4 on the following inputs:
$p = 17$ (prime)
$g = 6$ (generator)
$x = 5$ (private key)
$k = g^x \pmod p = 6^5 \pmod{17} = 7$ (public key)
Suppose the clients inputs are... |
I try to understand the PACE-Protocol, especially the Key Derivation Function in ECDH on page 33.
Can someone explain me, what the Counter is good for? Often there are iteration counters in KDF - but here are usual Hash-Functions (like SHA-256) are used as KDF. So there is no iteration. Is this something like a message... |
When doing password-based encryption, is it OK to create one instance of PBKDF2 from the password, and then use it to create both the AES key and the MAC key? (Or should a new instance of PBKDF2 be created using a different salt or iteration count, for each?)
This answer seems to say this isn't a good idea. While th... |
There's a new e-print out on arXiv titled "A Polynomial Time Attack against Algebraic Geometry Code Based Public Key Cryptosystems" by Alain Couvreur, Irene Márquez-Corbella and Ruud Pellikaan:
"We give a polynomial time attack on the McEliece public key cryptosystem based on algebraic geometry codes. Roughly speaking... |
What does the following notation mean in a homomorphic encryption scheme?
ENC(x;r)
What does x and r refer to?
|
With Public Key $(G, q, g, h)$ where $G$ is a group, $q$ prime, $g$ a generator of $G$, Am I right in thinking that:
$$\mathrm{Enc}(m;r) := (g^r, h^r \cdot g^m)$$
|
Is the logarithm in the private set intersection protocol mentioned in Section 3.4, Step 5 of http://www.ece.umd.edu/~danadach/MyPapers/set-int.pdf, a base 10 or 2? How do we find this out?
|
Suppose I have an encryption function $e$ of a symmetric cipher with plaintext space
$$\mathcal{M}=\{1,2,\ldots,2^{24} \}.$$
Now, consider a list $L$ of integers:
$$67, 114, 121, 112, 116, 111.$$
Decoding $L$ with the ASCII encoding scheme (see http://www.asciitable.com/) gives the word (plaintext) Crypto.
My teach... |
Use the PBKDF2 output as an HMAC key, hashing two different inputs - once for 20 bytes and once for 12 :
using (var PBKDF2 = new Rfc2898DeriveBytes(passwordBytes, salt, 100000))
{
HMACSHA1 hmac = new HMACSHA1(PBKDF2.GetBytes(20));
hmac.Initialize();
byte[] aesKey = hmac.ComputeHash(new byte[] { 1, 0, 1 })
... |
Why do we need HKDF-Expand if we can simply hash the pseudorandom key to make it longer? The docs (in the link) say:
The second stage "expands" the pseudorandom key to the desired
length...
Is it only to allow for longer keys? So that if all we need is, say, 32 bits - we can simply use SHA256? Or is there another ne... |
I am making a tool for myself where I intend to store cipher text. I wish to use AES together with arbitrary sized keys to create these cipher text strings. The idea is to use a cryptographic hash like SHA256 to compensate for the key length issue.
Is this a sound way of doing things?
Also, since the output domain of S... |
When encrypting with RSA it is often infeasible to decrypt by just doing c^d mod n, because for example when using the primes $(p,q)=(12553,1233)$, which are small primes compared to those in used by banks, one would often choose the Fermat number $65537$ as public exponent $e$, then the private exponent $d$ is $426779... |
Using homomorphic encryption, I would like to be able to take an encrypted integer and either add 1 or -1 for a new encrypted value. I do not want the encrypted value to be recoverable - just the following:
$\varepsilon(x) = (\varepsilon(x) \oplus \varepsilon(-1)) \oplus \varepsilon(1) = (\varepsilon(x) \oplus \varep... |
Imagine there is a $n$ bit block cipher. The attacker has harvested some how all possible $2^n$ cipher texts for some given key. Without the knowledge of the distribution of input domain as in frequency counts or some statistical information of input data. Is it possible to perform ciphertext-only attacks? Are there an... |
When creating digital signatures is it ok to send part of it when we have bandwidth constraints?
|
I am designing a vault that tokenizes credit card numbers (a plaintext that consists of 16 decimal digits), with the following requirements:
Given some plaintext, the vault returns an index.
If the plaintext does not exist it returns a new index.
If it does exist it returns the same index it had returned before ... |
I've been studying specifically the authentication algorithm Needham and Shroeder, and understand the idea in general of the message exchange. But, researching on the subject, I found a question that I do not know the correct answer to, and I would like to get some feedback from someone with more experience on the subj... |
By Shanon theorem, a perfect secrecy encryption scheme must use a key space of equal size as the message space.
But when the correctness requirement is weakened such that $Pr[Dec_k(Enc_k(m))=m]=1/2$ we know that the key space may be smaller than the message space.
Generally, what is the lower bound of the key space whe... |
I understand how ECC is based on the discrete log problem and RSA on integer factorization. I've read several references that show how a solution to either of these problems can typically be adapted to solve the other - for example, one reference claims:
The asymptotic running time of the best discrete logarithm algo... |
Building on the question and answer from Addition-only PHE in F# which ponders homomorphic cryptosystems to navigate, relatively, a single dimension without revealing absolute position (an encrypted counter?), I am now interested in extending this to multiple dimensions, the ability to do vector addition in HE. i.e. $... |
In one of the exercises in [KL] Book I need to tell whether an encryption scheme is secure under an eavesdropper of only one message.
Given a PRG $G: \{0,1\}^n \rightarrow \{0,1\}^{n+1}$. The encryption scheme encrypt $m \in \{0,1\}^{2n+2}$ by $c= <G(k) \oplus m_1, G(k+1) \oplus m_2>$
where $m_1$ and $m_2$ are the firs... |
Given a list of 2048 bit integer values in which one or few 2048 bit integer values
may be product of two prime numbers and other values may be just 2048 bit odd integers numbers.
My question is -
Is there a way / technique (apart from brute-force) to confirm that a given 2048 bit integer value is product of two pri... |
I need to crack a stream cipher. I have a set of plain text and encrypted text pairs.
The hint to the question asks me to use entropy analysis and look at the hex dump of the encrypted text. However, I couldn't find anything useful in either of them.
What should be the approach to solve this cipher?
|
Perhaps I don't understand the answers to Malleability attacks against encryption without authentication, so trying to be more concrete... please be patient.
If I want to change the first block and I can change the IV, I see that its easy to change the IV to IV xor old_block_0 xor new_block_0 and the first block would ... |
Theoretical cryptography tells us that everything in the world of private-key cryptography (CCA-secure symmetric encryption, message authentication codes, etc.) can be built from one-way functions and that public-key cryptography (e.g., CCA-secure public-key encryption) can be build from the stronger notion of one-way ... |
I'm having trouble understanding why encrypting a number $m$, which is larger than $n=p\cdot q$. I've looked into the following threads:
Why RSA can't handle numbers above 76?
Why does plain RSA not work with big messages ($m>n$)?
Can somebody point me to a simpler source, that explains this?
|
Suppose that you knew that a plaintext was encrypted with DES and consisted only of 16-bit Unicode letters, numerals, and punctuation marks available on a standard English-language QWERTY keyboard. How could you use this knowledge to attack the DES-encrypted cipher?
|
I'm trying to understand the difference between the following and what they actually mean :
Known plaintext attack
Known ciphertext attack
Chosen ciphertext attack
Chosen plaintext attack
Any clarification is much appreciated…
|
I have several problems approaching the following problem:
Let's assume that we have Alice, Bob and Cathy. Alice wants to present a message to Cathy, showing her that someone else has signed it (Bob), but without disclosing Bob's identity. She needs to show that the signature does not belong to her.
If we use blind si... |
If $e$ is a natural number, then this is true:
$$m^e \bmod\ n = (m\bmod\ n)^e\bmod\ n$$
This is often used when encrypting, especially with RSA, since one can avoid directly calculating $m^e$, which can be a very big number.
However, I haven't been able to find any documentation/proof for this conjecture, can anyone g... |
In the wiki page of Lattice-based Cryptography the "Worst-case hardness" is defined as below:
Worst-case hardness of lattice problems means that breaking the cryptographic construction (even with some small non-negligible probability) is provably at least as hard as solving several lattice problems (approximately, wit... |
I came across the KATAN family of ciphers for small domain input blocks. They cipher arbitrary block lengths: 32, 48 and 64, but their key size is 80 bits only.
Is 80 bits of key size considered safe against brute force attacks with current state of the art processors?
|
I fully realize that MD5 should not be used in any new project, but in my particular situation I have severe CPU performance issues, so MD5 is convenient.
I have read a lot about MD5 security for this project, and I know it is broken in several ways: extending a file while having the same MD5 hash, and generating two d... |
On the Pro Webmasters StackExchange site, someone asked a question about a webapp (in this case cPanel) that refused to allow a password change because it was too similar to a previous password. I suggested that the app might be storing hashes of portions of the password.
I was going to ask whether, assuming that an ap... |
I've got a question about an assignment . The question is "Why a Public-Key Deterministic Encryption Algorithm does not provide perfect security ?" . I suppose it means according to Shannon .
Any help could be awesome!
|
Given a private signature key sk and a public signature key SK, does revealing sk(H(SK)) (in addition to SK) make it more easy for an attacker to determine sk or to fake a signature that would appear to have been produced by sk? Is this scheme a bad idea - in other words, does it compromise the secuity of the signing a... |
In the paper "Multiparty Computation Secure Against
Continual Memory Leakage", on page 1241 (that's page 7 of the PDF) under section 2.3, the authors discuss "The Election Protocol" that they use to elect committees. The election protocol they use guarantees a constant fraction of honest parties and that each committe... |
I've been looking at the definition of a PRG, here. This is a broader notion than a cryptographically secure PRG ("CSPRG"), which is described here. I am realizing that I am very confused by this first definition - which I want to understand before I get to the second.
Basically, my question is this: If $f: \mathbb{... |
I think I have some sense of what Perfect Security means, and even Semantic Security, but I am struggling with randomness, so I'm going to ask a question about CSPRG's (Cryptographically Secure PRG's) by going through the first two.
The basic idea that leads to the notion of Perfect Security, as I understand it, is t... |
Why is it necessary to use a sufficiently long block size when implementing a CBC block cipher with a truly random initialization vector? In ECB mode it's easy to get information about the message if you can encrypt arbitrary plaintexts and look for matching blocks, but I'm not sure how this applies to CBC mode.
|
I am on cryptography course and there is a homework question to show that Hill cipher doesn't have perfect security.
So assume we have an cryptosystem $(P,C,K)$, where $P = C = \mathbb Z_{26}^N$ and $K$ is the set of invertible $N \times N$-matrices modulo $26$. Now we also have some probability distribution on $P$ and... |
Alice and Bob are playing Rock-paper-scissors.
Alice chooses $a \leftarrow\{stone, paper, scissors\}$ and a nonce $R_A$ used as symmetric key for encryption
$$A → B : A, R_A(a)$$
Bob chooses $b \leftarrow\{stone,paper, scissors\}$ and nonce $R_B$
$$B → A : B, R_B(b)$$
$$A → B : A, R_A$$
Now Bob decodes $R_A(a)$ and kno... |
So I'm trying to understand the complexity of the biclique attack on Grostl and I have some questions:
1) The paper introduces sliced bicliques where on Grostl one constructs a biclique of dimension 1 and accordingly, we get 4 $Q's$ at state#5 and 4 $P's$ at state#8. What I understood is that each pair of $Q's$ should ... |
Does anyone know if there exists a PRG construction which takes as input an (RSA-sized) integer seed and outputs a fixed number of bits? There are number-theoretic PRGs such as the RSA, Micali-Schnorr, and BBB algorithms (see http://cacr.uwaterloo.ca/hac/about/chap5.pdf), but these require one to know both the seed and... |
I am wondering what concrete computable functions we know that
are a permutation over an integer interval of parameterizable size $s$, for relatively small $s$ starting circa $2^{64}$, to perhaps $2^{256}$; without loss of generality we'll translate the interval to $\{0\dots s-1\}$;
are easily computable in the forwar... |
I have a client and a server communicating with messages encrypted using RSA.
Initially, the client knows server's public key, but the server does not know the client's public key. Is it possible to securely receive the client's public key over a network (i.e. without a man in the middle intercepting and changing the p... |
I am studying one time pad and find it hard to understand. What happens if the key is one bit or 100 bits shorter than the message?
|
There are two ways for key change: key update, and Re-keying.
Which of these methods use a KDF (Key Derivation Function) for getting new keys?
|
In regards to the protections implemented in OpenSSL 0.9.6d (described in section 2. http://www.openssl.org/~bodo/tls-cbc.txt). My understanding is that the mechanism prepends an empty record when sending data in order to make the IV unpredictable. however the client->server and server->client maintain separate IV data... |
I want to know whether I can break RSA (textbook) with known plaintext/ciphertext attacks.
Known plain-text
Let $c$ be the ciphertext and $m$ the plaintext.
$$c = m^a \mod n$$
Since all I have is the plain and ciphertext, all I could do here is guess the decryption exponent $a$ until I find one that leads turn $c$ into... |
I've done some reading about implementing AES256 and deriving a key from a password. If I understand correctly:
I want to generate a new salt (for the key) and a new IV (for the encrypted message) for every new message.
It should also not be a problem sending the salt and the IV together with the message.
I decided ... |
Given $$e(g, d) = c $$
where,
$e$ is bilinear pairing function chosen by the user/attacker,
the values of $g$ and $c$ are known
$g, d ∈ \mathbb{G}_1$ , $c$ depends upon the $e$
can we somehow compute the value of $d$
In a high level, I am asking if there exists a function $f$ that, in one way is the inverse of a $... |
In my long-distance cryptography course, an assignment covers lattice-based cryptography. It is hard, and I am lost. There is no one to help me.
Thus far, I have understood that:
Lattices are a collection of regularly ordered points in Euclidean space (its terms like this which have caused me to search for answers fo... |
I understand the concept of a Zero Knowledge Proof thanks to the easy to understand analogy of Alibaba's cave. However, this seems to require interaction between the verifier and the other party.
I have not found an explanation of non-interactive zero knowledge proofs (NIZK). The wikipedia article is way too complex fo... |
Suppose I wanted to add explicit key confirmation to Diffie-Hellman key exchange, would the following scheme be secure?
Alice selects a random $a$ and sends $g^a \mod p$ to Bob
Bob selects a random $b$, computes the shared secret $S = (g^a \mod p)^b$
Bob computes two keys using HKDF ($H(k, m)$ denotes the HMAC of mess... |
I want to represent a Montgomery Curve (curve25519) in Weierstrass form as a personal exercise.
After doing some math and referencing the conversion equation at http://en.wikipedia.org/wiki/Montgomery_curve, several of my terms contain decimals, which I believe is incorrect. Namely,
(3-A^2) / (3*B^2)
is a decimal, wh... |
I am working on an Android project for school and I am supposed to do a DHKE (Diffie Hellman Key Exchange). Everything works well. The problem is that it takes a lot of time (really a lot) to generate DHParameters. Basically, in my code, this is the part that is the most time (and battery) consuming:
KeyPairGenerator ... |
I have a potentially infinite stream of data originating in some physical phenomena that may expose random behavior (due to quantum effects, thermal noise, the butterfly effect in chaotic dynamical systems, etc). The stream may carry some amount of entropy (true randomness), but it may be distributed unevenly throughou... |
Is there a way to authenticate users online without knowing their real identity yet preventing them from registering twice? If not, what is the least amount of information you would need? If it helps, you may assume the user has a smart phone and you have access to all its sensors. Probabilistic guarantees are quite ac... |
We're building a stateless RESTful API that relies on the content of OAuth2 tokens to identify users and what they have access to. Users authenticate with other means and are given a token, which they then use to authenticate API requests for an hour or so till it expires.
Since we want it to be stateless, we can't use... |
Let $ f : \{0,1\}^* \rightarrow \{0,1\}^n$ and $ g : \{0,1\}^* \rightarrow \{0,1\}^m$. $h$ is created by concatenate f and g: $ h : \{0,1\}^* \to \{0,1\}^{n+m}$ with $h(x) = f(x) || g(x)$. How do I prove that both $f$ and $g$ must be preimage resistant if $h$ is to be preimage resistant? Is the same true for 2nd-preima... |
is there a tool or a way to determine which type of crypto is used in this type of text:
U3RlZ2Fub2dyYXBoeSBpcyB0aGUgYXJ0IGFuZCBzY2llbmNlIG9m
IHdyaXRpbmcgaGlkZGVuIG1lc3NhZ2VzIGluIHN1Y2ggYSB3YXkgdGhhdCBubyBvbmV=
LCBhcGFydCBmcm9tIHRoZSBzZW5kZXIgYW5kIGludGVuZGVkIHJlY2lwaWVudCwgc3VzcGU=
Y3RzIHRoZSBleGlzdGVuY2Ugb2YgdGhlIG1... |
I am trying to implement elliptic curve point addition in hardware for NIST p256 and p384 curves. I have noticed the following issue with the suggested NIST routines:
Consider routine 2.2.7 of http://www.nsa.gov/ia/_files/nist-routines.pdf: Point addition $R = S + T$ is not valid for the case $S = T$ (this would be a p... |
Are there digital signatures for which, given two documents signed by the same key, one could derive the key?
With such one-time signatures, one may be able to design a cryptocurrency based on proof-of-stake instead of proof-of-work. To disincentivise miners from cheating by mining several blocks, one could impose that... |
This is my PKCS#5 & AES/ECB Python 3.3 code:
from Crypto.Cipher import AES
def encrypt_snap(media):
key = bytes('M02cnQ51Ji97vwT4', 'utf8')
cipher = AES.new(key, AES.MODE_ECB)
padded = media + ((16 - len(media) % 16) * chr(16 - len(media) % 16))
encrypted = cipher.encrypt(padded)
return encrypted
... |
First, I am no crypto expert although I am doing the MOOC.
I have an item which has as id: uuidv4
When I create this item:
I create a new uuidv4
check if it already exists
and if not, I store it in the db.
Now this item can be deleted. So lets say that there could be a conversation 'about' this item. And in that conv... |
I want to implement brute force hacking using RSA. How can I simulate and measure time duration? What software (or software-based simulator) would be needed?
|
The RSA assumption states that it is hard to find $m$, given $c = m^e \bmod{n}$, $e$, and $n$ (for appropriate choice of $n,e$).
Suppose that there exists an algorithm, $D(c,e,n)$, that finds $m$ in 1% of cases.
What could be a pseudocode of an algorithm that can use $D(\cdot,\cdot,\cdot)$ and finds $m$ easily for any ... |
I've often heard/read that AES key sizes 256 & 192 would be weaker than 128 or not stronger as expected from the size increase, but I've never seen a proof. How does one proof the strength of a Rijndael key size?
If I understand correctly, the main effect of having the key size different from the block size is on the k... |
I'm looking for some kind of crypto-based data structure that will allow me to produce a signature over a set of hashes. Call this a SignedSetOfHashes. I want to be able to distribute the SignedSetOfHashes (which should be smaller than simply a vector of all the hashes and a digital signature.) I then want anyone to be... |
I'm seeing this all over my Katz and Lindell book and I don't see where they introduced it.
|
I have such requirements to the hash function in my project:
operating on 32-bit data,
not mathematically breakable (built on existing hashes known to be secure),
free of branching,
as much as possible, free of repetitive rounds and rotations,
long enough to require a huge number of gates on the ASIC.
The idea is to ... |
Say I have a hash function, a state-of-the-art hash function that we would all approve of that produces a fixed number of bits (n) as output. (I'll call it HASH.)
Is there are a standard way to produce a different number of bits from this building block? (I'd prefer it if HASH is treated as a black-box component that c... |
Maybe I'm missing something, but if my salt and hashed/salted password are stored in the same place, how is salting any more secure than just hashing? Does this just rely on attackers not knowing how the salt is incorporated into the hash?
|
In the definition of existential unforgeability, there is no detail about the following questions.
In general, can we suppose that a signer is also a possible adversary? When generating a signature, can we suppose that the signer behaves well?
More precisely, suppose that a signer can generate a signature that is valid... |
Since tweaks are like IV,Salt for block cipher inputs . Should they be unique for each message ?
If they are to be unique per message then what is the advantage of giving tweak directly into the message than giving IV ?
Edit : Is there a way in which we need not give unique tweak per message but get same security level... |
I'm looking to run a small raffle but i'd like people to be able to verify that the number chosen was fair. I know some sites use a "Provably Fair" system to achieve this where user input is combined with a secret string which is then hashed to determine the winner. Once the secret string is released, participants can ... |
When designing a hash function, what should be the secure input and output lengths? In particular, what lengths do I need for collision resistance?
|
This is a follow up question to this question: Crack cryptographic hash functions using Toffoli gates?.
Suppose there is a hash function $$H(x)=y,$$ where $x$ is the input of the function and $y$ is the hash of $x$. Now, suppose we have made an emulating software that emulates $H(x)$ using Toffoli gates. This new funct... |
It is very interesting to see @tylo's answer on ElGamal with elliptic curves. Instead of mapping the message to the elliptic curve point it just reduces an elliptic curve point to its $x$ coodrinate. The scheme now becomes like this:
function $x^P$ denotes the $x$ coordinate of a point.
Encryption: choose random $k\in... |
I have some difficulties to understand, when we construct a reduction, how we determine the time for the constructed adversary to break a target security property.
In general these details are not explained in books.
Do you have some examples in which the time $t$ for the adversary $A$ is not equal to $t'$, the time fo... |
I'm trying to sign a contract with another party, without using handwritten signatures.
I've just read through Applied Cryptography, but there doesn't seem to be a protocol that can solve this problem. Digital signatures simply don't work. Even if the other party signs the contract with his private key and I can verif... |
I'm looking at source code for BitcoinJ that derives a public key from the private key.
/**
* Create the public key from the private key
*
* @param privKey Private key
* @param compressed TRUE to generate a compressed public key
* @return ... |
I am trying to do multiplication in the GF($2^3$) defined by the irreducible minimum binary polynomial $X^3+X^2+1$. I want to multiply $A(x) * B(x)$ where $A(x) = x$ and $B(x) = x^2$. The multiplication is easy, and I get the result: $C'(x) = x^3$ However, I am confused on how to do the modulo in $X^3 + X^2 +1$. I am c... |
Popular block ciphers like AES or Twofish are keyed pseudo random permutations on the domain $\{0,1,\dots,2^{k}-1\}$ with $k\in\{128,192,256\}$ or similar.
I'm interested in pseudo random permutations on domains whose size is not a power of two: Are there any fast (in the ballpark of AES) keyed pseudo random permutatio... |
Plenty of X.509 Certificates use "PKCS#1 SHA1 with RSA encryption" as the Certificate Signature Algorithm for generating a 2048-bit signature. The SHA-1 hash function generates a hash value of 160 bits, but where do the other 1888 bits from the 2048-bit output come from?
Are they another a hash value or are they just p... |
I have the following APP Design
key store (contains 1:n user payload as 1:n key store entries)
key store salt (is used to extend to key store password to 256 bits, stored in clear text)
key store entry (what the user wants to encrypt) with:
own entry IV (payload is encrypted with AES-256 MODE OFB, IV stored in clear ... |
A client identifies itself as a curve25519 public key. The server wants to verify the client owns the associated private key. Is there a safe and computationally efficient way of doing so? Which approach could be regarded to be “the most recommendable” from a safety point of view, while keeping it computationally effic... |
Consider RSA public-key encryption with public modulus $N=3953$.
Suppose we know that the public keys $e_1=337$ and $e_2=23$ correspond with the decryption information $d_1=3385$ and $d_2=2663$. That is: $e_1d_1=e_2d_2=1$ mod $\phi(N)$ and $m^{e_1d_1}=m^{e_2d_2}=m$ mod $N$, for all integers $m$ that are relatively pri... |
Ok - i will try to ask my question as clear as possible. Im getting a little deeper into the RSA-cryptosystem. At one point i'm a little confused.
We have a plaintext $x$ and ciphertext $y$, with
$x \in\Bbb Z_n = \{0,...,n-1\} $.
Additonally we choose $p$ and $q$ as primes. My source says $x$ must be less than $n$, wh... |
In RFC 3526 there are a series of primes listed as standard parameters used for Diffie-Helman. The primes are list in two formats. One is the long format, where the number is given in hex. For example:
FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
EF95... |
What does modular protocol design mean?
Why does TLS not have modular protocol design?
What protocols have modular design? (IPSec, SSH)
|
I've recently been looking at how to do perfect forward secrecy on a unidirectional connection (server can only push messages to client, client cannot respond).
What I've come up with is the idea of using a random shared key as a starting place and using this as a symmetric cipher key for the first pushed message. Onc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.