instruction stringlengths 32 27.2k |
|---|
I've looked for 256-bit AES encrypted wireless keyboards, and apparently they don't exist. Can anybody explain why this is from a cryptographic point of view?
Why wouldn't they just opt-in to the highest standard of encryption, instead of settling for the runner-up? Is there any cryptographic (or closely related) reaso... |
I try to understand the reasons behind the design of PSS scheme for RSA. Why is the length of the EM message (that is, the result of PSS transformation just before signing) equals approximately to the size of the modulus? Why PSS does not use a last call to a hash function (for instance SHA-256) so as to reduce the siz... |
I want to make a password manager that from a single master password generates passwords for my services. For that I thought that HKDF suits my needs, as it is able to generate multiple keys from a single strong key.
Here I read that HKDF is secure if the key is "good" which password aren't. So I thought about using PB... |
Currently I am working on PRESENT block cipher implementation (Hardware) and I am unable to understand the role of round counter in key scheduling part of cipher.
Can some share some insight on round counter and its working?
|
I'm specifically looking for curves that are safe (ideally on this list: https://safecurves.cr.yp.to/) and which allow for the fastest scalar multiplication operations on arbitrary points.
By 'arbitrary', I mean scalar multiplication with points other than the base point, which are only expected to ever be encountered... |
Let's say my friend has made an md5 hash of an email address and sent it to me. The email address will be something like 'jessica_XXXX@gmail.com', and I know it begins with 'jessica_' and ends with '@gmail.com'
Does software exist that would allow me to bruteforce the middle part, which is only four unknown characters?... |
In an answer to the Question "What are recommended, general strategies to start block-cipher design and/or analysis?", in terms of brute force attack, it is written
256 bits is considered secure forever, even in the face of futuristic
quantum computers
is it true? or i can consider 128 or 192 bits secure as well ke... |
What is the Limit on Maximum Number of Blocks to be Encrypted under One Key in CBC and CTR Mode? What happens if the limit is crossed and more number of blocks are encrypted?
|
for bcrypt it's probably common knowledge that it isnt binary safe because it uses null termination, which means that when bcrypt is used you need to make sure that no one does these (e.g. by hashing the passwords in a different binary safe function like SHA256 before and encoding the output)
by now we have essentially... |
From what I heard, many encryption algorithms are based on the assumption that some problems are computationally hard, i.e, NP-complete. In the unlikely event that someone proves that P=NP, these codes will break.
Is there a practical encryption algorithm that will remain safe even if P=NP?
I.e, an algorithm that depen... |
I generated rsa key by jsbn:
{
"e": "10001",
"n": "74a258004dd6c338b27688c1dd13d90da3269321d6dfa3cd8d7cfd7521453d0c5a9828bd507cfc6fe004ddcc09c498d2ceea8e05c214a63ab99d33c9060236f02d5f8bd1e7b334c7f74745948664aeba1a5addf7e7d76911ebf382852aabe86e06f83e0f7669be172380069547f542d8b0848b8bcf53e57c04d5e4163820ced3e4078418e... |
From what I read, the backdoor in Dual_EC_DRBG operates by using related $P$ and $Q$ points.
Did I understand the idea correctly?
Dual_EC_DRBG works by multiplying the $P$ point with the seed initially, and then using the $x$-coordinate of the previous resulting point (let's call that $S$) instead of the seed (that val... |
There is currently a GitHub discussion on .NET not supporting AES-GCM for any streaming data since releasing decrypted data prior to tag checks somehow reveals the plaintext or the AES key (or some such undocumented catastrophic failure). A lot of chatter between two choices:
1. Allowing AES-GCM for streaming data
Rele... |
I'm working on breaking a base64 Vigenere cipher.
My guess is that the plaintext has been first base64-encoded, and then a variation of Vigenere with a 64*64 alphabet table used, the alphabet being composed of abc..xyzABC..XYZ012..789/+"
The cipher is quite short, and I have pratically no repetitions so Kasiski's test ... |
I've created a competition for a few friends of mine that wanted to learn the basics of penetration testing. In said competition, there is one section in which there's a log file you need to check out to find and submit the flag. Since I don't want the players simply looking at the source code and getting the password,... |
I have seen that the existence of weak OWFs implies the existence of strong OWFs.
It comes from repeating the weak OWF polynomially many times on different random inputs.
However, I have a different question here : given a weak one-way permutation $f$, does the function $(f\circ f \circ f \circ \dots \circ f)$, where t... |
I'm using mbedTLS to generate RSA signatures, and using PKCS 1.5 I get consistent signature output.
I wanted to ask/confirm here that this is secure? There's surely got to be a reason for the PSS scheme, but some googling around left me feeling 1.5 is unbroken and 2.1 is just for a proof.
Consistent signatures a great ... |
Partially inspired by ring learning with errors (RLWE), I am trying to construct a cryptosystem that requires the use of a non-invertible matrix.
Of the methods I've thought of to generate a matrix of determinant $0$, erasing a row/column or two seems the easiest, but I have no idea on how non-invertible this is.
I w... |
I am writing an exercise in cryptography about anonymous communication. One of the systems I have looked into is the mix net protocol. I want to prove that this is secure. I have seen many different ways of doing this, i.e. using a zero knowledge proof, but I don´t completely understand this.
Is there anyone who has a... |
In a context involving a block cipher like AES-128, excluding quantum computers, cryptanalytic breakthrough on AES and implementation attacks (poor TRNG, DPA..), and wrench, how confident can we be that by key search, "nobody will crack a 128-bit key" until 2100. Assume business as usual for humanity, use of 1 year wor... |
Consider a protocol, wherein Alice wants to send a message $M$ to many friends $F_1, F_2, \dots F_n$, from whom she has (some form of) public keys ($e_{F_i}$, with private key $d_{F_i}$). She does not want her friend Bob ($B=F_1$) to know that she sent the same message to her friend Charlie ($C=F_2$), and vice versa.
A... |
I know that chop chop attack is because of WEP's insecure checksum mechanism that is CRC32. As TKIP uses MIC along with CRC32 which just makes an attacker to wait for 60 sec upon two mismatch MIC codes. But how does an attacker guess the data by using ARP and Deauth Packets?
|
Suppose that:
$i$ is a zero-based index.
$K$ is a secret key.
$X$ is a stream of data.
$x_{i}$ denotes the $i$th block of data in $X$.
$s$ is the number of blocks in $X$.
$X = x_{0}\mathbin\|x_{1}\mathbin\|\dots\mathbin\|x_{s-2}\mathbin\|x_{s-1}$.
$y_{i}$ is a value derived from $x_{i}$, $i$, and $K$ in a way that in... |
What could be the keylength of the DES encryption if we have an output of 64 bytes?
|
I'm not sure whether this had been a long-standing open problem in cryptography.
Definition
An associative pseudorandom permutation $f(k,m)$ is a permutation such that:
$f(k_1, f(k_2, m)) = f(f(k_1, k_2), m)$
Given $s = f(k, m)$ and $k$, the only way to find $m$ is brutal-force search.
The output of $f$ is indistin... |
In section 4 (protocol 4.1) of the paper by Naor and Pinkas [1], why did the authors decide to operate in a subgroup? When they say "the messages are in the subgroup" does that mean $x, y, z_0, z_1$, $w_0, w_1$ and the encryption keys are in the subgroup but the private values such as $a, b, r_0, s_0$, etc. are not? Do... |
Why can't Bleichenbacher's Attack work for RSA public exponents with values equal to 65537 and above? Does the fact that 65337 is a prime number have any relevance to it?
|
So we'll have a transform that maps any of $A=2^a$ possible inputs to $B=2^b$ possible outputs. $a$ is generally fixed as the number of bits in the input, and $b$ is determined by the transform used. We'll name the difference $d=a-b$.
There's 3 main groups:
$d$ is large and the output is much shorter than the input - ... |
Is it right that all block ciphers don't provide perfect secrecy like AES? If it's true, how can we prove that? If it's not true can you tell me a sample? Any reference or guidance would be appreciated.
|
When encrypting a block device with a given symmetric cipher with a 128-bit block size in CBC mode, every second plaintext block in a sector can be changed to contain arbitrary data, with the blocks in between being corrupted. When encrypting with XTS mode on the other hand, an attacker has the ability to corrupt an ar... |
i'm new to crypto and am working on a little exercise to understand the weakness of ECB mode encryption. Here is the scenario.
I have the plain text
I am not tall
and the associated cipher-text generated using an unknown key with AES-ECB.
Is there any way, apart from brute force, I can change generate the ciphertext... |
Suppose that:
$E(k, x)$ is the encryption of data block $x$ with key $k$ using a block cipher.
$L_{Key}$ is the key size of the block cipher in bits.
$L_{Block}$ is the block size of the block cipher in bits.
$F(x) = (a \cdot x + c) \mbox{ mod } m$, so it's a linear congruential generator.
$m = 2^{L_{Block}}$ is the m... |
I came across the ChaosKey and I remember the time I came accros the entrypy key that was always out of stock. I would really want one to play with, I would like the best open source I can get for under 80 USD.
According to Wikipedia, ChaosKey is FIPS-140-2 and FST-01 (NeuG) is NIST SP800-22 certified.
Now, I must say ... |
In section 4.4 (page 6) of Camellia: A 128-Bit Block Cipher Suitable for Multiple Platforms - Design and Analysis, it says
$FL$ and $FL^{−1}$ functions are inserted between every 6 rounds
of a Feistel network to provide non-regularity across rounds. One of
the goals for such a design is to thwart future unknown at... |
In Quantum Key Distribution, the distributed key is produced by Privacy Amplification (also known as key distillation). An ID Quantique whitepaper introduces it with a
Rudimentary Privacy Amplification Protocol
Let us consider a two-bit key shared by the emitter and the receiver and let us assume that it is 01. Let ... |
I believe I'm probably not the first person to think of using this as a trapdoor.
Let $R$ be a square matrix ring, and $S$ a commutative subgroup of its multiplicative monoid.
Let $P \in R$ be a publicly-known matrix such that for all $x \in S$, $x$ can be constructed by calculating $x = P \cdot D \cdot P^{-1}$, whe... |
Example: $X$ and $Y$ have the same asymmetric key pair.
$X$ communicates with $A$ and gives it's PubKey to $A$.
So, $A$ has the PubKey of $X$ which also happens to be the PubKey/PrivKey of $Y$.
Now intentionally or by chance, can $A$ intercept and read the signed messages of $Y$?
If this can happen, does this not m... |
I am considering how long a SHA-1 computation will need on modern CPU/GPU's. Just in case we are interested in brute forcing and consider the birthday paradoxon, then we need consider the SHA-1 output range of 160 (?) Bits.
The number of brute force attempts, until our attack is by 50% successful, requires $\left\lcei... |
I am trying to decrypt a Vigenere chiper, I saw a lot of youtube videos but I still can get a good value for the key length.
In theory I have to get the repetions of letters shifting the text one place every iteration and then see how many steps there are between the biggest numbers, but it gives me no common path.
|
We know that OWF $f$ such that none of its bits are hardcore exists. We also know that given an algorithm that solves a problem with non-negligible probability, we can repeat it many times and take the majority of the answers. Now, to predict $x$ given $f(x)$, we define predictors $P_i$ for $i$ ∈ $[1..n]$, where $P_i$ p... |
I need asymmetric pub/private keypair encryption in JavaScript. Web browsers support RSA-OAEP, which works exactly as I need. But there is a table which lists supported algorithms for web crypto at https://diafygi.github.io/webcrypto-examples/ ... and RSA-OAEP is marked using red color (Discouraged, only use for backwa... |
I've been creating a Capture The Flag site and for one of the challenges I wanted you to have to break an encryption algorithm. Granted I want it to be a weak one, so I want the weakest out there. One that needs a password and it's a symmetrical key encryption. One that could be cracked in 20 minutes or less with minim... |
I have 20 bytes of data that I need to encrypt and send to a bluetooth node. The main issue being that the receiving node only accepts 20 byte packets. Further, I cannot send multiple packets, one after another, as the node disconnects directly after receiving a packet. The node then connects to a mesh network and push... |
Are there dedicated protocols to achieve a private set intersection where one of the set is of small constant size $c$ and the other one of size $n$?
What are the resource complexities of this kind of protocol, in terms of communication and computation?
|
What it says on the tin. Is it still used in things like TLS?
|
Consider a simplified scenario.
Suppose an untrusted server holds a set of data $A=\{ a_1,a_2,\cdots,a_n\}$.
A client issues a query $b$ to the server and wants to decide if $b\in A$. The server replies a "yes" or "no". Then how can the client verify the correctness of the server's reply?
It is relatively simple if $b... |
In this tweet, Paulo Barreto proposes the following elliptic curve over $\mathbb{F}_{2^{255}-19}$:
$$
E_\mathrm{PB} : y^2 = x^3 - 3x + 13318
$$
with $G_\mathrm{PB} = (-7, 114)$. Now I would like to try to verify the curve by trying to generate it over some sensible domain. For this I am using this algorithm from this w... |
Reductions modulo Mersenne primes are extremely fast, and there are several of a suitable size for modp-based Diffie-Hellman (such as $2^{2281}-1$). Is there any reason such primes are not commonly used for this purpose? Same question also applies to pseudo-Mersenne primes, of the form $2^{n}-c$ for small $c$, which al... |
(The following situation is hypothetical.)
I need to communicate something securely and I have decided to use one-time pads.
I am going to be using human genes as the source of the OTP data (this is important).
If I were to use (for example) a weak kind of encryption, in this case a variation of XOR 'encryption', would... |
Can someone tell me in laymens terms what this is?
$$K_i = \mathrm{Hash}(Z \| \mathit{Counter} \| [\mathit{SharedInfo}])$$
What do the double pipes represent?
|
A linear feedback shift register can be thought of as an array of bits where NEW_BIT is calculated using F(REGISTERS). F is a function that takes values from two or more elements of REGISTERS and XORs them together. The new value of REGISTERS is equal to (in Python) [F(REGISTERS)] + REGISTERS[1:]. Do the dynamics chang... |
How fast in terms of the number AES encryption/sec, would an Internet encryptor need to be if the plain text rate is 10gb/sec?
|
According to http://www.secg.org/sec1-v2.pdf#page=13 ,
Rule to add two points with the same x-coordinates when the points are
either distinct or have y-coordinate 0:
(x, y) + (x, −y) = O for all (x, y) ∈ E(Fp)
— i.e. the negative of the point (x, y) is −(x, y) = (x, −y).
The fact that it says "when the points are d... |
In an $(s,r,n)$-ramp scheme, we require that any
subset of at least $r$ parties can recover the secret, while any subset of size at most $s$ cannot learn anything about the secret.
In Bogdanov et al.'s paper, they prove that any $(s,r,n)$-ramp secret sharing scheme for a one-bit secret requires shares of at least $\log... |
I am looking at implementing AES128 bit encryption of a data stream. Since AES128 is a block cipher, which is inherently less robust than a stream cipher, I have considered configuring AES128 as a stream cipher in OFB mode as shown here. If I use the same IV, will it be more robust than standard ECB (block) mode?
|
If the permutation is not well thought out, how will this effect the cipher's avalanche effect. For example, if the permutation in PRESENT was in some way different (just made up without any thought) would this adversely affect the avalanche effect? How else might a poorly designed permutation adversely affect PRESENT ... |
I'm inheriting a project that stores a used password in a config file, which is generated by the user giving their password in plain text, and the project giving back a key generated through .NET's Rfc2898DeriveBytes with a given salt on the aes encrypted cipher text (which the user then has to put in the config themse... |
I'm using the Curve25519 code (from http://www.dlbeer.co.nz/oss/c25519.html), and trying to convert from a public signing key (Edwards form) to a public key-exchange key (Montgomery form). There's test code that does that, but it seems to extract the Y coordinate from the secret key, and if I had the secret key I would... |
Referencing:
Project Euler Problem 182 Clarification
I'm trying to determine the (minimum) period for a given value of $(p, q)$.
For a simple case where $p=19,q=23$ the period of repeating order is 132 (which I assume is from 2x2x3x11, the prime factors of 18 and 22).
It's trivial to explore the number-space of 132 to... |
I would like to apply CTR mode on a arbitrary length which isn't multiple of block size. Is this possible without applying padding.
In case we apply padding - how does the decryption algorithm know this padding!?
|
Sorry, this might be a stupid question but the more questions are here the easier you can use the Internet.
To sign your message in Bitcoin network, Alice uses his private key and message content. Bob verifies it with Alice's public key and message content.
Why can't a new user Fred just choose Alice's public key and g... |
I would like to understand how the attack from the Desmedt and Odlyzko on RSA signatures (and subsequents works) can be made practical. This attack describes a way to forge the signature on a new message using Gauss elimination. The problem is that a message is hashed before the private exponent is applied, so maybe I ... |
I am implementing a stream cipher in a microcontroller that only has an AES128 encryption block. According to this page, a block cipher based on an encryption only module can be converted into a stream cipher using CFB, OFB and CTR modes. Assuming I have a unique IV, which is the most robust method to use?
|
I understand a little how Java's Random class works.
I have two random numbers output from calls to nextInt() from a java.util.Random object in Java. I want to determine the next number output after a third call.
The first two numbers are: $-1952542633$ and $-284611532$, how can I determine the next number given onl... |
Lets say there are 2 parties X and Y. They have agreed on prime number P and generator g. X uses the secret key K.
After the key exchange they calculated the common secret key g^4.
What are the 2 possible values for the secret key of Y?
|
We have to implement a way to securely transfer data from a POS to a mobile app using QR codes.
The mobile app gets the payment parameters (amount, description, purchase_id, store_id) to create the payment intent by scanning a QR code generated from the POS,
the app passes the info to a trusted server through an API a... |
Let $G$ be a pseudorandom generator.
Is the scheme with encryption
$$\text{Enc}_k(m) = s \| \left( m\oplus G(k) \oplus s \right),\quad s\in\{0,1\}^n \text{ uniformly sampled},$$
and decryption
$$\text{Dec}_k(s,c) = c \oplus s \oplus G(k)$$
multi-message indistinguishable?
|
Given
$C$ = M $\oplus$ K1 $\oplus$ K2 $\oplus$ K3
One can decrypt $C$ in any sequence, like:
$C$ $\oplus$ K1 = M $\oplus$ K2 $\oplus$ K3
$C$ $\oplus$ K1 $\oplus$ K3 = M $\oplus$ K2
$C$ $\oplus$ K1 $\oplus$ K3 $\oplus$ K2 = M
Or:
$C$ $\oplus$ K2 = M $\oplus$ K1 $\oplus$ K3
$C$ $\oplus$ K1 $\oplus$ K3 = M $\oplu... |
Let's say I have a hash value that's 40 alphanumeric characters long. How can I find out which hash function was used to get that hash value?
|
We are given an arbitrary number $n$ and a sequence of primes $p_1=2$, $p_2=3$, ..., $p_k$. I am interested in the following question: Are the events "Prime $p_i$ is a factor of $n$" independent for distinct primes $p_i$?
It seems that the answer is no but I think this depends on the size of $n$. If $n$ is slightly gre... |
According to the curve25519 paper a x25519 public key can be represented in 32 bytes.
The x25519 library I'm using (bouncycastle) however gives me a 33 byte representation according to this standard.
My 33 byte hex representation always begins with the hex 02 or 03.
How do I convert a 33 byte representation to a 32 byt... |
I am currently a MSc student in number theory and considering switching to a phD in cryptography. I would like to use number theory techniques. (i.e. RSA, elliptic curves, etc).
The purpose of all of this is to find a job outside of academia. I would like to find a job in the industry. Here is my worry: in 10-20 year... |
What is a preimage and how do you find a preimage of a hash?
|
According to the Wikipedia Curve25519 article, Curve25519 "accepts any 32-byte string as a valid public key and does not require validation"
However, I need to provide BouncyCastle with a 33 byte key. I have attempted to simply prepend 0x02 or 0x03, and this sometimes is accepted. However I often get the exception "x v... |
Which one of these functions are preferred for authenticating AES-CTR?
function encrypt(msg, key) {
encryptionKey, encryptionSalt = newPBKDF2(key)
hmacKey, hmacSalt = newPBKDF2(key)
ciphertext = aesCTR(msg, encryptionKey)
hmac = generateHMAC(ciphertext, hmacKey)
salt = encryptionSalt + hmacSalt
... |
The block cipher PRESENT is vulnerable to the Statistical Saturation Attack for up to 15 rounds (PDF) and a simple example is here.
My questions are if some (or all) of the permutations were changed:
would this protect it against the Statistical Saturation Attack?
if so, can we then use fewer than 31 rounds without ca... |
I did not understand why the decisional Diffie-Hellman assumption is harder than computational Diffie-Hellman assumption, I read that there are groups where DDH is known to be easy but CDH is still assumed to be hard.Please, could you explain this one, by using an example?
|
Before I familiarized myself with the type of cryptography that became popular with the rise of the information age, I was very much into what the community seems to call "classical" ciphers: Caesar shift ciphers, the Vigenère cipher, grilles, scytales, the Playfair cipher, the Enigma machine, and a few other technique... |
I'm having trouble finding the first paper that introduced the $q$-Strong Bilinear Diffie-Hellman ($q$-SBDH) assumption which, roughly speaking, is:
Let $\mathbb{G},\mathbb{G}_T$ be two groups of order $p$, with a bilinear map $e$ from $\mathbb{G}$ to $\mathbb{G}_T$.
Let $s \stackrel{$}{\leftarrow} \mathbb{Z}^*_p$ be a... |
Function $f$ is a length shortening function. It reduces to log of size of input, i.e $|f(x)|/\log(|x|) \leq$ $a\ positive\ constant$. Is this a one way function?
Edit: $f$ is any function. Unknown definition, only constraint on the ratio being constant for all $x$
|
I have distinct sets of pairs of values $(a_1, b_1), ..., (a_i, b_i)$. This set of pairs is ordered, and each $a_i$ and $b_i$ are related. I want to share the $a_i$ values publicly. I do not want to share the $b_i$ with anyone.
I want the $b_i$ values to correspond to a single Shamir secret $S$ (Perhaps concatenate th... |
Let $F:\{0,1\}^n\times \{0,1\}^m \to \{0,1\}^l$ be a PRF.
I want to show that $G(-)=F(-,x_0)$ is a PRG for every $x_0\in \{0,1\}^m$.
Proof attempt:
Let $D$ be an efficient distinguisher against $G$ in the PRG experiment (see below). We aim to show that $D$ has negligible advantage.
Consider the following efficient ... |
I'm in way over my head with even being on this website, let alone attempting to ask a question… but here's an attempt.
Basically, I want to have a password-protected folder on my Mac which is resizable as needed (sparsebundle seems to be best). It's recommended by Disk Utility to go with 128-bit AES because 256 is ... |
I've implemented ECIES (see the below pseudo-Python).
r = urandom(32)
p_r = x25519(r, BASE_POINT)
shared_secret = x25519(r, x25519_public)
iv = urandom(12)
key = sha256(p_r + x25519_public + shared_secret +
iv)
plaintext_sig = ed25519_sign(eddsa_secret, plaintext)
ciphertext, tag = chacha20_poly1305_encrypt(key, iv, p... |
Let $X$ denote a particular 512-bit sequence.
Let $A,B,C$ denote sequences of bits such that:
$$len(X || A) = len(X || B) = len(X || C) = 1600$$
$$\operatorname{Keccak-}f(X||A) = X||B$$
$$\operatorname{Keccak-}f(X||B) = X||C$$
$$\operatorname{Keccak-}f(X||C) = X||A$$
then we have a loop, so the output of SHAKE (i... |
I'm implementing an encryption algorithm that requires me to use a random number to mix up the values. However I'm caught in between if I should use quasi-random or pseudorandom.
These are the things I'm thinking about:
quasi-random isn't really a random number generator by definition but it's a good substitute for a... |
Consider the following experiment.
If we require that $$\operatorname{P}\left( \mathcal A \text{ succeeds} \right) = \frac{1}{2}$$ for any adversary $\mathcal A$ in order to call the scheme $\Pi$ perfectly CPA secure, can such a scheme exist?
It would seem like this definition cannot be met since the adversary can use... |
Read the Reference for Simplified AES ( S-AES )
Q1 Explain how the S- box is constructed taking example $b_0b_1b_2b_3=1010$
What I did
$\begin{bmatrix}
1 &0 &1 &1 \\
1 & 1& 0&1 \\
1& 1& 1 & 0\\
0 &1 & 1& 1
\end{bmatrix}
*\begin{bmatrix}
b_0\\
b_1\\
b_2\\
b_3
\end{bmatrix}+\begin{bmatrix}
1\\
0\\
0\... |
In every implementation I can find, there is ge_frombytes_negate_vartime but not a regular ge_frombytes method.
I'm assuming there is a deep mathematical reason for things being this way that I'm hoping to uncover.
And since there are no ge_neg methods either, what's the most efficient way to negate the point that is r... |
I was at a conference earlier this week sponsored by a library about data archiving. The conference was not about cryptography. One of the speakers said that the Advanced Encryption Standard (AES) was going to be 20 years old next year (Rijndael was first published in 1998) and that it was getting near the end of its l... |
Let $H: \{0,1\}^*\to \{0,1\}^n$ be the random oracle. A "cover"-triple is a triple $(m_1,m_2,m_3)$ such that
$$\bigwedge_{i=1}^n \left( \left(H(m_1)_i=H(m_2)_i\right) \vee \left(H(m_1)_i=H(m_3)_i\right)\right)=1, $$
where $H(\cdot)_i$ denotes the $i$ bit of the output.
What is the probability that $(m_1,m_2,m_3)$ is ... |
Is this statement $\operatorname{negl}_1(n)-\operatorname{negl}_2(n)\leq \operatorname{negl}_3(n)$ true for some negligible function $\operatorname{negl}_3$ and security parameter $n$?
|
One should not use SHA for MAC, because knowing SHA(key || message) and message you can construct SHA(key || message || forgery) without knowing the actual key. I read somewhere that one shouldn't use SHA(message || key) as MAC. Why? Here || means string concatenation.
|
I have looked at their FAQ but I didn't find the answer to this.
Having looked at their whitepaper, it seems to me that the main feature of ZCash is that you can't trace where the money came from, because of zero-knowledge proofs.
My question is, does ZCash also feature anonymity the other way – not being able to trace... |
I'm programming a file encryption software based on blowfish (which uses 64bit blocks). I will need a mechanism for padding, but I'm not sure how to implement that properly. All of the approaches I've seen so far could only be applied to text, where characters like 0x00 cannot contain data and thus can be used for spec... |
I am not a cryptography expert. I watched this video regarding hashing and salting as part of the course User Authentication With Express and Mongo in teamtreehouse.com.
I understand from the video that a hash is a representation of a password stored in the DB, used to prevent say company workers from copying password... |
$2y$05$68LWs2pXiEvhVTacJ9PX/elfa1zq9jCBlv61hEw1pCvAHlaJyeMwW
This hash value is 70 characters long. How can I tell what type of encoding was used to generate it? Also, how many bits does each character hold?
|
I have an exercise for a crypto class that I'm working on and trying to understand. In the problem I have a Linear-Feedback shift register working in mod 3 with digits {0, 1, 2}.
The LFSR is using a recurrence relation of degree 2 which looks like this
$Z_{i+2}=C_0Z_i+C_1Z_{i+1}$
I also have part of the keystream $S... |
I was trying to solve a cryptography challenge and the problem was about "hash length key extension". After some reading in different topics, I don't know why I still didn't solve the challenge.
I read this page. From what I understood, we have the MAC which is $\mathrm{md5}(\mathrm{secret}||\mathrm{data})$. We want t... |
How to calculate "Entropy Rate" of a bit string?
Does "NIST Randomness Test Suite" provide any test to measure Entropy of an
entropy source?
How to check "biased-ness" of a bit string?
Thank you in advance.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.