instruction stringlengths 32 27.2k |
|---|
In FIPS-202 specification, the padding required for SHA3 were not clearly mentioned. so we have analyzed the NIST test vectors for SHA3, which states that append "0x06" (never used 1 followed by 'j'zeros and then 1 specified in FIPS-202) to the message digest, which is a contradiction to the specification.
The link for... |
Can we use two different hash functions in single hmac..for ex' for inner layer hash function md5 and for outer layer hash function sha1
|
Actually i am studying cube attack so there is some confusion regarding that in my mind this is
1- it is used for MAC KEY RECOVERY
2- It is a test that user performs to check the frogery or MAC or encryption
3- It is used to break encryption
4- cube attack have paper test like xor etc so they are performed for validty... |
Consider Argon2i used as a key derivation function (implemented by the libsodium crypto library) to derive an encryption key from a password.
Additionally, when entering the password a second time, it should be checked for validity, meaning whether the same encryption key was derived as for the first time.
A possible a... |
At 45:43 in this video (from the Princeton Coursera Bitcoin and CryptoCurrency Course), they talk about GoofyCoin and show the image below.
My question is, why does it say "signed by pk"... isn't the actual signing done using the "sk", and the verification done using the "pk"?
Update: I think I figured out what's goin... |
I would do some test for evaluating security in asymmetric algorithms such as RSA and ElGamal to evaluate which of both are safer.
The basic problem is that I need to test the security of some symmetric and asymmetric algorithms to evaluate their security and to know which algorithm is more secure and his strength agai... |
Given the function $f(m)=m^3$, where $m$ is a plaintext message, what is a function for which ElGamal would be malleable to produce $f(m)$. I know for $t * c_2$ that this would yield $t * m $ but I haven't been able to figure out how it works with powers of $m$.
|
It is well known that the time complexity of the number field sieve can be calculated by the formula
$$\exp\big((C+o(1)) (\log n)^{1/3}(\log \log n)^{2/3}\big)$$
The constant C is known for the special and general number field sieve variants.
My question is, how can the value $o(1)$ be approximated for cryptographic r... |
I read about PBKDF2 on Wikipedia and seen few apps. having option to manually enter number of iterations. I am still not clear on this.
(1) With what I understood, key iterations can be used only with symmetric encryption. If a file/text is encrypted using passphrase, HASH is calculated and encrypted with AES for 'n' n... |
I am trying to implement a security access scheme for Automotive Embedded Systems.I need to be able to generate a Random number(of my desired length), combine it with some secret data to send a Seed/Challenge, generate a Key internally using the same Seed/Challenge as one of the inputs to a function and then be able to... |
In Schnorr signature scheme,$s=(k-xe)$$ s_1=(k-xe_1)$ If the same key $k$ is used, then it is possible to reveal $k$ and $x$ value by using $\frac{s-s_1}{e_1-e}$.
However, if we add $s=(k-xe) \bmod q$, $s_1=(k-xe_1) \bmod q$, $q$ is known by users. Will modulus usage prevent to reveal $k$ and $x$ value? If the modific... |
I have been hearing about Salsa20 from quite some time. It is even the favorite cipher in the ransomware world. Some ransomware used this cipher, probably because of speed.
I want to know how secure this cipher is when compared to AES. How much has it has been reviewed by cryptanalysts?
|
This is a problem of classical cryptography: Hill-Chiffre
Where the matrix $A$ is the clear message and the matrix $C$ the coded message.
How can I find the Matrix $X$?
Which method I can use?
$$\underbrace{\begin{pmatrix}
15 &4 & 17 \\
12 &20 & 19\\
0 &19 &8\\
14 &13 &18\\
10 &17 &24\\
15 &19 &14\\
18 &24 &18\\
19... |
I refer to the question for-a-one-time-pad-which-mac-method-is-information-theoretically-secure, and specifically the exchange between lightspeeder & kasperd.
I've found the discussion a little advanced, but can I infer that:-
Any hash can be used for message authentication, including MD5?
The MAC tag must be encrypte... |
If I have only 47 byte for encrypted data, and want to use AES block cypher, is there a method that I could make full use of them, or if I could only use 32 bytes of them, since the block should be multiple of 16 byte?
|
With a view on using a tool similar to fgcombinefs in cloud situations, I would need a writable n-of-m Shamir secret sharing filesystem.
As a matter of routine security, I do not want the cloud provider to be able to reconstruct real data from what I store on his hardware.
If the data stored on his hardware is fundamen... |
I've been given a Playfair ciphered message and a partial key, where a few key letters are missing:
Corrupted key (? stands for a missing letter): ?ENVGQ?RKBDXACU?LIOW
Ciphertext: LGOXMVYHIMISYSSQWMZX
I tried to solve this myself and got the plaintext WELCHOQLHNLRBHED, which is clearly wrong.
What methods can I use t... |
I'm a student who learning cryptography, refer to this book "Applied Cryptanalysis - Breaking Ciphers in the Real World" (page 133). It helped me know about time-memory trade off. Then I had a homework CTF things which must use time trade off attack to deal with it. I gave up from first start because I don't know where... |
The special number field sieve (SNFS) is an algorithm to calculate discrete logarithms and to factor numbers, given that the target has a special structure.
Now, all ressources always say something like
The special number field sieve is efficient for integers of the form
$r^e \pm s$, where $r$ and $s$ are small
So ... |
Studying the bls signatures, I am wondering how in practice should we handle the parameter G.
In many signatures scheme, the generator used is a well known constant, for example eddsa with ed25519 has a well known fixed generator g. However, in the bls example from the C source code of the pbc library of Dan Boneh... |
Given a plain-text, two keys, and two cipher-texts:
p: plaintext
k: actual key and k': predicted key
c: actual cipher and c': AES(p, k')
Can you calculate the degree of incorrectness of k' in NP-deterministic/NP-easy time? Does err(k, k') or err(c, c') exist?
The impetus of this question is to develop a cost function... |
In older versions of PKCS#12 there was a key derivation function that, near as I can tell, isn't used anywhere outside of that standard:
https://www.rfc-editor.org/rfc/rfc7292#appendix-B
That discusses it. So in that standard there's a loop:
6. For i=1, 2, ..., c, do the following:
A. Set A2=H^r(D||I). (i.... |
There is a feature in Thunderbird under Account Settings > Security, in it are two options one can use: digital signing and encryption. What's the difference between it and Enigmail? Are they both equally secure or is the other more secure and reliable? As I understand it, one do need to have CA or S/MIME from a third ... |
Is there a way to modify the contents of data being sent between two parties in such a way that the MAC verification algorithm will not detect the tampering?
|
For Diffie-Hellman key exchange method, what are examples of very poor $a$ and $b$ values? Given that $g$ and $p$ values are both large prime number and the formula is
$$g^{a . b} \bmod p$$
|
I came across this paper which says that
Asymmetric keys must be many times longer than keys in
secret-cryptography in order to boast equivalent security. Keys in
asymmetric cryptography are also more vulnerable to brute force
attacks than in secret-key cryptography. There exist algorithms for
public-key cry... |
I have used TrueCrypt but it uses a cascaded encryption. I want to know about encrypting a file using two ciphers with each cipher having different key.
Cipher A (Block Cipher) - with Key KA
Cipher B (Stream Cipher) - with Key KB
First I am encrypting a file with Cipher A (KA). Again I am encrypting a file using Cipher... |
I have been reading about successful attacks on AES and other ciphers. One such mention is here (see excerpt below):
AES was published under the name Rijndael in 1998. Refereed
cryptanalytic papers in the next three years culminated in attacks
taking time "only" $2^{140}$ to break 7 rounds of 256-bit AES and "only... |
Is it possible to reduce RSA (basically factorization) into a NP-Complete problem, concretely the ISP (Independent Set Problem)?
If so, which as far as I know is possible, how is it done?
I can't imagine how a problem like factorization could be interpreted as a binary symmetric matrix.
|
$$P\in G_1$$$$Q\in G_1$$ $$a,b \in Z_q$$ $G_1$ isadditive cyclic group of prime order $q$
$$e(P^{a+b},Q)------(1)$$
$$e(aP+bP,Q)----(2)$$
(1) and (2) will give the same pairing result $e(P,Q)^{a+b}$.
In (1) and (2), despite of same pairing result, is there difference in terms of security or performance... |
CCM puts together two different modes of operation (at least in the name). Does it mean data is encrypted using counter mode and then encrypted using CBC; kind of a double encryption?
|
How to calculate key size for Diffie-Hellman key exchange? The strength obviously depends on both generator and prime modulus.
Formula:
$$g^x\bmod p$$
Public values:
$$g=3$$
$$p=17$$
Alice:
$$x=15$$
$$3^{15}\bmod 17=6$$
Bob:
$$x=13$$
$$3^{13}\bmod 17=12$$
Alice:
$$12^{15}\bmod 17=10$$
Bob:
$$6^{13}\bmod 17=10$$
The o... |
I have five encryption mods ($n_1$ through $n_5$) with the same encryption exponent ($e$) and the same message encrypted using the five public keys giving $E_1$ through $E_5$ that were not given in a particular order. I am trying to use the Chinese remainder theorem attack (common encryption exponent attack). My questi... |
The RFC 3161 (Internet X.509 Public Key Infrastructure Time-Stamp Protocol) specifies that a time-stamping response has a PKIStatusInfo and, optionally, a timeStampToken. In turn, the PKIStatusInfo contains a PKIStatus, which is an integer in [0, 5]. For the values 4 and 5, the following descriptions are provided:
rev... |
Considering the equation of the elliptic curves over $GF(p)$
$y^3 = x^2+ax+b$ ,
why is there some magic in using $a=-3$ ? In some well known curves (e.g. P-256) only $b$ is specified, while $a$ ist taken as $-3$. In a software library I use, $-3$ is the default value, what means, that is assumes $a=-3$ if not otherwise... |
I want to see and mathematically verify how pseudonoise (PN) sequence generated by LFSR or maximum length codes would correlate (auto-correlation and cross correlation) for seeds of varying correlation. Say, I want to generate $512$ bits of PN sequence on two sides ($A$ and $B$). To hide the possible output from eavesd... |
As the name suggests, password based key derivation functions are used for deriving a cryptographic key from, well, a password.
Is there any use for PBKDFs with empty password? Does it give any advantage over simple hash or HMAC? More specifically, in the case of PBKDF2-HMAC it would mean applying HMAC with an empty ke... |
I am trying to encrypt a password in a program. Here is the process:
Let us assume that I have a string $p$ ($n$ characters long) which contains the password. Now the program reverse the string and stores it in string $r$. After that it takes each character of $p$ and $r$ applies the XOR operator and stores it in stri... |
$$e:G_1\times G_1\rightarrow G_2$$
In symmetric pairing-based cryptography with groups$(G_1,G_2)$ of prime order $q$ and $a,b \in Z_q$Will the size of random generator $P$ from$ G_1$ and $a$ be same? I think it is different. I don't know why.
|
I have an application using TLSv1.2 for communication. I use the option -Djavax.net.debug=all
Cipher Suites: [TLS_DHE_DSS_WITH_AES_128_CBC_SHA]
Compression Methods: { 0 }
Extension signature_algorithms, signature_algorithms: SHA512withECDSA,SHA512withRSA, SHA384withECDSA, SHA384withRSA, SHA1withECDSA, SHA1withRSA, SHA... |
What are the general ideas for storing keys in order to make sure no one else has access to it?
It's not a good approach to hash the keys, since you are going to need them later.
|
Let's say that I want to compute the sum of $k$ values owned by other parties. The other parties are willing to collaborate to compute the sum, but they do not want to disclose their summands. Is there a cryptographic primitive, say based on public-key cryptography, that makes it possible for me to distribute a public ... |
I am beginner to pairing-based cryptography. After downloading jpbc library, curve parameters files are seen as properties file. For example, for type A curve, following parameters are given.
type a
q 87807107996633125224377819847540498158068831994142082110286533992664756308802229570786251794226622214231558587695823174... |
I've been reading the proof in these slides, the last page, and the author is using the lemma:
$Pr[A(c)=1|M=m_0]=Pr[A(c)=1|M=m_1]$
I understand on the intuitive level that it's a consequence of the assumed perfect secrecy, but can someone provide a proof to the aforementioned?
|
I am puzzled by the following question, since I am not very familiar with proof methods of Pseudo-Random Generators (I only know how to use the inequality from the PRG definition to prove or disprove, but it may not work in this case?).
For any PRG $G$, if we partition an input binary string $s$ with length $n$, into ... |
As far as we know certificate revocation lists (CRLs) include public information so they do not have to be encrypted before distribution.
Is there a case that can require to encrypt it before distribution? A case in which eavesdroppers can capture some information from the CRL and use it to perform an attack?
|
I am not understanding the following from "Lattice Cryptography for the Internet" by C. Peikert (pages 10, 11):
When $q$ is odd, while it is possible to use the above methods to
agree on a bit derived by rounding a uniform $v \in \mathbb{Z}_q$, the
bit will be biased, and hence not wholly suitable as key material.... |
I have a demand to protect my data which can accessed by my client privately.
My data is not in any document but in plain text, e.g., a JSON string.
I want to protect my data against being modified, then redistributing without my permission.
I researched online for a while, and concluded that,
there are digital waterm... |
Both ECB and CTR block modes have advantages over other block modes. They both support parallel encryption and decryption and random reads/writes. Yet both have major disadvantages: (I'm assuming AES block sizes)
ECB produces repeating patterns for the same 16 bytes of cleartext
ECB can be shuffled in 16 byte blocks, ... |
Here is my use case:
A user is trying to transfer money to his friend's account. He enters transaction details on banking website. Bank receives it and then
Bank sends transaction details (receiver name and amount) + One Time Password back to the user (may be through different channel : mobile) so that user can verify ... |
Say you're give some prime numbers $p_{1},p_{2},p_{3}, p = 2p_{1}p_{2}p_{3} + 1$ (which is assumed to be also prime) and a list of numbers $L$ and you're asked to find the generators of the multiplicative group of units of $Z_p$.
What would be an efficient way to do so?
This question comes from a cryptography course s... |
The Signal Protocol is a relatively new secure messaging protocol that was recently implemented in Signal, WhatsApp, and several other messenging apps. According to Wikipedia, the Signal protocol is an evolution of the OTR protocol (https://otr.cypherpunks.ca/otr-wpes.pdf).
One of the major new features of Signal is... |
I have an application in which a user must use a high-entropy salt to salt a message. Due to the fact that I can not rely on the user to actually provide a strong salt, the server must provide this salt instead.
The server needs to keep track of this salt so that it can later verify that a valid salt was used. This add... |
I have a 4096-bit GnuPG private key. It currently resides at ~/.gnupg/secring.gpg.
The private key is passphrase protected.
Is it necessary to keep this private key hidden from public access?
Or, for convenience purposes, can I depend on passphrase protection, and put it somewhere that is not very secure (like a Git ... |
How do I calculate the entropy of a password selected as described?
Choose 4 distinct words randomly from a list of 2000 words. Words can contain special-character substitutions. For example, the following substitutions may be used:
Sub = {a; 0; i; e; /a; 8}
Letter a -> @; Letter o -> 0; Letter i -> {1; !} Letter e -... |
I am not understanding the following from "Lattice Cryptography for the Internet" by C. Peikert (pages 9):
We remark that a work of Ding et al. DXL14 proposes a different
reconciliation method for lower bandwidth "approximate agreement," in
the context of a key exchange against a passive adversary. However, we
o... |
I'm currently designing a mobile/desktop application to synchronize some messages or notes. I'm searching for a way to secure it and to avoid letting the server be able to read the messages.
My goal is to have a client which encrypts a message on the client side, sending it to the server which stores it to the database... |
ZSS signatures have been introduced by Fangguo Zhang, Reihaneh Safavi-Naini, and Willy Susilo: An Efficient Signature Scheme from Bilinear Pairings and Its Applications, in proceedings of PKC 2004.
Standardization at IETF was attempted with ZSS Short Signature Scheme for Supersingular and BN Curves [*].
The example giv... |
I'm told that General Number Field Sieve works with computational complexity $e^{\sqrt[3]{\frac{64}{9}+o(1)}\;(\ln n)^{\frac{1}{3}}\;(\ln\ln n)^{\frac{2}{3}}}$. However, without some computation work it should run with computational complexity $e^{\sqrt[3]{3+o(1)}\;(\ln n)^{\frac{1}{3}}\;(\ln\ln n)^{\frac{2}{3}}}$.
Thi... |
I wrote a small application that uses Argon2i for deriving symmetric keys for encryption of local files and secret Curve25519 keys. Argon2i v1.3 is susceptible to TMTO attacks if the number of passes is below 10, according to the most recent paper I could find: https://eprint.iacr.org/2016/759.pdf
Ideally, of course,... |
I know that in AES the shift-rows and mix-columns operations introduce diffusion, but I don't understand how they create diffusion. Also, I know the add-round-key operation creates confusion, but I don't understand how it creates confusion by simply XORing the round key with the columns of the state matrix.
|
I know that MITM can break three keys into two parts $(K_1,K_2)$ and $K_3$ where the worst time complexity is $2^{112}$.
My questions is whether we are able to break three keys $(K_1,K_2,K_3)$ into three different parts, then starts to attack each key independently? If we can, will the time complexity and space usage ... |
I came across a Chrome extension: Minilock
It's blog contains a post: "No, the NSA Isn't Breaking AES". Small excerpt is below:
A block cipher key is pretty much an initial seed for a
pseudo-randomness permutation more than anything, and that’s why newer
ciphers have focused on adding features (such as AEAD) inst... |
I have a set of sequential and non-duplicate integers which I would like to convert into a set of non-duplicate random integers.
What I want to achieve is this - I have a list of sequential numbers like below
[1, 2, 3, 4, 5, 6, 7, 8, 9]
This list is going to be quite big in reality e.g. 100 million
I want to shuffle... |
I'm trying to create a protocol for comparing two El Gamal encrypted numbers (both numbers are encrypted with the same public key). However I'm having trouble with figuring out how to do this without using decryption at all.
My current approach for comparing $\mathcal{E}_{pk}(a)$ and $\mathcal{E}_{pk}(b)$ is to encrypt... |
Let us suppose that we perform a collision search to find a pair $x_1$, $x_2$ with $x_1 \neq x_2$ such that $h(x_1)=h(x_2)$ for a given hash function, and we would like to specify the memory requirements for this type of search.
What does memory requirements means in this question ?
|
Let $n$ be an integer (the motivating context had $n\approx2^{27}$). All other lowercase variables are non-negative integers less than $n$ (elements of $\mathbb Z_n$). All uppercase variables are vectors of $n$ distinct such elements, or equivalently permutations of $n$ elements.
We want to efficiently distinguish amon... |
question is here. determine true or false
I think that in the RSA cryptosystem, one should use large private key because of the low exponent attack.
Also, In RSA cryptosystem, one should use large public key because of the low exponent attack.
Is my thinking right?
How much long or big do these key need to be?
|
I was reading an example from my textbook about verifying a certificate from a client using a certificate network. The example in the book is as follows:
A issues a certificate to B.
A issues a certificate to C.
A issues a certificate to D.
B issues a certificate to D.
C issues a certificate to... |
For a given block cipher, I would like to verify if any input word diffuses to all output words.
For example in Twine block cipher, they define diffusion as "every output word is dependent of every input word".
How can we check by the program? Is there any algorithm or program to test this property?
I couldn't write a ... |
all is said in the title but I will go further.
First question :
I searched here and I found Tox to be the most powerful protocol. It uses Curve25519, XSalsa20 and Poly1305. They seem to be good algorithm but I think I will replace XSalsa20 for a ChaCha20-Poly1305 combination.
What are you think about that ?
Second que... |
I read a research paper in which the writer again and again writes about norm preserving automorphism such as
$\left \| \phi(a) \right \|$ =$\left \| a\right \|$
and determinant preserving automorphism
$det(\phi (x))=det(x)$
I know what an automorphism is in mathematical sense - an isomorphism from G to G itself.
My ... |
My question is about elliptic curves over $GF(p)$: How is the order of a generating element $G$ (which is to my knowledge also the order of the cyclic subgroup $G^n$) calculated? Taking P-256 as an example, I know basically what the base point $G$ is and also what its order is.
But how is the order of any point calcu... |
We all know the basic equation of Elliptic Curve is $y^2 \equiv x^3 + ax + b \pmod p$
How the value of the constants $a$ and $b$ are chosen?
Suppose $\mathbb P\ni p \approx 2^{256}$ then what approach should I take while selecting the value of constants $a$ and $b$?
I have some basic knowledge of Elliptic Curve, EC C... |
In AES-GCM, from what i understand, the plaintext(as well as AAD and IV) bit length taken in must be a multiple of 8 (as specified by NIST Spes. Pub 800-38D). The AES-CTR however, doesn't "care" about the bit length.
The majority of my confusion comes from looking at how the AES-GCM works as a whole. It seems to me tha... |
Is Merkle-Damgård essentially encrypting the IV with the given message? I may be wrong but this is how I understand Merkle-Damgård:
There is a message of an arbitrary length, which is broken up into blocks before it can be encrypted; the blocks can be padded if necessary. Then a fixed IV is used and the first block of... |
Suppose there exists a set of ciphertexts $S \subset Z_n^*$ of size $\epsilon (p-1)(q-1) $ for $\epsilon>0$, that is easy to decrypt, i.e. there exist some algorithm $A_1 : \mathcal C \rightarrow \mathcal P \cup \{\text{void}\}$ that given ciphertext $y \in S$ and public key $(n,e)$ outputs correspoding plaintext $x$ a... |
I've seen answers here and elsewhere discussing how well the WWII Enigma could hold up to modern cryptanalysis, however, those answers always seem to assume the WWII conditions where the Germans had a limited number of rotor constructions, repeated patterns of plain text, and the Allies had access to a lot of the info ... |
Question:
Consider the following definition of perfect secrecy for the encryption of two messages.An encryption scheme (Gen, Enc, Dec) over a message space M is perfectly-secret fortwo messages if for all distributions over M, and for all $m_1,m_2 \in M$ an d $c_1, c_2 \in C$ with $Pr\{C_1 =~c_1 \wedge C_2 =~c_2\} > 0$... |
Are there example certificates (PEM format) for testing available somewhere ?
For test purposes I would need a certificate signed with SHAS256/ECDSA P-256, together with a complete chain to test verification.
|
This is from an exam question.
What is the average time to success at a brute force attack on a 56-bits key algorithm, if you're able to make 200 tries per seconds?
Let's suppose we got a crypted and decrypted version of a given text, so we know instantly if the attack is succesful or not.
The given answer to this q... |
I am trying to understand how to calculate the modular reduction of Rijndael's finite field.
The example on this page says that {53} • {CA} = {01}, because (11111101111110 mod 100011011) = {3F7E mod 11B} = {01} = 1.
I am able to get to the point where I have 3F7E mod 11B, but cant seem to figure out how the reduction w... |
So, I know what algorithm is used for a secure connection with TLS v 1.2 for eg. And say I know what websites a person is using for eg me. And I also know what packets that website is sending ofc. Therefore, if i find a default pattern with a message long enough I could try to recover session key by brute forcing and s... |
I know that in public cryptography we use asymmetric keys (public and private) for encryption and decryption. But we also use a modulus which fixes the ciphertext length. Isn't that a disadvantage?
Please, can you explain why we use the modulus?
|
Complexity leveraging is a technique that is generally used to prove adaptive security of a selectively secure scheme. Eg: We can prove adaptive security of Yao's garbling scheme using complexity leveraging. Many papers mention about complexity leveraging, but does not present in detail. I would be grateful if someone ... |
What are KDFs? What are their main purposes? How they can be used, in other words, what's their drill in a cryptography scheme?
|
What is the risk of storing an MD5 (or similar) hash of a decrypted file alongside the encrypted version of the same file.
Obviously if someone were to attempt a brute force attack against the file having the hash would provide an end condition for the attack. Does providing the hash make reversing the encryption easi... |
I am somewhat familiar with the RSA algorithm, and I know that the security comes from the fact that the totient $\phi(m)$ is difficult to compute when $m$ is large and of unknown factorisation. I have more or less assumed that something like this lies at the base for most modern public-key encryption, but how widespre... |
This is different from Shamir's Secret Sharing in that we are starting with the keys and deriving a shared secret, rather than the other way around.
Let me be more precise:
We are given keys $k_1, \ldots, k_N$. We wish to derive a shared secret $S$ and a public datum $D$ such that:
$S$ is the same size as the $k_i$ (i... |
I know that one time pad is malleable. Can you give me an example of an encryption scheme which is non-malleable?
|
The Merkle–Damgård construction builds a hash by iterating a compression function $F$, with $S_{j+1}=F(B_j,S_j)$ where $B_j$ is one of $n$ padded message blocks, $S_0$ is the IV, and $S_n$ is the hash.
Customarily, $F$ is built from a block cipher $E$ with block width the hash width and key size the message block size,... |
We know that both the RSA and ECC algorithms are vulnerable against attacks using (future) Quantum Computing (QC). Are there however any advantages of choosing one algorithm over the other?
As an example: would it be possible that the larger key size of RSA has advantages over the short key size used by ECC, possibly w... |
Usually for cryptosystems the security is denoted as a $2^n$-bit security such as 256-bit, 1024-bit, 2048-bit etc whereas I came across homomorphic schemes mentioning 80-bit and 96-bit security.
Is this secure enough? Why does it not follow the $2^n$-bit security?
|
I've tried searching this answer on here and on google, but I cant seem to find a succinct answer (maybe because its obvious).
My understanding from wiki/tutorialspoint/ppt is that for CBC/CFB, decryption parallelizable means a plaintext block can be recovered from two adjacent ciphertext block. Is this correct or is... |
In a stream cipher like RC4, a message is xored with a random stream of bits, hence a n bits message will result in a n bits random-like ciphertext.
So it's a bijection, it's invertible, the output looks like a random element in {0,1}^n...
Why are stream ciphers not considered as PRPs?
|
I understand that if a system uses AES in CTR mode (or other modes) without authentication that an attacker can flip bits to try to get the system to do something it wasn't intended to do (or wasn't intended for the attacker specifically to do).
What is not so clear is, does the lack of authentication mean that the att... |
I'm thinking about the example of Padding Oracle attack in CBC mode with PKCS7 padding given in Wikipedia.
It says about the guess of the last byte in the plain text:
In the worst case, they need to make 255 attempts to find the right
value of z_1 (one guess for every possible byte).
But what will happen if the las... |
I'm generating certificate signing request in iOS, which does not provide proper ready-made API for CSR generation. Now the library I have used for CSR generation produces the different signature for CSR compared to openssl with the same private key.
How is the signature generated and do you think there is an error som... |
I'm working to implement AES (128/256 - either) on one of the RISCV ISA processors & later improve performance by introducing a custom instruction in RISCV ISA.
I'm a crypto newbie and plan to use the
NIST test vectors to validate this C code.
I need to know the below things
1) Is there a link wherein i can find im... |
What do we mean by
the Salsa core preserves diagonal shifts
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.