instruction
stringlengths
32
27.2k
I understand that attempting to brute force the decryption of a message coded with a one time pad results in generating every possible message. The Wikipedia example is that decoding "EQNVZ" with key "XMCKL" produces "HELLO", but the key "TQURI" produces equally plausible "LATER". However, a "more random" one time pad...
Assume that I have a huge file, which I split up into blocks. Each block is hashed with a hash function of $x$ bits. The chance of an error going undetected in a block should therefore be $1/2^x$. Now, let's assume a block is $y$ bytes in size, meaning there are $2^y$ possible values for that block of data. As $y$ g...
I was wondering someting : Doing a XOR with a fixed length key on txt files is not secure. Basically : My key is "abc" abc|abc|abc|abc|abc|abc Thi s i s s ome dat a THIS, is not safe. BUT ! I was asking myself : why can't I just make a self generating infinite length key ? The user gives me a passwo...
PBKDF2 can be used to derive a key from a passphrase, having in input the passphrase, the chosen number of iterations to slow down a brute force attack, a random salt and the chosen keylength. In its implementation it needs a PRNG which can be, for example, HMAC-SHA-something; but HMAC needs itself a key together with ...
I'm trying to understand the cost of operation in elliptic curve (only Weierstrass curve for simplicity) from Wikipedia and there seems to be lack of online information/papers regarding this. I understand the concepts of EC, EDSA, point addition, multiplication, inverse and doubling. My question is: what does the value...
I recently came across the following idea, does anyone know a name and if it is used? A wants to send B a message (A and B know both have a common secret key) and C wants to intercept it (without the knowledge of the key) Now we assume they have an encryption method that lets you define two distinct messages for two d...
I need digital signature scheme with following rules: Signature is "anonymous" which means it doesn't expose author identity (See papers in this answer. Anonymous RSA version or Boneh-Boyen algorithm satisfy this clause). Author can create some anonymous signed message and then create another anonymous signed messages...
With the use of Merkle Trees, you can prove the presence of an element of a very big list, with an amount of information logarithmic in the size of the whole tree. Merkle proofs, thus, probabilistically confirm the result of this specific fold: isMember :: ∀ t . List t -> Bool isMember e = foldr (\ h t -> h == e || t) ...
Given a substitution cipher having a key with n alphanumeric characters, if an attacker knows p characters in the key, how many operations per key are required by his computer to compare a permutation with the known characters (and return it if it matches)? Example: key is 5 characters that could be A-Z/0-9, so n = 5 ...
While looking though some code base I found the function which has no explanation and does something like this (pseudocode) func something(str, num) { // str is a string, num is a number from 0 to 100 hash = 0 prime = 17 for b in byte_array_of_base64decode(str){ hash = (prime * hash + b) % 100 } r...
Why there are abnormal field size like 521, 571, 233, 283 bits in prime and binary fields that are defined by NIST?
I am trying to understand how scrypt works. I am referring to the Algorithm section of scrypt's Wikipedia page. There I find this BlockMix function: Function BlockMix(B): (B0, ... , B2r-1) ← B X ← B2r−1 for i = 0 to 2r − 1 do X ← H(X ⊕ Bi) Yi ← X end for Output ← (Y0, Y2, ... , Y2r−2...
I understand why |one-time pad|=|message| using a normal one-time pad, but I don't understand why for perfect secrecy it must alway be that |key|>|all messages exchanged|. What if, for example, I had |one-time pad|=n*|message| with n>1 and then used it for (for example) 2n messages with a random starting point (itself ...
I need to hand out physical access cards to a group of people. My main objective is to guarantee at every location where this cards will be checked that no information in the card has been modified. I print those cards so I have all the user information (name, lastname, ID number, etc). My idea is to use some sort of ...
What are the advantages of Poly1305-AES over AES-GCM? Please note I am not talking about chacha20-Poly1305 that has been widely adopted, including by Google. But I would like to know pros and cons of Poly1305-AES vs AES-GCM
In a previous question I asked if (and why) BlueRand can or cannot be considered as a TRNG. Established that it's not a TRNG (due to the reasons explained by some users in the previous question), is it possible to create a TRNG that uses JPEG images as entropy source? How can I extract randomness from a JPEG image?...
Is there any software or can i find it manually the algorithm of a prng by entering previous sequences of results. there is 38 possible outcomes and results can repeat.
I have a communication system that's currently encrypted using AES-256-CBC. Someone on Information Security StackExchange asked whether I'm using HMAC, so I'm looking into Fernet. Fernet seems to use AES-128-CBC (link). This seems to me to be a) less secure than what I'm using and b) not sufficient to meet the requirem...
Let us consider a cipher that works like the following: Plaintext is encoded to Base64. The characters in the encoded plaintext are substituted with a randomly shuffled character set (a-z, 0-9, A-Z, /, +). The shuffled alphabet are the key. How do I decipher it to get the base64 encoded string without knowing the shu...
I'm studying this attack and i have some doubts about it; let me explain with an example. Here is my decoded signature: 00 01 FF .. FF .. 00 ASN1 HASH I forge a decoded signature like this: 00 01 FF .. FF .. 00 AS1 HASH GARBAGE and than I calculate the cube root in order to obtain the RSA encoded signature. The cube ...
Let me explain my dilemma. I'm a software developer and I'm writing a Windows application that should provide encryption of user's data. There could be multiple users in the database, each having their own username and password. I currently encrypt data as such: When a user logs in, I use PBKDF2 to authenticate their ...
Is there any way to perform Private Information Retrieval when no computations can be executed on the server-side? I would like to perform the computations on the client, and without having to download the whole database.
Elliptic Curve Diffie-Hellman (ECDH) with Public parameters: Ep (a,b) and G = (x, y) Private Keys: Na, Nb Public Key: Pa = Na x G, Pb = Nb x G Secret key: k = Na x Pb = Nb x Pa Is the algorithm still secure if public key Pb is used more than once with different private keys Nb? Or are there any requirements to use us...
El Gamal cipher is not defined to be one-to-one because the ciphertext depends on a random k(key) value. Show that given a ciphertext C1=E(m) we can create a different encrypted copy which can be decrypted to the same message 'm', without knowing the k(key) which was used for C1's encryption. Meaning to create C2 from ...
Given El-Gamal encryption system. 1) Show how to create a new legal encryption from two different encryptions which we don't know their decryption. 2) Show how an enemy can exploit the previous attribute in purpose of using a known ciphertext attack.
a) I did some research and there are two opinions.. some say it cracks in several years and others say it doesn't crack for billions of years USING BRUTE FORCE ATTACK...
I have a server which encrypts files with the same AES key. Users can upload a file and download its encrypted version. A user can upload as many files as he wants. Users can decrypt the documents via the server after a D date. A user may see an other user's encrypted document, but it would be a disaster if he could de...
Say I create a 256-bit key by taking a random number between $0$ and $2^{256}-1$. Would it be cryptographically equivalent to generate $8$ numbers $r_1\dots r_8$ between $0$ and $31$, and combining them in the following way? $$\mathit{rand} = 2^{r_1} \cdot 2^{r_2} \cdot 2^{r_3} \cdot 2^{r_4} \cdot 2^{r_5} \cdot 2^{r_6}...
Throughout history, some cryptographic systems were broken by finding patterns in encrypted messages (like frequent chars in a particular language), and thereby discovering the cipher. These classic systems, which relied on algorithms unknown to the attacker, were broken by analyzing the messages and detecting patterns...
While using Keepass and using it to generate random passwords, I always have noticed the "quality" section but truthfully have never known what it actually means. So my questions are; How much entropy is enough? How much is overkill? How does entropy actually apply to the length of time it may take for an attacker t...
I'm trying to figure out the SSLv3 protocol for educational purposes and having hard time understanding mutual certificate authentication. When the client requested to provide a certificate it also has to send a CertificateVerify message: CertVerify = Sigclient(pre_master_secret, Msg1, Msg2) Why the public key of the c...
I have built a GPS based on the AVR microcontroller. The GPS is used to log flight data for competitions. The log file is updated 10 times per second. What I'd like to do is to associate a signature with this file so that anyone can confirm that the file was written by the GPS. This suggests that the GPS should have a ...
I have read recently (here) about INT-CTXT and INT-PTXT and that INT-CTXT is strictly stronger than INT-PTXT. I wonder if there is any clear example of the situation when INT-PTXT is achieved but no INT-CTXT? There are also examples of related situation in the original article (e.g. Encrypt-and-MAC and MAC-then-Encrypt...
I have a .mat file which contains 10 plaintexts and 10 ciphertexts which are correctly encrypted with AES-128 algorithm. It also contains 10 more ciphertexts which are wrongly encrypted. The fault is that there is a bitflip in every byte at the input of the last subbyte operation. I also have every single step of AES-1...
I know this question has already been asked few times but I'm struggling a bit on a problem. I have a plaintext FRIDAY and its ciphertext PQCFKU, using $M = 2$, with corresponding integers $x = fr id ay = (5, 17),(8,3),(0,24)$ and $y = pq cf ku = (15, 16),(2,5),(10,20)$. In order to find the key $k$: $$\pmatrix{y1 \\y...
I've found an article that says how to add points in projective coordinates.But in my implementation these points don't form a group. Fields: private final BigInteger x; private final BigInteger y; private final BigInteger z; private final BigInteger a; private final BigInteger b; private final BigInteger n; Cons...
Actually, I don't quite understand the question. What does $a_{i,j}$ means? Is it the element in the matrix from row i and column j? Can anyone give me an example? Better use another matrix because I do want to solve this question myself. Thanks~
I am interested especially in the case when the keylength exceeds the length of the plaintext. Intuitively, it should be harder to crack the key with an increase in key length even if it exceeds the plaintext length but does it actually hold true or there any caveats to this particular scenario?
Assume there are two secret keys on server $x,y \in Z_p$. $p$ is a prime number. He wants to prove that the message is sent from him. He divides the message into two parts. $m_0, m_1$ and computes $s=H(m_0)x+H(m_1)y$. Users know $xP,yP$ where $P$ is an element of cyclic additive group of $G_1$. If they know the message...
I have a 256bit fully random entropy source from dices, which is probably not cryptographically secure. I have read that it's customary to take the hash of the entropy source in order to generate a safe key. My goal is to generate a 256bit secure key for cryptographic purposes. Somebody suggested to me to take the SHA...
Hermite reduced basis is defined as A basis $\{b_1,\dots,b_n\}$ is reduced if it satisfies $|\mu_{i,j}| \le \frac{1}{2}$ and $||\pi_i(b_i)|| \le ||\pi_i(b_j)||$ for $1\le i \le j \le n$ where $\pi_i(x)=\sum_{j=i}^{n}\frac{(x \cdot b_j^*)}{b_j^* \cdot b_j^*)}b_j^*$ i.e., component of $x$ orthogonal to $b_1,\dots,b_...
I'm curious about the security implications of reusing characters from the plaintext as salt.e.g. $salted_plaintext = $plaintext[1] . $plaintext[7] . $plaintext; My gut feeling is that it increases security through obscurity, though not as much as a proper salt, as existing rainbow tables wouldn't be applicable and wo...
We have an entropy source called “Entropy”. We encode this entropy with HMAC-SHA512 using a “Key”. The Key is public, but the Entropy is secret. We are then testing for the HMAC-SHA512 output in order to start with 1. So, how much entropy is lost in the process, by encoding the secret Entropy with a public Key, and mak...
I am using the Java Bouncy Castle provider to generate RSA key pairs. I want to test if the generated keys are valid. According to Wikipedia the RSA key pair is generated as follows: Choose two distinct prime numbers $p$ and $q$ Compute $n = pq$ Compute $φ(n) = φ(p)φ(q) = (p − 1)(q − 1) = n − (p + q − 1)$ Choose an in...
I have an upcoming exam where I can use a simple Calculator. On some sample questions they ask us to XOR two values (for AES round key) and I know how to write it out by hand but is there any other faster way as the exam is timed of course.
Is a different encryption and decryption algorithm used for every secret key, or can I use the same encryption and decryption algorithm for different keys?
I am evaluating the use of TLS 1.2 for a low powered embedded environment. After looking at RFC 7925 (TLS for IoT) I was wondering if the combination of the TLS_PSK_WITH_AES_128_CCM_8 cipher suite (RFC 6655) and the TLS False Start extension (RFC 7918) is possible / compatible and has additional security implication...
How can I prove that if $G$ is a Pseudo Random Generator, then other generator is a PRG (while the range's size is different)? For example: for the PRG $G$ (from $n$ to $t(n)$ where $n < t(n)$), the generator $G'$ (from $n$ to $n+1$), where $G'$ returns the first $n+1$ bits of $G$) is PRG too? Is the fact that the ran...
I am conducting an investigation on the efficiency of AES and Blowfish with regards to memory when encrypting data of varying sizes. I open my essay with an introduction as to what encryption is and the two algorithms I will be discussing. I have mentioned that AES-256 as $2^{256}$ possible key combinations, and I woul...
After having purchased a USB GnuPG smartcard, I visited the manufacturer's website. A tutorial by the FSFE was mentioned there as the preferred way of setting up the smartcard. However, this tutorial seems to be a bit outdated as the output of gpg --gen-key doesn't offer the option to create a "RSA + RSA"-keypair: Ple...
The RSA encryption is based on the following procedure: Generate two distinct primes $p$ and $q$. Compute $n=pq$ and $\phi=(p-1)(q-1)$. Find an integer $e$, $1<e<\phi$, such that $\gcd(e,\phi)=1$. A message in this system is a number in the interval $[0,n-1]$. A text to be encrypted is then somehow converted to ...
The typical cache line size of modern x86 machines is 64 bytes. Is it safe to use lookup tables with secret data if the table does not exceed the cache line size, and is aligned accordingly? I was thinking about how to make a constant-time GHASH (GCM) implementation. I want to have a table of 128x4 128-bit entries. ...
Recently I'm studying learning with errors crypto systems and I'm running into a problem. I try to prove that the plaintext is in some specific range(for example 0~10) using zero knowledge proof. However, almost all the papers I find in Google are talking about constructing "zero knowledge proof of knowledge" schemes, ...
I come across this: Numbers mod composite number does not form a field rather it forms a ring and every number has a multiplicative inverse under integer mod prime Maybe these are the reasons why prime field is preferred? By the first above fact it means that construction of a composite field is not possible. But I...
In some papers, server generates keys for users as follows: $$sk_i=msk+H(ID_i)v_i\ (mod \ p)$$ where $msk=$ the secret key of server $v_i$ is randomly selected from $Z_p$ for i-th user , $p$ is a prime number $ID_i=$ the identity of i-th user $sk_i=$ the secret key for i-thuser $H$ is the hash function If there is a ...
It is not possible to draw tangent at all the points of a singular curve. What is the specialty of this and how it is related to cryptography and elliptic discriminant?
I have used the ECC encryption algorithm to encrypt my data. Now I need to compare the time complexity involved in it with another algorithm. I need to know, what is the time complexity for encrypting a data using the ECC algorithm
You have an entropy source of n bits You hash it with SHA-512 for example k bits of the SHA-512 output are publicly revealed, but the SHA-512 hash is also a private key to be protected (k<=512) The question is how many bits are lost in the original entropy source by revealing/losing k bits in the hash? Especially: th...
If I use SHA256 as a hash function, and I try all inputs starting from 0 to 2^256 (means all possible combination of 256-bit), then will it give me 2^256 unique output without any collision? Or in other words, does 2^256 different inputs maps to 2^256 different output in SHA256?
I am researching lattice problems and some methods for solving them. I read some books that mentioned Babai's algorithm for finding the Closest Vector Problem (CVP) cannot be successful with a "bad" basis for a lattice. Which begs a question: what is the worst basis for a lattice? Is the HNF basis the worst basis for ...
What is the difference between Substitution Cipher and Permutation Cipher? In a substitution cipher I have seen that there is a random choice of 26 alphabet characters for encryption and decryption and that it can't be broken by brute force attacks because the sample space for key encryption is 2**88 which is very larg...
I am majoring in computer science but I have recently become obsessively interested in information theory and cryptography. I have read some articles about entropy and random number generators. I find few algorithms online to generate 128-bit entropy supported random number generator. As I can tell from other discussi...
I have gone through one example where i saw a curve defined over some prime number containing non-prime order.
(p-BDHI): p-Bilinear Diffie-Hellman inversion problem Given $P,sP,s^2P,...,s^pP$. Find $e(P,P)^{\frac{1}{s}}$. (DL): discrete logarithm problem Given $P,sP$. Find $s$. To break (p-BDHI), attacker needs to break DL. I think the two assumptions have same-level hard problem. No one is stronger than another. Is it right?
Because of my lifestyle and journeys to different countries I became a "multi-lingual person"; So, I wonder whether there are any use-case in encryption for multi-lingual persons or not? Such as end-human-cryptography - even after when two sides that attempting to connect (using their digital encryption systems such a...
if i calculate a AES_CMAC for 64 Bytes, i get a 16 Byte CMAC. Is it ok to use only the first 4 Bytes for authentication? Can i assume that if the first 4 bytes are correct, the other bytes must be ok too? Thank you!
I'm learning more about the Merkle–Damgård construction, including its "alternatives". I learned about the fast wide pipe construction and the narrow pipe construction, explained here. However, I can't find any images showing the process of the narrow pipe scheme in detail (presuming it's not the same as the FWP constr...
According to Wikipedia LFSRs are used as PRGs but due to their linearity they are easy to cryptanalyze. Also, using Berlekamp-Massey consecutive output bits allow reconstruction of the internal LFSR state (I think the rule was something like $2n$ bits for state size $n$). Now my question is a much more profane one. Giv...
An HMAC depends on the Message, Key and the Hash function used such as SHA-256, SHA-512, etc. Consider if the computation of the MAC used a different set of Initial hash values or initial array of round constants. Instead of the "first 32 bits of the fractional parts of the square roots of the first 8 primes 2..19", t...
Say I want to write an encryption algorithm to communicate between me and my friend for this private use. How is that bad? E.g. I can take the word Hello and encrypt it with a simple algorithm – for example – take each letter and multiply its value by 2 and add 13 so that it becomes completely unreadable. Is writing a...
The hardest part about this question is explaining what I mean by simple. I'm measuring simplicity as, simply, the amount of lines of code it takes to implement that algorithm in a simple programming language - say, the untyped lambda calculus, Scheme, vanilla ES5 JavaScript. Of course, this is not possible to measure ...
The recent threats to EPA data integrity have me wondering if it's possible to archive data in a way such that one can later check whether the data have been tampered with since the original archival. One commonly used mechanism in the open source software world is hash verification. After downloading some software you...
aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com Mac Sierra recently deprecated blowfish, but I don't understand use-case differences of other ciphers. This is for testing a remote web project with X11Forwarding. I'm also curious about the last option, chacha20-poly1305@openssh.com
The certificate used in https://de.wikipedia.org/wiki/Authenticated_Encryption has public key ECC public key parameter ECDSA key usage digital signature It is used to setup a secure TLS connection. So far I know, that a so called pre-master-secret is generated by client ant sent encrypted to the server, using its cer...
I have two parties: Alice who has a static public key PA Bob who has a static public key PB A static shared secret (S) is computed with ECDH. Encryption and MAC keys are computed with a key derivation function: (KENC, KMAC) = KDF(S) The two parties send messages to each other, encrypted and authenticated respectively ...
I'm trying to an implement an enhanced version of AES which was proposed recently. The link to the paper is here: http://sdiwc.net/digital-library/enhancing-aes-using-novel-block-key-generation-algorithm-and-key-dependent-sboxes In their proposed algorithm, a unique S-box is created for each round by XOR'ing all 16 byt...
Is IV needed in ECIES (Elliptic Curve Integrated Encryption Scheme) used with AES-CTR? The ephemeral key pair is generated randomly therefore the encryption key derived from the public key must be random, too. As I know, IV is required only if the symmetric encryption key is used more than once, but in ECIES, every tim...
Assume we have a pseudorandom function: PRF(.) We want the following property holds with a high probability: $\forall i, 0\leq i \leq n: PRF(k_1, i)\neq PRF(k_2,i)$ where $k_1$ and $k_2$ are two random keys picked independently. Question 1: What is the pseudorandom function with the above property called in the lite...
Is it possible to recover key used for blowfish encryption, if I have encoded and decoded string as well as initialization vector tables (bfp and ks0-3)? I don't know the length of the key.
The FIPS 140-2 Derived Test Requirements has a statement: AS07.09: (Levels 1, 2, 3, and 4) The seed and seed key shall not have the same value. What is the difference between a seed and a "seed key"?
I am working on a public API for my personal forum. Concerning the authentification of the requests and responses I plan to hash the payloads with a secret, known to me and the API user, and send the result to the API user in response header. This way he can make sure, that the response really came from me. An incomin...
Previously, I asked what is the simplest digital signature scheme known, under the assumption simpler implementations could provide valuable insights on the nature of the problem. Among competing hypotheses, the one with the fewest assumptions should be selected. (...) In science, Occam's razor is used as a heuristic ...
I'm writting a tool to save files (to external drive, cloud,...), it can already crypt file content with AES/GCM/NOPADDING; and as I'm not an expert, I've read some documentation, and understand that I have to generate (for each file) a random IV, that I can store directly into the crypted data (prepend). This part is ...
Given a standard LCG output, let's say 3 consecutive numbers, I'm wondering how I could get $a$ and $c$ if I already know $m$ LCG formula: Sn+1 = ( aSn + c ) mod m I've seen this posted in a lot of places but no one is really giving a math explanation I could understand.
If Bob wants to make sure Alice knows a second message came from him (not caring if only Alice can read it), what key or method should Bob use?
There has been a lot of buzz about quantum computing especially with D-Wave breaking the limits each month. I have basic knowledge about cryptography with an introductory course in quantum computing. So, how does quantum encryption work? and how is it different in principle from the current practices adopted?
Today this post is going around on the internet and there someone wrote that it could perhaps mean that elliptic curve crypto will be weakened. Here's the link: https://plus.google.com/+DavidRoberts/posts/KcjNn99tYaa Can someone perhaps clarify this?
From what I know, the two seems to be the same: Onion routing: Encryption is done in layers. Alice and server1 exchanges keys and she encrypts her message. Then, Alice and server2 exchanges keys and she encrypts again, creating layers of encryption. Alice then sends the whole layered encrypted message to Bob, and each ...
My question is related to: When we turn Random shuffle to Pseudorandom Shuffle The idea is to permute the elements in vector $\mathbf{v}$ pseudorandomly, where $|\mathbf{v}|=n$; I am aware that we can use Fisher-Yates shuffle for pseudorandom shuffle (in fact we replace the random generator with a pseudorandom one). So...
If a message $M$ contains $n$ message blocks and I XOR the message blocks and encrypt the result using AES, can i use the resulting cipher-text as MAC? is it a good design or bad one?
I am developing an application that will need to store a very large volume of hashed data per user for which I want to ensure I am doing everything possible to maximize security. At this point I believe I will be utilizing SHA3-512 + randomized salts over a yet-to-be determined number of iterations. Is there a standar...
An encryption function can be used to obfuscate pieces of information and later on retrieve them. What is the yardstick for measuring how well the function encrypts the information ? Given any invertible function, which are the quantified parameters which measure how effective the function is to encrypt a message ? I a...
I just used this hashed = str(bin(int(hashlib.sha512(input1).hexdigest(), 16))[2:]) and then just see that the first bit is always 1 I have noticed quite an odd pattern, that all SHA512 output's first bit is always 1, while the others are random. Why is this? Does this mean that SHA512 only provides 511 bits of secur...
I have a column in a database table called "Amount" that will store decimal values encrypted with AES. It's highly likely that the same amount will exist in multiple rows in the table and be encrypted with the same key. Furthermore, most of the plaintext values that will be encrypted are <5000. Are there any specific f...
As part of homework problem, I need to show that DDH hardness implies CDH hardness. Assume $CDH$ is hard relative to some group generator. The intuition is pretty clear, so I've made the trivial reduction - let $A_{CDH}$ be a PPT algorithm that computes $DH_g(h_1,h_2)$ with probability $\epsilon$, define $A_{DDH}$ as ...
We know that Blakley's scheme is less space-efficient than Shamir's and that they both work based on pretty different aspects (Shamir = polynomial-based; Blakley = hyperplane-based). Looking at how both work, my gut feeling tells me Shamir’s scheme seems to be more robust than Blakley’s because – for example – if an in...
Given two letters of the plaintext 'ZP' corresponding to the ciphertext 'AE' respectively, I have found the key to be (a,b)=(10,10) (modulo 26). Therefore the decryption map $D(x)=a^{-1}(x-a)\bmod26$ I obtain here is $D(x)=10^{-1}(x-10) \bmod26$. However, $10^{-1}\bmod26$ does not exist so how am I able to find this? H...
It is often said to never use a nonce for more than one message when using a stream cipher. It seems this is to prevent something like this: Taking advantage of one-time pad key reuse? Yet what if I keep the same nonce, but increment the block counter depending on the amout of blocks exchanged so far? This should be th...
Is it necesary to introduce noise in building fully homomorphic encryption? At present, almost all formally published FHE schemes are based on noisy approach. However, there are some noise-free FHE constructions posted at ePrint or arXiv. But all these noise-free FHE schemes have not been formally published, due to --...
You may already have heard it: KeePass v2.35 has support for a new database format (KDBX4) which allows for the use of Argon2 (more precisely: Argon2d) as the password-based key derivation function (PBKDF). However Argon2 has three independent parameters, called iteration count, memory usage and parallelism in the GUI....