instruction stringlengths 32 27.2k |
|---|
Do cipher suites that use static Diffie Hellman (not Ephemeral) allow for the same 3rd party decryption ability as RSA cipher suites?
With RSA key exchange, 3rd parties can gain possession of the plaintext random numbers that flowed in the Client and Server Hello records.
If also in possession of the server's private R... |
MySQL's old mysql_native_password hashing scheme was the equivalent of this in PHP:
sha1(sha1('password', true));
That's a hex-encoded SHA-1 hash of a binary SHA-1 hash of the password, without any salting.
MySQL 8.0 introduced a two variants of a new hashing scheme based on SHA256 called caching_sha2_password and sha... |
Suppose we have a threshold ElGamal cryptosystem $(t, n)$ over an Elliptic Curve $E_p$, $p$ being a large prime, with the following parameters:
$G$ is a generator point of $E_p$ with order $q$
A dealer chooses a polynomial $f(x) = s + a_1x+...+a_{t-1}x \in Z_q[x]$ and $s \in Z_q$ is the secret key of the cryptosystem... |
We can use Fiat-Shamir heuristic to replace 3-move Schnorr's protocol with 1-move non-interactive protocol.
When I implement this non-interactive protocol( ref. https://en.wikipedia.org/wiki/Fiat%E2%80%93Shamir_heuristic): That is
Let $G$ be a cyclic group with order $q$.
Peggy needs to prove that she knows $x$ which i... |
I have to pass a 6 digit number which has to be kept very secret through a unsecured netwok.
I am thinking to hash it using hmac and a secret key which only me and the reciever knows
So the code for hashing is
key = b'SOME_SECRET_KEY'
message = b'6_DIGIT_NUMBER' # eg: b'123456'
hash = hmac.new(key, message, sha1)
I h... |
One rationale for Lai-Massey design is to achieve full diffusion in a single round compared to SPN and Feistel (hence less rounds number) due to use of multiplication-addition (MA) function. However , it is not as common as SPN and Feistel structures.
Are there other advantages/disadvantages of Lai-Massey over SPN and... |
I just went through https://www.rfc-editor.org/rfc/rfc7539#section-2.6 (sections 2.5 and 2.6). There it is described how to generate one-time Poly1305 keys using the ChaCha20 block function (for this a 96-bit nonce is required).
I am asking myself how this is "better" or "more secure" in comparison to just use the key ... |
We assume that we have $n = pq$, where $p = 2p'+1$, $q = 2q'+1$, and all $p, q, p', q'$ are large primes. Pick $g' \gets_R Z_n^*$, and compute $g = (g')^2 \bmod n$. Then we have a generator $g$ for $QR_n$. The order of $g$ is $p'q'$.
Both prover and verifier are given $n$, $g$, and $h = g^x \bmod n$. The prover is give... |
In Foundations of Cryptography II, Goldreich, the basic mechanism of encryption schemes is written as follows:
Definition 5.1.1 (encryption scheme): An encryption scheme is a triple, $(G,E,D)$, of probabilistic polynomial-time algorithms satisfying the following two conditions:
On input $1^n$, algorithm $G$ (called t... |
I am having problems understanding this implementation of Shamir's secret sharing with confidentially levels (in this case 3).
I will give the context and then my problem to make it more clear.
Context:
in some security system, to share a secret S, they use Shamir's secret sharing. the users in the system are divided ... |
In the article https://crypto.stanford.edu/~dabo/pubs/papers/strongsigs.pdf there are two definitions for the security of a digital signature scheme: existential unforgeability and strong unforgeability. The difference is that while in the "existential" condition is fulfiled only if the attacker cannot forge a signatur... |
Suppose you have a string AAA that was hashed with SHA1 to produce 606ec6e9bd8a8ff2ad14e5fade3f264471e82251.
If I rehash 606ec6e9bd8a8ff2ad14e5fade3f264471e82251 10x times with the same SHA1 algorithm, would the entropy keep on decreasing?
If so, would it ever reach a dangerous level to a point where AAA could be recov... |
I'm not sure how to compute the second challenge when applying FS to a 5-round protocol. I've seen TWO different formulas (with and without including the first challenge) and don't know which one is correct.
Suppose we have 5-round interactive protocol for some statement $st$:
$P$ → $V$: $x$ means prover sent $x$ to ve... |
We used to use CRCs to check the integrity of files. For safety analysis we could associate a probability for detecting a corrupted bit in a large file. Now we are using an RSA Signed SHA-3 hash for authentication.
Are there any methods to calculate the probability two files of the same size to have the same SHA-3 has... |
In Homomorphic Encryption from Learning with Errors: Conceptually-Simpler, Asymptotically-Faster, Attribute-Based, Gentry et. al defined Flattening as follows;
Let $\vec{a},\vec{b}$ be vectors of some dimention $k$ over
$\mathbb{Z}_q$. Let $\ell = \lfloor \log_2q \rfloor +1$ and $N = k
\cdot \ell$
Define $\operatorna... |
Given a message $m$ of size $n$, a key $k$, and a message authentication code $mac = poly1305(m, k)$ what is the minimum amount of bitflips on the message that can be corrected (or at least detected) by someone who knows the corrupt message, the mac code, and the key?
|
There are notions that a Zero-knowledge proof with auxiliary input is necessary for sequential composition. However, the authors here give a very convoluted example of a system which is not sequentially composable under the original ZK definition. Could you please give me an example where the original definition by Gol... |
At the moment I am trying to find a practical way to implement a linearly homomorphic signature.
Background:
"In a homomorphic signature scheme, a user Alice signs some large dataset x using her secret signing key and uploads the signed data to an untrusted remote server. The server can then run some computation y=f(x... |
I am new to cryptography concepts.
I am trying to protect some firmware download.
Reading some Wikipedia pages, I understand that asymmetric cryptography is time consuming, so, if I want to protect my download not only for authentication (I think I understood what to do for that), but also for sniffing, I need to crypt... |
We have a Thales HSMS and upon going into the Cipher Suite, we have the DLf3072s256mRijndael cipher. What is this cipher and how does it work?
Is this an AES encryption? What does DLf mean? what about s256m?
The only information I can find is on here
|
Does anyone know an example of an Elliptic Curve of caracteristic $p$ ($E_p$) that has a point generator $G$ that generates a subgroup of order $q$, with $p$, $q$ being prime numbers and $p = 2q + 1$?
|
I am wrapping the RSACng class from the .Net API.
Whilst unit testing, I run checks against an array of possibilities:
Key Size = 1024, 2048, or 3072 bits
Padding Mode = PKCS v1, or PSS (=PKCS v2?)
Hash Algorithm = SHA-1, SHA256, SHA512
I test for all 3*2*3=18 possible configurations. All tests pass except one combin... |
I'm asking this question to have a professional opinion about this, and to check if my assumptions are correct. The question derives from few comments I exchanged on SO: Problem with login I can login with any username and password
Take these three different methods to 'secure' a password in your DB (pseudocode):
One:... |
Suppose DES is applied 4 times with 4 different 56-bit keys ($k_1$ to $k_4$). By using meet-in-the-middle attack, what is the number of cryptographic operations required for known-plaintext attack?
The given answer:
For each pair of $k_1$ and $k_2$, we need 2 encryptions and 2 decryptions.
There is a total of $2^{112}$... |
As I understand it, a plaintext encrypted using a One Time Pad is uncrackable because all possible plaintexts of the same length are possible. As a concrete example, if you decrypt the first 3 bytes of a 4-byte plaintext that you know is in English and get "HEL" (and you knew that was correct somehow), that does not he... |
Despite the frequent claims that Ed25519 is more secure against side-channel attacks than (for instance) signatures performed over NIST P-256, I noticed that most implementations (including the original submissions) rely on table look-ups performed with secret index to achieve high performance.
That is notoriously a bi... |
I have one doubt from CP-ABE KeyGen algorithm (paper).
In Setup, master key is $MK=(\beta, g^\alpha)$.
In KeyGen(MK, S), they say generate random number $r$ and compute $D=g^{(\alpha+r)/\beta}$.
How one calculates $D$ from $g^\alpha$ ? ($\alpha$ is not part of $MK$).
Does he calculate $1/\beta$ and computes $D$ as bel... |
I saw this exercise for evaluating the security(confidentiality, integrity, authenticity, and non-repudiation) of some schemes:
ENC(M) || SignA(ENC(M))
ENC(M || SignA(M))
SignA(ENC(M))
ENC(M) || SignA(M)
Where || is concatenation and ENC (is encryption on secure shared key) and SIgnA is RSA Signature of Alice.
My ans... |
In the double ratchet algorithm, let's say if bob's device is compromised including his long term key.
Does the ephemeral keys generated by Alice during the half Diffie–Hellman key exchange produces a new sending chain for Alice which is not yet known to Bob.
Also does the messages from Alice still have the non-repudia... |
At first I asked this question on Stackoverflow, where I was advised to ask here. So there is the question:
I have a system of pretty simple equations:
$x + y = A$
$f(x,y) + y = B$
$A, B$ are known. All of the variables are 64-bit positive integers, including $f(x,y)$.
But the problem is that $f(x,y)$ uses bitwise op... |
I have a power trace of a decryption.
It seems like I'm watching a 18 rounds decryption algorithm.
I cannot think about any other algorithm implemented in ASIC except Cammelia who has 18 rounds.
Which other algorithms are commonly used in ASIC and has 18 rounds ?
Also it seems it receive 128 bits block size.
|
I've got a theorical question from an exercise.
Here it is:
--- Exercise beginning ---
There are ways to convert a block cypher onto an FPE. One of them is the following:
Let $E_{k}$ a cryptographic primitive with size n.
$FPE_k(x)$ a cryptographic primitive with $P = C = {0,1,..., m-1} $ with $m < 2^n$
The pseudo-c... |
I would like to provide a public/private keypair to a user, but require that the user obtain an authorizing key before being allowed to use the private key. I don't want the authorizing party to have the private key -- instead, it should have something like a key-encrypting key that the user can use to decrypt the pri... |
I'm in a beginner's cryptography class and I'm trying to figure out if I'm doing something wrong, or if I just don't understand why something is the way it is.
I created a simple .txt file of 124 bytes and encrypted it with AES-CBC three times: twice with the same IV of '135797531', and once with a different IV of '246... |
Forward security can be achieved using symmetric encryption schemes by combining with a pseudo-random number generator (PRNG). Does LFSR based PRNG provide forward security in this case?
|
I've been reading about the famous X25519, a montgomery curve from wikipedia and in that article they say that we do not have to check for point validity. Is it because that any $x < p$ satisfy the curve equation ? Is this possible for X25519 because it is a Montgomery curve or because it was specifically designed to... |
Given an AES key that is wrapped using another AES key, the second one being generated using PBKDF2, and given that I know the wrapped key: can I derive the passphrase that went into the PBKDF2? (asking for a friend)
|
If I have an encoding function $f(x)$ that maps a message $m$ to a point $P$ on a suitable Elliptic Curve $E$ . If I have the public key $Q$ of my recepient then I can encrypt the message as follows:
Choosing a random number $k < n -1 $ where $n$ is the order of the curve E .
Calculating $C = [k] G $ where $G$ is the ... |
I want to use lwe estimator to find classical and quantum security of my proposed key exchange protocol. On this website, I want to understand the output of sage code on lwe estimator given bellow.
sage: load("estimator.py")
sage: n, alpha, q = Param.Regev(128)
sage: costs = estimate_lwe(n, alpha, q)
The output is
... |
Ted here (What does the term "differential" in "differential privacy" mean?) describes the difference between local and global sensitivity as
"By contrast, local and global sensitivity are only tools to build differentially private mechanisms: they measure how much changing the data of one user will change the output o... |
I have found this figure of a mode of operation using a triple AES with m||IV+ctr input:
I suppose it's a custom mode of operation since I haven't seen it anywhere else. My question is if it is IND-CPA, and how to prove it in an adversarial model?
|
I'm using AES/ECB with PKCS5 Padding (From what I've read, PKCS7 Padding is actually used internally) and PBKDF2(HMAC-SHA256) to encrypt some passwords in Java. I enter a password, that goes through PBKDF2 and gets a hash, which I use as a key for encrypting. PBKDF2 is set to output a 128b key.
I've realised, that whe... |
I have rar with protected pass.But I have the AES-256 key can I crack it and if I can. how?
|
I'm really struggling to understand CFB mode (with DES if that matters). I realise after searching around here that these modes are now obsolete but I need to understand them for class. From wikipedia, I see that for encryption:
$$C_i = P_i[:s] \oplus E_k(S_i)[:s]$$
$$S_0 = IV$$
$$S_i = (S_{i-1} << s) | C_i$$
(I'm usin... |
I'm trying to figure out how padding works by seeing what happens when I try to encrypt a 16 byte file with AES-128-CBC. My understanding was if I encrypt a file of size, say, 28, then there would automatically be 4 bytes of padding to make it 32. But when I encrypted my 16-byte file, the size ended up being 48 bytes. ... |
In Elliptic Curve ElGamal if I reuse the same randomness to get the same point $R$ for different messages, how can it breach its security ?
Can you please illustrate with an example?
Please see my earlier question here for further details
Thankyou everyone in advance!
|
We are planning an application that must store sensitive data.
Data is coming from other sources, the application will be a "collector" of third party data.
We need to encrypt database data so no one (also DB admin) can read DB data except the customer.
If data were inserted directly by the customer, we could have encr... |
An article last month claimed that Toshiba Corp. and Tohoku University recently broke the record for the amount of data encrypted using quantum key distribution by transmitting "a few hundred gigabytes".
But QKD is merely a protocol for transmitting symmetric keys - the actual encrypted data is later sent over an insec... |
As far as I know, AES-CTR depends on nonce. If I will use same key and nonce for encrypting 1 block of data and another - it will be unsecure. So, how can I encrypt a huge block of data (about 1GB) using AES-CTR?
|
Let say we have $N=pq$ (Both $p$ and $q$ are safe primes, meaning $\gcd(p-1,q-1)=2$)
let's assume $e$ is an odd number which can be efficiently factored and assume that we know the $e$'th root of 1 modulo $N$ - call it $r$ - as well es $e$ and its prime-factorization. There is a claim that knowing the $e$'th root of 1 ... |
Using 7-zip 19.00, on Windows 10 1909, build 18363.592, I encrypted a text file with the contents "hello there" using AES-256 and the password "123". I did this two times, the exact same procedure, but as shown below, the output is different:
Why?
|
What can be a theoretical and efficient way of protecting traffic metadata (packet size, timestamps, packet count) of enterprise when traffic is redirected to the SGX enclave residing in a cloud provider for processing. I have setup an IPSEC tunnel between the gateway located in enterprise domain and enclave but after ... |
I'm prototyping an app that uses client-side password hashing in order to hide the "real" account password from a server (the server hashes any recieved password anyway, so no plaintext records in the database). It seem to be a controversial thing to do but I didn't find any convincing arguments against it (I'm new to ... |
I've been researching cryptographic modes and came across an obscure mode called interleaved CBC (ICBC). I can't find a lot about it and am wondering if anyone knows anything more.
It's basically CBC but where instead of chaining the last block you chain the n-mth block where m is some constant. This allows some amount... |
For example, let's use secp256k1, the curve used by bitcoin, y^2 = x^3 + 7, and x=12. Over the real numbers, that calculation is trivial - I can simply use a calculator. But in a finite field, how does it work? If I say "X is 12", how do I calculate Y? The equation (when using real numbers) almost always results in fra... |
I have bought a TPM Chip: SLB9670.
It can be communicated via the SPI Bus.
What is the SPI frame format for firing TPM Commands with or
without arguments. I have read the TPM Main Specifications documents
but haven't found much help. Can someone please help me with this.
|
Suppose we have some elliptic curve defined over $\mathbb F_p$, with $p$ a large prime. Let $n$ be the number of points on the curve. I am interested in what is currently known about the probability* that $n$ is prime (i.e. some reasonable lower bound on this probability).
$n$ is well-known to be within the "Hasse-Weil... |
I am learning about cryptography from diverse sources, and I have found terminology a bit confusing.
In principle, I understand the difference between the symbolic model and the computational model. However, then I am confused when I see things like :
information-theoretic security,
computational security,
concrete s... |
Backstory
Crypto AG was a company located in Switzerland that specialized in communication security. They produced a number of encryption machines (some similar to the infamous Enigma) used for secure communication.
The company was secretly bought in 1970 by the CIA and the German intelligence agency BND. It has recent... |
I was reading a question about ICBC here and it mentioned that you would need a $s \cdot n$-bit $IV$ if you would use $s$ "stripes", where $n$ is the blocksize.
Say that we don't like transmit that amount of data, would it then be safe to use the following generation of $IV'$ for ICBC, so we can use an $n$-bit $IV$ aga... |
Take a bijective polynomial of degree $2 \bmod 2^{64}$ like:
$m = (n(n+1)/2)\ \bmod 2^{64}$
It is bijective and can trivially be inverted for numbers up to $2^{32}$ by calculating $\lfloor\sqrt{2m}\rfloor$ . For all other numbers the inversion is not that trivial but I have the feeling it could be done without brute fo... |
Suppose I use a relatively insecure hash algorithm to digitally sign a contract. Suppose also that creating a fraudulent contract with the same hash, a collision, is practical. As I understand, in order to take advantage of a hash collision, the black hat is required to introduce some contrived information into the dat... |
For the Miller-Rabin probabilistic primality test, we can apply it to test a big number whether a probably prime number or not. Does there exist a method to test a higher-degree polynomial over $GF(2^m)$ whether it is an irreducible polynomial or not? Note that the coefficients of the polynomial belong to $GF(2^m)$.
Th... |
Could you mitigate all timing attacks by putting a sleep(random()) with a naive crypto implementation? Eg if your implementation looks solid, but you're not sure what the next CPU cache vulnerability is around the corner, would this be a legitimate mitigation strategy?
To clarify, this would be a random delay measured ... |
I have a 16 byte file, and after encrypting it, its size weirdly changes.
> hexdump -C 1.txt
00000000 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 |aaaaaaaaaaaaaaa|
0000000f
> openssl enc -v -aes-128-ecb -nosalt -base64 -in 1.txt -out 2.txt
...
bytes read: 16
bytes written: 45
It becomes 45 bytes.
Why i... |
I found some errors in the RingCT 3.0 paper (https://eprint.iacr.org/2019/508.pdf) in the ring signature chapter.
This makes it impossible to implement this algorithm.
Namely:
In the chapter “C.2 Ring Signature with Logarithm Size”/”Challenge 2” was defined:
x = H5(v, w, y, z, T1, T2, m)
At that, the variable v is not... |
I'm looking for a hashing function that can combine random numbers together in any order yet still find the same value. But it needs to be secure against hackers.
The idea is if I'm hashing together: $A, B, C$, and $D$
Where hash of $x = h(x)$:
I'm looking for a hash function that allows:
$$h(A+B+C+D) = h(A)+h(B)+H(C+D... |
I would like to implement fast DES decryption using Bitslice technique.
Without bitslice DES technique, I have already done decrpytion in this source code by changing the for loop from 15 to 0.
In this source code there is no decryption function for DES. How to implement decryption function using the encyption routine... |
This is not homework, but a question from an exam.
Let $G(x)$ be a PRG with expansion parameter $\ell(n)$.
$$G'(x) = G(x) \oplus (x \mathbin\| 0^{\ell(|x|)-|x|})$$ where $\ell(|x|) = |G(x)|$
My intuition is that it is a PRG, first, $n$ bits are just XOR between $x$ which is random, with $G(x)$ which is a PRG, and the r... |
I am currently doing a survey on group key, and throughout my readings, I stumbled on these different terms: Group Key agreement, Group key Sharing, Group key distribution, and Group key establishment.
My question is the following: is there a meaningful difference between those different terms? because what I know is a... |
I have a question regarding the headings in cryptography. In python, in the pycryptodome module, I am doing symmetric encryption, which asks for a header that goes as follows:
Cipher = Crypto.Chiper.AES.new(key)
Cipher.update(HEADER)
My question is, how do I configure the header correctly? I've seen examples of just p... |
I created a new, unknown symmetric encryption algorithm. It looks like it's very fast and can be useful. I'm kind of independent researcher, hobbyist. Since years I'm interesting in Kakutani's problem and it's generalizations. And that's why I was abble to create it. I'm not a matematician with academic degree, what's ... |
Wikipedia claims that given an unkeyed permutation $p$ (presumably of the same size as the key) this is safe: $p(m \oplus k) \oplus k$
Why isn't this construction used instead of XEX? Surely unkeyed permutations should be faster than keyed ones since they do not have a key schedule, is there some issue not mentioned by... |
An old project that I did not code is using the KDF3 algorithm, but I struggle to find an explanation about the way this key derivation algorithm works.
I know that this algorithm is part of the ISO-18033-2:2006, but it is pretty expensive.
Can someone explain it to me ?
|
I'm investigating a correlation power analysis on a black-box ASIC I have.
I want to learn about correlation analysis and it seems this ASIC implements Camellia.
I searched for researches that did CPA on Camellia but it seems no-body did it.
I have 2 questions.
1. why ? is this algorithm resilient to CPA ? if it is t... |
I would like to use GCM/GMAC in next manner:
abcd|Tag0|efgh|Tag1|ijkl|Tag2| ... |wxyz|TagN
The nuance is each tag I gonna generate is not from its last block but the all previous plain- or cipher text preceding last tag. Otherwise speaking, last tag let authenticate the whole received stream, for example:
Tag0 authent... |
It is easy to see that both Paillier and Goldwasser-Micali are homomorphic addition schemes and are secure, but what would be the advantages of choosing one over the other?
|
I encrypt data with this command:
openssl aes-256-cbc -a -salt -in C:\Users\User\secrets.txt -out C:\Users\User\secrets.txt.encs
The program then asks that I...
enter aes-256-cbc encryption password:
Is the encryption password the same as the key? Where is the password or key stored?
|
Assume I encrypted 1000 Integers using the pallier cryptosystem.
Since each time I encrypt a number using pallier I'm using a random r element from Z* then the encrypted numbers aren't in order anymore i,e: we have 2<3 but Enc(2) with pallier doesn't necessarily mean it is < then Enc(3) with pallier.
So how would it be... |
So I was looking at Lamport signatures and trying to figure out if there is a way to reduce the key size and signature. I stumbled across something that is tiny (125 times smaller signatures and 500 times smaller public key) and almost as secure but it has a catch.
So, I realized that Lamport Signatures get their secur... |
I'm trying to understand this LWE public key system
say I use matrix A = [[44, 73, 20, 54],[92, 19, 78, 22],[31, 34, 94, 29],[82, 32, 70, 68]]
q = 97
bit = 1
and secret key s: [56, 90, 0, 46]
and secret error vector e:[1, 0, -1, 0]
then B = As+e mod q is [73 17 18 27]
Bob's secret is [1, 0, 1, 1]
Bobby computes u = A*... |
My question is two-fold:
Say I am given a total black box and I have n number of plaintexts as inputs that map directly to $n$-number of ciphertexts as outputs. This is all I know, and I do not have access to the algorithm. Is it possible to conduct a known-plaintext attack?
In the event that I do have access to the a... |
I recently found out about Quark here.
Apparently it is a proof-of-work algorithm used by several cryptocurrencies and is based on a single-level hash function, which consists of 9 different levels of encryption by six cryptographic algorithms. It also says that Quark provides a "64-bit" protection against hackers.
Isn... |
I've been recently implementing the chacha20 stream cipher with Poly1305. As the core operations which make up the Quarter Round of chacha20 (ARX - Addition Rotation Xor) are indeed reversible, does that make reversing the ChaCha20 possible if an attacker knows the 512 bit key stream generated by the function, by a kno... |
Suppose we have a secure PRG $G: \{0,1\}^s→ \{0,1\}^n$ and we define a $G'(k)$ as:
$$
G'(k) = G(k) \| G(k)
$$
So if $G(k)=\mathbf{i}$, $G'(k) = \mathbf{i} \| \mathbf{i}$
Is $G'$ still a secure PRG?
Based on my own understanding it should be, because the statistical distinguishers will produce the same analogy of zeros ... |
I came across an exercise "custom" block cipher which looks like a counter mode implementation, but it is not exactly it. I want to check if this scheme is IND-CPA secure.
Here is a picture of the scheme:
I have already ruled out the following attacks:
1) Using the raw CBC attack, due to that it behaves like a counter... |
This might be a very easy question. Let's consider cryptographic hash functions with the usual properties, weak and strong collision resistance and preimage resistance.
For any given output, obviously there are multiple inputs. But is that necessarily an infinite number of preimages, for any given hash value?
How would... |
[Question edited at the request of Mods]
I recently became fascinated with the elegant and simple solution that Chaum proposed for the Dining Cryptographers problem. If you are unfamiliar, please checkout Wikipedia for a summary and solution.
What is interesting is that DC-Nets allow for participants in a group to shar... |
I've read online that the Goldwasser-Micali scheme can only encrypt 1-bit then I read that in another pdf that that scheme can encrypt a message of multiple bits so I'm confused. Can anyone clarify please?
|
I'm trying to use the Microsoft SEAL library in order to do Matrix multiplication. That's why I'm trying to find a way to compute the Dot Product of 2 vectors.
My issue is that the CKKS encoder in SEAL encodes entire vectors. So if I had a 2D vector of floats I get a 1D vector of Plaintext (and then a 1D vector of Cip... |
I have been assigned this hex file :
https://drive.google.com/file/d/1EeidY67VuIddIC-e-xiiKhth1ucMhM_r/view?usp=sharing
The goal is to decrypt it to something meaningful. The only hint given is that the 1st letter of the plaintext is P.
I have tried so far:
Caesar Cipher
Simple key addition/subtraction
Simple key a... |
How much is it possibile to devide $E(m_1+m_2)$ by $E (m_1)$ to obtain $E (m_2)$ based on the fully Homomorphic-encryption property which says;
$$E (m_1) * E (m_2) = E (m_1 + m_2)$$. And if yes what are the the requirements to apply this property?
|
I'm doing some research about full homomorphic encryption (FHE). As I figured out, algorithms are implemented in circuits. I suppose that they are called circuits because the Holy Grail is to realize a NAND gate and then be able to do any kind of logic with that.
My question is: how does homomorphic encryption deal wit... |
In the context of fully homomorphic encryption, what is the difference between bootstrapping and recryption, since both offer the same result which is trying to eliminate/decrease the noise budget.
Description of bootstrapping:
In certain homomorphic encryption schemes, arithmetic oper-
ations on ciphertext can be perf... |
Let we have three encoded messages with length $3*456$ bits in A5/2 encryption. Can we use the same frame counter in the encryption process or we must use different?
(E.g. this because in the below attack, attacker consider same 22 bits frame counter in the encryption and decryption algorithm with three messages. )
htt... |
I've read in a pdf written by Ayantika Chatterjee and Khin Mi Mi Aung whose title is "Fully Homomorphic Encryption in Real World Applications" that it is possible to implement a bubble sort algorithm using certain Fully homomorphic libraries to be able to compare and sort messages while they are encrypted, here is a sn... |
A question for the crypto-experts to help out a somewhat confused guy: why does PFS (perfect forward secrecy) also exist in phase II as well as in phase I?
Rationale:
In phase I ISAKMP, the result of main mode is following keying material:
SKEYID_d = prf(SKEYID, g^xy | CKY-I | CKY-R | 0)
SKEYID_a = prf(SKEYID, SKEYID_... |
Assume you have:
A truly random one time pad, $P$
A plain text message, $M$
Two symmetric ciphers, $C_S$ and $C_W$, where $C_S$ is always more secure than $C_W$
Assume the keys have already been securely exchanged and the attacker intercepts everything Alice transmits.
In theory, can $C_S(P \space \oplus \space M)$ a... |
I understand that a few ransomware have used an RSA public key to encrypt all files belonging to the victim. This is a bullet-proof system in terms of its security because the private key is always safe with the hackers.
But most ransomware use the hybrid encryption approach and during that they make mistakes allowing ... |
This question is based on my recent observation of preferences of certain email service providers and banks to use AES related symmetric ciphers over the more fast ChaCha20 Poly1305 . For example Google's Gmail browser version uses AES 128 GCM but Google's Search uses ChaCha20 Poly1305 ?
Is AES 128/256 GCM in any way... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.