instruction stringlengths 32 27.2k |
|---|
Background
I am an undergraduate novice learning about cryptography. Recently my professor introduced us to the concept of a "One time pad".
According to my professor:
A one time pad is a cipher that exists when one unique key is used
once to encipher/decipher one message. It is also the only genuinely
unbreakabl... |
There is a version of LWE assumption as follow.
Assume that there is a positive number $n$, an integer $q = q(n) \geq 2$, an error distribution $\chi = \chi_{n}$, a vector $\mathrm{\mathbf{s}} \gets \mathbb{Z}_{q}^{n}$ and for every efficient algorithm $\mathcal{A}$,
$$\Pr \left[ A \gets \mathbb{Z}_{q}^{m \times n}, \m... |
I'm trying to implement mutual authentication for a TLS connection between a server (ONOS OpenFlow controller) and multiple clients (OpenFlow switches). I'm restricted in that I must create a single firmware image that will be pushed to the switches and the switches must not be manually configured after that.
Tradition... |
Most basic explanations of asymmetric encryption proceed as follows:
Bob wants to send encrypted message to Alice. Bob and Alice each generate public/private key pairs. Bob gets Alice's public key and "encrypts the message".
I have always assumed that Bob used Alice's public key and his own private key to encrypt t... |
how to break a transposition cipher, especially a turning-grille-cipher?
For example:
$\begin{array}{rrrrrr}
T & E &R& E & W& E \\
E & E& & N & P & Q \\
T& U & I & A& G & H \\
Y & - & L &... |
I think this should be a simple question and I might be missing something fairly fundamental, but I haven't been able to find the answer.
Basically, suppose there are parties $A$ and $B$. Party $A$ gets a secret input $s$. Party $B$ has no input. They wish to securely compute the function $f(s) = (\bot, \bot)$ so nobod... |
I have seen your example about ecdlp solver :The Problem is as follows:
$$E\backslash GF(p):y^2=x^3+17230x+22699$$
where $p=23981$, point $G$ with prime order $|G| = 109$
Alice creates a public key by selecting a private key $d<q$, public key $Q=[d]G = (3141,12767)$
Therefore;
public information : $a,b,p,G,q,Q$
priva... |
Is it possible that a client which gets the Digital certificate of the Server during the TLS handshake then acts as a server? Because a server only needs to have a valid digital certificate which it already possesses.
|
It is my understanding that PRNGs typically use a seed and can then generate random values one after the other. This is what I mean by being 'sequential'.
How about a PRNG which allows me to retrieve e.g. the third value, without computing the first and second? Basically, I'm looking for a function $g: \mathbb{N} \righ... |
I have been searching many websites for source code of AES whether it is ECB, CBC, CTR or any other method but can't find any. Can anyone please help me in getting the source code? I have to implement timing analysis on that code to see whether the code is leaky or non-leaky.
|
(a) Briefly explain the following round transformations of AES Encryption. Please indicate
if it helps diffusion or confusion or both.
SubBytes
ShiftRows
MixColumns
AddRoundKey
(b) Suppose you are computing one round of AES. In MixColums step, one row of your input
is 21A07C3D. Compute the multiplication of 03010102 by... |
In some papers I'm looking at there is some language that says things like "Choose a random number in the order of prime q" and I see some syntax that it is referring to that looks s = Zq (where q is a subscript). What does it mean for a number to be "in the order of" some prime?
For context, the paper I am reading is ... |
How to derive a 4096 bit or 8192 bit RSA private key from a (BIP39) mnemonic seed?
Any tool available for this?
|
Google is advertising the use of Envelope Encryption in their products with their KMS. By the description, it sounds very much like Hybrid Encryption. But since I could not find any reference to Hybrid Encryption, I wonder if there might be a difference in the idea behind it.
Source: https://cloud.google.com/kms/docs/e... |
Consider the following definition from section 2.2 of this research paper
We write $\mathcal{P}()$ for the power set of the set $$. An $-$partition
$Ω=\{_1,\cdots,_\}$ of a set $$ is a disjoint family of $$ nonempty
subsets of $$ with $=_1∪ \cdots ∪ _$. Let $Λ⊆\mathcal{P}()$ be a family of
subsets of $$. For a permuta... |
My encryption function is some permutation using a permutation key.
An input to the encryption function is encoding of my plain text where one plaintext is mapped to many encodings.
Can we prove semantic security of this encryption?
If so how? Can any one please help me out?
Note: Both Plaintext and its encoding are bi... |
Imagine the following scenario. A process is running in background and permanently encrypting some data. An adversary has full control of the process, e.g. it can dump the process memory any time and read the symmetric key. It is essential that the adversary cannot decrypt the data, therefore only public-key encryption... |
Encrypting with AES-256 is widely claimed to be post-quantum secure.
But let's take a case where you use an initial key that has less than 256 bits of real entropy. In this example, let's work with a 128-bit key that has 128 bits of real entropy. We stretch it with something commonly used, like PBKDF2 with 120,000 iter... |
As far I know, the Serpent cipher is the only cipher that uses legit bit shifts (<<) along with circular left shift (<<<) (correct me if I am wrong).
I have two questions on it:
What security advantage added by bit shift? Why is it used in the first place?
Does the bit shift add vulnerability in differential power ... |
I was reading a paper that shows time complexity of Trial division + Miller-rabin test for creating prime number.
T = N(T_rnd + T_td + T_mr)
T_rnd denotes time for making rnd number, T_td denotes time for trial division, and T_mr denotes time for Miller-rabin test.
N denotes the number of r(n-bit random number) that al... |
It seems that ElGamal encryption is also possible for Elliptic Curve cryptography. However, that requires the user to convert the message to a point on the curve. What strategies are there to derive a point from a plaintext message? Is it simply generating an X value that just the message converting to a number and fin... |
As a bit of practice, I'm reinventing the wheel by implementing DES in python. Before I even got beyond the first function, I came across a problem... With key legorooj, which happens to be "64" bits, that should work as a DES key. However, when I use python's built in binary transformation function, I get 56 bits. Wha... |
I wonder what is the security of RSAES-PKCS1-v1_5 under chosen-plaintext attack, in the context of signature verification.
Notations. Let $(N,d)$ be an RSA signing key, and $(N,e)$ the corresponding verification key, with no assumption on $e$ (in particular, I don't assume $e=3$ and consider the general case $e=2^{16}+... |
When using GCM, The padding string $0^{31}||1$ is appended to the IV. I know that this is done to avoid the repetition of $E_K(0^n)$ which is used as key for the GHash. But what would be the security implications if the IV could be $0^n$, what concrete attacks would be possible then?
|
Suppose I have the following hash function:
$\newcommand{\md}[1]{\text{md#1}}
\newcommand{\H}{\text{H}}$
$$\H(x, y) = \md{5}(x) \oplus \md{4}(y)$$
How can I prove it's collision proof?
I tried to say "lets assume we have an oracle which know how to find a collision/pre image of $\H$" and find an algorithm to find $\md... |
Are there any known constructions of functional encryption with function-privacy for arbitrary functions (e.g. not just inner-product)? If so, are these constructions currently feasible or for now just theoretical?
|
If I have a message m and want its HMAC, I can simply do HMAC(k, m). But sometimes I am not given m but the hash of m: H(m). If I do HMAC(k, H(m)) instead of HMAC(k, m), does this make it more or less secure?
HMAC hashes m when it is longer than block size. So I guess this question is only meaningful when m is equal or... |
I'm currently looking into OpenSSL and its API and I'm not really familiar with cryptography.
So I was looking at the example on asymmetric encryption of an envelope. And it says the message is symmetrically encrypted with a session key that is then encrypted with the actual asymmetric key.
Then my question would be h... |
This is a follow up to my earlier question. This is more out of curiosity in how AEAD (like CCM or GCM) works compared to encryption in other modes (like CBC or ECB).
Suppose you have AES-256-CBC encrypted blocks of data, each encrypted with a proper nonce (no collisions). How is it less safe and non-authenticated comp... |
I am a layman in regards to the math behind RSA (and in general, relatively), and my goal is to bruteforce a large quantity of 512-bit RSA keys. Having searched around, I see that msieve, yafu, and an Amazon FaaS (Factoring as a Service) program are the main candidates, however, cracking the keys with Amazon would be i... |
Given an array or database entries of encrypted data is it possible given a min/mix value to get a range of encrypted entries? The min and max values would also be encrypted.
|
How can I show that $C' = 2^e·C^* \bmod N$ when it is decrypted will add zero bits in the least significant bit position of the key?
I am not sure if the cause is multiplying by a ciphertext which would lead the key to be multiplied by it as well.
|
What I know so far
Fact 1) I know that all cryptographic hash functions have the following properties
They are many-to-one in nature
They produce fixed size outputs
Given an output x it is infeasible to find the original message m such that H(m) = x
Fact 2) I know that certain cryptographic hash functions are "s... |
I have some basic idea about cryptography and trying to understand zero knowledge proof, so pardon my ignorance and stupidity. I am trying to formalize sigma protocol in Coq theorem prover, and so far everything is correct except the special honest verifier zero knowledge proof. The definition of special honest verifi... |
Is there any algorithm that allows to set up a VRF (Verifiable Random Function) from a set of Keypairs such that the knowledge of one private key and all the other public keys is enough to compute the VRF output as well as the Proof and the knowledge of all public keys allows verifying the output?
A search on my side h... |
I have seen that there are PRNG that can generate a specific number of random-numbers. The Mersenne Twister as an example, can generate 2**19937 (if I'm not wrong) but... can we use a cryptographic hash function to generate infinite random numbers setting any seed to it?
So I can set text for the seed and do it like th... |
I just encountered a problem when I tried to understand a basepoint conversion from x25519 to ed25519. I can't really wrap my head around how the value of $x$ can be the stated value below? Can someone please, go through the derivation steps of $x$, especially the modular arithmetic part?
From Base point in Ed25519?
$... |
Disclaimer: I have no background in cryptography, and everything I'm asking about is what I've learnt from last couple of days of frantic reading on this topic. Any help is much appreciated.
Q: What does the computational complexity of generating a zkSNARK proof and verifying it scale with?
Specifically, how many bili... |
I would like to use Blum Blum Shub, or Blum Micali methods as random number generators only. I am not interested in their encryption capabilities.
I was wondering, if I replaced the prime numbers with other random numbers that are not prime, how much will this affect:
the security of RNG
the randomness of the num... |
My apologies for the somewhat inaccurate terminology.
Basically I have some simple messages (entropy ~50 bits) the user will use for registration. The messages should remain private, and I don't plan to keep that in my database. However, I do need to keep a hash so that I know when the same message is used again. (thi... |
I am new to PGP/GPG and I am somewhat confused by the idea of the Web of Trust (WoT). Isn't signing a public key with its private key enough to prove the ownership of it? if it is so, why don't key servers just do that before storing the keys instead of relying on users to trust each other?
|
I want to calculate a random number (1 to 6) from the output of sha256. Can I assurance the probability of 6 abilities is the same?
|
So I have been reading about Diffie Hellman and specifically the MitM attacks that it is vulnerable to.
I am aware that these are solved currently in ssl for instance by using rsa signatures to authenticate dh public keys (as in the $g^a$ mod n bit) to prevent a middle man from compromising the connection.
I also am ... |
Take OpenPGP fingerprint for example. If the 40-digit hex standard remains unchanged, would it be helpful to upgrade SHA-1 to SHA-256 (but only taking the last 160 bits), in terms of reducing the risk of collision?
|
I saw in the market several hardware options for creating strong RNG to produce strong KEYS:
HSM
TPM internal TRNG
Intel RDSEED (TRNG)/RDRAND
My questions are;
What is the strength/entropy difference between them? (using intel RDSEED is much lower cost than buying an HSM)
Why feeding TRNG seed (like RDSEED) into th... |
I understood the meaning of interactive assumption from
What is the notion of an interactive assumption?
.
However, I am not sure why there exists a research field of constructing PRF
from standard assumption.
What is the advantage of standard assumption over interactive model in general and especially for PRF?
|
I have a simple question.
Is it more weak to encrypt with the private key against the public key with RSA ?
Like is it easier to "crack", "brake", "solve", "decrypt" when I encrypt with the private key against the public key. Is it really the same process of encryption?
(In both cases we assume that the "breaker" doesn... |
I'm trying to figure out how to verify an XML digital signature.
I have received a signed XML response (in string) in following format:
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
<HEADER>
<tag1 />
</HEADER>
<Body />
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
... |
Let's say we have a group of users, authenticated by a server that providers the service, communicating on a secure channel (e.g. over HTTPS/TLS) and each user has a corresponding curve25519 key pair. Each user keeps a database of public keys of the other users but it needs first to verify that the other users actually... |
For the Needham-Schroder protocol, assuming Alice and Bob are both able to guarantee each other's public keys (e.g. through a Certificate authority), the protocol is
1) A sends to B:
$E_{publicB} [N_1 \mathbin\| ID_A]$
2) B sends to A:
$E_{publicA} [N_1 \mathbin\| N_2]$
3) A sends to B:
$E_{publicB} [N_2 \mathbin\| K]$... |
As the title, if I have:
A stream of 1D noise
And I know:
The noise is generated using the Perlin method with a known number of octaves > 1. (as implemented here)
The random numbers used in each call to the Perlin noise method are generated using the Mersenne twister.
The Mersenne twister is initialised with the sam... |
In RSA, ECDSA, ElGamal and quite a few other schemes, using a secret (random) value equal to 1 might not provide any form of security, while still being mathematically sound.
For RSA, ECDSA or ElGamal, the secret random value might typically be the secret exponent, for example. Or for ElGamal and ECDSA, it might be the... |
For password hashing the NIST Digital Identity Guidelines state
In addition, verifiers SHOULD perform an additional iteration of a key derivation function using a salt value that is secret and known only to the verifier. This salt value, if used, SHALL be generated by an approved random bit generator [SP 800-90Ar1] an... |
The throw away private keys below (master ed25519 & subkey curve 25519) were exported without being password encrypted.
% cat skaht_0523F5B4_Secret.asc
-----BEGIN PGP PRIVATE KEY BLOCK-----
lFgEXfAoixYJKwYBBAHaRw8BAQdAQ5l6GBKYVua9IGVmHiZNEZykd2h0AkxO5mcL
NanWJO0AAQC2JM3xGd6htChecBpLTYGM+Z0tRLQs1Oo5FGBgE2D6wg97tCdza2Fo... |
Attacking a Diffie-Hellman exchange with logjam involves a massive precomputation effort once for the group, and then a comparatively simple reduction stage that is necessary to break each individual handshake. At what DH size does the reduction step, which isn't precomputed, become impractical?
For example, if the red... |
I'm currently working on the development of an unorthodox system in which, ideally, there would be one master key pair, with thousands of keys derived from it. There needs to be a way to prove that any one of those keys is derived from the master key. In this scenario, the private and the public keys of all of the deri... |
Question about DES-CBC : how to know IV if I have key, input buffer (plaintext), output buffer (encrypted) and decrypted result where first 8 bytes are incorrect but all other bytes are correct ?"
|
With EFS, we know that a symmetric key, File Encryption Key (FEK), is used for encrypting files. The FEK is then protected by encrypting it with the public key of the user that can be recovered by decrypting with their corresponding private key.
The private key is again encrypted with the user's log-in password. My arg... |
In a Diffie-Hellman key exchange protocol, the system parameters are given as
follows: finite field $GF(2^5)$ defined with irreducible polynomial $f(x) = x^5 + x^2 + 1$ and
primitive element $\alpha= x$ in the field.
Suppose that Alice selected random number $a = 5$ and Bob selected $b = 6$, show the steps
performed by... |
I saw the AES algorithm that at the end of algorithm the buffer that stored in the beginning of algorithm the encrypt/decrypt key. now is store the last subkey.
What is the last subkey? Why do I need to know it?
|
As far as I know, PBKDF2 uses an underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here?
I expected to use somethi... |
It seems that with both anonymous communication protocols we can achieve some level of forwarding anonymity, however, is one protocol better than the other in this respect? It seems that they both offer the same level of anonymity with different drawbacks:
Mixnets are vulnerable to replay attacks which can allow atta... |
Most modern papers on zero-knowledge proofs (for example, BBB+16) recycle essentially the same list of boilerplate definitions, concerning soundness (formulated using extraction or some form of "emulation") and zero-knowledge (involving simulation).
Yet Katz and Lindell's incredible book does not use these definitions—... |
I want to read the full output hash of SHA-256 as a number. How I can do it? Is it in the range of 0 to 2^256?
|
I'm lacking quite some mathematical knowledge here, but could anyone please explain to me why the Paillier cryptosystem is still (additive/multiplicative) homomorphic despite introducing a random value?
$[\![w_1w_2]\!]_g$ = $[\![w_1]\!]_g + [\![w_2]\!]_g\ \bmod\ n$
Does it have to do with the value being sampled from $... |
In the shamir secret sharing scheme, the Secret s is set as the constant in the equation
$ y_p = s+ \sum_{i=0}^{i = t-1} a_i * x_p^i$
s can only be the constant term or the last coefficient or the secret may be leaked. This is also per question below:
Coefficients in Shamir's Secret Sharing Scheme
How can I show this ... |
I have topic for my research paper is modified AES algorithm for enhaced security of WPA-2 , it posible ? what i should learn ?
thanks
|
I have been doing a lot of research on Diffie-Hellman, and I understand how Alice and Bob are able to get a shared g^ab using both of their private keys. However, I am unsure about how this can be applied to passwords (strings). I assume you have to do something with the hex version of both the password and g^ab, but w... |
I came across with cryptosystem whose decryption method is: $\ m = c^2 \bmod n $. It's exact opposite of Rabin's, where's the same formula is used for encryption.
What is the name of this cryptosystem?
How does the encryption function in this system work?
|
In Trapdoors for Lattices:Simpler, Tighter, Faster, Smaller, Micciancio and Peikert proposed a CCA-secure encryption.
However, I am confused about the step in decryption algorithm (p.36 Lemma 6.2.).
That is, $\mathbf{v}^t \begin{bmatrix} R \\I \end{bmatrix} = 2(\mathbf{s}^th(u)\mathbf{G}$ mod $q$) + encode(m) mod $2q$.... |
Lets say I have the following modified RSA scheme
We choose two large primes P, Q, with additional restriction that these are relatively prime to (p-1) and (q-1)
We choose N = PQ as public key
We calculate $P'$ such that $P'P \bmod (Q-1) = 1$ and $Q'$ such that $Q'Q \bmod (P-1) = 1$
Encryption is $C = M^N \bmod N$
T... |
I read about ElGamal from various resources and I was wondering if the following is true. Would appreciate if you could elaborate on it so I can understand better:
Is it possible to construct, given an encrypted message $c_1=E(m)$, another encrypted ciphertext $c_2$ that will be decrypted to the same message without kn... |
So I know that you can recover the state of a mersenne twister generator by observing a sequence which is long enough.
I was wondering if you could be able to recover the actual seed value used or if an attempt would yield an equivalent at best?
Also, closely related, let's say we use a 32-bit seed value. Does this me... |
I'm considering an implementation of PRF
$F:\{0,1\} \times \mathcal{K} \rightarrow \{0,1\}^{1024}$ with a key space $\mathcal{K}$ in particular with AES-128 in counter mode.
Since output space is 1024 bit and one block size is 128 bit, we need to use 8 blocks to encrypt a counter and a nonce.
The counter is incremente... |
Can you please tell me what should be the quality of an encryption function using a key size of 256 bits...
I realized from my previous question that a simple XOR of plaintext (256 bits) with a suitable key of same size is totally unsafe, as the key can be totally recovered by a simple known plaintext attack.
I was t... |
This is a form of the Kerberos protocol
I have two questions. Why does this protocol give the opportunity of a known plain-text attack because of no authentication of Joe? And how would an attacker perform a known plain-text attack?
|
I am working on a project that requires encrypting messages with different ciphers. I am looking for the following ciphers:
PRESENT,
CLEFIA,
LEA,
Hill cipher,
Affine cipher,
Elliptic Curve Cryptography.
In the past, I used AES from openssl UNIX utility which is pretty much standardized.
I found some implementa... |
Let's say I used this encryption schema:
In words instead of images:
Hash the encryption key with SHA256
Split it in half, first half use as XOR key for first 128 bit block of plaintext
Hash the second half from previous step with SHA256
Carry the hash to point 2), rinse, repeat.
What are potential problems/weakpoi... |
Is there a pseudo RNG and function $f$ with
1.) The RNG produces a value $v_0$ out of $N$ different values (set $S$).
2.) Independent of the RNG the function $f$ generates $v_{i+1}=f(v_i)$
Requirements:
$\bullet$ $v_{i+N} = v_i$
$\bullet$ $\forall i$: $\{v_{i+k}, 1\le k \le N\} = S$
$\bullet$ $v_{i+j} = f^j(v_i)$ so ... |
In Elliptic Curve Digital Signature Algorithm (ECDSA) I often see 2 different written equations of it:
Elliptic curve point multiplication by a scalar, $Q_{A}=d_{A}\times G$, source
Modular exponentiation, $y:=g^{x}\mod p$, source
Both methods work other than one is multiplication the other is exponent. Are there any... |
If I have the plain text, the ciphertext and the key for an AES-128 CBC operation, can I determine the IV, even if I don't know the padding (assuming the padding follows one of the more common formats)?
I believe it should be possible since my understanding is that the IV is only used as an initial XOR of the plain tex... |
Assume we are designing a CSPRNG to be used in encryption like that used for ECC-based cryptography.
Is it required that the seed always produces the same random number always? Or should it be designed to produce different numbers, making it even more secure?
|
I am struggling with these two cipher texts, I cannot identify which king of cipher was used.
First:
otnpeetrnneepeufofutisrtrllohcdmetoeheeatyngonrmrm
And second:
mvevgpwosytaeeisvcgofotbisfnoamtersmeslykuoakaypep
|
MPC is $f(E_1(a), E_2(b)) = c$, where $E$ is encryption by different keys $k_1$ and $k_2$.
Homomorphic encryption is $f(E_1(a)) = E_1(c)$, where the input and output are encrypted.
I want $f(E_1(a)) = c$, because I'm going to use $c$ but can't see $a$.
One user will give me private inputs, I'll run a computation and ge... |
To find possible key sizes for an encrypted message, I break the message into blocks with length s,
blocks :: String -> Int -> [String]
blocks s n = (take n s) : blocks (drop n s) n
for each such partition find the average Hamming distance (normalised by the block's length) between any 2 of the blocks and find the k... |
I recently started learning about Hash Functions for my first time, and I've gone through and have tried to understand the SHA1 process.
Brilliant does an excellent job of explaining it step by step.
https://brilliant.org/wiki/secure-hashing-algorithms/
As far as I've understood, hash functions are meant to be collisio... |
I am exploring Keybase and I thought it was merely a wrapper for gpg and connecting its public key with social accounts (e.g. github, twitter, etc...). But after reading the very short and unclear post in https://keybase.io/blog/keybase-new-key-model it seems that Keybase now by default generates 2 key pairs (one is cu... |
Is there a way to figure out what RSA padding type was used on signature during verification (when calling EVP_VerifyInit, EVP_VerifyUpdate and EVP_VerifyFinal) or is it a matter of convention which has to be known in advance?
|
I'm a high schooler who is interested in learning about post-quantum cryptography.
I would like to read some papers of post-quantum public key algorithms, shortlisted by NIST: https://csrc.nist.gov/projects/post-quantum-cryptography/round-2-submissions.
I have a basic understanding of abstract algebra, number theory,... |
I asked a question yesterday about the Keybase key model and got no answers, unfortunately. Let me rephrase the question to make it clearer: in the case, if 2 users just want to send each other low-frequency e2e encrypted messages (e.g. files) via a 3rd party semi-trusted server over a secure channel i.e. TLS, using c... |
Benaloh cryptosystem requires $\gcd(r, (q-1))=1$ which is impossible if $q>2$ (since it needs to be a large prime) and $r=2$. This confuses me, since Benaloh is referred to as an "extension" or "generalization" of Goldwasser-Micali cryptosystem, but even though they're extremely close, Benaloh doesn't seem to work at $... |
What is the chances to forge a signature for the system implementing Rabin signature with total message recovery, if attacker posses the public key and have some message pairs? The last byte of message to be signed is freely changeable.
The attacker doesn't have access to signing oracle.
|
For an OTP I need the 'best' random data I can acquire.
Please check if my thinking for stacking PRNGs together in a pipeline can only make the output statistically better, never worse?!
So take a hardware USB PRNG that uses some 'technique' to produce random data, the data may look pretty random - but we may never kno... |
Again and again are we adviced to make good passwords: At least 12 chars, numbers, signs, upper and lowercase.
But why is that really needed?
I can see the need, if the system uses a hashing algorithm that can be implemented in ASIC, where an attacker can test trillions of combinations per second.
But using scrypt, Arg... |
I am trying to deal with Bulletproof. I can not find confirmation or refutation of the following assumption:
Bulletproof cannot work without the random oracle, which is a
necessary part of the protocol.
Thanks in advance for your answers.
|
A story appeared on Forbes today claiming that we now have an absolutely unbreakable cipher. It cites a paper published in Nature Communications. However, I'm skeptical:
But what if there were a method of enabling data to be sent using an "absolutely unbreakable" one-time communication technique? What if that techniqu... |
Assume that I operate a user-facing online file syncing service that offers end-to-end encryption of large files, such that files are encrypted client-side first, then uploaded to the server for storage. Assume that at present, files are encrypted with AES-CBC.
My question is, how is a such a service to safely facilita... |
On the wiki page for HKDF, in the Python Implementation, there is a hash_length variable for the sha256 digest length, used in the hmac in the hmac_sha256 function.
However, if I wanted to replace the hmac with a kmac, I would have to change the hmac(...) into kmac(...), where the underlying hash algorithm is the shake... |
in LWE instance $b=A^t s +e$, can we find an orthogonal basis of coefficient matrix A in polynomial time, let it be B.Multiply B to get $Bb=Be$ as term with s will vanish. Then solve for $e$. After getting $e$, subtract from $b$ and get the equation without error. Solve for $s$.
My doubt is, "Is finding orthogonal co... |
I understand how hashing and encryption/decryption work at a very high level, where the functions work as a black box. Hashing scrambles the input in a non-uniquely reversible way, whereas encryption uses a key to scramble the input in a reversible way where it's highly unlikely that any other key could produce the sam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.