instruction stringlengths 33 27.2k |
|---|
Suppose I want to keep a client's password database secure (not in plaintext), while still having access to the plaintext password.
Now I generates a public/private keypair. Then I send the public key to all servers, while keeping the private key on a heavy-secured, airgapped computer. Now, instead of salting and hashi... |
I just started learning Diffie-Hellman Key Exchange. I couldn't get the reason of making $\alpha$ and private key for Alice and Bob constrained between $2$ and the prime number generated minus $2$ (=$p-2$). Why should it be $2$ less than the prime? Is there a specific reason for this?
|
In algorithms like Dixon's factorization a factor base is used, which contains all primes below a bound.
Then calculates $x^2 \mod n$, and then checks it is in factor base or not.
Suppose $P$ is the factor base for bound $B$.
We calculate the value $x^2 \mod n$, then how to check whether the result contains only prime... |
Say we have a computationally secure Message Authentication Code scheme (Gen, Tag, Ver).
Let $Tag'_k(m):=$ first half bits of $Tag_k(m)$. Let's assume the range of tags is $n$bits.
Is (Gen, Tag', Ver) secure?
An efficient adversary that breaks (Gen, Tag, Ver) can't be constructed using an effecient adversary that brea... |
This is my homework question (but I am not asking the answer to it):
Suppose two users Alice and Bob have the same RSA modulus n and suppose that their encryption exponents eA and eB are relatively prime (i.e. seA + teB = 1 for some integers s and t). Charles wants to send the message m to both Alice and Bob, so he en... |
Is there an assumption that says from a tag $k\cdot e(g,g_1)^{rx}$ ($k,r$ are secret) it is difficult to forge it with some x': $k\cdot e(g,g_1)^{rx'}$, as long as you cannot solve DL in $\mathbb{G}_1$ or $\mathbb{G}_2$?
It is obvious that the only way to forge is to extract the randomness $r$ such that you forge with ... |
For theoretical purposes in order to enhance my own understanding, and NOT in order to create my own cryptography, I am asking a question about the memory-hardness of a key derivation function achieved by a more intense shuffling of the matrix.
If I were to create a matrix with N elements with pseudorandom values:
for... |
Simple question: in order to reduce such huge exponents in modular arithmetic, is repeated squaring used in RSA or is there a better way to implement it?
|
I have started learning about Elliptic Curve Cryptography (ECC). Since the key size required in ECC is relatively smaller than the key size in RSA (to provide the same encryption strength), I wonder whether the smaller key size of ECC makes it vulnerable to brute force attack. Does it?
I'm not very knowledgeable about... |
I would like to encrypt a series of small integers one by one. The range of them is about 0~10^8. The output must be non-negative int64_t integers.
Since Blowfish is 64-bit cipher, I prefer to use it as symmetric encryption algorithm.
The problems are:
Since 32-63 bits of input is always 0, do I need to do certain pr... |
Encrypted fields are loaded from disk file to process memory only after file's HMAC validation is successful. Data is still encrypted in memory and will be decrypted later, on demand, when it needs to be displayed to the user (cipher is initialized on process start). The system also allows user to add new data which wi... |
I have recently programmed the DES algorithm. Right now it works just with integers (or better to say chars) in the range <0;255>. How can I use its whole potential - using just ASCII would be a waste (there are many characters I would never use).
|
I am studying RSA Dynamic Accumulators and I have a question: why is it simpler to calculate the new accumulator value after a deletion if the secret $\phi(N)$ is known? Is possible to calculate the deletion only with the RSA modulus $N$?
|
I want to use a (preferably established) hash function that is backdoorable in a password database. I want to do so because I need password escrow (being able to get the cleartext back. I want to generate some form of a private/public keypair on a secure server (airgapped, physical security). I then want to send the pu... |
I am currently studying an article on a construction of Multilinear maps. There are some attacks on the scheme presented by the authors and I got stuck at the one in section 5.1.
I will try to summarize the ideas presented there and ask the questions in the end:
Consider the product of $n$ secret distinct primes $p_i$... |
Is there an encryption algorithm/protocol where any of a pre-defined set of keys/passwords will succeed in decrypting a document? The number of keys can be fixed, say, 10 or 20 possible passwords.
The context is a single application (with a single embedded document), with no server-side component. It should be shareabl... |
I recentely had a discussion about the redesign of our ECC code for the library I'm collaborating on and the person I was discussing with came up with Edwards and Montgomery curves over binary extension fields. I suspect he just did this because "why not?" as it seems to be straight conclusion to think they exist for t... |
I am trying to understand this attack at the most basic level. I set up the following basic scenario:
Let the public encryption exponent, e = 3.
Let p, be some arbitrary but known (to the eavesdropper) padding of a couple characters.
Suppose an eavesdropper has intercepted two encrypted messages $C_1$ and $C_2$ from B... |
I read several papers about user revocation in IBE recently. A common point is that when a user is revoked, some other valid users should also update their private keys. Does this mean that one identity is actually associated with many users? If not, why do other valid users still need to update the keys?
I am also thi... |
In SCRAM (RFC5802, page 8) the client generates ClientKey to server, which is a derivation of the original password. This is communicated to the server in a secure fashion, which then performs a single hash operation H(ClientKey) and check if that's equal to StoredKey. That is, the client proves knowledge of something ... |
An NTRU public key is generated essentially by multiplying the inverse of a polynomial $f$ by a polynomial $g$. The polynomial $f$ is the private key; $g$ is discarded.
My question is: Is it insecure to hand out multiple public keys for the same private key, i.e. using the same $f$ but different $g$'s?
|
I'm looking to use password-style hashing to validate an environment, where some parts may be irrelevant. For example:
requirement = 0b1010
pattern = 0b1011
mask( a, b ) = a & b
hash( a ) = <any cryptographic hash>
condition = hash( mask( requirement, pattern ) )
# public
environment = 0b1110
hash( mask( environment, ... |
I know there are several available, however I can't seem to find whether there is one standard one or not.
I think I understand the process of digital signatures, just wondering which has function is used.
Thanks
|
I am currently studying the interesting field of homomorphic encryption. I read that from a fully homomorphic encryption function that supports both addition and multiplication you can perform any mathematical and comparison operations. Ok, but how can you do this specifically? How do you for example perform comparison... |
In both node.js and OpenSSL, I am seeing cipher "aes-256-gcm".
However, in NIST Special Publication 800-38D, that defines GCM, I am reading:
The underlying block cipher shall be approved, the block size shall be 128 bits, and the key size shall be at least 128 bits.
How is this possible?
edit:
I see a similar questi... |
Is it possible to say that the most significant bit of an RSA private exponent is always 1? Wouldn't that weaken the key strength by exactly that one bit?
I refer to the paper "Timing Attack: What can be achieved by a powerful adversary?", p. 2, footnote 2.
|
Suppose I use the following encrypt-and-MAC construction:
$E(k_1, k_2, n, m) = E_\text{AES256-CTR}(k_1, n, m) \| \text{HMAC-SHA256}(k_2, m)$, where:
$k_1$ and $k_2$ are 256-bit keys
$n$ is a nonce
$m$ is an arbitrary-length message.
What security losses occur if I use the MAC as the nonce? (i.e. $n = \text{HMAC-SHA25... |
First of all, I just implemented AES because I wanted to understand how it works and as a challenge to see if I could do it and I won't use to encrypt anything important, ever.
The (German) Wikipedia article of AES linked to a flash animation which demonstrated precisely how AES-128 in ECB mode worked. I implemented AE... |
Imagine, a client encrypts a corpus of data (say documents of text) with the public key of a Fully Homomorphic Encryption scheme (FHE) and outsources the data to an untrusted server.Now the client wants search for a particular word in the corpus of encrypted documents and retrieve the matching documents that contain th... |
Papers from Marc Stevens et al show that X509 certificates that rely on MD5 signatures can break the assumed security model, that is, it allows for a forged certificate to have the same signature as a trusted cert, see https://marc-stevens.nl/research for these papers. Both methods require the "to be signed" portion o... |
Let $ext$ be a single-source randomness extractor which takes a $d$-bit seed
and a $n$-bit source as input and produces a $m$-bit output.
Suppose we have a source $X$ with min-entropy $k$. Is it possible to reuse $X$ with different random seeds $S_1, . . . S_l$ for $l ≥ 2k$? In other words: Is $(S1, . . . S_l, ext(S_1... |
I am only taking baby steps in RSA.
If $p=11$, $q=7$ and $e=3$,
$$\phi(n) = 10*6 = 60$$
Then:
$$d = (2 (\phi(n)) + 1 ) / 3 = 121/3$$
Should $d$ be kept as a non-integer or is such a $d$ invalid?
|
I've been given a task to research and possibly implement so called 'Muchomor' cipher. Has anybody ever heard of this cipher? I've found only one article about it and it was in Russian. I'm quite fluent in Russian so I was able to read it; however, it was still not enough. I would appreciate any data about where to lo... |
Hello i have just recently started learning about cryptography, so i was doing some little research on what kind of encryption techniques and modes that were used in bank web pages. I have noticed that some bank uses the AES_256_CBC with HMAC SHA1 and banks that uses AES_128_GCM...I have seen more banks using AES_128_G... |
I'm wondering, if something like block cipher with big block size is a good memory-hard function?
All memory-hard key derivation functions I've seen look more complex than that, which made me question my understanding of memory-hardness.
The following function looks memory-hard (memory tradeoff looks expensive) to me:
... |
I know how the s-boxes in blowfish are initialized, but how is the output sorted, I mean which bit from the input goes where in the box ? and what do mean they have 256 entries if they are 32-bit S-Boxes ?
|
I've read Intel's The Difference Between RDRAND and RDSEED and Intel Digital Random Number Generator (DRNG) Software Implementation Guide, but I have some open questions that are specific to usage in an application. I work with Wei Dai's Crypto++, which is a C++ class library of crypto algorithms and schemes. The libra... |
In his blog Schneier discusses that there is a new related key attack on 10 rounds of AES-256 "Another attack can break a 10 round version of AES-256 in 245 time, but it uses a stronger type of related subkey attack".
My question is how many more rounds would they have to use to keep this security margin on AES (other ... |
What is the difference between LCG and Affine cipher?
More specific: What are they used for, and what are the structural differences between them?
|
I have cause to use the PRNG half of RC4, but am seriously confused as to the randomness of its output. (Only the PRNG half.)
On the one hand, there is a large body of literature finding ever greater biases in RC4's keystream. It appears that both weak and strong distinguishers can identify RC4 from a truly random se... |
I was looking into the predictions by some researchers that RSA and Diffie-Hellman may not be secure in the next few years due to advances in math and being able to calculate the discrete logarithm problem in new ways no longer making them "impossible" to solve backwards (Math Advances Raise the Prospect of an Internet... |
Consider there is a protocol in real world calling a random oracle $\mathcal{H}$ for a priavte input $k$. Then in the ideal world, after the calling of $r \leftarrow \mathcal{H}(k)$ by a honest party, can the simulator extract $k$ from $r$, if the behavior of $\mathcal{H}$ is as follows:
When $k$ is new, record $(k, r... |
I need to implement cryptographic operations starting with the curve NISTP256. I have been told to implement it using Montgomery method. I read a pfd from http://saluc.engr.uconn.edu/refs/sidechannel/okeya00elliptic.pdf. It states that the order of the curve must be divisible by 4. But the curve's order is not a multip... |
I would think that the time complexity would depend on the exponent, not the number of bits in the modulus. For example, if the exponent were 5, using the "naive" method, we would perform 5 multiplications. Squaring and multiplying would reduce the number of multiplications dependent on the exponent as well. However, I... |
Consider there is a protocol in real world, which uses a random oracle $\mathcal{H}$. In the ideal world, after the calling of $\mathcal{H}$ by some parties, intuitively I want the simulator gets some information from $\mathcal{H}$.
As Mikero pointed out in this question, the adversary may not call the oracle at all, a... |
I read RFC 2945 and 5054 describing SRP, but there was no mention of registration.
How should user registration happen in SRP? Is there a standard or paper describing it?
|
If we wished to, is there a comprehensive alternative to RSA?
I say comprehensive as I wonder if there is one which does both encryption and digital signature like RSA?
If not, simply what alternatives are there?
|
I am studying Pseudorandom Number Generators and when reading the discussion on One-Way Functions and Hardcore Predicates, I came upon this equation.
$$b(x,r)=\displaystyle \bigoplus_jx_jr_j$$
I understand that the $b(x,r)$ is the hardcore predicate (either a $1$ or $0$) but I do not understand the operation being per... |
We have Pedersen commitment C to the secret value x, and Fujisake commitment C' to the secret value x. How can we make a zero-knowledge proof of equality for x value in the commitments?
|
Thank you for your reply.
Based on your inputs. I was investigated further, find details below
Step 1) Input string for encryption is UUID format
Input data = c0c6f311-a793-4d65-9374-1c0e45f5382c
Length = 36 bytes
Step 2) encrypt UUID with gpg command
gpg --encrypt -r PublicKey c0c6f311-a793-4d65-9374-1c0e45f53... |
I'm wondering about using human input as an entropy generator. We all know humans are terrible at making up random numbers or keys or passwords. But what if we let a user 'randomly' type in some garbage. Just smashing the keyboard, so to speak.
How much randomness does that give, or rather, how much bits of entropy wo... |
It's known that for a given subkey, the F-function of the DES is not injective (see Is the DES F-function injective for a given subkey?). I am interested in efficiently finding collisions for this function, i.e. for a given subkey $k$, I want to find two different inputs $x$ and $y$ such that $F(x,k)=F(y,k)$.
I am wond... |
I want to write a sniffer that can read AES-GCM communication using the gcrypt lib
I can see in the manual that for encryption there is an additional 2 methods (for AEAD)
but what about decryption ? what need to do for decryption for AEAD ciphers ?
Thanks
Lior
|
I need a continuous (infinite) strong random generator, but I've only got limited entropy as seed. I know there's already a contradiction there, but I'm looking for a practical approach.
Suppose I have a piece of 1024 bit strong random entropy (a one time constant for this particular stream), and a cryptographically se... |
I am currently doing the Matasano Crypto Challenge to learn a bit about cryptography. In that specific challenge one had to implement AES in CBC mode. I did that and verified that encryption and decryption are working using these test vectors. I can't manage to decrypt the message given in the challenge though. I am no... |
libsodium has a method for comparing two byte sequences in constant time.
Is the idea here to simply avoid early-out if a difference in the data is detected?
When I first heard of such a thing I imagined an operating-system sleep operation to round-up the runtime of the algorithm to some threshold, but this sounds very... |
Under RSA protocol I was wondering how a message sent could be verified
under the following scenario
Alice has a private (encryption key) and public key (decryption key)
If Bob sends Alice cipher-text but does not know the plain-text message
he sent to Alice
Can Bob send Alice a second message in plain-text to determin... |
Suppose we have classic RSA scheme. Let $n=pq$, $e$ public, $d$ secret.
Then message(M), not empty(not 0), is encrypted by choosing random $r$ and computing $A=(r^e)^e$ and $B=(Mr)^e$
$(A,B)$ is then cipher text.
Why is this not IND-CPA secure? Have trouble grasping IND-CPA concept.. well concept is clear, but how to p... |
I have this large number:
1728098743723095094470726818328193358068864405124007684733613106475812450278961107574624070107782941006379
which is the multiplication of two unknown large prime numbers. I try to factorize it with the "Yafu" tool, but i get an error of "time exceeded.
How can I factorize it? How many time wil... |
Let's say I need to verify a digital signature and the public key is stored in untrusted storage which I need to fetch before I verify the digital signature. However, I can store the cryptographic hash of the public key in trusted storage and I decide to use the hash to verify the integrity of the public key. Now say I... |
The RC4 cipher possibly exhibits low level bias in it's long run PRNG keystream. I'm specifically excluding short term bias attacks which I'm defining as outputs < 1024 bytes. Are there any real world attacks that exploit this feature?
|
Trying to settle a discussion at work. We are mostly concerned with pre-image resistance.
Suppose we have a common secure hash function $H$ (e.g. SHA-1/SHA-2) and some message $M$ we want to hash. The message has length $M_L$. For the message we provide the digest $D$ and the length of data digested $D_L$.
With regards... |
I want to use the ED25519 signature scheme in my application which requires frequent sharing of secret data between two entities in the public domain.
I know that the Schnorr signature scheme has a key authentication center (KAC) which decides and shares common parameters to be used by signer and verifier. The KAC also... |
I want to use CBC MAC. First I hope to find some implementation of block cipher which I will use in CBC mode, which I understand is CBC MAC. But I have two questions:
1) If the length of the message to be authenticated is not multiple of block cipher block length, what shall I do?
2) Do I need to use session keys with ... |
How does the whole achitecture between the certificate authority (e.g VeriSign) and its clients (e.g foo.com) work.
How does my browser know that foo.com hasn't created its own certificate, wrote "VeriSign" as issuer, signed it with its own private key and wrote the corresponding public key into the certificate?
Where... |
Is there any algorithm capable of encrypt securely (symmetric) N numeric digits in a numeric message of M digits (N < M)? I am especially interested in a specific case in which N = 10 and M = N + 3. I tried the most famous algorithms, like DES and AES, but they did not get success. Does anyone know a way to encrypt mes... |
Can someone please explain to me why decryptNode gives as result $e(g,g)^rq(0)$ for leaf nodes, I don't understand how they went from the second step to the third (here is the article: Ciphertext-Policy Attribute-Based Encryption), also note that there is an error in the second step, it's $g^q(0)$ and not $h^q(0)$
|
Looking at the RFC for PGP email/asynchronous chat with PFS here https://datatracker.ietf.org/doc/html/draft-brown-pgp-pfs-03 can anyone tell me why the following scheme is no good?
Alice and Bob retrieve each others long-term public keys. When Alice sends the first email to Bob, she encrypts her message with Bob's lon... |
I'm going to verify the CA certificate from Yubico. I copied the whole certificate from
-----BEGIN CERTIFICATE----- to -----END CERTIFICATE----- in a file with the ending .pem. Then I wanted to verify this with openssl verify test.pem in the command line (test.pem is my file with the certificate). I got
test.pem: CN... |
im looking at wiki at the moment as how to use oeap padding and it appears, help me out if im wrong as G(r) - expands r to the size of the padded message, I am then limited by the size of my hash function as say a SHA-256 hash function would expand to only 256 bits, but what if I had a 2048 bit modulus? I'm unsure if... |
I came upon an idea the other day that I had some questions about. I am not a security professional but I do study with an amateur interest and have not heard of this particular idea before.
There were a few similar questions here, but :
Using one-way hash functions as the encryption method
Construct an encryption al... |
In this paper, the author writes:
Now $k\phi(N) = ed - 1 < ed$. Since $e < \phi(N)$, we see that $k <d < \frac{1}{3}N^{\frac{1}{4}}$. Hence, we obtain:
$\mid \frac{e}{N} - \frac{k}{d} \mid \leq \frac{1}{dN^{\frac{1}{4}}} < \frac{1}{2d^2}$
I am having trouble seeing how these last equalities were found. I see ho... |
Suppose we have an RSA groug $G=\mathbb{Z}^{*}_{N}$, where $N=pq$ , where $p,q$ are primes. Let $g$ be a random element of $G$ and $t\in \mathbb{Z}^{*}_{N}$. Having $g$ and $g^t$, it seems to be very hard to find $g^{t^{-1}}$, supposing discrete logarithm problem (DLP) is hard. My question is that is this really hard? ... |
I'm new to the OAEP scheme.
I learn it from the Wikipedia page. Link
The page does not explain a proper setup for of the system.
So I'm not sure if the output of the padding scheme which contains two components X and Y (X||Y) is going to be the input of the RSA encryption? Or is there something that I'm missing?
Many t... |
Imagine a server with an authentication scheme that utilizes an element of randomness in new sessions (i.e. one that uses the secure remote password protocol).
At the end of a successful authentication, when session keys are being derived (via hkdf), suppose a "history key" was derived as well.
In the first interacti... |
While bruteforcing a ciphertext, I've found multiple keys which produce the same result.
Mode is DES with ECB and PKCS5 padding.
ciphertext is TXcmk8KwIPxTHR45zAIGJPEFYj6dsgVOGseZnMcedCOhl/Qp5a8Qig==
keys are used: { !*}, { +}, { *}
The tried keys are delimited by brackets {} and white space included.
... |
I am trying to read a paper in cryptography. In key generation phase, paper give a definition for bilinear like G and Gt be two cyclic groups of prime order p
$e: G * G \to G_t$. be a map with the following properties:
and in one place i found a definition like
my doubt is in the last part. Specifically in m.e(g1,gn... |
I have a Java card, which I like to learn more about by installing my own TPM on it. One, which I can kind of "kick the tires", install root keys, send different command to, and ... without fear of breaking anything or making it unresponsive. Does anyone know of a TPM implementation I can put on this card? when I put t... |
RFC4493 describes the generation of AES-CMAC and padding for messages with length > sizeof(aes128_key). However I need to generate the CMAC for a series of messages shorter than 16 byte.
So I'd like to ask if it is viable to:
Pad M0 with 0 up to 16 bytes
Pad M_last with the proposed padding (first bit 1, others 0)
As... |
I'm working on a security project. I need to perform a sorting on the lists of encrypted integers and strings. The encryption used is symmetric. The clients send the encrypted data in a list to the server (encrypted by different symmetric keys, each key is shared b/w a client and the server). On receiving the list, ser... |
Can you encrypt an image (with AES) such that you can open it as a png/jpeg?
|
I don't have the background for dealing with Riemann hypothesis but is well known that covers the prime distribution below a specified number.
In order to solve the RSA problem you have to factor the semiprime or calculate the totient itself, that's hard as factoring the modulus.
Question is, could Riemann hypothesis b... |
Consider the following protocol for two parties to flip a fair coin:
Trusted party $T$ publishes her public key $p_k$
A chooses a random bit $b_A$, encrypts it under $p_k$, and announces the ciphertext $c_A$ to $B$ and $T$
$B$ does the same and announces a ciphertext $c_B$
$T$ decrypts $c_A$ and $c_B$, and announces t... |
Gen generates Pk and Sk (l bits each), Enc encrypts m (length l) but by bit using each bit of Pk respectively, Dec decrypts ciphertext bit by bit using each bit of Sk respectively. How do I prove this scheme is not IND-CCA-2 secure?
|
I keep seeing the term "Cryptographic Agility" referenced. What does it mean?
For instance:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb204775(v=vs.85).aspx
One of the key value propositions of CNG is cryptographic agility, sometimes called cryptographic agnosticism.
http://research.microsoft.com/app... |
I have one sender, and a small number (~5) of recipients. The sender knows each recipient's public EC key. I want the sender to broadcast a single message in such a way that any one of the recipients can decrypt it. For reasons that aren't completely technical, I'd like the security properties of the encryption algorit... |
Consider following authentication protocol.
Client ClientA knows some initial secret KeyA shared with server.
Client also knows IP of legitimate server.
Now when client wants to establish connection with server she will send KeyA to server and her ID (for server to know which key to use).
The server generates new rando... |
Some AES implementations in crypto libraries make use only 8-bit byte operations on the cipher state, like in the lorawan-parser (cf lib/aes.h).
When I try to understand the implications of that, I wonder if normal cipher states in "standards" implementation uses more bits or not ? In the AES wikipedia page:
AES opera... |
First, I want to know what is the logarithm used in the following system of equations (from the paper Flexible and Robust Privacy-Preserving Implicit
Authentication - Domingo-Ferrer, Wu, Blanco-Justicia):
Second I want to understand how one can obtain integer values $r^\prime_1, r^\prime_2, ..., r^\prime_s$ after using... |
I want to inquire that what are requirements of the audio input to be encrypted using AES. Is encrypting a mp3 file different from encrypting an aac file?
Thanks!
|
MonkeyDuplex constructions defined by Keccak authors has padding in every duplex block.
Why only last duplex block is padded in NORX?
Is it because NORX has domain separation, or simply because Keccak authors defined duplex on top of sponge and it isn't actually needed, or ...?
|
I am wondering if for some particular keys the AES 128 key schedule lead to a periodic pattern for the round keys.
The key schedule is only 10 rounds, but I am also wondering in the general case where we expand the key much more, as it happens if one use the last round key of an operation as the key for the next operat... |
I am comparing the actual probability of no collisions to the probability approximation formula of no collisions from the Understanding Cryptography text.
The approximation is as follows:
$$P(\text{no collisions}) = \frac{e^{-t(t-1)}}{2 \cdot 2^n}$$
I know that t represents the number of elements but I am confused abo... |
I am confused about the effect of different block sizes on AES performance. As you can see here, there is a huge gap between the throughput of different block sizes. As far as I know, every 16 bytes must be encrypted separately, but I don't know what would happen if the block sizes would be increased.
How would 16 byte... |
I'm trying to add the authentication for my One-Time Pad implementation.
I know that to provide Unconditionally Secure Authentication I need to use the One-Time MAC authentication.
But I don't understand why a solution as the following (that's a lot more easy to implement) doesn't provide the same security level :/
cip... |
I'm learning the multiplication operation on EC. From most material I can found, the multiplication $nP$ is just:
$$nP=P+P+\cdots +P+P$$
For negative factor, i.e. $(-n)P$, by above definition and the definition of $-P$, we can write $(-n)P$ as:
$$(-n)P = (-P) + (-P) + \cdots (-P)$$
My question is: is it possible to exp... |
Quoting an old question:
Consider the following protocol for two parties A and B to flip a fair
coin (more complicated versions of this might be used for Internet
gambling):
A trusted party T publishes her public key pk.
A chooses a random bit $b_A$, encrypts it using pk and announces the ciphertext $c_A$ to ever... |
Consider the following the following RSA public key $pk = (N, e) = (1457, 1307)$.
(a) Knowing that $187^2 \equiv 1 \pmod {1457}$ find the factorization of $N$.
(b) Given the factorization of $N$ computed above, use the CRT to decrypt the following ciphertext
$c = E_{pk}(m) = 3$.
For part a) I am not sure which property... |
I am trying to understand why Merkle Tree doesn't suffer the birthday attack?
Can you help me?
|
What is the current state of research on quibit commitment?
It seems that the answer is not 2001 but it seems to me that a lot of these pdf are referring to a old protocols of quantum bit commitment 1997, where the impossibility of that scheme has been proved for a unconditionally (or perfect) security of qubit commitm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.