instruction
stringlengths
32
27.2k
I am writing code for Elliptic Curve Cryptography. I have a class class EllipticCurvePoint. class EllipticCurvePoint{ FieldElement x, y; }; I need to support point-at-infinity (which should behave as if it is an object of type EllipticCurvePoint). Only thing I can think of is to reserve (-1, -1) for this but x and...
If $S$ is a finite set (such as outcomes of a dice). If I have a sequence $x_0 ... x_n$ of elements over $S$, how can I measure randomness quality of such a sequence as compared to measuring quality of random bits?
See this answer that explains the following sequence of operations: CipherText = IV|| AES(key1,iv,message) tag = hmac(key2,ciphertext) That answer says, You should use a different key for the HMAC. In practice tacking the sha1 sum of your encryption key is good enough. Is it really okay to use SHA1(key1) as key2? ...
Is there a deterministic pseudo random function $f$ with $r_{n+1} = f(r_n)$, $|\{r_i,\forall i\}|=N$, $r_N = r_0$, (for given random initial value $r_0$) where a function which derives the index of a given value $g(r_k)=k$ is harder than deriving the index of a given value at elliptic curve cryptography? For ECC e.g. B...
I am working on a C++ desktop application that reads an XML (also created by my org) from a public server (does not require authentication). I would like to make sure that the downloaded XML has not been tampered with and was created by my organization. Digitally signing the XML before uploading it to the server shoul...
I am working on a project which needs to share messages, and part of that project is deriving a password, I am currently using a value of 65537, totally arbitrary (it is $2^{16} + 1$, so not TOTALLY) and that takes about 1-second to compute. but, I just wondered what value or iteration count is enough? Note its just a...
Let || be the concatenation operator. Let CipherText = AES(Key1, IV, Message). Let us assume AES is used in CBC mode. I want to compute an HMAC tag on the IV and CipherText. Normally, one would do the following: Tag = HMAC(Key2, IV || CipherText) I want to know if the following would also be equally secure: Tag = HMAC...
I would like to encrypt some sensitive files on my computer and smartphone so that they remain unreadable even if the computer is stolen. So far as I'm concerned, AES is the best encryption algorithm, so I would go for it. For the AES, I also need a secret key (or cipher key). Therefore, I need a key derivation functio...
One common complaint about GPG-encrypted e-mail is that it doesn't provide forward secrecy; however with opportunistic TLS becoming increasingly common in both IMAP and SMTP, it's not unreasonable to expect that e-mail sent from one message transfer agent (MTA) to another is done over a TLS protocol that utilizes (EC)D...
I read the zcash paper recently. But I have been puzzled by a question. How did the authors prove that the coin commitment appears as a leaf of a Merkle tree with root rt? Apparently, the authors provided authentication paths for a commitment. But how to provide them in a private way?
CTR is amenable to parallelization because you can split the message into chunks, each chunk having a range of counter values associated with it, and encrypt (or decrypt) each chunk independently. What I would like to know is if any other modes can do this? EDIT: My reason for wanting to know this is that I have a clas...
I'm trying to estimate the probability that Pollard's p-1 factorization in its two-stages variant finds a factor of an RSA modulus product of $k$ random $b$-bit primes, as a function of the bounds $B_1$ and $B_2$ used. That's about $1-(1-P)^k$, or about $k\,P$ for low $P$, where $P$ is the probability that a $b$-bit p...
I have some embedded device for which I want to sign and encrypt firmware files. Firmware updates are generated by me and may be installed by the customer. The encryption is supposed to protect the intellectual property contained in the firmware and the signature prevents unauthorized modifications. For the signature t...
Consider the following three stage interactive zero knowledge proof in round $i$ The prover sends some commitment $a_i$ to the verifier. The verifier picks a challenge $c_i\in \{0 ,1\}$ Depending on the challenge, the prover responds with $r_i(c_i)$ that convinces the verifier of his knowledge. The Fiat-Shamir heuris...
Recently I've been reading papers about MPC protocol, but when I read the paper by Zahur, S., M. Rosulek, and D. Evans. 2015 Two Halves Make a Whole- Reducing Data Transfer in Garbled Circuits Using Half Gates. The researchers proposed the state-of-art technology of optimizing garbled circuit. Their main idea is to di...
I am reading about "Bingo voting" (Wikipedia, Paper), and I'm not understanding how it is secure against a corrupt election authority. If the election authority knows all the dummy votes $N_j^i$, can't it just look at any voter's ballot and tell who they voted for (by finding the candidate on the ballot whose vote is...
I want to attempt creating a decentralized dead man's switch, so I'm looking for an asymmetric encryption scheme, with the following properties (ideally), or something close to them: There is a group of n people, each with their own public and private key. Any one person can, at any time, encrypt a message using all p...
I want to derive a list of sub-keys derived[t] from a master key mk by a key derivation function KDF: derived[t] = KDF(mk, t) However mk has already been distributed by a M-of-N threshold secret sharing scheme: shared_keys = secret_sharing(mk, M, N) Is it possible to find a KDF and a secret sharing scheme such that I...
How much would using AES-CTR like 3DES improve security? Like so (Using a 512-bit key split into two; $K_1$ & $K_2$, and seperate nonces for all stages): Encrypt plaintext $P$ with key $K_1$ Decrypt ciphertext $C$ with key $K_2$ Encrypt muddled text $M$ with key $K_1$ How much would this improve AES's security? EDIT...
I’m not talking about if a collision can be found but even simply exists. The point is since it’s shorter than the length of the hash (since I’m talking about keccak256), normally there’s a hash value for each possible data. I mean in that case there’s more possible hash than possible values for input data. So is the c...
I'm a complete newby, so please pardon my ignorance when it comes to basic cryptography aspects. My question is whether a biometric passport with Active/Chip Authentication (AA or CA) can be used to generate digital signatures for docs (or rather their hashes). If so, is there any API available to do that? Thank you ...
Would a HAIFA-construction based hash function like Argon2 resistant to length-extension attacks? I say that Argon2 is HAIFA-based because BLAKE is, and Argon2 is based on BLAKE.
As I'm going through NIST-SP-800-90Ar1 spec for DRBG, I found the mention of security_strength in all of the 3 specified construct in the document: Hash_DRBG, HMAC_DRBG, CTR_DRBG. However, they're all noted as optional: security_strength: The security strength for the instantiation. This parameter is optional for Ha...
I'm considering implementing an authentication service without storing users' passwords/hash. I want to use a key derivation function with a corresponding username and a master secret key to calculate the password of the user(user is actually a service). Then deliver the derived password to each user(service). Somethi...
So I recently started to look into cryptography and found the following question to cryptography scheme using $T = E_{S}(S \oplus M)$ It is said that this is not secure because you can have a colliding input. I am now not sure how to find this input, that leads to the same Hash. Would be wonderful, if someone could hel...
Is there some algorithm that, given the Shannon entropy of a string, compute an estimation of the time that an average home computer will take to crack the password? Thank you.
The symmetric-key encryption scheme from [1] is based on the LPN (learning parity with noise) problem. The definition of the problem is, informally, that the adversary cannot recover $\mathbf{s}$ from $\mathbf{A} \cdot \mathbf{s} \oplus \mathbf{e}$ given $\mathbf{A}$, where $\mathbf{A}, \mathbf{s}$ and $\mathbf{e}$ are...
I have some fields, similar to NAME, SURNAME, EMAIL, ADDRESS... I'm using NaCl for symmetric encryption. Is bad If I Encrypt every field with the same key and nonce? They are encrypted and stored separately. Thanks for help
Are there any practical post-quantum aggregate / multi signatures? Currently, the aggregate / multi signature schemes seem to be limited to pre-quantum elliptic curve assumptions only, e.g., [BDN18], [MPSW18] and [Zha18].
I'm working on this project where a client can send a message, now obviously sending it in plainText is not very smart. So I decided to Encrypt it with AES-CBC. Now, each time I encrypt something, the KEY is derived with PBKDF2, defined in RFC-2829, as: DERIVED = PBKDF2(salt: 16 random bytes, key: plainText pasword, it...
I have the following data (represented as hex from binary below) where the lower bytes is controlled by attacker in the second case : 0x00: 000000000000000000000000cf269986 ???????????????? 0x10: da781407b0eeeac3ea79ac1c9d857d38 ?x???????y?????8 0x20: 00000000000000000000000000000000 ???????????????? 0x30: 000000000000...
In the "Introduction to Cryptography: With Coding Theory" by Trappe and Washington, in the chapter about DES algorithm the authors say that: "In a good cipher system, each bit of the ciphertext should depend on all bits of the plaintext" Since it's not said why, are you able to explain it to me ? Thanks
If so, what would happen? And if not, what are some limitations to it? The reason I am asking is because I just started getting into the cryptocurrency and am very interested in the cybersecurity aspect of it. Also, it's important to mention I don't have much experience in either but am willing to learn. Could someone ...
Well, I guess that I have always been a little bit suspicious ... so to speak ... of the "official stories" about the difficulty of recovering Enigma message texts during WW2, because it seems to me that they're always focused on recovering "one message, in isolation." Whereas, the actual situation faced by the interc...
In EEA (EPS Encryption Algorithm) and EIA (EPS Integrity Algorithm), what exactly does the direction (uplink/downlink) indicate? It's confusing because for both encryption and decryption of a given plaintext, the direction has to be same. This w.r.t the LTE communication. For your reference, the section B.1 in 33401-g...
Consider a Plaintext P1 and Ciphertext P2, which is known to the attacker. If the attacker knows that the IV used in encrypting P1 in OFB mode is the same used to encrypt another plaintext P2, how can he find out the content of P2 given the ciphertext C2? Will the attacker have greater limitation if it is encrypted in ...
I have an assignment where I have to print out the hamming weights between every iteration of AES's diffusion steps and I have been getting a maximum weight on every iteration, but I can't seem to verify if that is correct or not. It seems like the assignment was given to show that the weights increase as diffusion goe...
Let's say that a substitution cipher had 52 symbols instead of 26. For this, we would include all lower case and upper case letters. This creates a key space of 52! wehere the cipher text can contain both lowercase and uppercase letters. Would this provide more security to a standard substitution cipher? I would say ye...
The NTRU crypto system requires quite long keys. For example with parameters N=439 and q=2048 the security is 128 bits and the key_size is 4829 bits. When the private key is encrypted with AES-256 and the ciphertext is made public, can an attacker learn something from that? Or is the 128 bit security of NTRU reduced b...
AESCCM- Couter with Cipher Block Chaining Message. As it uses cmac for generation for tag , which is internally aes-cbc (block cipher, need block size, may require padding) And Encryption is done with AES-CTR (can be used as stream cipher) How AES-CCM can behave as a AEAD stream cipher , as it uses aes-cbc ? Whereas i...
I'm not a mathematician, and i would like to understand in the most concise way (if possible) why choosing linear S-Box functions makes the DES algorithm attackable. Thanks
GCM (Galois/Counter Mode), in particular in combination with AES, has been a de-facto gold standard for years. Encrypt and authenticate in one step, that's just too awesome, and terms like AEAD work well for impressing a girl, so that would be win-win. But, joke aside... I've always wondered what makes it so special, a...
I am trying to understand how we can have cryptographic schemes that builds on both secret sharing, which is build on top of a finite field, and bilinear maps, which are built on top of elliptic curve groups. An example of this is section 4 in Public Verifiability from Pairings in Secret Sharing Schemes, where publicly...
In the "Introduction to Cryptography: With Coding Theory" by Trappe and Washington, in the chapter about DES algorithm the authors say that: "if a cryptosystem is such that double encryption is equivalent to a single encryption, then there is no additional security obtained by double encryption" Why is this?
I'm trying to make my first RSA encryption/decryption using CNG. In 1 part of the example they add pick a chaining mode, I don't know if this is mandatory and when I tried to google about it I found that most of those are not safe. So I would like to know which one is the right one to pick. (In the future I would like ...
Consider a situation where a symmetric key encryption (such as AES) is used to encrypt the plain text. Moreover, a nonce is used to ensure that old communication cannot be used to perform a replay attack. In this scenario: Is it better to XOR the nonce with the plain text and then encrypted the output to produce a ciph...
If I have a high entropy key (ECDHE shared secret), what type of hash should I use to format this into an AES-256 key? Is Sha256 or Sha3_256 sufficient to maintain entropy or do I need to use a KDF (Scrypt / Argon2) and exchange the salt during the handshake??
Do you know if is has already happened (since 1980), that someone (academic or not) has "broken" (even in a weak sense) some cryptographic assumption, but has chosen to not first publish and directly attack some security system of the physical world? I'm really considering the cryptographic/algorithmic level, not a hum...
I ask this because it might one of those things that "everybody knows/does", but never gets written or explained anywhere... Is it just a matter of aesthetics (in the mathematical sense of the word), or is there a more specific (read: practical) reason for doing this? (as opposed to say, talking about a priori and a po...
In the "Introduction to Cryptography: With Coding Theory" by Trappe and Washington, in the chapter about OFB (Output Feedback) mode the authors say that: The OFB mode produces a bit stream and it encrypts similarly to the LFSR(Linear-feedback shift register) method. The differences are that LFSR is faster, but OFB...
I'm using Shamir's secret sharing in a 2:3 system. Thus a secret Key is split in 3 subkeys (KeyS:KeyC:KeyT) I've 3 entities at play here, Srv, Client, Tag, each one storing one subkey. In my protocol, Client reads KeyT from the Tag and combine it with its own KeyC or query KeyS from Srv over a secure channel. I assume ...
In the following, all the operations and polynomials are defined over a finite field of prime order, $\mathbb{F}_p$, where $p$ is a sufficiently large prime number. All polynomials and values below are non-zero. Let $F(x)= R(x)\cdot \phi(x)+Z(x)$, where the degree of each of the polynomials $R,Z$ and $\phi$ is $d>1$....
In the "Introduction to Cryptography: With Coding Theory" by Trappe and Washington, in the chapter about Counter mode (CTR) the authors say that: "As a result, its performance is identical to OFB's when errors are introduced in the ciphertext." What does this mean ? The authors don't explain it
In the "Introduction to Cryptography: With Coding Theory" by Trappe and Washington, in the chapter about DES algorithm the authors say that: "If double encryption is equivalent to single encryption, then the (single encryption) cryptosystem is much less secure than one might guess initially" The authors don't exp...
The DASH cryptocurrency uses X11, which is a Proof of Work hashing algorithm composed of 11 separate hash functions which are run as a sequence. Example: $Digest = H_{11}...(H_3(H_2(H_1(Input))))$ Questions: 1) Is this algorithm's collision resistance that of the weakest function in the sequence? 2) Can this algorith...
I understand that RLWE was introduced to avoid the quadratic overhead in the matrices that appear in plain LWE. However, I have a series of questions about this setting. First, Ring-LWE-based constructions consider the polynomial ring $R_q = \mathbb{Z}_q[x]/(f(x))$, for some polynomial $f$ and some integer $q$. I've se...
Say I have access to a system A that is limited to performing (EC)DH, followed by key derivation to produce a secret key. This secret key is later used to provide integrity protection. There is a party B want to use this system to create a signature over some data. This signature can then be used to prove to a party C ...
As the title states, would increasing the rounds by doubling them to Bruce Schneiers recommendation of 16, 20, and 28 increase security? And how much? As a bit more, would increasing rounds, keys, blocksize, or almost everything increase security?
I am designing a protocol that will have security in mind as one of its key goals. Currently I have selected SSH with TLS as the underlying transport. I selected SSH because it had a variety of extensible authentication methods built-in already, which would not only make it easier to add my own in the future but (in so...
These are the steps: Hash ECDH shared secret with SHA3-512 Concatenate odd bytes and rehash with SHA3-512 for AES-256 key Concatenate even bytes and rehash with SHA3-512 for KMAC key Is this key derivation secure? If not, what are the weaknesses?
My current role as a software developer is leading into areas of research in elliptic-curve-cryptography that keeps bringing me back to bilinear pairings. This includes BLS Signatures, CL Signatures and zkSnarks. In learning PBC, I've found I need to understand Miller's algorithm, but I lack the mathematical backgroun...
"The Dedekind sum is a product of a sawtooth function." This sentence does not make sense to me. A sawtooth is a kind of wave for sound generation. But in the realms of cryptography, the Dedekind sum seems to use these sawtooth functions. Could anyone please explain how the sawtooth function are used for the Dedekind s...
Peggy would like to prove to Victor that she knows the discrete logarithm of $y$ based $g$; that is, she knows $x$ such that $y = g^x \bmod p$. One round of the interactive proof protocol consists of the following steps. Peggy picks random $k \in \mathbb Z/(p−1)\mathbb Z$, computes $t = g^k \bmod p$, and sends $t$ to ...
Both PGP and Signify (or Minisign) are capable of generating ED25519 detached signatures. Is it possible to convert a PGP-generated ED25519 signature into a signify-compatible format?
I'm brute forcing a ciphertext with a given dictionary to figure out which key was used. However, it's been hinted at that there is a way to narrow down the dictionary to a smaller subset of possibilities. I know the plaintext, its ciphertext, and the IV (0). It was encrypted using AES-128-CBC and no salting was used d...
Actually, I think IV (initialization vector) is random number which is same size as the other block of plaintext. But if the IV is corrupted, message cannot be decrypted because original IV used to encrypt doesn't exist so it actually cannot recover the message from ciphertext. Is it right?
I know that perfect security means absolutely no information about the plaintext is leaked to the adversary while computational secrecy is okay with a tiny amount of leak. But, what is the difference between Computationally indistinguishably and Perfect Indistinguishably?
Can you explain me, in simple terms if possible (I'm not a mathematician :( ), why the non-linearity introduced by the AES s-boxes hinder the differential cryptoanalysis ?
In the "Introduction to Cryptography: With Coding Theory" by Trappe and Washington, in the chapter about AES algorithm the authors say that in the last round of the encryption algorithm the MixColumn layer isn't applied, since it only slows down the decryption algorithm. But this doesn't decrease the security of the al...
I understood, how this works for arbitrary n and p = 2, but I am struggling with higher prime numbers as a base. In the following, I wanted to use the irreducible polynomial r(x) = x²+1 = 101. static const __flash uint8_t lookup[9][9] = { // 0, 1, 2, 10, 11, 12, 20, 21, 22 0, 0, 0, 0, 0, 0, 0, 0, 0,...
I had a quick question for all. Why do we hash the random challenge in Fiat-Shamir heuristic? If we hash the public key of Prover it should be enough for the verifier to prove non-repudiation? What is the need for hashing the first random message the prover ($x=g^y$) also?
In NIST-SP-800-90Ar1, the Hash-DRBG is instantiated with hash functions using strange values for seed length (seedlen) such as 440, 888. How are these values derived? How to derive values for other hash functions?
I am given a key exchange protocol between a component $C$ and a key master $K$. During the overall execution 4 messages are transferred between $C$ and $K$. DH keypairs are always chosen randomly for each execution. Message (1) just contains the ID of the component. Message (2) contains the public-key of $K$ and a sig...
I'm studying Authenticated encryption with Associated Data (AEAD). My questions are About AE - I heard that when it comes to Encrypt-then-MAC, if an attacker forges the ciphertext then he gets the wrong MAC value and can't decrypt the ciphertext to plaintext. Is this correct? If so, what is happening Encrypt-and-MAC ...
I'd like to design a system where the following situation happens: I (person 1) have some secret key I hand out another secret key to a developer (person 2) Person 2 signs several files with his secret key Person 2 can now distribute his software among with mine to the users. In my software I'd like to be able to chec...
A correct proof (a proof which is indistinguishable from previously sent proof) can be tagged as wrong by the ideal functionality here if the adversary sends no witness. And, let's say P is a party which has does not have a witness, it can send an arbitrary string. And this proof might get accepted if the adversary ha...
I was told that you can determine the private key of an RSA encryption with the public key. I thought the point of a public key was to avoid letting people find the private key, but anyway, they said I could find it by simply factoring the public key modulus? Were they joshing me or can it be done? If so, how would I d...
I am working on a web app with an integrated chat. All chats can only occur between two users - not more, not less. I am very concerned with security, so I would like to encrypt all chat messages with end to end encryption. My favored protocol so far is the Signal protocol. However, the problem of web apps is that it's...
Lets suppose we have a communication protocol given where messages $(1)$ and $(2)$ are send over an unsecure network. There are some prerequisites like distributed certificates etc., but they should not matter for this question). Message (1) is send as plaintext from $A$ to $B$ and does contain the identity of $A$. Pa...
I am working on an efficient mental poker framework. I have implemented a functional and secure commutative encryption scheme based on ElGamal as described in: http://groups.csail.mit.edu/cis/theses/weis-phd-thesis.pdf However, shuffling and dealing an entire deck is causing slowdown as the number of players involved ...
Lets assume there is a guy called Ben, he contacts some server for a ticket number and the server returns a random number to him. Ben then signs that number and sends it back to the server, which checks if its valid or not and accepts Ben's connection if it is. Assuming Ben then signs and sends emails on this server us...
I try implement Shamir Secret Sharing. In this video: https://www.youtube.com/watch?v=j7Ngtl1cCpY is example. But for another three share holders is can't reconstruction secrete. For example: a) a(1) = 15 a(2) = 6 a(4) = 10 b) a(1) = 15 a(2) = 6 a(5) = 6
In regular machine learning (ML) applications, usually an accuracy of greater than 95% is desired. In an ideal TRNG/PUF applications, unpredictable behavior (50% accuracy with ML models) is desired. How do we define the predictability in these applications? For example, is 60% predictable TRNG/PUF still a good one? I...
Does deriving the public key from an RSA private key always yield the same result? And if so, does this generally apply to all asymmetric cryptosystems?
I need an encryption algorithm that would be secure enough to store credit card data. So it should be reasonably secure. Here's what I've come up with. I'd appreciate any constructive criticism. Is it secure enough? Could it be made better? public class Encryption { // Algorithm meta sizes (in bits) private con...
I have this cryptography puzzle I'm stuck on, spoilers please with hints since I want to figure this out myself. I'm given that a code in the form of x:y:z is required to access a particular goal, the example given is this: alpha:2c174:Uw9BX1U= And I'm meant to extrapolate Gamma. I think I've figured out how to get t...
I'm a bit new to cryptography and I'm trying to wrap my head around PBKDF2 and AES. As a disclaimer, this is not going to be used in an actual application, I'm just testing things locally as a fun side project. Right now what I'm trying to do is accept a password from someone to encrypt a message, and decrypt it at a l...
So for an unknown number of parties $x$, I make $x-1$ random $n$-bit strings represented by {$r_1, r_2,...,r_{x-1}$}. Where $s$ is the complete string split up between $x$ parties (yes?). I then send each party one of the fragments $s_i$, so party 1 would get $s_1$, party 2 would get $s_2$ etc. all the way through to...
Enigma's biggest flaw was that a letter could never be encrypted as itself. How much would enigma's security increase if it were possible that a letter could be encrypted as itself? I know that would void the method used by Turing and co. Please give as much detail as possible in answers. EDIT: clarifying improvement T...
In an article about NIST Post-quantum Standardization project I read about the security criteria of the proposed schemes and there was this table (Level I lowest security, level V highest): Level I: At least as hard to break as AES-128 (exhaustive key search) Level II: At least as hard to break as SHA-256 (collision ...
I hope you can help me understand the issue. I know creating my own encryption is not a thing which you should do, but I did this simple "encryption" a long time ago and discussed it with my teacher. He said that it is weak and should not be used in production, but he couldn't really explain why (or at least I didn't g...
I use Sagemath's built-in function discrete_log() to solve ECDLP and according to the documentation it uses Pohling-Hellman algorithm to solve an ECDLP. This is the case for my EC: P-order => 176648753626148987385153422443570230330 Q-order() => 2 The P-order has these prime factors: 2 * 3 * 5 * 5888291787538299579505...
AES is the gold standard for symmetric encryption. It is highly trusted and highly secure. Do any other symmetric ciphers - besides OTP - come close to AES's usability, security, trust-ability?
I have two different ciphertexts $c_1$ and $c_2$, and two different public keys that share the same modulus such that $e_1 \neq e_2$ but $n_1 = n_2$. What attack can I use to recover the private keys? Common modulus attack works only if $c_1 = c_2$, doesn't it?
Apart from bitcoins and altcoins, are there any other virtual currencies (like game currencies, gift cards or coupons) that include cryptography in their algorithm?
I know that a 128 bit key for AES yields a (around?) 128 bit of security. That means the best attack against the AES scheme is as strong as just brute forcing the key? What is the intuitively reasoning for this fact? I think there are mathematical structure in place that should help to find the key easier... In fact ...
I know in great (great great great) detail about how they cracked enigma during the second world war. Looking into it, I decided to have a crack at breaking it. I've come apon a single problem with my (theoretical) attack(s) - the most efficient way to crack plugboard settings. So, is there an attack that is more effic...
When reading ''Algebraic Cryptanalysis'' by Gregory V. Bard, Springer Editions, I got confused by this sentence: Suppose there were three naïve Cryptography students, who choose to use 3-DES iterated roughly one million times, because they are told that this will slow down a brute force attacker by a factor of one mil...
I'd like to know what is the maximum bits of the finite field that we can solve the ECDLP in a "regular" computer in trivial time. Is there any recent data about this?
It is known that the "xz" compression format embeds a checksum in the compressed file to verify integrity during decompression or standalone testing. The algorithm of the checksum can be one of: CRC32, CRC64, and SHA256, and the default is CRC64. Now, we put an "xz" file into a XTS-encrypted disk image. The XTS mode i...