instruction
stringlengths
32
27.2k
i am wondering how to break DH(small nonprime number). Let's say we don't know: $a$: Alice's private key $b$: Bob's private key And we know: $N$: nonprime number $p$,$q$: $N = p * q$ ($p$ and $q$ are prime number) $g$: the base $A$: Alice's public key A = pow(g, a, N) $B$: Bob's public key B = pow(g, b, N) Now we wa...
From my understanding, TLS 1.0 can use CBC to encrypt data. To do so, it creates one initialization vector (IV), and then uses the previous ciphertext block as the IV for the next record. I made this diagram to depict my understanding about TLS 1.0: In the diagram above, the red arrow opens up TLS 1.0 to the BEAST att...
Zero width character's can be used to hide text in plain sight.I am building a system where user's can provide their secret message , cover message and a password (key) which I would encrypt and give an output back with only the cover message which has encrypted secret message embedded as zero width characters invisibl...
This is a very basic and practical question. Since I started reading cryptography recently, these things keep bugging me. What are the things that an adversary is usually aware of before planning an attack? Let's say an adversary plans an attack on a server of a big company. Does he know what encryption scheme/model i...
I created a random integer array of 32 bytes to use as my private key for secp256k1 curve. const uint8_t secret[] = {0xb2,0x9a,0xc6,0xbd,0xc7,0x3d,0xc4,0xe1, 0x85,0xa7,0x3c,0x96,0xf8,0x1c,0x58,0x43, 0xe2,0xbf,0x2d,0x68,0xe5,0x6f,0xf6,0xae, 0x...
We consider the Diffie–Hellman key exchange scheme with certificates. We have a system with the three users Alice, Bob and Charley. The Diffie–Hellman algorithm uses p = 61 and α = 18. The three secret keys are a = 11, b = 22 and c = 33. The three IDs are ID(A)=1, ID(B)=2 and ID(C)=3. For signature generation, the E...
I am confused by how game-based proofs fit in the provable security paradigm. I understand reductions in the style of proving secrecy of RSA reducing it to integer factorization. However, when proving indistinguishability properties with game-based proofs, I cannot identify the underlying hard mathematical problem of t...
Encryption process for any outgoing packet to the specified "remote IP": -original payload P is encrypted (the bytes after the IP header) using RC4 with the preestablished key KEY to obtain encrypted payload C=RC4(P, KEY) -The encrypted payload C is concatenated with the 16 byte output of MD5(C|KEY), and the IP header ...
I am working on BFV scheme and trying to create a very simple Python implementation. I am following the paper by Fan and Vercauteren. Most of the operations are easy to implement but I am having difficulty implementing homomorphic multiplication operation. In the page 10 of the paper, the computation of $c_0$, $c_1$ an...
i have been recently learning about different types of hashing and the encryption/decryption methods of such hashes. Im currently trying to find the preimage of this hash i have been given as a homework question. user2222:$6$l4w8Hnu1/ZHGGd.p$BHENd1yKnjRcW.KcAtqcOY096A6HtQBFaWGaXkQ0TofWRy.bngwrVTlLlzdwOLRvHtesGPIrY4LGSU...
I have some trouble understanding the linearization of the degree 2t polynomial generated by multiplication in BGW. It would be great if someone could decode this linearization in simple terms from a 2t degree polynomial to a t degree polynomial. I've understood that in multiplication, we calculate r(x) = p(x)q(x) but...
I was trying to understand AES (Rijndael) from a very mathematical perspective. I'm quite new to abstract algebra and Galois Fields. I understood that we are considering a byte (8 bits) as a polynomial in $GF(2^{8}) $ where the coefficients are either $0$ or $1$ i.e. they are elements of {0, 1} and all operations are ...
If the same nonce is used across different messages under the same private key, the private key can be easily revealed. However, let's consider another scenario. Two private keys, x1 and x2, are used with the same pair of nonces, k1 and k2. Thus, for each pair of signature (r,s) and hash message h, we get: $$ s_1=k_1^{...
What I am looking for is a function that meets the following criteria: For each possible input (assume integers from [0, 255]), there must be trillions of possible outputs so as to prevent preimage attacks and is hence probabilistic. The function must be a one-way hash, so given an output the input cannot be deduced. ...
I'm reading about hash functions at the moment, and in the book I'm reading there's a section on multicollisions. Specifically, using a 2-collision to find $2^N$ collisions in $N2^N$ time. If, theoretically, a collision was found which was valid for cryptocurrency mining (however many 0s on the end), couldn't one find ...
Introduction I know how to do Cramer-Shoup with cyclic groups. But how do I do it in elliptic curve cryptography (ECC)? Cramer-Shoup with cyclic groups Following was taken from Wikipedia: https://en.wikipedia.org/wiki/Cramer%E2%80%93Shoup_cryptosystem Key Generation Alice generates an efficient description of a cyclic...
I am trying to understand how they use the random oracle to solve the CDH. For example, in the security proof on page 7 of the following paper; A Lightweight Message Authentication Scheme for Smart Grid Communications, Fouda et al. 2001. The authors used a random oracle to break the security of an authenticated DH prot...
I have seen that there is a similar question here but none that really answers the question. I understand that if I choose the encryption exponent $e$ not coprime with $\varphi(n)$ then there is not a unique way to decrypt a message. What I am wondering is what is the mathematical reason behind this? It seems to me tha...
As an exercise I'm given an RSA to attack. I have the module ($n$), the public exponent ($e$) and a single ciphertext ($c$). For this particular case, $n$ is VERY big (5 thousand digits more or less), but the public exponent is small ($e=7$). I know that, as $m \ll n$, this can cause no use of the module operation ($m^...
For practical reasons, I'd like people to be able to post clearsigned messages with their public key fingerprints (8E570D9F7F70256595769E49F9BC5BCAD7E18635) for the system to check. However, the libraries I see all seem to require a full public key certificate to do verification. Is there a way to do it with just finge...
I've recently been looking at ProtonMail, an email service which provides transparent end to end encryption between users with PGP. In order for the encryption to be transparent, ProtonMail manages all of the public and private keys. When sending an email from a ProtonMail account to another ProtonMail account, the Pro...
In pure differential privacy, the parameter $\epsilon$ represents the desired privacy loss. The smaller the $\epsilon$ is, the more privacy we can obtain. What happens when we want the privacy loss $\epsilon = 0$. Does that mean we need to keep the data permanently private and we do not answer any queries from outsid...
I am working on a project that is dealing with personal data. The task is to find a method such that when user makes a query into multiple institutions, the result will contain already scattered/dispersed data. I'll try to give an example: The user asks data from institution A and institution B. User sends the query: ...
With its public and private key(s), Wireguard looks a bit like PGP. But it is used for encryption of network packets and not normal text messages. I'm on a system with Wireguard already installed and don't want to install more programs than necessary. How, can I use a public Wireguard key to encrypt a text message whi...
I see that all cryptosystems are work on finite field. But i consider that have any cryptosystem that works on real number (do not consider the round step and it also can be an estimate cipher)
Let's say I'm making a digital signature like this: hash = hash(message) digital signature = encrypt_with_private_key(hash) where the private key is Alice's private key from a secure public-key cryptosystem. And I'm making a MAC like this: MAC = hash(message + some_secret_key) And I then send both of these to my frie...
with the information provided - what would be the best solution - something like document management program like IBM Filenet ? or trusted timestamping? If I want to store electronic contracts for clients over a long period of time. I need to make sure that those files are not readable by anyone other than the client u...
Simplified Question Does it make sense from a security / cryptographic standpoint to encrypt a text in the following way: create only one AES key K_Azure create new random key K_Text1 encrypt Text1 with K_Text1 encrypt K_Text1 with K_Azure store [ E(K_Text1), E(Text1) ] in the same storage store K_Auzre somewhere else...
I have an application that needs to combine two cascaded (symmetric) encryption keys using the Pohlig-Hellman cipher. For example: The system needs two keys for encryption $c = E_a(E_b(x))$ while it only needs one key for decryption $D_{a\otimes b}(c)=x$. The system may NOT need to consider Known Plaintext Attack or C...
I have two plain texts files cipher with RSA (with the same public and private key) and I have their cipher texts too. Would it be possible know the public key from that information? My messages have 10 characters and I cannot calculate a huge exponential operation. No padding is used on the messages before encryption....
I am testing TLS 1.3 on a slower IoT device (120Mhz ARM). In my tests Chrome with TLS 1.3 will not allow TLS resumption (Session Tickets) when you have an not secure connection e.g. because of an user accepted self-signed certificate. Additionally you will see almost the doubled number of TCP connections when loading f...
What is the best way to transform a hash with a longer length into one with a smaller length, preventing as many collisions as possible? (Hashing the hash) For example: Some versions of Git use SHA-1 for hashing commits. Of course, 15ce7ff90976b3e43738be403f5c985377646bb3 is rather large to display on a screen. Because...
I am looking into an article about 32bit CPU/MCU software implementation of AES and there are some weird changes over there. Like shift-rows. It seems that the shift-rows in the 32bit implementation is shift columns instead. So my guess is that the 32bit implementation returns different output than the 8bit implementat...
consider that an attacker has the public key $(n, e)$, where $n$ is $1024$ bits long, the $32$ largest bits of $p$ (where $n = p \cdot q$), as well as $u = p^{-1} \pmod q$. Is there an attack that would allow this attacker to perform an attack on rsa and therefore be able to decrypt a message or retrieve the private ke...
I am a beginner in cryptosystems and I hope I would be accepted in the community. I was trying to implement Singh and Singh (2015) ECC image encryption algorithm on Matlab. I have been able to encrypt and decrypt images successfully with the algorithm. However, the width of my cipher image increases by (1/group) x plai...
I was trying to make a software only implementation of AES (Rijndael). At first I was able to implement it using table lookups for the Galois field multiplication and also for the SBox, but, I really wanted to remove all table lookups as they are prone to cache timing attacks. But implementing the Galois field Multipli...
I am writing my Bachelor thesis on topic "Current state of stream ciphers". So my questions is: Which stream ciphers are used the most. So far I have A5 family, RC4, E0 (Bluetooth), Snow 3G and ZUC (5G), Salsa20 family (Chacha20) and block ciphers in some operation modes (OFB, CTR). I am missing whole lightweight crypt...
For a crypto course I need to realize a small software project where a client and a server want to communicate over a unsecured network. They both have the same secret. So I bascially have to secure Diffie Hellman against MIM attacks. Now I must admit that I don't really understand the mathematics behind DH, but I gra...
An attacker is equipped with a computer that performs 10 trillion (1013) DES decryptions per second, what is the average time required, in hours, for a brute force attacker to break DES? Key size is 56 bits. I tried 256/1013 divided by 3600 but the answer is incorrect.
I've spent the night reversing the implementation of the 'Basic Text Encryptor' from Jasypt [1]. The algorithm is defined in documentation as 'PBEWithMD5AndDES'. The implementation is this: A random 64-bit salt is generated The secret is generated as secret = password + salt for i in range(0, 1000): secret = md5...
Alright so I have some understanding of encryption and how it works. I was trying to explain it to my friend and a few others I couldn't at the time. I later came up with an analogy. How accurate is this without getting too in depth Dale, Sam, and Max are all sitting in a class room at their desks [Dale]---[Sam]---[M...
I am working on a system that includes our dear friends Alice, Bob, and a server that is only partially trusted. I have spent the majority of the day reading up on various cryptography methods, but I have concluded that I need some help to decide on the ones that best fit my use case. For starters, I do not need authen...
This is a question out of curiosity! I really don't know of any other block cipher that is as secure as AES that has a substitution permutation structure and can be used as an alternative to AES to protect implementations against cache timing attacks. Searching Google, revealed other NIST finalists, but the best of the...
So far, as I understand it, two ways to reduce the complexity of Argon2i have been found, one of which was fixed in Argon2 1.3, and one of which is still unfixed but is not a practical problem given enough Argon2i passes. What I have not seen properly explained anywhere, is whether these weaknesses effect Argon2id, or ...
Hello I'm working in a school project and I'm trying to resolve an issue. I have a server, a BLE device and a computer. The BLE device is constantly advertising data, I'm using 7bytes of the data leaving 17 bytes left and I want to use the rest of the bytes to check the authenticity of the BLE device. So, when a comput...
Assume that, in the available environment, it is not possible to use modern password hashing functions (bcrypt, scrypt, Argon2, PBKDF2, etc.), so it is necessary to roll my own stand-in, until they become available. (Or call it a theoretical question, because either way I'll learn something from your answers.) With a s...
GCM is designed to use a 96-bit nonce, which can be generated either randomly or deterministically. If you use a nonce that isn't 96 bits then it is padded and hashed with GHASH to create a pseudorandom nonce (and block counter) instead. For example, suppose that you generated uniformly random 128-bit nonces, these wou...
I have all of the Shamir's secret shares required to Lagrange-interpolate f(0), which represents an ECDSA private key. The field of this object is secp256k1, which has associated prime number p=115792089237316195423570985008687907853269984665640564039457584007908834671663. The Lagrange interpolation produces a negative...
Here is the scenario, I am signing roughly 1000 messages, which consist of 16 byte hashes, with 1024 bit RSA. The private key is only used to sign the hashes, and there is no padding scheme. The attacker has access to all 1000 messages and the public key. That is all they have to work with (no chosen plaintext ability...
This question arose from a new context under early developments. If cryptographic operations are not well chosen or badly sequenced, please do notice it along your answer or comments: I am a layman in cryptography. If you think this post should be improved, any constructive feedbacks are welcome, I am new to this stack...
I just want to know that can we write encryption and decryption formula like $C=E(P,K)$ instead of $C=E(K,P)$
Recently, I try to read some papers about Password Authenticated Key Exchange (PAKE). I can’t understand the meaning of “dummy password .” Can someone gives a concrete definition of it. And what is the difference between password and dummy password? The context for this question is the following sentence: then, we m...
I'm reading the Handbook of Applied Cryptography by ‎Alfred J. Menezes et al. Especially, I'm stuck with the case that reusing key for CBC encryption and CBC-MAC in MAC-then-encrypt structure. My question is: in MAC-then-encrypt structure, that textbook's p.367 states Example (improper combination of CBC-MAC and CBC ...
Really, I could not understand why the decryption process of CFB malleability gadget takes the next cipher block while PGP uses the previous block as shown in the equations in the attached image, I read Efail attack paper but I could not understand how it works? Could someone clarify it to me.
The scenario is described as following: Let $A$ an user that is transmitting an encrypted (with its own public key $PK_A$) data vector containing its position as $p = Enc(PK_A, [x,y])$ towards a group of users $U = [u_1, u_2, \dots, u_n]$. Is it possible that each of these users belonged to the group $U$ positioned at ...
My professor showed us the basics of DES, and then displayed this slide where the Complement Trick can be used as a way of cracking DES. Could someone explain the math to me please?
I would like to understand the linear approximation of $(x+y) \bmod 2^n$ by linear masking method in the paper refereed ""Improved Linear Distinguis'hers for SNOW 2.0" by Kaisa Nyberg and Johan Wall´en." In Page number 14 to 15, one theory has been given. I am unable to understand the $A_r$ matrix computation. Specia...
My professor showed us the basics of DES, and then displayed this slide where the Meet in the Middle attack can be used as a way of cracking DES. I believe at this stage we are doing 2DES, as opposed to DES or 3DES. Could someone explain the math to me please?
In Diffie-Hellman over $Z_p$, I know that if I choose a random $a$ in $Z_p$ and compute the modular inverse mod p-1, not mod p, then, with generator $g$ of my group, I can compute, for example, $(g^{ab})^{(a^{-1})} = g^{aa^{-1}b} = g^{b}$. I am asking if a similar process is possible over elliptic curves? If I have a g...
In Regev's lecture there is "In contrast, virtually all other cryptographic constructions are based on some average-case assumptions. For example, in cryptographic constructions based on factoring, the assumption is that it is hard to factor numbers chosen from a certain distribution. But how should we choose this dist...
Website on https://example.com/login will request client certificate authentication. If it was directly on https://example.com then using openssl s_client example.com:443 will show client certificate names. How to get client certificate names on subpath with openssl commandline? Checking with browser and Wireshark I s...
Diffie-Hellman Key Exchange Basic Protocol: Let G be a cyclic group of order $n$ and generator $g$. Alice chooses $a \in \{0,\ldots,n-1\}$ and Bob chooses $b \in \{0,\ldots,n-1\}$. Alice computes $h_A = g^a$ and Bob computes $h_B = g^b$. Alice sends $h_A$ to Bob and Bob sends $h_B$ to Alice. Alice computes $(h_B)^a =...
Is there a way to check, (with openssl command for example), if a given public key match with a private key ? Thanks
I am dealing with protocol design regarding the Diffie-Hellman Key Exchange (DHKE). The DHKE is performed by the Key Master and some Slave Component. Afterwards, a session key is transmitted using the secure channel provided by the DHKE (i.e. the session key is protected using the shared DH key). From a logical standpo...
Consider the following very simple cipher, where, to send length $n$ bit-strings, we randomly correspond the numbers $1, 2, 3, ..., N$ with $n$ bits, so the key is the correspondence between each integer and the bit value it maps to. Then, to share a bit-string, Alice will send Bob a permutation of the integers $1, 2,...
This is a follow-up to this question (thanks to answers from @fgrieu and @kelalaka ) about the format of a salt when hashing a salted password. I realize this is pretty much academic, as the proposed uniterated SHA-256 of a salted password is already acknowledged to be much less secure than trusted password storage alg...
Regardless of the KDF I will use, let's imagine that I have to generate two keys: one for authentication and the other for encryption (which will always remain on the device that generates it until logout). Of course, the key I use to encrypt and decrypt must always be the same. I read some answers on this site that su...
I've started looking into differential privacy from scratch following "The Algorithmic Foundations of Differential Privacy" by Dwork and Roth (freely available online). The mathematical notation is however somewhat confusing. On page 16, they define Probability simplex and Randomized algorithm as: Is it correct that $...
I'm building a system to authenticate users to a website via a single use login token. This token can either be included in links OR typed in directly by the user as a code. Because of that second requirement I'm interested in the token being as short as possible in order to improve user experience. There are plenty of...
I was reading a paper (Function Secret Sharing by Boyle, Gilboa and Ishai, PDF) on Function Secret Sharing and in that the author talked about a naive construction of a p party DPF wherein the truth table is additively shared. What does it mean to share the truth table and how does it help?
Background of the problem: I am undertaking a blockchain course at University and I have taken up a case study for blockchain that relates to logistics. The requirements are simple, yet I am confused with the storage segment of blockchain. Given that we have a table of deliveries to be made, I incorporate certain field...
For consistency's sake, M is the message, H1 and H2 are separate hash functions. I've heard that concatenation or XORing hash outputs together do not provide improved security against preimage and collision attacks. In some cases, they actually reduce the security instead. Therefore, consider the following scenarios: ...
The outputs I'm getting are only 2x the length of the input strings so any kind of brute force programme would be fine. Thanks.
I need some help with the following statement from the book A Graduate Course in Applied Cryptography* - Dan Boneh and Victor Shoup, in 8.10.1 The key derivation problem, page 320 of v0.5: Later, we will see examples of number-theoretic transformations that are widely used in public-key cryptography. Looking ahe...
A while ago, Hellman introduced a time-memory tradeoff for chosen plaintext attack on block ciphers. There is an innovation due Rivest using a concept of 'distinguished points'. I am looking for the original reference to Rivest's contribution. All references I have found to Rivest point me to the book D. Denning, Cryp...
I have just started learning cryptography. And I came across such a question that had troubled me for several days. The picture contains an LFSR and an S-Box. The LFSR is 32-bit long and the inside structure of the S-Box is unknown which means the whole system is keyed by the S-Box. The round function picks four bits...
I'm reading about the security of the Signal protocol (used in WhatsApp) and in particular, the X3DH part used to establish authentication, all papers seem to gloss over Man in the Middle attacks. Is it possible or not to MitM between users and the server? Seems easy on the server.
Some exciting progress to pure mathematics is due to Bourgain Springer - Multilinear Exponential Sums in Prime Fields Under Optimal Entropy Condition on the Sources with applications to randomness extractors and gave the first two source extractor with min entropy rate <0.5 Since this paper there’s been other innovatio...
I wrote a small code to compute the time consumption by the AES in CBC mode, I noticed that the encryption is faster than the decryption, my question: Is my result correct? If yes, why is the encryption faster?
Sorry for not having a better name, but I cannot seem to find a better name. Each client will append an element $a_i$ to the server at some time, and the server keeps appending the element to the database $\{a_1,a_2, \dots, a_i\}$. Is there a way for the server to "cryptographically" prove to the clients that it behav...
Let $H : \{0,1\}^*\to \{1,\dots, 2^{256}\}$ be a hash function. Let $p > 2^{256}$ be a safe prime, and $\alpha$ a primitive root for $p$. Define: $$H'(m) = H(m || m),\quad H''(m) = \alpha^{H(m)}\bmod p$$ Where $m||m$ is the concatenation of $m$ with itself. I am confused how when given hash functions like this, how to ...
I'm reading the paper "Quantum secret sharing" by Hillery, Bužek and Berthiaume (Phys. Rev. A, 1999; preprint on arXiv) and I have a question about it. Let's say Alice wants to send Bob qubit in state $|\psi_A\rangle = \alpha|0\rangle_A + \beta|1\rangle_A$, and she has one qubit from GHZ state $\frac{1}{\sqrt 2}(|0\ran...
There have been lots of DPA researches against block ciphers. I was wondering if we use a cryptographically secure hash of an incremental counter as a stream cipher, will it withstand DPA attacks? Ciphertext = Plaintext ⊕ HASH(counter) My assumptions are: The initial value of the counter is kept secret; There seems...
I a problem that essentially boils down to the following: There is raw data, D, encrypted with key K (call its encrypted form E). The same raw data, D, is also encrypted with key K' (call its encrypted form E'). Given E and E', and also secure hashes of K and K', it should be verified that D was properly encrypted both...
Has anyone encountered an encryption method that compresses the cipher text to a single byte at the expense of inflating the key. If yes does it have a practical use?
I am currently making a Python game where the user's high score gets encrypted and stored in a log (a text file). The reason for this encryption is because I don't want the user to be able to enter something (say, 1000000) into the text file. Is there a function that, given a string, will generate a string that looks r...
I'm implementing Schnorr signatures following a variant used in Bitcoin Cash (BCH) of this algorithm: GitHub - Schnorr Signatures for secp256k1. A notable difference is that the BCH schnorr algorithm uses this variant: IETF - Variant for k calculation. I'm in scala using bouncy castle from Java. I calculate k by using ...
I need to decrypt a ciphertext which is short, and I have the first word of the plaintext. I thought of doing a probable-word attack, but I already know the position of the known word. In addition, subtracting word from cipher gives a random sequence, which makes me kind of hopeless. So consider this is the ciphertex...
Given haphazard large integers $a$ and $b$ (like few thousand bits), can we efficiently find (and how) some integer triplet $(p,x,k)$ with $p$ a large prime (like a thousand bits) $a^x\equiv b\pmod p$ $k$ sizable (say of 10 bits or more if possible) and dividing $p-1$ $a^{(p-1)/k}\equiv 1\pmod p$ These conditions mat...
I have been reading a bit about encryption algorithms. I have come across these two algorithms.My use case is the ability to work with encrypted data and my data will be string data. I see that homomorphic encryption works with only numeric data. I have read that homomorphic has scalability issues as it creates a 100x ...
I multiply 2 numbers using their polynomial representation and addition via XOR. Do I need to find the remainder of the division by $x ^ 8 + x ^ 4 + x ^ 3 + x + 1$, using the operator "%" or by division, using the rules of finite fields?
This is how I understand digital signature verification to work in general: Plaintext gets run through a hashing mechanism to make a message digest (IBM's terminology, there appear to be plenty of other terms for the hashed data). Message digest is encrypted using sender's private key. Both encrypted message digest a...
I don't quite get the algorithm yet. Sometimes it works and other times it doesn't,so clearly I am overseeing or misunderstanding something. I will just write what I did. My $N=143$ and has factors $p=11$, and $q=13$. To determine my second public number: $R=(p-1)(q-1)= 10 \cdot12=120$. So the second number can not ...
I knew the reading on a car odometer can be easily modified with the help of some softwares. But isn't there MAC to protect the reading from being modified?
I've seen it posted on different forms here and here that explain how java.util.Random library uses a linear congruential pseudorandom number generator which can be cracked using two values. Can this type of exploit go one level deeper and guess the nextByte data used to fill in the rest of a BigInteger value? private ...
I have been going over the CKKS Homomorphic Encryption scheme but I can't seem to understand how the mapping takes place while encoding. I don't get what the line below is trying to convey. I saw this line in a post on Reddit. It would be super great if someone could illustrate this scheme with an example. Thank you! ...
I am using LibVLC and Unity to playback locally stored encrypted 360 videos. VLC's Unity package has a feature to play content via a C# stream. I am using a FileStream wrapped in a CryptoStream to get this working. This works for medium to small videos however, larger, high bitrate videos don't playback properly with m...
The purpose of the authentification is to ensure the data integrity. Let's just focus on the authentification part of the GCM which is using the Galois field multiplication to create an authentification tag. Eventually, this tag will be verified on the receiver side. Say today I already have a CRC32 scheme that used in...
The content I ask in this question is in the following picture in GPV08. I do not understand the sentence computing the syndrome $\bf{Ae} \mod q$ for some $\bf{e} \in \mathbb{Z}^{m}$ is equivalent to reduce e modulo the lattice $\wedge^{\bot} (\bf{A})$. Is it to say they are bijective or they are even equivalent in ...
The content I ask in this question is in the following picture in [GPV08][1]. I do not understand the proof of the first claim in $\bf Lemma$ 5.2. In the proof, which reprensents the uniform distribution over $\mathbb{Z}_{q}^{n}$ and which represents $\bf{u=Ae} \mod q$. Could someone explain it to me? Thanks! [GP...