instruction stringlengths 32 27.2k |
|---|
I'm writing my term paper on bandwidth restrictions between varying generations of PCI-E lanes using the 1x interface of the lane and exploring modern bandwidth restrictions when mining using the latest GPUs.
GPU risers themselves use the 1x lane and I've been looking at the PCI-E wiki to analyze these restrictions:
ht... |
Suppose that we have a symmetric 256-bit master key, and we want to encrypt using AES-GCM with random IVs. I understand that with random IVs, the lifetime of the master key is 2^32 in order to conform to NIST requirements.
Let's assume that we want to increase the lifetime of the master key. Can we do this by adding a ... |
The documentation for Ed25519-dalek states the following for Secretkey:
The caller is responsible for ensuring that the bytes represent a masked secret key.
https://docs.rs/ed25519-dalek/0.3.2/ed25519_dalek/struct.SecretKey.html
What does a masked secret key mean in this context?
|
In this question one way is shown how to prove the possession of a private x25519 key.
Would the following protocol also be suitable to prevent someone from using the client as a decryption Oracle?
Server generates some 'nonce' and an ephemeral x25519 key pair. The sever sends the nonce and the public x25519 key to th... |
I'm currently reading this How To Simulate It – A Tutorial on the Simulation Proof Technique.
On p. 10, there is a proof using simulation for 1/2-OT, against semi-honest adversaries. Briefly, the player $P_1$ holds the messages $b_0$, $b_1$ and the player $P_2$ hold the choice bit $σ$. Since $P_1$ has no output, it cre... |
I have a branching in c++:
if (x & 1)
{
x = function_1(x);
}
else
{
x = function_2(x);
}
If function_1 and function_2 are constant time and it takes the same time to compute them, is such branching still vulnerable for side-channel attacks? Can attacker somehow know which condition was executed?
|
The multiplicative inverse in AES s-box is transformed using the following affine transformation:
$s = b \oplus (b \lll 1) \oplus (b \lll 2) \oplus (b \lll 3) \oplus (b \lll 4) \oplus 99_{10}$
Where did the number 99 come from? For what purpose is it there?
I'm asking, because I'm trying to generalize it in $GF(2^{128}... |
I am working on implementing ECDH with some HSM. According to the theory behind ECDH, the generated shared secret is a point on the elliptic curve (x, y) which is exactly what is returned by the HSM.
But when I test with SoftHSM via PKCS#11 library, the ECDH function returns a symmetric key directly even with KDF param... |
so I wanted to ask something since I just learned about cryptography. Here where I have the task to write an essay on cryptography and the title I have to do is introduction digram analysis. However, I did not find any information about digram analysis. What I know is this digram analysis is used on stream and block ci... |
Section 3.3.5 of the paper “Schwaemm and Esch: Lightweight Authenticated Encryption and
Hashing using the Sparkle Permutation Family” (the link to PDF can be found in this page) contains the following text:
Alzette provides very fast diffusion. In particular, all outputs bits depend on all the input bits
after 4 round... |
If you look at the AES Linear Approximation Table (computed for example with Sage) you will see there are many entries with what looks like a high bias of -16 ("absolute bias" scale).
I know AES is designed to be resistant to Linear cryptanalysis.
If you agree that -16 is a high bias, then there are 2 (3) options:
ei... |
I came across a comment about AES 128 without ShiftRow. I want to use this weakness to perform an attack. So far, I get that It possible to divide in 4 independent blocks of 32 bits. So we can launch a attack independently for each block. However, as the key scheduling use all the master key, I don't know if it is poss... |
I need test vectors for E382 and E521 edward curves in order to test signature and verification process of a software.
|
We know that in RSA algorithm Sender A can send an encrypted message to receiver B without any prior exchange of secret keys. A just uses B's public key to encrypt the message and B decrypts it using the private key, which only he knows.
In digital signature reverse RSA algorithm can also be used to sign a message, so ... |
What is an advantage of the Charles--Lauter--Goren hash function (based on isogenies of elliptic curves) among other provably secure collision-resistance hash functions ? I heard that it is slower.
|
TL;DR: This ABSOLUTELY does not work and presents a huge security risk. Posting it anyways in case there are other threats I missed or to dissuade any other person who comes up with this idea.
Hi! I’m sort of new to cryptography. I’m starting to venture into ZK schemes. For a small project of mine with which I intend t... |
Are there any functions f, g and h, such that:
f is one-way and is used to generate an encrypted message c when applied to message m with a public key (c = f(m, N))
Original message m can only be obtained from c in polynomial time (decrypted) if a private key (k) is known
A new encrypted message (c') for a desired rec... |
When multiplying polynomials from $\mathbb{Z}_q[X] / (X^n-1) $, the discrete NTT is used because: $$ f \cdot g = \mathsf{NTT}_n^{-1}\left( \mathsf{NTT}_n\left(f\right) * \mathsf{NTT}_n\left(g\right) \right) $$
However, in virtually all schemes I've seen the negacyclic convolution is used - the ring is $\mathbb{Z}_q[X] ... |
Definition of XOR-Universal hash functions by Abidin[1]:
A class $H$ of hash functions from $M$ to $T$ is XOR-Universal$_2$ ($XU_2$) if there exist at most $|H|/|T|$ hash functions $h$ $\in$ $H$ such that $(h(m_1) = h(m_2$) $\oplus t)$ for any two distinct $m_1$, $m_2$ $\in$ $M$ and any $t \in T$.
If there are at most... |
I have to write an essay on the paper ad hoc multi-input functional encryption, and can't understand the security definition. In a nutshell it is a primitive that allow sources to supply encrypted data, such that at any point a dynamically-chosen subset of
sources can allow an agreed-upon joint function of their data ... |
I'm looking for a non-invertible bijective function mapping a 64bit value into another 64bit value.
I can't use a hash because it isn't bijective.
Could this be done with public key cryptography ? The key and function may be big. It's just the data that would be small. I would destroy the private key as I never need to... |
If $P$ and $Q$ are two points on an elliptic curve of large prime order, given $P, Q$, and a point $R$ which is either (a) $nP$ or (b) $nQ$, is it possible to determine if $R$ is of form (a) or form (b)? Here $n$ is a secret.
|
I remember reading somewhere that sometimes in some stream ciphers it is necessary to skip the first values they produce. I can't find any information on this right now.
But it seems to make sense. Just as a hash function needs to do many rounds before it returns a random result, the CSPRNG needs some number of iterati... |
RSA challenge is well-known and it has a wiki page.
Is there a discrete log for $\mathbb F_p$ where $p$ is Sophie-Germain prime?
|
The S-box is defined as the generalised inverse function $S:\mathbb{F}_{2^n}\rightarrow \mathbb{F}_{2^n}$,in quotient ring $\mathcal{R}:=\mathbb{F}_{2^n}[X]/(X^{2^n}-X)$
with $S(x)=x^{-1}$, is correct $S(X):=X^{2^n-2}$.
But the Euler's theorem says $x^{\varphi(n)}\equiv1\pmod{n}$,so the answer is $x^{\varphi(n)-1}=x^{... |
I am reading the 800-90B document.
In particular, I'm looking at Chapter 5, the chapter on checking that samples conform to IID.
There are 11 tests such as Excursion Test Statistic and Number of Directional Runs. All these tests can be performed on binary data as well as non-binary data.
In the case of some tests, in t... |
How to caculate the inverse of function $x^3$ in $\mathbb{F}_{2^n}$?,
Any monomial $x^d$ is a permutation in the field $\mathbb{F}_{2^n}$ iff $gdc(d,2^{n}-1)=1$,why?
|
This paper On Ideal Lattices and Learning with Errors Over Rings proposed RLWE which is Ring and hence efficient version of LWE problem. My question is that they considered cyclotomic polynomials for modulus. I am not sure why cyclotomic polynomials are used and what extra advantage we get by using them?
|
In the traditional 1-out-of-n OT, we suppose Alice has an array $A=\{x_1,{\cdots},x_n\}$ and Bob has $idx=i\in\{1,{\cdots},n\}$. After running the OT, Bob leans $x_i$ and nothing else, Alice learns nothing about $i$.
So, my question: is there a "shared" variant of 1-out-of-N oblivious transfer?
We consider the array an... |
I'm told that TLS 1.3 supports only non-committing authenticated encryption schemes. What is a non-committing authenticated encryption scheme? What is the difference between committing and non-committing authenticated encryption schemes? What are the pros and cons?
|
I have been through several sources and papers, but I can't seem to find how these rotation constants were created. Are these constants arbitrary, or were there chosen by some kind of permutation? I can't really find any source.
The order of the left rotates on the left hand side are:
{{11, 14, 15, 12, 5, 8, 7, 9, 11, ... |
I am building my own MQTT based network for which I would generate my own ca/server/client certificates for authentication.
The goal here is to keep the message sizes as small as possible so as to reduce the bandwidth traffic, but I already know that the TLS layer adds quite an overhead to the traffic it sends. Namely,... |
I am curious why equations for signing/validating with ECDSA have forms they have. Is it possible to use simpler equation that have same properties.
For example, this is an equation I found in the book on Bitcoin:
$$
s = (z + re)/k
$$
where,
$r = x\_coordinate\_of(k \cdot G)$,
$e$ - private key,
$z$ - message hash,
$k$... |
An elliptic curve defined over a finite field is either cyclic, or a direct sum of two cyclic groups. In cryptography, we use exclusively the former. I was wondering if there is any result on how common (or rare) are rank-2 elliptic curves defined over $\mathbb{F}_{q}$ for a prime power $q$.
(They don't seem rare. For ... |
In the case of sponge construction, it is shown to be differentiable from a RO. In the paper by Bertoni et al., what is meant by the node being saturated. How does it become saturated and the condition which leads to error in the simulator was not clear.
Paper link: http://citeseerx.ist.psu.edu/viewdoc/download;jsessio... |
Is the random picking of big n-bits random numbers for primality test a time sensitive operation?
If so, would an heuristic for limiting the search space (about 5-10x) without missing out on any prime be an interesting addition?
|
Is it possible to take some value text like “Hello World!” And encrypt it with a random key. Then take the encrypted message and encrypt it again with another random key. And so on…
Then can you write a function that takes in the final encrypted message plus any one of the keys from before and return True or False. Wit... |
Currently I am working on a public api that uses token authentication. The token is a 32 bit random hex that is shared with the user and then stored in our database as an HMAC digest using a secret key. The token is not stored except for the first 4 characters.
My question is, is it safe to store the prefix like this?
... |
I am new to cryptography and I cant get my head around this issue:
If symmetric cryptography is faster then asymmetric and given that Diffie-Hellman key exchange algorithm allows you to exchange keys safely why bother using Asymmetric cryptography if I can exchange symmetric keys safely ?
|
I am reading Introduction to Modern Cryptography 3rd Edition (Google Books Preview of Relevant section, pages 10-11) and am struggling to understand the description of an attack method on a monoalphabetic substitution cipher.
It seems to be an improved version of a letter-frequency analysis approach, eliminating the ne... |
I want to make an ecryption algorithm that is secure in, well, really many ways, which is hard I see, so I came up with some ideas of how to implement it using some primitives that I know and I actually discovered some online that resemble it, but I thought it's time to consult the forum about it.
Firstly I should defi... |
I am working on randomness testing of block cipher. I have gone through the NIST two papers of randomness testing of AES candidate algorithm, links are given below
https://csrc.nist.gov/csrc/media/publications/nistir/6390/final/documents/ir6390.pdf
https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=151216
NIST use... |
I know that PBKDF2 hashes the password a number of times, the result being a key. Can an attacker find the key if they don't know the password, but know the value of the hash of the password?
|
As explained in their example here, Microsoft Seal uses a special modulus that is used for all key material like relinearization key. I wanted to ask why special modulus is used?
|
It is said that Dual EC DRBG has a backdoor given the values of the curve. Hence some people do not trust it.
With that in mind, some people also distrust NIST P-256 Curve. Why? Is it purely because it’s from NIST? Is it the same curve as Dual EC DRBG? Or is it merely by association? Does P-256 use Dual EC DRBG? Or can... |
I am looking for a textbook or published paper that provides specific information on how to configure an ECC. I came across it several years ago and now cannot find it. Does anyone know the source? Specifically, it talked about how to define number ranges inside the ECC with varying equations.
|
Searches have returned absolutely no results on this question. With that in mind, I assume the answer is either painfully obvious ('of course quantum computers get no advantage when it comes to storing data') or the question has just not been studied. Intuitively it makes sense the quantum algorithms would gain no adva... |
Scenario: have an entity A that cannot hold any secret keys. A concrete example would be: an application that needs to be open sourced and cannot be modified. In order to send any signed messages, it uses a proxy signer P. P holds the secret key and signs on behalf of A.
The issue: how does the message recipient verify... |
I was in an interesting discussion with Jon Skeet on StackOverflow. He indicated that hashes are irreversible, but he extended this to non-cryptographic hashes. A hash function has a specific output size while the function can handle any sized messages. So if you argue from that point of view, a hash is always irrevers... |
I was comparing classical schemes with post-quantum schemes. Therefore I was interested in the round three candidates of the NIST standardization process. So far I know, that those post-quantum schemes need a much bigger key-, signature- and ciphertext sizes. Regarding performance, I concluded that the difference is no... |
In RSA we compute e (encryption key) and d (decryption key) $\bmod phi(n)$ and not $\bmod n$, so how come when we get the keys and encrypt and decrypt we use $\bmod n$ not $\bmod phi(n)$ using the following rules:
Encryption: $C =(m^e) \bmod n$
Decryption: $m = C^d = (m^e)^d \bmod n = m^{e.d} \bmod n = m^1 \bmod n = m... |
In DSA, we compute the signature $(r,s)$ on $m$ by sampling $k\in\{1,...,q-1\}$ and then computing
$r := g^k \bmod p$
$s := k^{-1}*(m+x*r) \bmod q$
During verification, we compute $v:=g^{m*s^{-1}}*y^{r*s^{-1}}\bmod p$ and then check $r=v \bmod q$.
Question: Would it be fine to leave $k^{-1}$ out from the computation of... |
I'm developing a way to deterministically generate private keys for arbitrary elliptic curves based on some user-input (a brain-wallet). Currently, I'm using the Scrypt password hashing algorithm with robust difficulty parameters to hash a number of input parameters into a key.
The output of Scrypt should be uniformly ... |
How to make a proof of the correctness of the RSA encryption and decryption formula for $GCD(m_i,n)=1$ and $GCD(m_i,n) \neq1$ where encryption is defined as $c_i = m_{i}^e$ mod n and decryption $m_i = c_{i}^d$ mod n.
So thanks @poncho for giving tips, I wrote a following proof:
Recall that the integers $e > 0$ and $k ... |
I'm going to use the Simon Cipher as an example, but I want to frame the question to be more general. Why would the same cipher structure have a different optimal attack for different bit widths? I would think that structure would be what dictates the attack and not the bit width. SIMON32/64 and SIMON128/256 are vir... |
For a project I'm working on, I need to implement ECDSA over the NIST P-384 curve (AKA secp384r1). For what it's worth, the choice of curve is beyond my control in this particular case.
While I already have a working implementation, and this is (so far) just a low-stakes pet project, I was wondering how I could take ca... |
I was looking for an example of protocol to verify user's identity using Diffie Hellman which works like this:
client sends: $g^x$, ID-Number
server responds with: $g^y$, $E_H_{pwd} challenge$
client responds with: challenge
I understand that g^x, g^y are Diffie Hellman keys, plus it's given that H is a hash function... |
In some contexts (HKDF (RFC-5869 sec 2.2) and Bitcoin's BIP32 (master key generation)), I have seen the key and the data swapped for HMAC. E.g., let HMAC be a function $h:\{0,1\}^c \times \{0,1\}^b \to \{0,1\}^c$ (usual notation) defined for a key $k$ and data $m$ as $h(k, m)$. Well, some people let $k$ be a fixed publ... |
From a very basic introduction text to elliptic curve cryptography point arithmetic is derived from "standard analysis": The (negative) sum of $P_1$ and $P_2$ is defined as the Point $P_3$, which is on the line connecting $P_1$ and $P_2$:
From that it is derived
In real numbers I would understand that completely. But... |
I have been searching for many days about the time complexity of O(n) for AES (preferably CBC mode). Moreover, I am searching for formal documents like papers/books/standards. I found this paper: https://ieeexplore.ieee.org/document/5945606 that says O(1)... I can't believe that! And this: https://link.springer.com/cha... |
In RFC 5869, the definition of HKDF-Expand is given as follows, with the terminating counter value ranging from 1 to (presumably) 255:
The output OKM is calculated as follows:
N = ceil(L/HashLen)
T = T(1) | T(2) | T(3) | ... | T(N)
OKM = first L octets of T
where:
T(0) = empty string (zero length)
T... |
In the security game between the challenger and the adversary for the security definition of public key encryption, the challenger creates and gives the public key pk to the adversary. The adversary chooses two messages of equal length $m_0$ and $m_1$ and asks the challenger to encode these. Finally, the adversary has ... |
For LWE/RLWE, it's difficult to find $s$ from $\left(A, b = As + e\right)$. But if the partial information of $s$ is leakaged, such as partial $s$ or parity of $s$, how easy would it become to solve LWE?
I don't know much about the algorithm for attacking LWE/RLWE, if there is some relevant literature recommended that ... |
It is known that Shamir's secret sharing works over any finite field but I don't get it why binary extension fields are preferred?
|
I'm trying to implement two party computation for ECDSA signing using Paillier cryptosystem.
But my problem is that the order of Paillier is different from the order of the curve (secp256k1 in my case) so when I multiply two scalars in Paillier and then I decrypt them they are in a different order than the rest of the ... |
I found a construction for MDS matrix (algorithm 4 of https://eprint.iacr.org/2020/1143) for a hash function that compresses elements in a prime field $F_p$
If the hash has a rate and capacity $(r,c)$ and $m = r+c$. It proceeds as
Identify a primitive root of unity $g$ in $F_p$.
Write a Vandermonde Matrix $V[i,j] = g^... |
Im working on TLS1.2 on cipher suite ECDHE_ECDSA_AES_128_CBC_SHA256. Im currently at the stage of client encrypted message where I always got error on wireshark from the server saying that Fatal, Description : Handshake Failure. So from what I have done my research, the contain for this client finish message suppose to... |
Usually RSA uses an encryption exponent $e$ with $\gcd(e,\phi(N))=1$.
This question shows why that need to be the case: For $\ne1$ there might exist no decryption exponent $d$ because other $m'\ne m$ can exists with $m^e \equiv (m')^e \bmod N$.
However if we produce our $m$ like:
$$m = m_0^{e} \mod N$$
or more general
... |
There has been a lot of discussion about whitebox cryptography in recent years. However, I haven't found any signs of real world applications using it.
Are there any real world IT solutions depending on whitebox cryptography as of 2022?
Is any kind of whitebox cryptography considered secure by any authority (NIST etc.... |
I'm looking for the ability to create a SINGLE CONSTANT shared secret amongst two or more users (a group) AND if a new user is added to such a secured group the new user should also be able to learn the already known and shared secret without the existing users needing to resend any new data or changing the common secr... |
I'm trying to do ECDSA signing, and I need to compute
$$\left(k^{-1} \bmod n \cdot (m + d\cdot r) \bmod n\right) \bmod n$$
I'm able to do the inverse function and multiplication in Montgomery form, but how should I add $m$? Does the arithmetic play well if I just converted $m$ to Montgomery form? Alternatively, I could... |
I was searching for a random seed to use with a pseudo-random number generator (not trying to encrypt anything). I went to the following web sites:
https://www.fourmilab.ch/hotbits/secure_generate.html
https://www.random.org/
It appears that Random.org has a solid history and is not experiencing problems with DDoS atta... |
While Public exponent is an even number which means Can't get the d in normal way since gcd(e, phi) won't be 1, and in this case only used one prime number for N (multiple uses for one prime number)
What is the idea of getting the m,could p = 3 mod 4 be helpful?
Thank you for any idea.
|
I'm trying to answer without success questions (ii - iv)
Any hint will be appreciated :)
|
If person A generated a hash (e.g sha256) of a file and then signed the hash using a private key.
Given person B only has the public key, file, signature and the hash, would verifying the signature using the public key be sufficient to prove person A signed the actual file?
What hashes and algorithms are best suited to... |
I can't seem to wrap my head around these encryption methods. I can't find a brief description for any of them.
Hash then encrypt
MAC then encrypt
Encrypt and MAC
Encrypt then MAC
|
I know that it wouldn't be possible to use the extended Euclidean algorithm, since it would require the ability to divide a public key and calculate the remainder. I was wondering if there were any other ways of calculating the modular multiplicative inverse of a point on an elliptic curve (like secp256k1)? Or perhaps ... |
I want to calculate the entropy of a specific cryptosystem such as the Caesar cipher or Vernam cryptosystem etc but I don't quite understand how to do so. Any help?
|
Recently I have few experiences with Questions in RSA which e is 2^n instead of 2^n+1, and that leads to gcd(e, phi) is not equal to 1... Won't this make the private key impossible to get? Is the Rabin cryptosystem the only way out?
|
Is there any known/standard encoding or cipher method that uses a 64-character alphabet from byte 30 (ASCII 0) to byte 6F (ASCII o)?
I'm trying to reverse-engineer a file format, and I have good idea of what some of the contents of the files should contain, but I'm not seeing any obvious patterns in the data that corre... |
Block ciphers that are NOT LIGHTWEIGHT use relatively complex key scheduling algorithms to enhance their security and thwart some of the known cryptographic attacks. In such ciphers round constants are also added for removing symmetries in the structure (if these exist) but the selection criteria for the round constant... |
The NIST is currently trying to select new standards for post-quantum cryptography.
The two main categories for the candidates are "Public-key Encryption and Key-establishment Algorithms" and "Digital Signature Algorithms".
The signature algorithms are based on public-key encryption algorithms. Thus, why to separate th... |
I need to know the key exchange of the DHE-DSS cipher suites, will it be the same as mentioned in DHE-RSA?
|
In order to try to simplify or alternatively express cryptographic functions I wonder if the modulo function can be alternatively expressed. Could for example a Fourier series of a sawtooth wave or its discretization be useful? What would that look like for a given range and precision?
|
From this Wiki page: given a Goppa code $\Gamma(g, L)$ and a binary word $v=(v_0,...,v_{n-1})$, its syndrome is defined as $$s(x)=\sum_{i=0}^{n-1}\frac{v_i}{x-L_i} \mod g(x).$$
To do error correction, Patterson's algorithm goes as follows:
Calculate $$v(x)=\sqrt{s(x)^{-1}-x}\mod g(x)$$ (this assumes that $s(x)\ne 0$,... |
please verify or explain how to do this properly.
I'm letting a user create keys from the client through a secure server.
I ask the user for a password on the client, then send the hashed password to the server. The server generates fresh keys and encrypts them with the password hash + the generated verification key. T... |
Related Problem
Standard Addition-Subtraction Chain (ASC) for an integer $k$ defines the order of addition/subtraction (doubling) operations so that $k$ is finally reached, starting with $1$.
This is particularly useful in ECC to calculate $k\cdot P$ via EC point additions/subtractions & doublings.
The goal is to find ... |
Let's suppose I insert these two 4-byte words (32-bits) in a feistel S-box with 1024-bytes of size (256*32-bits), (like Blowfish does):
blah bleh
What kind of attacks could possible be made to discover the words faster than brute-forcing the entire S-box (if they exist)?
Does inserting words/bytes in feistel S-boxes ha... |
I am trying to develop a simple protocol for two users to verify (with respect to a trusted central authority) that they have (intentionally) met/communicated with each other.
My idea was this: Users own a (public, secret) key pair of any common asymmetric system, such as RSA. Their public key also servers as their ide... |
Let $E:\{0,1\}^{128}\times\{0,1\}^{128}\to\{0,1\}^{128}$ be the AES encryption and $R\gets\{0,1\}^{128}$ uniform random bitstring.
Would $E'(K,P):=R\mathbin\|E(K,P)\mathbin\|E(K,R\oplus P)$ be IND-CPA?
I am not sure about my opinion, but I think this would not be IND-CPA since $E$ is determistic and $R$ is used twice i... |
Suppose some original material (say a text message, text.txt) is encrypted multiple times, (say using ChaCha20) each time with a different key.
Suppose the output of this process is a binary (output.bin).
Suppose some third party is attempting to crack the file output.bin.
Suppose this third party succeeds in cracking ... |
Usually the requirements for passwords are that they should be salted and use a high number of rounds.
My understanding is:
Salting a password is only used to prevent rainbow attacks
Using a high number of rounds is only used to prevent brute-forcing short passwords
But if a password is computer generated and only us... |
Imagine a protocol where all one time pad messages are of a fixed length. And they're textual only, à la Truths/Tweets. So a short message would be padded with spaces (ASCII 32) up to the protocol's fixed length, and then transmitted. It would also be appended with a properly formed RFC 2104 HMAC which itself is encryp... |
Identity Based Encryption is an asymmetric encryption scheme such that encryption uses the receiver's identity as the public key. Such a identity can be receiver's email address or some other string that stands for receiver's identity. In this way, before encryption we need not verify the receiver's public key like tra... |
Is it possible for a client to send a blinded password to a server, so that the server does key derivation+stretching on that blinded value, but the key can then be unblinded by the client?
Clarifications
I'm using "blinded" the way it is used in an "oblivious pseudorandom function" (OPRF) like Ristretto255.
Usually I ... |
Suppose an encrypion scheme uses a random string to encrypt and decrypt, which is publicly available, such as an IV or nonce. In all the cases I am aware of, the existence of say an IV is not "assumed": it is taken as fact that generating a 128 bit IV for example is easy and the existence of such a random IV is not th... |
I understand that, as stated here, CRC is not linear (with respect to XOR operator) in general, because it could be initialized with a non-zero value.
I was wondering how to prove linearity, when zero is used as the initial value for CRC. Basically, I'm trying to prove the following equation: (with ⊕ being the XOR oper... |
I am reading the Real-World Cryptography book and in the chapter on signatures it says:
The best way to understand how signatures work in cryptography is to understand
where they come from. For this reason, let’s take a moment to briefly introduce ZKPs
and then I’ll get back to signatures.
I find this hard to believe... |
Hello everyone on the forum,
I'd like to give you an idea of how the keys in RSA could be cracked.
I am a passionate amateur and I do not know if this idea makes sense, but I would like to present it.
I would like to start from the beginning to describe the idea in an understandable way.
We know what RSA numbers are ... |
As I understand, Frobenius Norm is supported under homomorphic encryption. (It’s HE compatible.) However, I cannot seem to find the corresponding function in palisade’s library and documentation. Or any other HE library.
If there’s such function, please tell me.
If not, why not? because it’s very expensive computation... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.