instruction stringlengths 32 27.2k |
|---|
Samuel Neves in his reply mentioned a method by Coron and May's 2004 paper for deterministically reduce finding to factoring .
As you all know, we are using $\lambda(n)$ everywhere now for RSA. So question is, does this work for $d$ generated with $\lambda(n)$? The paper seems referring to $\varphi(n)$ only. If it doe... |
I know this has been asked before, but it's still unclear whether this is an OK practice. The advice seems to never do this unless you have to, but I can think of some examples where this could be useful.
For example, a program that supports encryption and signing like GPG could support generating Ed25519 keys and then... |
I have an idea for a simple cipher that builds on old techniques that I thought I would share with this group. It has probably been done but I have not been able to find a reference to it.
Given two individuals who wish to encrypt their correspondence, brevity and a one time pad is pretty bullet proof. However there ... |
Good Day. I'm sorry for my sage code, without formulas, but I looking your help friend.
p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F
F = FiniteField(p)
E = EllipticCurve(F,[0,7])
print(E[0])
what mean E[0] ????
It very hard to calculate E[0], so, I'm looking for your help friends.
|
I'm new to zero-knowledge proof. Recently, I'm implementing a non-interactive zero-knowledge proof using the Schnorr scheme. I understand the non-interactive zero-knowledge proof needs random oracle for a prover to generate a proof along with a hash. Others suggested that I need to use Strong Fiat-Shamir to generate th... |
I am struggling with a Diffie Hellman crypto challenge based on a client that uses a static private key. My goal is to trick the client into revealing enough information to reconstruct the private key (2048 bits) of this client.
Let's call the vulnerable client Bob, while I am acting as a malicious Alice. This means th... |
Consider this scenario:
Alice and Bob need to share some secret messages. Alice is the sender and Bob is the receiver. This should be facilitated by Bob giving Alice a public key, such as in a certificate provided through a URL on a trusted site. The communication is one-way; Bob does not need to send any encrypted me... |
So, far my understanding was Modular addition is non linear function which is mainly used in ARX based ciphers.
While I was glancing through RC5 paper (https://link.springer.com/content/pdf/10.1007/3-540-60590-8_7.pdf) the author has mentioned that the only non-linear operation is "data dependent left-rotation", even t... |
There are a large number of algebraic NTRU variants: for example, in some (such as ETRU), the underlying ring has been changed to the ring of integers of a certain number field; there is GR-NTRU, which is over group rings; there is NTRU over quaternions, and octonions, and even sedenions; and there are various other no... |
I'm working with a zk-SNARK library [1] that allows me to prove the correctness of arbitrary arithmetic circuits, and I now want to use these zk-SNARKs to prove that some Paillier [2] ciphertext $c$ was generated by correctly encrypting some secret plaintext $m$ with randomness $r$ (as well as that some other propertie... |
So, I need users to be able to pass me information that no one else can read, so I've generated a secret key. Using NaCl I create a key pair from that secret key and I share the public key of the key pair with my users.
Now, they encrypt their information with nacl.box() which requires their message, a nonce, my public... |
$e:G_1 \times G_1 \rightarrow G_2$,
where $g$ is a generator of $G_1$.
$\text{H}: \lbrace 0,1\rbrace ^* \rightarrow G_1$.
Is $e(\text{H}(D)g^a,g) == e(\text{H}(D)g,g)^a$ ? where $D$ is a string
|
This might be a noob question, I've searched the web but couldn't find anything remotely close to what I would like to achieve. Maybe I don't have the correct jargon, so please bear with me.
Basically, I am building an application based on microservices with a single authorization server that distributes JWT's, which a... |
This is wrt to implementation of the salsa20_word_specification function at https://cr.yp.to/salsa20.html
The 2nd for loop goes like this
for (i = 20;i > 0;i -= 2) {
....
....
....
}
The value of i isn't used inside the for loop. So I am wondering why this loop starts with 20 & goes down to 0 decrementing 2 in each i... |
From Section 3.1 in DJB's document on The Salsa20 family of stream ciphers- https://cr.yp.to/snuffle/salsafamily-20071225.pdf
Salsa20 expands a 256-bit key and a 64-bit nonce (unique message number) into a $2^{70}$-byte stream.
Where does this $2^{70}$ number come from?
|
Does module-LWE remains hard for an even modulus $q$, or a power of two?
This is true for Ring-LWE (pseudorandomness) and Module-LWR (SABER).
I can't find any reference to it!
|
In particular, in PKCS #11. Not a lot of information on the web; I found this explanations. Ignoring the empty marketing talk like “heightened security” and “centralized and secure management”, I managed to extract the following benefits:
secrets do not leave the token,
tamper-resistant audit of the usage of secrets.
... |
I'm trying to build a differentially private machine learning model. I'm using the Gaussian mechanism to calculate the required noise amount based on pre-defined privacy budget value
The equation to find the noise amount is below
$\sigma = \sqrt{2ln(1.25/)} / \varepsilon $
I'm aware that when the model performs severa... |
Alice creates ordered set of $N$ public messages $(m_1,...,m_N)$ and sequentially sends them to Bob. Bob evaluates $N$ functions $E_i(m_1,...,m_N)$ (possibly using a secret random value $r$ and/or his own private key $d_B$) and makes $N$ resulting values publicly available, but uses a secret permutation $P(i)$ before p... |
I'm currently developing a product that requires user data to be encrypted on the client side.
The product is a web app + a browser extension, so the focus is encrypting user data with Javascript. The concept is similar to what 1Password or Lastpass do, basically never storing user data in plaintext, and only the user ... |
My apologies if this is obvious, but the truth is that I am confused about this.
I am looking into RFC 8032 for test vectors for Ed25519, and I have some doubts concerning the information presented in section 7.1 in that document. At the top of this section one can find the following data:
SECRET KEY:
9d61b19deffd5a... |
My question is about the original IBE proposal by Shamir from 1984:
https://link.springer.com/content/pdf/10.1007/3-540-39568-7_5.pdf
In addition to proposing the idea of IBE, it also proposes a concrete Identity-based Signature scheme, however without proof of security or any reduction to a known assumption. Has it ev... |
I'm new to lattice-based cryptography and have trouble understanding if the GSW13 (Gentry, Sahai, Waters) scheme works only on single bits. But is it also possible to encrypt integers with this scheme and add them together?
Thank you
|
I'm not even sure if they are serious, but I've heard many times that some people refuse to not only trust their computer to generate a random string (which is understandable) but also don't trust themselves to do it. So, instead of simply typing/writing down:
fcC540dfdK45xslLDdfd7dDL92
And then randomly changing a fe... |
Short question:
If we assume a one-session use public RSA keypair on both sides, and if we assume that the input stream will be split into blocks -- with CBC encryption -- is there any security disadvantage to encrypting the blocks directly with the RSA asymmetric key rather than deriving a symmetric AES key using DH a... |
I feverishly searched the web and couldn't find a clear explanation about what exactly is "Ephemeral diffie-hellman". Let's briefly recall how diffie-hellman basically works:
Bob and Alice agree publicly on a generator ($g$) and a prime modulo ($p$)
Bob selects a private integer ($b$) and computes $B=g^b \bmod p$. He ... |
Context
Suppose Alice asks Bob to write a (python) code/function named get_sqrt(input) that computes and returns the square root of an input number named input. Next, Alice provides three random numbers as input to Bob. Bob produces the three output numbers using Bob's function get_sqrt(input) and returns to Alice:
Th... |
I am testing a TLS server that uses x25519 for key exchange. I am relying on Scapy-ssl_tls for building the TLS connection. However, this tool uses tinyec as its crypto library, and tinyec does not have curve25519 in its registry, thus this whole setup does not work.
Does anybody know how could I add the curve25519 to... |
Is it possible to use the GSW scheme (Gentry, Sahai, Waters) also on integer values and not just single bits? If not, are there any schemes that support integer arithmetic with the same nice property of not having to use an evaluation key?
Thank you
|
Let's assume that a user wants to symmetrically encrypt the files in one of his folders (being able to decrypt them later).
For this, I have come up with the following procedure:
A random 32 byte salt is generated and saved in a non-encrypted file.
The user then needs to memoize a - hopefully strong - password, which ... |
Let $p$ be a large prime, such that $(p = 3) \mod{4}$. Let $x$ be an element of $\mathbb{Z}^*_p$ such that, for some $y \in \mathbb{Z}^*_p$, we have $y^2 = x$. It is a well-known result that $y = x^{\frac{p+1}{4}}$: $y$ can be computed from $x$ through a sequence of repeated squarings, which makes $y$ long to compute f... |
In the original RSA paper, in the section that describes digital signatures, the authors write, “He [Bob] need not send M as well; it can be computed from S.” Then, a few sentences later, “Bob cannot later deny having sent Alice this message, since no one else could have created S = DB(M).”
But Bob’s encryption procedu... |
I would like to know an algorithm hash to a finite field.
I have an $l$ bit prime number $q$. I want setup a hash function $H: \{0,1\}^* \to \mathbb F_q$ but I do not know how I can do it.
I use a library for a hash with C++, this is cryptopp.
I find an answer at Right way to hash elliptic curve points into finite fie... |
Does Paillier follow a stream encryption or block encryption technique.
If it’s a block encryption then what is the size of the block in bits or bytes.
|
The Diffie-Hellman key exchange algorithm can be used with SSH.
But how does SSH exchange the large safe prime p and the generator for a subgroup of GF(p) g?
According to RFC 4253 the first steps are to send e & f which are calculated depending via:
e = g^x mod p
f = g^y mod p
Now x & y are randomly generated but ho... |
I am a user requiring a legal signature to be installed on a SAP/R3 application. For the past few years a service provider provided a X.509 advanced signature certificate that could be exported as a .pfx file and installed on SAP.
A new service provider supplied a dongle with PKCS#7 and a separate private key is requi... |
What determines the number of possible RSA key pairs for a given $n$?
Is it because $\varphi(n)$ produces the number of values that are less than $n$ and coprime with $n$?
Is it as simple as $\varphi(n)$?
|
Given an Elliptic curve group $E(\mathbb{F}_q)$ where the Discrete Logarithm Problem (DLP) is hard and a base point $G \in E(\mathbb{F}_q)$ with large prime order $n$, what will be the advantage of a polynomial-time bounded adversary $\mathcal{A}$ to solve the following problem:
Given $\alpha = X+Y$ and $\beta = X+Y+Z... |
I wasn't certain how to title this request/problem, but here goes:
I'm A, and I want to send a message that is received by B, C, D.
Each receiving entity here is part of some set of domains D1, D2, D3:
B: {D1, D2}
C: {D2}
D: {D3}
How do I encrypt a message with a single key that I, A send to B, C, D such that it can o... |
"Calculate how many possible key pairs exist"
Found these through searching. Not sure if either are correct. I would've assumed the number would be infinite.
phi(n) - 1
phi(n)/2
|
If a message is padded with cryptographically secure random bytes, is there any reason why this would be less secure than the standard signature padding schemes (PKCS1 v1.5 and PSS)? To give context to the meaning of the word "secure," I would note that my only intention is to prevent others from being able to forge th... |
Can there be two messages M, M' both of the same length such that both MD5(M)=MD5(M') and SHA-256(M)=SHA-256(M')?
Let's compare two files: if they have the same length, they are candidates for having the same content; if they share the MD5 sum they are stronger candidates for having the same content (I understand there... |
I'm working in a very constrained (in code size/memory) microcontroller environment where I'll need public key signature verification. The algorithm to be used can be chosen, and there's no performance constraint; signature verification is a rare event. The data to be verified is obtained by a one-way channel with untr... |
We know that Common Modulus Attacks work with coprime public exponents $(e',s)$ such that $${e_1}s+{e_2}t=\gcd(e_1,e_2)=1$$
I am reading Hinek and Lam's Paper: Common Modulus Attacks on Small Private Exponent RSA and Some Fast Variants (in Practice). Got confused, it seems they proved that Common Modulus Attacks would ... |
I have multiple entities (servers) that all share a private secret already.
Those servers need a rotating secret (TTL a few hours). All servers must have the same set of secrets at all times.
I have another server (command & control) with a communication channel to all my clients.
I want the command & control to handle... |
I am having some difficulties in understanding why is the finishedClient needed.
In case an attacker attempts an attack like a replay attack, it will show immediately that the attacker wasn't able to derive the correct set of keys.
However, this would be evident even without this message as the attacker wouldn't be abl... |
I am looking for a 4-bit S-box which has only 4s in its difference distribution table (except the top left corner) but I was not able to find one in the literature.
Has such an S-box been already published? If not, is it theoretically possible to reach this property? If so, how to proceed?
|
It's best to use separate keys for encryption and the MAC.
Most implementations tend to derive a larger key and split it in two (e.g. scrypt with an output of 32 + 64 = 96).
Alternatively, you can generate one key and then use HKDF to generate a subkey for the MAC key.
How can you derive a MAC key using the encryptio... |
I'm trying to find a way to understand the process of the Berlekamp-Massey Algorithm. But I'm struggling in understanding the fourth step of the process, which is $B^{(r+1)}(x) = A^{(r)}/\delta^{(r)}$. I found this algorithm from this paper, "VLSI Architectures for Reed-Solomon Codes: Classic, Nested, Coupled, and Bey... |
In the paper "Efficient Zero-Knowledge Proofs for Commitments from Learning with Errors over Rings", they gave a commitment from Ring-LWE: to commit to a polynomial $m$ in $Rq(Zq[x]/(x^n+1))$, choose vector $a$, $b$ in $Rq$ randomly, then the commitment is $c = am+br+e$ (where $r$ is random in $Rq$, $e$ is the error).
... |
I know Common ground of them is that in both model the simulator cannot choose the reply for the query, and the difference between them is that in NPROM the simulator can still see the query/answer list, while in standard model it cannot. Anything else about them?
|
Let's say we have an user Bob. User Bob logs in into our web application every so often. We are a website that tries to save as little information about our users, however we'd like to know which users are inactive so we can suspend their account.
Is there any way we could save information about Bobs logins in a way th... |
Short version of the question: what if we encrypt or decrypt by running SHA-256 one million times repeatedly, beginning with the initial "phrase" or "object", so that the operation can take 1 second, won't take prevent hacker's brute-force attempts?
Details:
If the system has an encrypt and decrypt system that would f... |
Wikipedia mentions that Shamir's secret sharing(SSS) for example, has information theoretic security. While I understand the concept that the adversary would just not have enough information to break the security, it must also correspond to some computatioal complexity class, shouldn't it? Let's say I'm an adversary an... |
Let's say I have an Elliptic curve group $E(\mathbb{F}_q)$ with base Point $G$ and large prime order $n$. Computational Diffie-Hellman is assumed to be hard in that group.
$H: \{0,1\}^*\rightarrow \{0,1\}^\lambda$, where $\lambda$ is fixed, is a collision resistant hash function.
I have a symmetric encryption key $k\... |
According to this Bloomberg article:
A Swiss Company Says It Found Weakness That Imperils Encryption
Terra Quantum AG has a team of about 80 quantum physicists, cryptographers and mathematicians, who are based in Switzerland, Russia, Finland and the U.S. “What currently is viewed as being post-quantum secure is not po... |
As mentioned in these notes definition 2
We say that $\{Xn\}_n$ and $\{Yn\}_n$ are computationally indistinguishable if,
for all $\mathsf{nuPPT}$ $D$, there exists a negligible function $ε$ such that for
every $n\in \mathcal{N}$, $|\Pr[t←X_n :D(t)=1]−\Pr[t←Y_n :D(t)=1]|\leq ε(n)$.
However, the definition also states ... |
I was trying to read this introduction to private information retrieval. On page 12 of the document, a scheme for 1-DB private information retrieval is discussed. I was unable to understand one of the steps of this scheme, I will reproduce it below so you can look at it, and hopefully, someone can clarify what is meant... |
I heard they are very similar, although there are subtle differences between the two.
|
Proof systems (provable security) are seen in many research papers related to cryptography and security. Where would I be able to find a comprehensive resource covering the purpose and the fundamentals of proof systems, and its common approaches such as the random oracle model method?
|
I am reading the following book: Introduction to Modern Cryptography Second Edition by Jonathan Katz and Yehuda Lindell.
I am going through page 533 where they list what some of the notation means, and I came across the following:
$O(·)$, $Θ(·)$, $Ω(·)$, $ω(·)$ see Appendix A.2
I believe the first symbol is the Big-O... |
To prevent various forms of timing side-channel attacks, it's strongly advisable to implementing public-key cryptography in constant time. Or at least, without secret-dependent timing variations. However, as far as I'm aware, such implementations rely on a constant-cycle hardware multiplier. Sometimes it's also possibl... |
I'm currently reading "Serious Cryptography - A Practical Introduction to Modern Encryption" written by "Jean-Philippe Aumasson" published by NoStarch in 2018.
In "Chapter 5 Stream Ciphers", under the heading "Attacking Salsa20/8" on Page 100, there is one paragraph (see screenshot below) which I do not quite understan... |
This is from Boneh's lecture ECBC-MAC
Here is also a link to the lecture itself - https://www.coursera.org/learn/crypto/lecture/QYT6i/cbc-mac-and-nmac
CBC-MAC with $(K_1, K_2)$ on a message $M$ applies RawCBCMAC with $K_1$ to message $M$ & takes the output tag & runs the PRF on the tag using a second key $K_2$
Boneh e... |
I have questions about ECIES.
ECIES
Vanillia ECIES
Encryption side (Alice's side)
In "vanilla" ECIES when Alice wants to send Bob an encrypted message:
Alice uses some Elliptic Curve, e.g. secp256k1, knowing its order G and field P (mod).
Alice does not know Bob's private key b, but his public key B (= b*G)
Alice gene... |
I have been thinking recently about inherently sequential functions. In trying to wrap my head around them, I tried to come to the simplest possible function that looks inherently sequential to me. For didactical purposes, I'd like some feedback.
Consider two sequences of 64-bit integers: $a_1, \ldots, a_N$ and $b_1, \... |
I refer to the LM-OTS specification in RFC8554.
It seems that
after having hashed all the chains, including the checksum’s ones, the signature is essentially the concatenation of the hash results.
Apparently one can make the signature much shorter, by hashing the above again.
Boneh and Shoup define Winternitz signature... |
so I am reading up on Linear Cryptanalysis using Heys' Tutorial. I understood how to get "good" linear approximations of the S-boxes though I cannot seem to find a reasonable approach to combining them together. In the paper on page 12 the approximations used seem to be specifically hand-picked to work for the particul... |
A password is used to connect to a database.
This password is kept in a file.
This password (therefore) needs to be encrypted.
A program to access the aforementioned database needs (of course) the password.
Currently the program decrypts the password, uses the password to connect to the aforementioned database.
Is it r... |
Is it a good choice to drop double SHA-256 and use straight Blake2 in a Bitcoin-like blockchain (more POS oriented so it's not a mining problem)?
I'm talking about Blake2 because I've read more about it than Blake3, so this question may even consider Blake3.
I don't want to clone Bitcoin but experiment with variations ... |
I have this textbook definition, I shall include below.
GenModulus denotes a ppt algorithm that, on input $1^n$, outputs $(N, p, q)$ where $N = p\,q$ and (except with negligible probability) $p$ and $q$ are $n$-bit primes.
A few pages back in the book, it did say $1^n$ was the security parameter, which I assume appli... |
If there is an obvious way to solve this problem, please give it a chance before downvoting, I beg you. Also, some insight into the resultant asymmetric cryptosystem will be welcomed (described in the link at the end of this question).
We will work with 4x4 anti-circulant matrices of the form:
$$\left (\begin{matrix}
a... |
We are given the following securitygame $G^{\text{LOSTNAME}}$:
Generate $k \leftarrow \{0,1\}^{\kappa}$ uniformly at random
Choose $h \leftarrow \{0,1\}$ uniformly random
Create decryption oracle $\mathcal{O}_{\text{Dec}}$ that on input c returns $Dec_{k}(c)$
Create a one-time test oracle $\mathcal{O}_{\text{Test}}$ t... |
I am new to crytography. Can anybody tell me what I might be missing here?
|
Disclaimer.
I have asked a similar question on Electronics StackExchange: they advised me to try here.
The question
I am in the process of developing a simple protocol whose security relies on the assumption that computing the SHA256 hash of a very long string of bytes x takes a long amount of time. Intuitively, even a... |
Let's say you have an encryption algorithm that uses PKCS5 padding. You input 'secret message', which is 14 characters long, but for some reason or another the algorithm needs it to be 16 characters long. So you add on two bytes that are equal to 2 at the end.
Then when you decrypt it, you just look at the last byte an... |
We all see X509 certificates with 2048/4096-bit RSA key pairs; however, it is difficult to understand how they work in the DH part of the TLS handshake.
At most, they authenticate and sign. DH 4096-bit generates "parameters," which I know is time-consuming.
When the server generates those parameters, what do they look ... |
This is a $y^2=x^3+7$ elliptic curve points - $Q,G_1,G_2,G_3. k_1,k_2,k$? - secret exponents:
$k_1*G_1( x_1,y_1) = Q(X,Y)$
$k_2*G_2( x_2,y_2) = Q(X,Y)$
$k*G_3( x_3,y_3) = Q(X,Y)$
How to find a $k$?" ??
$Q,G_1,G_2,G_3. k_1,k_2$ - are known
$k$? - need to find.
|
Trying to understand the concept of a Universal Hashing function.
From Introduction of Algorithms by Cormen, Rivest et al
We now define the hash function $h_ab$ for any $a \in Z^*_p$ and any $b \in Z_p$ using a linear transformation followed by reductions modulo $p$ and then modulo $m$:
$h_{ab}(d) = ((ad + b) \mod p... |
How do I go about finding the shared private key g^ab, if I know the prime p, primitive root g, and the public keys g^a and g^b?
Assuming that a, b, p and g are all very large numbers (~50 digits), it will not be feasible to exhaustively search for a and b to calculate g^ab.
|
I have a bcrypt hash: $2b$10$kn7yEh2nYiDqDYNY.hjiZOtASBKT9uO4KozbFWDW2XLYnW58nkpq and a list with given plaintext passwords. How can I get the password from the list?
Is $2b$10$kn7yEh2nYiDqDYNY the salt?
TOMATCH="$2b$10$kn7yEh2nYiDqDYNY.hjiZOtASBKT9uO4KozbFWDW2XLYnW58nkpq"
SALT=b"$2b$10$kn7yEh2nYiDqDYNY."
for word in ... |
Let k1, k2 be two arbitrary fixed keys (nothing-up-my-sleeve values like "foo" and "bar") and E_k1 and E_k2 be the corresponding encryption functions of a block cipher. x is a single input value (same value is fed to both E_k1 and E_k2).
Define a hash as follows:
H(x) = E_k1(x) xor E_k2(x)
This hash is meant to be used... |
An EdDSA signature is (R, S) where R = r*B and S = r + H(R, A, M)*s. Notation from Wikipedia en.wikipedia.org/wiki/EdDSA.
Given that the hash function H, is indeed collision-resistant, would using S = r + H(A, M)*s be a secure variant?
In the original EdDSA paper, the authors mention the need for R to protect the signa... |
As we know, MD5 and SHA1 (to some extent) are broken, and older algorithms like SHA0 or MD4 and MD2 are very broken.
Does this also imply that the corresponding HMACs are also broken?
Obviously nobody should use e.g. HMAC_MD4 anymore. But I'm just trying to understand the underlying security risk from a theoretical poi... |
In Privacy Preserving Processing Over Encrypted Images, I could understand that appropriate encoding of floats into integers (required in Paillier) only incur negligible error in computations.
Any other references supporting this ?
|
Setup
There are two groups, $A$ and $B$. Each group is in a Shamir's secret sharing scheme ($t_A$ of $N_A$ and $t_B$ of $N_B$). Each group has a public key that is associated with the identity of the group. The corresponding private keys are distributed among the members and are never reconstructed on any device. Each ... |
I've seen in this answer Can Shor's algorithm compromise RSA when both the public and private key are secret? that if textbook RSA is used (deterministic) the Shor's algorithm can reak it. However, if RSA is used with OAEP then Shor's algorithm cannot break it. The reason is that the known-plaintext pair doesn't includ... |
I hope someone can help me. I read several papers including the original paper, "Multi-linear Secret-sharing Schemes," by Beimel et al., and watched the following video https://www.youtube.com/watch?v=3GFdp7V_yog but still struggling with the concept of multi-linear secret sharing scheme. I know that in LSSS, the secr... |
In the abstract of The Exact PRF-Security of NMAC and HMAC, Gazi, Pietrzak, and Rybar state:
NMAC was introduced by Bellare, Canetti and Krawczyk [Crypto’96], who proved it to be a secure
pseudorandom function (PRF), and thus also a MAC, assuming that (1) f is a PRF and (2) the function we get when cascading f is weak... |
The paper introducing the RSA cryptosystem titled "A Method for Obtaining Digital Signature and Public-Key Cryptosystems" was published in 1978.
The initial version of X.500 published by CCITT (predecessor of ITU-T) dates back to 1988, with the then X.509 document specifying in its Annex.C a version of RSA cryptosyst... |
I have software that generates user login keys randomly, we store the argon2 hash on our server. The generated keys are very strong, 64 pRNG hex characters. Right now we just use an empty string as the salting parameter in argon2 since we figure salt is not even needed since our passwords themselves are not prone to a ... |
For my hobby cryptography project, I'm planning to implement some helper functions that parses a subset of ASN.1 BER encoding without using a ASN.1 compiler. For this purpose, I'd like to use 32-bit integer for the internal representation of tags' and lengths' values.
If I were to extend my library to other application... |
Monero uses a Pedersen commitment $yG + bH$ to obfuscate the value of a transaction, where $b$ is the value and $y$ is the blinding factor.
For the receiver to know both variables, it uses a Diffie-Hellman key exchange to share a secret $rK$, where $r$ is a randomness chosen by the sender and $K$ is a public key of the... |
Disclaimer: I am aware that the question's title does not adequately describe what I am asking, but it is the best I could come up with. Any improvement is welcome.
I am a university student studying for an upcoming cryptography exam, and I came across this unsolved exercise. I have various questions that stem from it.... |
The CBC-Chain mode of operation is a CBC variant in which the IV that is used for
the very first message to be encrypted is randomly selected, whereas the IV used for
each subsequent encrypted message is the last block of ciphertext that was generated.
Show that CBC-Chain is insecure by constructing an efficient IND$-C... |
I have been looking at the threshold (EC)DSA schemes for honest majority by Gennaro et al. https://www.sciencedirect.com/science/article/pii/S0890540100928815. In the scheme, there are steps where we wish to open the product of Shamir secret sharings. So for example [a],[k] are degree-t sharings of a,k respectively, ea... |
I've seen a large set of ECDSA test vectors for verification. In addition, I've seen some test vectors from NIST, and those can be found here.
Is anyone aware of ECDSA sign test vectors which, if "deterministic k" is used, where the algorithm in RFC 6979 produces a "not suitable k" (leading to rarely used code paths)? ... |
Going through the literature led me to think I understood the difference between these two things, but thinking about I am not actually certain. Could you help me correct my definitions of these two things (or provide some more detail that aids understanding)?
Polynomial Commitment: This is an object created by evaluat... |
I am currently writing a thesis about different cryptographic protocols like DH-Key exchange, TLS or IKE.
Most of them rely on a prime number earlier or later, so for security reasons I wondered if this prime number is supplied by the user and if yes that leads to the question if I can manually provide it (for example ... |
Is it possible to create the constants used in SHA256 on the fly? Meaning I dont have to reserve 64 32-bit words of space? It would result in a slower implementation, but at the profit of using less memory. I know it is possible to do it with AES Sboxes, but how about the SHA256 constants?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.