instruction stringlengths 32 27.2k |
|---|
I've encrypted a couple of 10 letters words from https://www.bestwordlist.com/10letterwords.htm using a key of 10 characters. This is done using Vigenere cipher. Decrypt the cipher and give the key
Ciphertext: XRPEFGMHNL XDBEWUMHNL
How we can decipher when we have only 2n size ciphertext where n is the key size
Can yo... |
I am trying to understand PRF's and PRP's. I have got a question where I have to decide whether $F(k,x) = (k \wedge x ) \oplus k$ (where $k$ and $x$ are simple $1$ bits (1 or 0)) is PRP or not. I am not sure if I understand PRP's correctly. As I have found:
A Pseudo Random Permutation is a PRF that happens to have the... |
I know that zk-SNARK takes in range of milliseconds to verify statements. But what about the time to generate the proof. For example, if I have a circuit that tests the There is key s.t H(key)=s
Thanks for anyone offers help in this question since I need an answer to it urgently in my thesis.
|
I am trying to figure out why it is necessary S-box's to be nonlinear. I have been searching for some materials but was not able to find out clear proof why it means that if we use S-box in DES, it would also be linear. I was watching Coursera's course for Cryptography. I didn't understand where this matrix $B$ comes f... |
I am struggling with understanding the difference between the two. From what I am putting together, they have different adversarial models, MPC adds the condition of collusion between parties i.e. election voting.
I would appreciate if it anyone could provide both a simple and expanded explanation for this.
|
Can anyone help me understand key entropy the mathematics behind it and the uses for it?
I understand most of it but I just want to understand what does $\log 2$ do like if I do. $\log 128 / \log 2 = 7$?
The Professor has really confused me here on this one on what the $\log 2$ mean? formula;
$Entropy = \log(Phrases)/... |
Let $\operatorname{F}$ be a $\operatorname{PRF}$, how to prove $\operatorname{F^3_{k_1,k_2}}(x) = \operatorname{F_{k_1}}(x) \oplus \operatorname{F_{k_2}}(x) $ is aslo a $\operatorname{PRF}$?
|
While reading this document I came across the following problem. Assume you have $n$ clients. The clients need to generate random integers in $\mathbb{Z}_p$, say $T_i$ for $i \in \{1, \ldots, n\}$, such that $\sum_{i=1}^n T_i = 0$ in $\mathbb{Z}_p$. This integers are then used as secret keys, so if $n-2$ clients cooper... |
I am trying to understand fault attack on RSA-CRT, and I found some example, which I don't know how to solve it.
I know public modulus $N$, public exponent $e$, a value of faulty signature (where one of the two partial signatures was incorrect) and the value of correct signature. The message $m$ is signed by RSASSA-PK... |
If someone ever demonstrates that P=NP, will it give us a polynomial factoring algorithm, or will it only tell us that such an algorithm exists, but we still have to find it?
|
I was wondering what is the conceptual difference between these two passive attacks on a network. I was reading about them on Wikipedia and they seem quite similar to me. Is there a difference?
|
Context
Here's the usual proxy re-encryption scenario:
Alice, with key pair $(pk_a, sk_a)$ encrypts a message $m$, producing $c = encrypt(pk_a, m)$
Alice saves $c$ on an untrusted storge provider (Dropbox, IPFS, etc..)
Bob, with the key pair $(pk_b, sk_b)$ asks Alice to access $c$
Alice generates $re_{a\rightarrow b} ... |
I am pretty new to the cryptography scene but I wanted to know if it is possible to use crib dragging on cipher text which doesn't contain words? This data would be encrypted using the same key with a one time pad and the data is encoded using base64 before it is encrypted.
For example,
key = [1, 2, 3, 4]
message1 = [... |
I'm sure this has been asked before. Its just too blindingly obvious.
from wikipedia
"Digital signatures, in which a message is signed with the sender's private key and can be verified by anyone who has access to the sender's public key."
So lets say Bob sends Alice an unencrypted message, and Charlie overhears it. Wha... |
Let's say I have an elliptic curve $E$ $y^2=x^3 + 486662x^2 + x$ over a prime field $GF(2^{255} - 19)$. My algorithm for computing $E(m)$ is as follows:
I take the bits 1 through 32 of the message and plug that for $x$ in the equation.
I then calculate the result, store it as $x$,
and calculate the sign of $y$ using... |
I have some misunderstanding about EdDSA conversion coordinates between Montgomery curve and twisted Edwards curve. In https://www.rfc-editor.org/rfc/rfc7748 I see that a base point for Curve25519 is
Montgomery curve:
U(P) 9
V(P) 14781619447589544791020593568409986887264606134616475288964881837755586237401
Twisted E... |
I am trying to write a simple Mac program to factor primes. Nothing new, but I have a problem. The largest integer I can use seems to be 2^64, which is not that big.
Did you hit any similar problem? If so, how did you solve it?
Thanks in advance.
|
I am designing a challenge-response protocol to enable a client to authenticate to a server. The client has a private key, and a certificate (issued by a trusted CA). At this point in the protocol, the server knows who the client claims to be, but wants to prove it. My first attempt was:
$C ← S : r_S$
$C → S : S_C (... |
I've implemented vouchers module in my web project where I use it to generate redeem get etc... vouchers.
since voucher codes are considered sensitive, I've considered to encrypt them using AES-GCM.
but how can I query clear voucher code to encrypted one to check voucher validity in order to redeem later?
I've thought ... |
I have been reading about recommendations on the correct use of crypto as a developer and I read at least two references to the obsolescence (so to say) of ECDSA.
https://paragonie.com/blog/2015/08/you-wouldnt-base64-a-password-cryptography-decoded
https://crypto.stackexchange.com/a/58382/63254
Is that it? Is ECDSA ... |
I am a student studying cryptography by reading "Introduction to Modern Cryptography".
I have some confusion about encryption using PRP (e.g., AES).
Briefly speaking, a keyed deterministic permutation $F_{k}$ is a strong PRP if no efficient adversary (who is given oracle access to $F_k$ and $F_k^{-1}$) can distinguish ... |
KDF such as scrypt is memory (cpu) demanding so that the attackers cannot quickly decrypt the key.
Why use HKDF? What's the application of it?
If the attacker knows the input space of HKDF, and since the procedure of HKDF is public, what's the extra benefit of using it?
|
Is there any known algorithm for calculating $a^{-1} \pmod{q}$, where $ q < p$ and $F_{p}$ is the prime field of the MPC, in a linear secret sharing scheme ?
I have tried using the standard algorithm, in which the parties generate $r$, then run secure multiplication on shared values to get $r⋅a$ and open it, and then e... |
For cryptography, the platforms have limited size as 32 or 64-bit operations. We definitely need big numbers to implement the encryption/decryption and digital signatures for cryptosystems like RSA, Elliptic Curve, etc.
We have seen lots of side channel attacks due to timing differences or power usages analysis.
How a... |
Quite a simple question though I can't wrap my head around it:
The key size is: $n$
Because it's brute force it tries each possible key once from $0$ to $n$, but in my head that just makes the run time $O(n)$, though it's surely meant to be a polynomial or exponential. The decryption message is of size $x$ though I'm n... |
I am using AES with GCM and a colleague told me "Repeating a VCC with the same key and a different message reduces the security of the key." He did not have any additional detail to offer.
What he meant was since the encrypted VCC is in a fixed location in a packet, bad guys could intercept the messages and correlate t... |
Consider the keyed permutation $F_k : \{0,1\}^2 \to \{0,1\}^2$ with two-bit keys defined as $F_k(x) = k\oplus x$.
Is this F a PRP? How can I create a distinguisher D and calculate the difference when using this D?
I know that $F_k(x_1) \oplus x_1$ will give me the key and that all $x$ and $F_k(x)$ in the same permu... |
We are using a 12-word scheme BIP-39 mnenemonic key generating scheme that creates an entropy of 128-bit that is then used to generate a seed that in turn derives a private key for the user. It chooses randomly 12 words out of 2048.
There are $2048^{12} = 5.444518 \cdot 10^{39}$ combinations that form the entropy for t... |
If we use upper and lower case letters, and 10 digits, we get
approximately 6 bits per character. Then, strings of 13 characters
should work.
I saw above explanation in the material, but I cannot understand how 13 characters are appeared. How can I compute?
|
I've noticed that looking random is not often listed as a requirement for a good hash function in the same way that preimage or collision resistance is.
Do we need hash functions to look random?
Specifically, suppose $s$ is a seed, and consider the PRNG that outputs $$H(s \|0) \| H(s \|1 ) \| H(s \|2) \| ...$$
Do w... |
I am actually trying to study homomorphic encryption (on lattices) but I'm facing a problem. Every paper that I have read so far talk about writing the function to evaluate on ciphertexts as a circuit, either boolean or arithmetic according to our scheme if I understood this part well. My problem is that I couldn't fin... |
I am using an ECDH key exchange to establish a shared secret between an Arduino Uno and an Android device. For this purpose I am using this library and more specifically Curve25519. This is the confidentiality part of the secure communication I want to establish.
Now, before establishing shared secret between the Ardui... |
Suppose $A(n,m,k)$ computes
for 1 < i < n do {
for 1 < j < m do {
/* some efficient cryptographic operation */
}
}
where $k$ is a security parameter and integers $n$ and $m$ are upper-bound by a polynomial in that parameter.
Algorithm $A$ has complexity $\mathcal O(n\cdot m)$, which is quadratic when $n=m... |
I understand that the entropy is the number of bits that can encode a set of messages. However, I don't understand what the min-entropy is and how it is related to entropy.
Let's describe a simple password case: if a password is 100 random bits, is the min-entropy also 100?
|
I was wondering whether given a concrete $N = p \cdot q$ whether we can find a upper bound on $\Delta = | p - q|$ as function of $N$ e.g, $N^\delta$, and thus test whether a given $N$ is vulnerable to Fermat-Factoring?
|
Nowadays the group key agreements are based upon tree-based ones such as Asynchronous Ratcheting tree. Especially the latter one is constructed upon left-balanced tree.
So I keep wondering what benefits has a left-balanced tree from any other binary tree structure to this application?
|
I have a 256bit signature and a certificate with a public key to verify it. I had little information about the signature scheme used, but I know now that it's "ECBNwithSHA256". I have never come across these Barreto-Naehrig Curves until now.
My question to the community is: The certificate contains two point pairs (eac... |
One of the important improvements introduced in TLS 1.3 is the pruning of the many previously available cipher suites to only five secure options (for symmetric ciphers), that are each supposed to have distinct advantages. For four of these, the advantages seem to be clear:
TLS_AES_128_GCM_SHA256: faster on systems wi... |
I am currently looking into a Trivium implementation available in the FELICS framework.
Parameters of the Trivium stream cipher:
Key size: 80 bit
IV size: 80 bit
State size: 288 bit
The Trivium specification states that the algorithm only shifts the state by one bit per iteration. However, in the FELICS implementatio... |
I understand that both an HMAC and digital signature are used to check the integrity and authenticity of a message. Further, I understand that a digital signature is non-repudiatible.
What I do not understand is when to use an HMAC vs a digital signature, in practice. I appreciate the help!
|
Suppose Alice wants to convince Bob that ciphertext c = (a, b) = (gr, m*hr) is some properly encrypted plaintext (not just random numbers). Obviously she can use zk-proof of discrete logarithm knowledge for the first part of the ciphertext (a = gr). But what can she do with b-part?
One of my ideas: if m belongs to subg... |
In one of the first FHE schemes by Gentry, the KeyGen algorithm is defined as follow:
For a security parameter $\lambda$, set $N = \lambda ^ 2, P = \lambda ^ 2, Q = \lambda ^ 5$.
KeyGen$(\lambda)$: Generate a random $P$-bit odd integer, $p$. A set $\vec{y} = \{ y_1, y_2, \ldots, y_\beta\}$ is generated with $y_i$ bits.... |
So if possible could someone tell me or at least recommend a book.
|
Let $f_k(B)$ denote the underlying function (a pseudo-random permutation) of a block cipher: it uses an $x$-bit key $k$ to encrypt an $y$-bit block $B$.
The question: is it possible to make use of $f_k(B)$ to construct a cryptographically secure One-way compression function that transforms any sequence of $y$ bits to a... |
I was reviewing WOTS+ scheme for consideration in our private blockchain, and noticed that it had a small overhead of calculating a checksum as seen in the following pseudocode excerpt from the SPHINCS+ submission to NIST
wots_sign(M, SK.seed, PK.seed, ADRS) {
csum = 0;
// convert message to base w
msg = base_w(... |
I have a pcap of my twitter traffic using wireshark. The cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 method is used for for encryption data.. I have a tweet of 42 characters are traced in the pcap. How can i get the application data packet with the length of my tweet data.
|
For my class assignment, I was given this text;
Qpuvu vo vv stazpuykzh Hhycmlmv asb. Ad dhyaqva wh uyo uzb jpwww Avlw.
Tkpjllfdmbp zoatz vzjavfvna ZLHqh. Amva luy yyvlz yu bhk zua zlhvvalaz
yow llh uldu llzy yzlvao. Hzk caslyv kfzounf zayy sh pvsv. Uopz ala
yrvhbhm tk ppp Thlll jya. Blz o bblw tol Lsjay hba ljw ... |
PKG will be sending the Private key,so it may not be secure,some one may get the private key,how to overcome this problem in IBE. Please help am unable to justify.
|
When hashing a messages of size of n, does the SHA2 algorithm always produce the same sized hashed value?
The reason I am asking is that I am building an OAuth 2.0 authorisation server and I want to publish the size of the client identifier as recommended in the RFC.
|
I read this paper on protecting user privacy in smart parking management system. It talks about using zero knowledge proofs to protect privacy but I am not certain how they do it. My assumption is that the Verifier has the public key of the User and sends the User challenges that the User needs to complete with its pr... |
We're building a private computation platform similar to Zexe, where nested proofs are used to preserve the privacy of the programs being computed. We may use different proof systems for the inner and outer proofs. For the inner proofs, we're searching for a system with these properties:
Conjectured post-quantum secur... |
In one of my recent research, I need to compare the number of gates needed in Ring-LWE encryption to AES in the circuit model. For AES we can find some estimation like this site, but for Ring-LWE we can't find such an estimation.
Could anyone give me an estimation?
Is it safe to say the gate count for AES encryption ... |
I have a Paillier Cyphertext C and a counterparty that controls the keypair that was used to encrypt the data D to arrive at C.
How can they prove to me that the Cyphertext C is actually the encryption of a particular value, e.g. how can they prove that D=0 without giving me the secret key?
Equivalently, how can that c... |
Is there a difference between:
Common modulus attack
Common Factor attack
Wiener's attack
or are these just a different name for the same attack?
|
I did read some articles about the protocol but couldn't figure out what would happen. Would the two parties be unable to verify each other? Or would it be something else?
based on the international standard ISO/IEC 9798-2.
|
The description of the sponge function on Crypto.Stackexchange contains the following text
The cryptographic sponge is a construction scheme for hash functions (and other symmetric primitives) based on an unkeyed permutation.
But is it possible to make use of a keyed permutation $f_k(x)$ to construct the sponge funct... |
I'm working on an old CTF challenge where AES-128 was used on a 16 byte block. I have the round 10 key and the ciphertext. What techniques exist for obtaining the plaintext?
|
I'd like to know which strategy is adopted by an unlimited adversary to distinguish PRF's from Truly Random Functions
|
I am looking for an easily defined stream cipher to illustrate two basic principles in an undergraduate cryptography course:
not every bit of the internal state should be used in the keystream;
some non-linear operations should be used to step the internal state.
So far, my only candidate is the Geffe generator... |
Suppose for any given typical Bob, Eve and Alice encryption example where Bob and Alice exchange information using RSA. Bob encrypts his message using Eve's public key and sends his message off to Alice.
If I was Eve, suppose I attempted to brute force the private key, and kept doing it mathematically by computing the ... |
I've been puzzling recently over sortition, a democratic method of selection for public office which I find very fascinating. Basically, instead of choosing candidates like Hillary Clinton or Donald Trump through voting, under sortition citizens would be randomly selected to fill public offices (in which, under many mo... |
In effect the same 128 bit key is XORed at every round and before and after as whitening.
Would it be 2^128?
What are the dangers of such a naive key schedule and does AES suffer from them?
Edit: Fair enough, slide attack is a problem. It doesn't explain however why there is a key schedule instead of round constants.
|
A root certificate can be used to issue intermediate certificates.
The private key of the root certificate is needed in order to sign any intermediate certificates.
However, after that, we only need the public key of the root certificate to verify the signature of intermediate certificates.
Similarly, the private key o... |
I am trying to understand the sponge construction, and in the official web site I found this sentence:
The last c bits of the state are never directly affected by the input blocks and are never output during the squeezing phase.
Now I understood that the capacity is used to hide the internal state to an attacker. But I... |
This question may be a basic question but it is not clear to me at the moment.
I have an Error Correcting Code (ECC) in a key-encapsulation scheme designed for post-quantum cryptography which operates on secret data.
The ECC I am using is constant time as long as the number of errors which need to be corrected is const... |
I have an assignment to build a software which can encrypt/decrypt by RSA method. I already did it, but my teacher said that I need to find a test suite (include: modulus, public key, private key) to test if my software runs correctly.
He needs real data which has already been tested by someone else and that data needs... |
I'm trying to implement a Provable Data Posession protocol using elliptic curves, but am stuck at the $\text{KeyGen}$ phase of choosing a subgroup $G_2$. Here's an excerpt of it.
On input $\mathcal{K}$, choose an elliptic curve $E(\mathbb{F}_q)$ with a subgroup of large prime order $p$ generated by $P\in E(\mathbb{F}_... |
Assume I have a list of plaintext text and its corresponding ciphertext which was created using a specific key with AES in ECB mode.
Can I recover that key?
If, how big does the list of plaintext and matching ciphertext have to be to be able to find it in a feasable amount of time (say in 1 or 2 hours)?
|
I implemented the Diffie-Hellman Key Exchange algorithm but, I was wondering how to handle if one of the parties lost his key.
Let's take a chat app as an example, Bob and Alice they used to have a shared key, but sadly Alice changed his device, and what if Bob sent a message to her encrypted with the shared key while ... |
My crypto course proposes the following padding schemes:
$\operatorname{pad}(m) = m \mathbin\| 0^i$
$\operatorname{pad}(m) = m \mathbin\| 10^i$
$\operatorname{pad}(m) = m \mathbin\| 0^i \mathbin\| E(\left|m\right|)_l$
$\operatorname{pad}(m) = E(\left|m\right|)_l \mathbin\| m \mathbin\| 0^i$
where $E(\left|m\right|)_l... |
I've been thinking about verifiable random functions recently due to my interest in sortition (random selection of political officials). I wrote up this little paragraph below, and I'm wondering: Does this paragraph seem accurate? I'm not very confident in my thought process haha as I'm quite a newbie to cryptology and... |
Both Asmuth and Shamir are threshold based secret sharing schemes and perfectly secure.
In which point of view Asmuth bloom secret sharing scheme is better than Shamir secret sharing scheme.
Could you please give me anyone reason Asmuth bloom secret sharing scheme is better than Shamir secret sharing scheme.
|
I have been looking into the SHA-1 algorithm. I found that there are a set of functions and constants in the algorithm that have been standardized (section 5 of RFC 3174). If I want to use SHA-1, which I know is not advisable, does changing the constants and altering the functions have a positive effect on the security... |
I should be able to find a collision for a vulnerable hash function which uses AES ECB given a prefix, but I am unable to find a reasonable solution (besides brute-force attack).
The hash function is really simple, it uses AES ECB with a known IV with all 1's. The result is then bitwise XORed and used as key for next c... |
I have to send small (~10 bytes) authenticated messages over an insecure channel. I was thinking of an alternative to the "conventional" AES128-CTR-MAC, which will take 16 bytes for the CT and additional 2 or 4 bytes for the MAC. The motivation is that I'd like to reduce the message size as much as possible.
My altern... |
I want to create some software that performs diffie hellman group key agreement but I don't want to reinvent the wheel even if I know how it's done. So I came accross the NaCl library, especially the scalar_mult functions.
As far I know you can perform Diffie Hellman key agreement on elliptic curves therefore, my thoug... |
I have created a root certificate, an intermediate certificate, and a server certificate:
root (ca.cert.pem)
|
+---intermediate (intermediate/certs/intermediate.cert.pem)
|
+---www.example.com
↳ certificate: (intermediate/certs/www.example.com.cert.pem)
↳ private key: (intermediate/private/www.e... |
I'm wondering if the algorithm 1.2.840.113549.1.1.1 (rsaEncryption) is still secure to use for S/MIME encryption. I'm afraid that the scheme is vulnerable against attacks against raw/textbook RSA.
I'm considering to change to 1.2.840.113549.1.1.7 (id-RSAES-OAEP) but with no insecurity of 1.2.840.113549.1.1.1 (rsaEncryp... |
I have read in a paper that Authenticated Encryption (by this I mean those that support GCM mode or ChaCha20 ciphers) are not supported in versions older than TLS 1.2?
I could not confirm this as the paper does not provide a reference. Can any expert confirm this information?
|
There is a language called SystemVerilog that can be protected via encryption to allow sharing/licensing code for others to use, but prevents them from seeing the code contents. This is done based on the recommendations of IEEE 1735 (paywall) and through support through the Compiler/Simulation software. If the correct ... |
A company I'm consulting for has a (quite old) home grown web SSO solution based on an encrypted cookie. The auth flow looks more or less like this:
User hits protected page on integrated site
Site redirects to central logon site
User authenticates and gets sent back to originating site with an encrypted cookie contai... |
This is a historical question. In the third AES Conference of NIST (AES3), April 13-14, 2000, New York, near the end of the conference, one representative for each of the last 5 candidates sit on a table and people asked questions to them.
One interesting question was;
Except for your proposal for AES, what is your ca... |
I'm stuck on exercise 4.19 from Introduction to Modern Cryptography.
Let $F$ be a keyed function that is a secure (deterministic) MAC for
messages of length $n$. (Note that $F$ need not be a pseudorandom
permutation.) Show that basic CBC-MAC is not necessarily a secure MAC
(even for fixed-length messages) when i... |
Von Neumann extractor works as follows:
Suppose $C$ is a biased coin, with $p = P[C = 1] > P[C = 0]$ and let $b_1b_2\ldots$ be sequence of results by independent coin tosses. For $i \ge 0$ one observes $b_{2i}b_{2i+1}$. If the two bits differ then one takes $b_i'$ to be the first bit. Otherwise,one takes $b_i' = \epsi... |
In some papers (e.g. 1, 2) the authors approve that pairings are more efficient than classic zk-proofs (e.g. proof of discrete logarithm knowledge) for the described applications (threshold encryption, PVSS).
Let's see the differences between these approaches:
Proof:
Pairings: there are no additional steps.
ZK-proo... |
Both the papers GPV'08 and MP'11 present trapdoors for lattices that allow to recover $s\in\mathbb{Z}_q^n$ and the error vector $e\in\mathbb{Z}_q^m$ when given $y=As+e$, for $A\in\mathbb{Z}_q^{m\times n}$.
Also, they claim that their constructions allow to construct signatures via the "hash and sign" paradigm. That is,... |
In a Diffie-Hellman key exchange, with a generator $g$ and a modulo $n$, and two keys $k_1$ and $k_2$, why is
$(g^{k_1} \bmod n )^{k_2} \bmod n \equiv (g^{k_2} \mod n)^{k_1} \bmod n$
|
Why is $\left(g^{k_1} \bmod n\right)^{k_2} \bmod n = \left(g^{k_1}\right)^{k_2} \bmod n$ ?
Note of the editor: I used $=$ where the original question used == because $=$ in a cryptographic context is equivalent to == in many programming contexts (they both stand for equality, even if the former denotes an assertion and... |
I'm really having some trouble with this one.
Let $H$ be a MAC function. For every key $K$ we can create an unkeyed hash function (i.e.an MDC) by using $H$ to hash messages with the fixed key $K$. We denote this unkeyed hash
function by $H_K.$ (Note that every key $K$ gives a different hash function $H_K$. Therefore, ... |
I’m curious about what the secret shared input for a garbled circuit is. Essentially, a garbled circuit is a two party computation framework where each of two players has each input as bit string. In this case where is secret shared input?
If there is a case when secret shared bit string is used as input, I want to kno... |
I recently developed a new cryptographic algorithm. I just initiated with just nothing in mind. But being near to completion (though my algorithm is constantly developing. Now it is version 11.02), I am very curious about how strong my cipher might be...
So I entered the technical side of my algorithm and I step onto h... |
Is it possible to find points that are on two elliptic curves, and how?
More precisely, I'm looking for coordinates $(x,y)$ that satisfy the defining equations of two elliptic curves on prime fields $\mathbb{F}_{p_1}$ and $\mathbb{F}_{p_2}$:
$$
\begin{cases}
y^2 \equiv x^3 + a_1 x + b_1 \mod{p_1} \\
y^2 \equiv x^3 + a_... |
Are there any Oblivious Transfer (OT) protocols that don’t rely on asymmetrical encryption, public-key encryption or key-exchange?
I’m starting to wonder, as all the OT protocols I know of (and can understand how it works), rely on such an encryption layer. Are there any out there which is somewhat-standalone and does ... |
How much data can be encrypted with the same RSA key before it has to be changed?
I looking for the total amount of data that can be encrypted for a single key pair, not the maximum length of data per iteration.
As an example, let's take a 2048-bit RSA key with a PKCS#1 "v1.5 padding". We can compute that the the maxi... |
I'm a high school student doing a project about blockchain. I'm trying to figure out why hashing algorithms are crucial for the existence of blockchain and other types of cryptography wouldn't work. However I've learned about pseudo random number generators and they seem to do the job. Any reason why these would not be... |
I am learning RSA cryptography. The part I am stuck on is understanding how k and the public exponent $e$ is selected.
Given the formulas;
Decrypting: $c^d \bmod N = (m^e)^d \bmod N$
Which is equal to m the message
Encrypting:
$m^e \bmod N = c$
My question is when generating the private exponent how do we find what the... |
I have the following definition of perfect secrecy (please assume that the probabilistic version is not available):
If we consider the eavesdropping game given by:
$$\begin{array}{|r | r|} \hline Alice & Eve \\ \hline & (m_0,m_1) = E.m()\\ k \leftarrow Gen() & \ \\ b \leftarrow fair\_coin() & \\ c \leftarrow Enc_k (m... |
There is a specification, in Informational(!) RFC 6091, for using PGP keys in TLS authentication, although I don’t think it has ever been implemented outside of GnuTLS (it’s certainly not in OpenSSL).
Yet the TLS 1.3 RFC 8446 §4.4.2 goes as far as to specifically prohibit this obscure extension with a must not. Normall... |
I am trying to write a python script to access the IC in an eMRTD as per ICAO Doc 9303. Everything is going swimmingly until I come to the part where I need to calculate a MAC using ISO 9797-1 Algorithm 3 (padding mode 2).
In Appendix D-3, the MAC of E.IFD 72C29C2371CC9BDB65B779B8E8D37B29ECC154AA56A8799FAE2F498F76ED92F... |
Cheers. I'm dealing with HSM via PKCS#11 C/Python interface. I'm wondering is it possible to do some C_Encrypt/C_Decrypt in hardware. By saying "in hardware" I mean encryption/decryption without exposing the result to the caller space. This is mostly aboud decryption as I want to call C_Decrypt and leave the result ins... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.