instruction
stringlengths
32
27.2k
In my question here Zero knowledge set membership protocol The suggested solution allows a prover to choose a commitment $C$. Then, A trusted third party ($T$) can validate if $C$ is valid or not. The $C$ is in form of $C = rG + [age]H$. How to make a similar protocol with $C = g^{r}h^{[age]}$ as in Pedersen commitment...
I figured how to show that strong OWFs cannot have polynomial sized ranges. But I am unable to prove the same for weak OWFs.
Context I'm trying to implement the Attribute-Based Encryption (ABE) scheme described in the paper - Extended Proxy-Assisted Approach: Achieving Revocable Fine-Grained Encryption of Cloud Data (Yang et al.). To summarize the scheme in my own words - it is a CP-ABE scheme where decryption of a ciphertext c is performed...
Hello I'm trying to show that the function G'(s) = G(s) || G(G(s)) is not a secure PRG even if G is. My first question is that in this case, how do I know what G is doing? Just wondering because in previous question it's been specified as a length-doubling / tripling G, but in this case I'm assuming that G is returning...
Im havirng a had time understanding ECC. For example, I have the equation below: Equation : y^2 = x^3 - 4x + 1 Initial Points : A = (2, 1) B = (-2, -1) N or number of iteration : 10 Final Point or Location : ? I know that ECC has got to do something with private keys and public keys. But I know Im missing...
I have a prover and verifier. They are engaged in a zero-knowledge proof protocol. A verifier sends a challenge $c$ to the prover so he can compute a proof using the value $c$. How to use Fiat Shamir so that a prover can compute that challenge $c$ from some public parameters without interacting with the verifier?
For a signing scheme involving generating a $256$ bit digest using SHA256 followed by RSA with $2048$ bit modulus, the signature would always be 256 bit without padding even though signatures of up to $2048$ bits are allowed in the RSA scheme that follows. As such, is there a need to pad the $256$ bit digest to improve...
I found some related question but no real explanation of what it is and when and why to use it. What are the benefits and downsides and is it recommended?
When planning a file signature scheme (basically, just to sign all files content). Is it obligatory to defend against ECDSA key substitution attack? ISO/IEC 14888-3:2018 NOTE 5 states: The mechanisms of EC-DSA, EC-GDSA. EC-RDSA and EC-FSDSA may be vulnerable to a key substitution attack[10]. The attack is realized ...
In the decryption step in helios, why do we need Chaum-Pedersen to prove that a certain plaintext $m$ corresponds to a given ciphertext $c$? Why can we just encrypt $m$ and see if it's equal to $c$?
I am looking for an explicit and simple reduction of commitments to one way functions. I don't care about the number of rounds, only simplicity. I am aware of the simple reductions you can find in Wikipedia of commitments to one way permutations and to pseudo-random generators, but the first isn't to one way functions ...
I have a need to anonymise phone numbers so that I can carry out testing and analysis work on telecoms data sets and comply with GDPR. I typically receive a batch of a few hundred thousand events containing phone numbers, and need to anonymise all the phone numbers in that batch under the following conditions: A defi...
I've to mask data into some different value but to keep their property such as order an exact match (substring is yet impossible) What's the state of the art in data masking? I've some data on which I want to perform a search but I can't use the data as they are. the data type are standard data types, that is, string i...
The well-known Luhn check digit (used in credit-card numbers) is a public method to append a check digit on the right of a decimal number, so that any 1-digit alteration and any exchange of two (different) consecutive digits in the outcome will be caught with certainty. Can we make a 1-digit Message Authentication Code...
I have created a text file called test.txt and the content of the file is Hello World I would like to change the SHA checksum hash without modifying the contents and filename. Is there any way to do that without using any third party tool on the internet.
Asymmetric encryption schemes do leak something about the encrypted plaintext: the length of the plaintext. How can this be mitigated? My solution: Padding the plaintext with some string of the arbitrary length – add 1 and then a string of zeros What are some other ways this information leak can be mitigated?
I'm puzzled by the measure $$E(S) = -\sum p(i) \lg p(i)$$ because I'm considering a source emitting $0, 1, 0, 1, 0, ...$ and having the maximum entropy as given by $E(S)$. Shouldn't $E(S)$ measure the quantity of information? The sequence that just repeats $1$ after $0$ seems to me to convey very little information -...
Has there ever been a hash function that was actually used in the field, no matter how long ago, for which there is now a feasible preimage attack? All hashes that are nowadays considered 'broken' (such as MD5 and MD4 and older, and to some extent also SHA-1) are only susceptible to collision attacks, i.e. generating t...
I am trying to implement a signature scheme involving RSA signing of a message digest generated by SHA-$256$. I want to hash the input into an RSA domain point instead of the fixed $256$ bit digest generated by SHA. Apparently, this can be achieved using a Full Domain HashingFrom the Wikipedia definition of Full Doma...
In Dan Boneh's crypto book, there is a section describing the "Rewinding Lemma", however I cannot find it explained in other sources on the internet. How does this differ from the forking lemma?
Assuming I cannot use DH scheme, and the long term key is known to both sides, is there a known algorithm / standard that defines how to derive a short term key from a long term key?
I've been looking into rewinding techniques for proving ZK and got a bit confused. This answer is good, but I still have questions about challenge size and the number of rewinds. Consider an interactive sigma protocol, for which Simulator can always produce an indistinguishable transcript if he guessed the challenge. ...
Currently, I am creating a project with an IoT device. This is an offline device which shows a QR code which can be scanned by a mobile device, which sends this code to a server. The server handles data but does not send anything back. The plaintext data part of the QR code needs to be encrypted and should not be chang...
First, what is the difference between hardware and software tokens? Tokens are "what you have" for example a car key or a chipcard. This would be (I think) hardware tokens? But what are software tokens? Also what is the difference between static and dynamic tokens? Could you give me examples for better understanding?
I read that random numbers are being used in cryptography and security. I think I have idea how to truly generate true random, non-deterministic number. But before continuing further I'd like to ask few basic questions. What kind of numbers are needed for cryptography/security? Are those integers? How long should thos...
I feel like I'm completely missing something there. The quarter-round proceeds as follows: b ^= (a + d) <<< 7; c ^= (b + a) <<< 9; d ^= (c + b) <<< 13; a ^= (d + c) <<< 18; So at each step, we're adding words a, b, c, d together. And at the end of 20 quarter-rounds, we add the current state matrix with the previous st...
In a KPA attack model, an adversary $\mathcal{A}$ has access to pairs of messages $(m_i,c_i)$ which are encrypted using some asymmetric algorithm. However, assuming either El-Gamal or RSA algorithms, an adversary $\mathcal{A}$ (can/have) access to the public key. So, $\mathcal{A}$ can encrypt any message of its choice....
I would like to use IES (x25519 and AES-GCM), but every message used a new session key, does that affect the performance of the system? do I need to used session key to refer to the key that used by previous session? For example, Assume Alice knows Bob's public key. Alice would like to send a message to Bob. Alice ...
I'm trying to understand the new PSS scheme, but having trouble figuring out how to parse it properly. When receiving a certificate with OID of RSASSA-PSS, how can I know which hash and signing algorithm was used?
When applying the boolean masking countermeasure to a cipher which uses an S-box $S$, a way to handle this nonlinear operation is to recompute a new S-box $S'$ such that $S'(x \oplus r_{in}) = S(x) \oplus r_{out}$ (see, e.g., this paper). On the other hand, for processors using cache techniques, look-up tables have bee...
We are trying to distinguish two RSA prime generators: Prime generator 1 draw uniformly at random an integer $p$ with $2^{1023.5}<p<2^{1024}$, until it is prime output $p$. Prime generator 2 draw uniformly at random an integer $p$ with $2^{1023.5}<p<2^{1024}$ while $p$ is composite, $p\gets p+1$ output $p$. We ca...
Say we have a classic Diffie-Hellman key exchange. We have the following parameters of a public key: p,g,y Where $p$ is the modulus, $g$ is the base, $y$ is the public key, and $x$ is the private key in the following equation: $y = g^x \bmod p$ It happens that the modulus is a composite number, which can be factored i...
The question is about "formal" analysis, proofs, etc... What is a correct definition of a formal proof, or a formal analysis? Is there a good way and a bad way to formally prove something. What is the meaning of a a "semi-formal" proof, "semi-formal" argument.
I am currently reading a research paper that uses the term 2-flat. However, I don't understand what this term means. For example, the paper mentions in its definition of APN that for all distinct $a$, $b$, $c$ and $d$ in $V$, $$a + b + c + d = 0 \implies f(a) + f(b) + f(c) + f(d) \neq 0$$ i.e. $f$ does not sum to 0 on...
I am trying to solve this question and I have no idea how to find the value for $q$. I know that I am supposed to find the probability of $q>3q/512$ in terms of the equation $q$, but not sure how? Any help is appreciated. Alice has a function $$F: \{0, 1\}^k × \{0, 1\}^n \to \{0, 1\}^n$$ that she intends to use as a P...
Following the RFC 8446 it states that: RSASSA-PSS RSAE algorithms: Indicates a signature algorithm using RSASSA-PSS [RFC8017] with mask generation function 1. The digest used in the mask generation function and the digest being signed are both the corresponding hash algorithm as defined in [SHS]. The length of the S...
I came across the notion of Common Reference String (CRS) model while reading this paper on a protocol for UC Oblivious Transfer: https://eprint.iacr.org/2007/348.pdf I did some research and it seems to me that the CRS model is just some way to model hash functions: What are alternatives to the random oracle model for ...
I recently read Squeamish Ossifrage's answer on generating RSA keys from (short) randomness where they make the following comment: (You might want to keep the certificate secret too.) As the answer talks about multiple primality tests, let's start with a simpler one: The Pocklington-Lehmer test. So my question: Assum...
I have a direct question Is there any practical attacks on the AES cryptosystem (128-192-256 keys)
In the lite version of Cramer-Shoup we have a group $G$ with generators $g_1$ and $g_2$, private key $a_1, a_2, b_1, b_2$, and public key $A = g_1^{a_1} g_2^{a_2}$, $B = g_1^{b_1} g_2^{b_2}$. Encryption works by picking a random integer $r$ and sending the tuple $(g_1^r, g_2^r, A^r m, B^r)$. When decrypting we check th...
Bad hash functions are not so perfect as in the "general collision probability" hypothesis... And a general concept of "collision resistence" not need the constraint of independence between the hash function and the sample set. Let $H$ be a hash function with digest of $k$ bits, and $S$ a input sample set with size ...
Regarding reordering attacks, is CBC block cipher as vulnerable as ECB? why? If CBC can prevent reordering attacks (that is, after reordering, the decrypted plaintext will make nonsense so the receiver can detect that it must have been tampered with during transmission), why do we still need mechanisms like sequence nu...
newbie in crypto here. I've a application that needs integrity protection. Confidentiality would be nice but has less priority over performance throughput. So I test "openssl speed" on my laptop, and find out sha256 is actually slower than chacha20. About the same speed as chacha20+poly1305. I assume this sha256 is ab...
I was reviewing the most recent version of the Catena paper and they made some claims that I find questionable in their reduction of the pseudorandomness of the output of Catena (p. 32). First I will mention that they say they are modeling $H$ as a random oracle (that their Catena oracle calls), but it seems like they ...
Given a PRF $F $, such that for each $k \in \{0,1\} \ ^ n$ , $F_k:\{0,1\} \ ^ n \to \{0,1\} \ ^ n$ , is the function defined by $W_{k_1,k_2}(x) = F_{F_{k_1(0 \ ^n )}}(x) || F_{k_2}(x)$ also a PRF? I'm almost sure the answer is yes. I'm trying to assume $W$ is not a PRF and conclude that $F$ isn't either but I dont s...
I have been going through https://eprint.iacr.org/2006/287.pdf (Conjunctive, Subset, and Range Queries on Encrypted Data by Dan boneh) I am trying to implement the paillier system to create a secure tunnel for gps related data on cloud. There is a simple implementation of the system in python @https://github.com/mikeiv...
I would like to create a software that will be installed on multiple clients. I would like to broadcast an encrypted message to all of those clients. Each client should be able to decrypt the message and react to it. However, noone should be able to create such a message that could be decrypted by those clients. So, I ...
Earlier today, forest asked in our chat, The Side Channel whether the definition of first pre-image security actually requires that an input that evaluates to the challenge hash result must be known to exist a-priori. This got me thinking. How does one actually, formally define first pre-image security for hash functio...
In [RFC5869][1] I found that the function of the HKDF-Expand on the input assumes the parameter $L$ which denotes length of output keying material in octets ($\leq 255*\text{Hash}_{Length}$), and then the $N$ is computed as $\operatorname{ceil}(L/\text{Hash}_\text{Length})$ and $L$ is a multiple of $\text{Hash}_\text{L...
I am trying to figure out how to calculate primitive root $w$ for a prime. Following what I read, I generated my prime to be 'safe prime', $p=qr+1$. I know $q$ (also prime) and $r$. Let's assume, for example: $q=11$, $r=8$ and $p=89$. Both $p$ and $q$ are prime, as needed. I now find $w$ by choosing random number $h...
For example, take K1, from the Kryptos sculpture, which has been long solved. It's text is as follows: EMUFPHZLRFAXYUSDJKZLDKRNSHGNFIVJ
YQTQUXQBQVYUVLLTREVJYQTMKYRDMFD Now, I already know they keywords used (because the solutions are online) and they are PALIMPSEST and KRYPTOS. However, I do not understand how you woul...
I'm looking for commonly used and proven CPRNG implementation in C. What to use? ChaCha20 like in Linux Kernel? Does anybody know other implementations? PS: I don't want to implement by itself because it requires high accuracy and later must be verified by security experts to make sure all works correctly. Also I pla...
Hal Finney's writeup (Bleichenbacher's RSA signature forgery based on implementation error) shows a formula for RSA3072. I tried to replicate the attack for RSA1024 and failed, since the first term of the equation 2^1009 is not a perfect cube. I ended up forging a signature by simply constructing a desired number and t...
I was reading an answer about an attack on a weak group for the discrete logarithm problem and wanted to formalize and verify that the attack was correct. That is, that it was guaranteed to always find $x$ (and quickly) given $g$, $h$, and $p$ for $h \equiv g^x \pmod p$. Please read the answer here. In the process I th...
Let $\pi : \{0,1\}^n \rightarrow \{0,1\}^n$ be a permutation. Let $E(k, x) = \pi(x \oplus k)$ where $x,k \in \{0,1\}^n$. Why isn't $E$ a secure block cipher? My idea: Suppose $E$ is a secure block cipher. If one let $k = 0^n$ and let $\pi(s) = s$ for any $s \in \{0,1\}^n$, then one can build an adversary that could gu...
I am new to cryptography esp, homomorphic encryption. I would like to know if the following is possible using something similiar to additive homomorphic secret sharing. Please apologize me if its too vague. I will try my best to explain my ask. Alice has a secret that she wants to homomorphically encrypt. However Alic...
Taking a combination of world events-- thunder, astronomical imagery, vote outcomes, stock index value-- and deriving the ID of the source of truth from a hashed combination of them could be used instead of a proof-of-work algorithm. Why isn't it used?
Let's say I have an API that provides an encryption wrapper around another API. I give the consuming programmer the option of either passing a string or byte array as an encryption key. The byte array must be the correct size, and is used directly as the encryption key. However, if they pass a string, I hash it using S...
I had a client requirement asking me to provide an existing base64 encoded certificate in a CVC format. Could someone point me in the right direction here to understand what this format is? How can I convert an x509 certificate to CVC format and the tools to achieve this, please? thanks.
I was wondering if there is a version of LWE with secret matrices and public seed vectors? Would it be as hard as the popular definition of LWE?
I'm aware of these posts: What is a "rewinding argument"? Random oracle model proofs and programmability But I think, some concrete examples are missing. I need to know how exactly rewinding technique is used with some examples. Moreover, I'd like to know how many time we need to rewind a party and in the case where ...
Suppose we had a decentralized log of messages, i.e., an ever-growing array of information on which anyone could append arbitrary data to. Given such primitive, could a party broadcast authenticated messages using just hash functions? Here is what I have in mind: 1. Register To start submitting authenticated messages, ...
I am updating a system that has Rails' OpenSSL on one side and Python's cryptography.io on the other. The Rails side has to generate keys for the AES-256-GCM and here are two methods that appear to work: SecureRandom.hex # => "3d499a7b8f57773281ca2d47698a0062" OpenSSL::Cipher::Cipher.new("aes-256-gcm").random_key # =>...
I was recently reading this paper on SIKE and there on page 20 I encountered algorithm 2. I understanding line 14 of algorithm 2 in sike but I don't understanding line 17 of algorithm 2. $h (s || (c_0, c_1))$ how to shared key? result s is chosen randomly and is not known by the other party.
What are the two "closest" known Keccak256 (not SHA-3 256) hashes in terms of the Hamming distance between the pair of hashes? EDIT: This was marked as opinion based, so to clarify, when I asked this question, I was hoping that people responding would provide two hashes that had a close Hamming distance, as well as the...
I was going through the documentation of GMP (https://gmplib.org/gmp-man-6.1.2.pdf), specially section 15.1.6 where they refer to the use of Fermat's style FFT. I tried to follow the reference but couldn't quite understand this technique, can anyone explain to me how the Fermat's FFT works? I don't understand how an...
For AES 256 - if I use a random 32 byte sequence for the 256 bit key and another 16 byte for the 128 bit initialization vector, does this insure that my cipher text cannot be broken in any short amount of time when the byte sequences are only known to me? Related to this: how would one transmit the key to another party...
Let $M$ denote the message. Let $B_i$ denote eight different bitstrings (chosen arbitrarily or randomly) such that $$0 \le \text{length}(B_i) \le 12345678.$$ Consider the following function (it outputs a 2048-bit hash of the input): $$H(M) = {H_1} \mathbin\Vert {H_2} \mathbin\Vert {H_3} \mathbin\Vert {H_4},$$ where $\m...
After reading this question, I'm pretty shaken up. A determined attacker with $100 in loose change can crack any RSA key in a couple of hours. After believing that these algorithms would take millions of years to brute force, I'm questioning the security of everything. What should I move to if RSA isn't safe anymore? A...
Why do we use prime factors in asymmetric algorithms compared to other factors? For example: lets say we use two prime numbers p = 53 and q = 59 our public key in RSA algorithm would be p * q = 3127 while it is difficult to find the private key from this using prime factorisation, I feel it is equally difficult ...
If I have the plain text and its output after encryption with a key K1, is it algorithmically feasible to find K1? I am specifically interested in the cases of DES and AES encryption algorithms.
Imagine you have a string of plaintext (a), IV (ai) and the MAC (am) for the plaintext (a). How can you generate a MAC (bm) for a different string of plaintext (b) - using an IV (ib) of your choice, using the same key - which you don't know and can't retrieve. You can also assume both plaintexts are the same length. E...
Suppose we have a 128-bit block cipher for which the best two-round differential holds with probability $p = 2^7$. Suppose as well that this differential is iterative and that the best differential attack will be formed when using this differential. How many rounds would the block cipher need in order to be resistant t...
I want to encrypt some small amount of data using ECDH for use by myself later, but I don't want to generate an ephemeral keypair like in ECIES, due to time and space constraints. Would it be safe to use my existing EC keypair to encrypt data "for myself"? In this case I don't need to store any key material with the ci...
I was at my College Security Lesson, the professor said that Certificate Revocation Lists (CRLs) violate some of the Secure Design principles. Secure Design Principles: Fail-Safe Defaults Economy of Mechanism Complete Mediation Open Design Separation of Privilege Least Common Mechanism Psychological Acceptability I ...
I would like to know if there is a way to place a condition on $k$-out-of-$n$ secret sharing such that out of $k$ participants who can pool their shares to reconstruct a secret, one of them should always be a particular user say $P_1$. In other words, say we share a secret $S$ with $n$ users $P_1,P_2,\dots, P_n$. The p...
Assume we have a multi-party computation protocol and the protocol definition, where both of them consider a semi-honest adversary, without explicitly assuming the type of channel the parties want to use. Also, assume three parties are involved in the protocol: two clients and a server. Let a client encrypt its input ...
Why is the following authentication service not secure? C⟶S: $I_C$ S⟶C: $N$ C⟶S: $E(K_{C,A}, N)$ S⟶A: $E(K_{S,A}, \{I_C, E(K_{C,A}, N)\})$ A⟶S: $E(K_{S,A}, N)$ where: C = client S = server A = authentication service $I_X$ = identification string of entity X $N$ is nonce $E(K, M)$ is the encryption operation using key ...
I recently saw an article at phys org that did some sort of "quantum simulation" on a conventional computer to calculate prime probabilities, the article (and paper associated) does mention shor's as well. What threat does this model pose to current cryptography? https://phys.org/news/2018-04-quantum-simulator-faster-r...
I'm trying to understand the difference between rsa_pss_pss_ and rsa_pss_rsae_. The picture shows the extension of TLS1.3's ClientHello. I view the OpenSSL code and find the rsa_pss_rsae_* scheme is corresponding to the scheme in Section 8.1 in RFC 8017 but what about rsa_pss_pss_* scheme? And it's weird that I find...
I am studying Information Security, and I am wondering if I can send a message to my friend X and keep the message confidential without using encryption?
From Wikipedia: Information-theoretic security is a cryptosystem whose security derives purely from information theory. In other words, it cannot be broken even if the adversary had unlimited computing power. The adversary simply does not have enough information to break the encryption and so the cryptosystems are co...
I am try to multiply two polynomial quotient ring of type $R=Z[x]/\phi(x) $ in sage using Fast Fourier Transform.: a=Rq.random_element() R. = PolynomialRing(GF(40961)) # Gaussian field of integers Y. = R.quotient(X^(dimension) + 1) # Cyclotomic field ouput=Y(a)*Y(a) I have found the following code on github to ...
Introductory Chemistry course, non-science majors. I am trying to explain entropy without using the word randomness. Example: a deck of 52 cards has multiple states of card order. That we may like a particular order, say suit order, does not mean suit order has less entropy than does any other particular order. To redu...
If $M_1$ and $M_2$ are $\operatorname{OAEP}$ padded, encrypted and sent and an adversary somehow manages to get around the encryption and retrieve $\operatorname{OAEP}(M_1) \oplus \operatorname{OAEP}(M_2)$, would it be possible to retrieve either $M_1$ or $M_2$ without any prior knowledge of $M_1$ and $M_2$?
I just took over two radio systems (using 433Mhz) - one communicates with 6 bit messages, one with 14 bit messages. Both have a lots of transmitters and one receiver (and, yes bits not bytes). For the first, 4 bits are used for the ID of the device, and 2 bits for other info. For the second, 10 bits are used for the ID...
If a 4096-bit RSA PGP key is considered sufficiently long for most purposes, why are so many key blocks around 3000 base64 characters in length? Why aren't $\lceil\frac{4096}{6}\rceil=683$ base64 characters enough?
Can anyone decrypt ciphertext using a public key? I always thought we can only decrypt using a private key. In that case, what does this line in the RLPx documentation mean? Receiver receives the initiator handshake and decrypts it with its own public key. Is the author talking about verifying signatures?
I understand that biometric data such as fingerprints and face patterns are matched for recognition with a certain degree of tolerance to account for differences given by empiric factors (positioning, aging, dirt, different measurement tool, etc.). Given that's the case, how are biometric characteristics used to genera...
I need to distribute symmetric AES key into number of end points which will use it to decrypt data. The AES key will be the same on all end points, it is not possible to generate unique on every end point. I am thinking about using asymmetric keys and certificates stored on USB cryptographic token to provide access to ...
The BLS signature scheme [1] promised $b$-bit security for signature with a $2b$-bit appendix, under classical hypothesis leaving aside the possibility of Quantum Computers usable for cryptanalysis. Hovav Shacham's 2005 thesis proposed to use Barreto-Naehrig curves to achieve security comparable to RSA-1024 ($b\approx8...
I am implementing some of the algorithms in RFC 7518 and I noticed that AES_CBC_HMAC_SHA2 contains the following paragraph: The secondary keys MAC_KEY and ENC_KEY are generated from the input key K as follows. Each of these two keys is an octet string. MAC_KEY consists of the initial MAC_KEY_LEN octets of K, in orde...
I work for a company which decided last year to offer a PADES (PDF advanced electronique signature) for its clients. We don't do the advanced signature ourselves, we work with external AATL(Adope Approved Trust List) providers who generate the short-lived certificates and perform the signature on their side. Basically ...
What is the attack complexity when Grain-128 and Trivium are cascaded? Is it 2^(256 + 128) since internal state of Grain is 256 bits and assuming that IV is unknown before encryption?
I've been trying to find specific examples of where Web of Trust is being used today, but there seems to be little information about this. Are there any businesses using Web of Trust today? What do they use it for?
Attacks on a MAC that do not require the discovery of the key are possible. Consider the following MAC algorithm. Let $M=(X_1\mathbin\|\dots\mathbin\|X_m)$ be a message that is treated as a concatenation of 64-bit blocks $X_i$. Then define: $\Delta(M) = X_1 \oplus\dots\oplus X_m$ and $C_k(M) = E_k[\Delta(M)]$ where $\...
I am a graduate student interested in searchable encryption research. I carefully read the Secure Indexes paper published in 2004, and I was confused about the IND-CKA, the game-based security definition. Paper Link: https://crypto.stanford.edu/~eujin/papers/secureindex/secureindex.pdf In setup phase, the definition le...
Suppose that Alice has a certificate CA1 << Alice >> issued by the certification authority CA1, and Bob has a certificate CA2 << Bob >> issued by a different certification authority CA2. It is known that CA1 possesses a certificate CA2 << CA1 >> issued by CA2. How can Bob validate Alice’s certificate CA1 << Alice >>? I think...
There is an elaborate discussion on the breaking of TLCG on the link below, where they show how to break the generator with known parameters given the most significant bits. Problem with LLL reduction on truncated LCG schemes I tried to apply the same principles when given the least significant bits but with no success...
Having known the values for $N$ a large number, $e = 65537$ and another large number $g = d \cdot (p-17)$, how can I use that info to find out $p$ and $q$? I guess that have something to do with Fermat's little theorem and I noticed that $e$ is the largest prime number of the form $2^k+1$. Can you give me some hint? I...