instruction stringlengths 32 27.2k |
|---|
I am implementing Role-based access control by referencing the paper Enforcing Role-Based Access Control for Secure Data Storage in the Cloud. In page 6, they have mentioned to choose hash functions $H_1$ and $H_2$ during the setup
$$ H_1 : \{0, 1\}^∗ → Z^∗_p, H_2 : G_T →Z^∗_p $$
where $G_T$ be a cyclic multiplicative ... |
I am new to ECC. I am confused about what the embedding degree in an elliptic curve group represents and what is the impact of its values on the curve and security (small values or large values?)
What does the following mean:
The elliptic curve group used has a 160-bit group order, the base field size is 512-bit, the ... |
What is the maximum number of zeros, which are appended at the input- padding in messages? How large must the message be for this?
|
I've come across a bunch of "strange" hash function notations, such as the following ones and now I don't know how to choose / instantiate them.
Can you please explain me what this notation means and how I can actually instantiate such a hash function?
The notation in question:
$$H_1:\mathcal M \rightarrow \mathbb F_p$... |
I'm trying to figure out homomorphic encryption and would like to multiply two paillier encrypted numbers.
Like so:
[a].[b]=[a+b]
To try this I got this Paillier.java and tried the following:
BigInteger Paillier p = new Paillier (2048);
BigIntegera=p.encrypt(BigInteger.valueOf(12345));
BigInteger b=p.encrypt(BigInte... |
In ECRSA cryptosystem, I want to know the feasible attacks. For illustrations we have two prime $p$ and $q$ such that $p \equiv 2 \pmod 3$, $q \equiv 2 \pmod 3$ and generate key pair as follows:
$$n = pq, \quad \lambda = \operatorname{lcm}(p+1,q+1), \quad d = e^{-1} \pmod \lambda $$
Now $(n, e)$ is public and $(n, d)$ ... |
The OTP (one-time pad) gives us perfect secrecy. This is the very best confidentiality available in this universe. (Although it does require large keys, which is beside the point of this question).
The problem is such encryption does not attain integrity. So my question is, is there such a thing as perfect integrity?
|
I am implementing Role-based access control by referencing the paper Enforcing Role-Based Access Control for Secure Data Storage in the Cloud. In page 6, they have mentioned to choose hash functions $H_1$ and $H_2$ during the setup
$$H1 : \{0, 1\}^∗ \rightarrow Z^∗_p,$$
$$H2 : G_T \rightarrow Z^∗_p$$
where $G_T$ be a c... |
Crypto is hard. Thank you for helping me learn.
My encryption scheme currently looks like this:
Salt is stored out in the open
Secret is the user's password, known only to them
EncKey||AuthKey = PBKDF2(Secret, Salt, n) where n = lots
My encrypted payload consists of IV||Ciphertext||HMAC
IV = secure random bytes, uniq... |
Are there any symmetric authentication systems based on the hardness of an NP-complete problem? I understand that it doesn't really matter, since NP-completeness is about the worst case, and in crypto we care about the average case, but I still feel it's somewhat interesting...
|
I'm trying to learn homomorphism so the problem may also be in my code (which I will include).
I want to compute $a - b$ where $a$ is bigger then $b$. In order to do this I tried to compute $\frac{a}{b}$. However when I decrypt this I get garbage. Or ciphertext $c$ is not in $\mathbb{Z}^{*}_{n^2}$.
Now because the pr... |
Why is symmetric lightweight cryptography only about block ciphers and not about stream ciphers?
AFAIK stream cipher implementations cost at least three times less than block cipher ones?
|
When you use scrypt to hash a string, it will generate something like:
SCRYPT:4096:8:1:8zCQhTI8y2pdrFeIj2WYBJIbaLiePLOuXdbevG7XDV4qgUuiGPCXPFjh1aEmXQ/5u+SlCvz0KkcoOJtUWBkytfkCs2OZep60W+Nagv0gixqkcMn/PxoIqnOGIzyDWntEdsQKjYBHDYK5Va5VDHqoQxJeIm+yq3lJ4/y5dnL55RA=:zABi6opzkXwG627OUrk4KNUCiajY1xdM+PVmSC+VJS8=
The first part... |
I was trying to understand the internal structure of AES (Advanced Encryption Standard)
The Standard order of steps within a round:
Substitute Bytes
Shift Rows
Mix Columns
Add Round Key
Substitute Bytes, Shift Rows & Mix Columns satisfies the two most important properties required for a secure cipher i.e confusion an... |
Are there any public key cryptographic systems whose hardness assumptions don't involve number theoretic problems?
|
A5/2 could be attacked with cipher-text only, using the Error Correction Code, in order to retrieve the session key.
For the purpose of simplicity suppose that the error correction code copy the plaintext 4 time.
e.g., for $=1010101$ we will encrypt the following bits: $1010101 \space 1010101 \space 1010101 \space 101... |
Visiting this site: http://lcamtuf.coredump.cx/oldtcp/tcpseq.html#phase
I found graphical representations of random-generated sequence numbers, but I can't figure out how to interprete the plots.
Taking as example OpenBSD:
and the Windows NT4 SP3 distribution:
I can't understand why the ISN guessing attack feasibilit... |
I have to make a detailed diagram of the 4 way handshake and formulas for its functions so I need to know the exact process behind it. Like precisely what functions are used in it?
I have been trying to search this for days but all I can find is very "on the surface" level of information. For example it says that the P... |
Is the following stream encrypted or corrupted? I was on a call and then this happened:
http://vocaroo.com/i/s0PlF2s8ULAU
|
We consider a finite field $\mathbb{F}_p$, where $p$ is a large prime e.g. 256-bit.
We have $b$ a fixed element of the field. We encode it as $b'=b||h(b)$, where $h(.)$ is a cryptographic hash function. Assume the output of $h(.)$ is of size 160-bit.
We encode that way to distinguish the element $b'$ from a random elem... |
I am designing an unkeyed hash based on the SIMON cipher. This is a follow up to “this” question. A quick summary: I have an ECC engine and the SIMON cipher in hardware, and it’s in an extremely power constrained environment. I want a hash generator for two reasons: 1) the ECC shared secret, and 2) if I want to ver... |
If the RNG of a HSM is said to be compliant to FIPS 140-2 (approved DRBG - SP 800-90 CTR mode) does also imply that it is compliant to FIPS 186-2 ?
|
I’ve seen that the question has been asked already but this is still confusing to me.
In a digital signature, Alice sends a message M and the hash(M) which is signed by her private key. Bob recomputes hash(M) (that he retrieves with Alice’s public key) and ensures that he finds the same hash value as Alice.
Therefore... |
First my apologies if this isn't the right forum for this but here's my problem :
I have a black box that takes an input file and produces an output file.
I want to sell this black box to a customer but I want to meter/limit the number of files the customer can use with this box. A counter would not be fair to the cus... |
If we have to determine a file is encrypted or not, can we use Shannon's entropy algorithm on the file?
As discussed here, the entropy (in bits per byte) being closer to 0 is considered as more orderly and being closer to 8 is considered more random.
Intuitively this might be generating false positives a lot. Can any... |
From a definition stand point, can a hashing algorithm have more than one input, ex: $H(m_1, m_2, m_3)$?
If not why are algorithms like bcrypt, scrypt and pbkdf2 referred to as password hashing algorithms?
|
I recently came across OPE and Order-Revealing Encryption (ORE), but I didn't exactly got the idea why they are important. What's exactly important about them? Are they actually used in practice? My recent interest is leakage-resilient cryptography, and I saw there are some papers on leakage in OPE and ORE, but why is ... |
Long ago I created a simple program which obfuscated a file by taking the first byte, then XORing it with the second, taking the (original) 2nd byte and X-ORing with the 3rd, etc, down the line. The file size is unchanged, and I could invoke the same program to undo the obfuscation. No key or password was required. It ... |
I am trying to verify a Triple DES Key Component generated by PC Crypto.
The key portion is:
E6F1081FEA4C402CC192B65DE367EC3E
and the KCV value that should be returned is:
212CF915
In theory, it should be calculated as: encryption of binary 0's with the key portion with 3DES.
I have been trying the following link,... |
I am researching post quantum cryptography and I've stumbled upon this article which presents a PKC with an np-complete (SAT) trapdoor.
I was wondering if someone could help me understand the way the encryption works. From what I understand the cipher text is a formula which consist of a bit (the message) which is then... |
Are there any well-known crypto APIs or libraries that leak or used to leak information (it can be the key or anything else)?
|
Suppose $S: K \times M \to T$ is a secure MAC. ($K$ = key space, $M$ = message space, $T = \{0,1\}^n$ = tag space.)
$S$ being secure means that no matter what messages $m_1,...,m_q$ we throw at $S$ to get back tags $t_1,...,t_q$:
$\{ (m_1,t_1),...,(m_q,t_q) \}$
we cannot subsequently find another message-tag pair $(m,t... |
I wrote a routine for a former employer that took the low six bits of ASCII text and "compressed" by cramming the bits together, so that 4 bytes reduced to 3. This had the advantage of automatically folding lowercase to uppercase (not reversibly) with no computational effort. (Our text data was supposed to be just uppe... |
Long ago I learned about an encryption scheme which uses a random mask of bits which were "half on". I don't recall all the details, but basically, if a mask bit was a one, the input bit was passed through, if not the output bit was random. So, the decryption would lose information (it was nondeterministic) but for som... |
Long ago I created a very simple program that used the C library's rand method to generate bytes to XOR with the bytes of a file. This was a reversible (just run it through again) method to make a file unreadable.
In my simple implementation, I did not change the seed, so it always created the same "random" stream, but... |
I'm trying to implement the Blowfish cipher in Output Feedback mode.
OFB mode has two operations, XOR and the block cipher. XOR inputs two blocks of the same length and outputs one block of the same length. Blowfish inputs two blocks of the same length and outputs two blocks of the same length.
How can XOR and Blowf... |
I'm new to cryptography and I am trying to figure out an equation that convert any big number to a smaller one and another one that reverse the operation to get the same big number again!
The problem here is every equation I use works fine with some numbers and others no.
I want one that works with all like:
Encrypted ... |
I understand that the main motivation for HMAC is extension attacks. If data always has content-length either implicit in the app or even explicitly put into the hash, I get the impression that HMAC is not necessary. The motivation is to allow password based encryption of keys, using widely available primitives, and ... |
In "Simulation without the artificial abort: Simplified proof and improved concrete security for Waters' IBE scheme", Bellare and Ristenpart present a new proof for Waters' IBE scheme that does not use the artificial abort technique. As in the original proof, the authors define an adversary $\mathcal B$ that breaks the... |
I know that knowing the private exponent $d$ corresponding to the private key $k_{pub}\langle n,e\rangle$ it is possible to efficiently factorize n.
The procedure starts stating that:
$ed -1 = s(p-1)(q-1)$
and then saying that:
Randomly picking $x\in\mathbb{Z}_n^*$ we know that $x^{ed-1}\equiv 1\pmod n$ and computing $... |
After an initial study of white-box cryptography, specially around the first article (Chow et. al.), I understood each step of transforming the lookup tables of AES into new ones.
If I understood it correctly, the purpose is to redefine the AES algorithm to propose new tables in each step and to perform lookups into di... |
Let's imagine Alice wants to send Bob a table with 2 columns:
+----------+-----+
| location | age |
+==========+=====+
| ny | 22 |
+----------+-----+
| london | 23 |
+----------+-----+
| ny | 18 |
+----------+-----+
| paris | 25 |
+----------+-----+
| madrid | 28 |
+----------+-----+
| london ... |
RFC 3766, Section 4.1 discusses picking $n$ to achieve some target cost for employing the GNFS, i.e., $T$ is known and $N$ is unknown in the below equation:
$$T = \kappa \cdot \exp{\left(c \cdot (\ln{N})^{1/3} (\ln{\ln{N}})^{2/3}\right)}$$
In the RFC, the authors use $c = 1.92$. By using their empirically-derived coeff... |
For example, in the question “Is there any reason not to use Single-Key EM with AES and a constant key?” it is proposed to use AES with a fixed key as the permutation in a xor-permute-xor construction. In the paper linked in the answer – “Key-Alternating Ciphers in a Provable Setting: Encryption Using a Small Number of... |
I had an idea. Could anyone tell me if this is a thing, if they see any problems with it, and if they know of a commutative hash function that would make it work?
Suppose you had a pair of cryptographic hash functions, one of which could take an a key in addition to its regular input, and that these functions were comm... |
The JSON Web Encryption (JWE) standard defines a number of encryption modes with the same basic form:
First, the a unique content encryption key (CEK) is generated and used to encrypt the payload with associated data in an AEAD mode (e.g. AES-CBC with HMAC or AES-GCM). If a separate block cipher and MAC are used then ... |
In the NTRU key generation, one samples a polynomial from $K = (\mathbb Z/q\mathbb Z)[X]/(X^n+1)$ and tests if it is invertible. What are the chances of this to happen? In other words:
Let $q$ be a prime and $n>4$ be a power of $2$. What is the cardinality of $K^*$?
|
I am trying to cryptanalyze a cipher where bitwise XOR and addition mod $2^n$ are combined together. I've been working on it for a long time but with no result - the main difficulty, which I am unable to overcome, is that even though XOR and addition are linear in their own groups, addition mod $2^n$ is non-linear over... |
I've tried to get a public key size of DSA/Elgamal PGP certificate. Using the Cleopatra I find out that there is actually two public keys - one with DSA with key size 1024 bits and the other Elgamal with 2048 bits.
Now my question is which of this key sizes is the actual key size for this certificate and more importan... |
As someone with a non-crypto background, I learned that differential cryptanalysis is mostly weak against ciphers like DES because, being a chosen plaintext attack, for a state of art complexity of $2^{47}$ there is a need for $2^{47}$ plaintext bits to conduct this attack which is realistically infeasible.
So what's t... |
In the YASHE (Yet Another Somewhat Homomorphic Encryption) algorithm, the beggining of the key generation step specifies:
Sample $\ f',g ← χ_{key}$ and let $\ f = [tf' + 1]_q$.
If $\ f$ is not invertible
modulo $q$, choose a new $\ f'$.
Compute the inverse $\ f^{−1} ∈ R$ of $\ f$ modulo $q$ and set $h = [t\ g\ f^{−1}]... |
I have been designing multiparty computation (MPC) protocols for functions that interest me. Although theoretically I am able to deduce the asymptotic complexity of the protocol, I wish to know as to how this protocol will perform for practical sized inputs. I came across VIFF (virtual ideal functionality framework) wr... |
I'm trying to attack a very simple cipher using differential cryptanalysis as a way of becoming familiar with this method. The cipher is so simple that I've found a differential which I can trace through all the rounds of the cipher with 100% probability (it is not 0 of course).
I've read/watched a few tutorials and if... |
I'm using brainpoolP512r1 elliptic curve for DSA and DH in my application. Recently I've found out on this website that brainpoolP256t1 and brainpoolP384t1 aren't secure. Unfortunately my curve wasn't mentioned.
When I'm using brainpool, my public keys encoded in base64 have around 210 chars, but for curve25519, they e... |
Do all ciphers suffer from the problem of multiple equivalent decryption keys? Is the existence of equivalent keys an essential property for the security of a cipher?
If you could prove that a cipher had no equivalent keys, would that lead to a procedure for recovering the key under the known-plaintext attack model?
|
Assume we have a lattice SIS problem
$A x = 0$, with $\Vert x \Vert < \beta$ and we are given $k$ solutions $x_1, \dots, x_k$ by, say an oracle.
Is it then hard or easy to construct from there a further solution $x_{k+1}$ ?
|
I came across a company that relies on hashing, similar to block chain technology. They explicitly stated in their white paper that hash based cryptographic schemes are inherently post-quantum schemes.
Counter to this, is an article co-authored by Schneier (linked in blog post) that lends support to the idea of Grover... |
If $m^{ed} \bmod n = m$ for message $m$, public key $e$ and private key $d$, then adding any integer multiple of $n$ to $m^{ed}$ still equals $m$ modulo $n$.
Supposing it exists, how do I find an equivalent key, d', such that $m^{ed'} = m^{ed} + kn$?
|
A strong cryptographic hash function in general must guarantee several properties, including: Preimage resistance, second preimage resistance and collision resistance. It turns out, however, that certain applications only require a subset of the properties while others require all of them. The table below gives a summa... |
Let $A_1$ and $A_2$ two $m \times n$ matrices defining SIS problems.
Does there exist a zero knowledge proof that two short solutions are the same, i.e.
$$y_1 = A_1 x $$
$$y_2= A_2 x $$
$$ \Vert x \Vert < \beta$$
|
Confused about RSA message cipher: $c = m^e (mod\ n)$
So if $m^e$ can be greater than n, then you can get duplicate ciphers for the same message. Most postings I've read say that $m^e$ must always be smaller than n to counteract.
But if $m^e$ is smaller than n, then $c = m^e$ and can just be decrypted by $\sqrt[e]{c}... |
I understand that the MAC-then-encrypt approach is susceptible to several attacks including the so called padding oracle attack. I understand that in this attack the attacker modifies the padding and listens for the errors caused which he can then use to infer the plain text. Can someone please explain the attack in la... |
In RSA, to encrypt a message, the following formula is used:
$$c=m^e\bmod n$$
For decryption,
$$m = c^d\bmod n$$
is used.
However, when I try to substitute the value of $c$ from the first into the second formula, I am unable to satisfy the equation, or rather unable to simplify the expression below:
$$m = (m^e\bmod n)... |
Have a look at the following codesample written in C#:
private static byte[] GetRandomBytes(int size)
{
byte[] buff = new byte[size];
// Create an array of crypto-secure random numbers
using (RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider())
{
rng.GetBytes(buff);
}
// Gets ... |
My question in general is:
Question 1: What are the differences between sketch of proof and full proof?
In simulation-based proof, in semi-honest model, we construct a view that is computationally indistinguishable from real view. Then we argue that the two views are computationally indistinguishable.
Question 2: Why... |
It is said that breaking Ed25519 has similar difficulty to breaking RSA with ~3000-bit keys" 1
When using RSA, I prefer 4096-bit keys, but I would like to use Ed25519.
If I wanted to double the security level - similar to RSA with ~6000 bits - what are my options?
Do we have to wait for a new standard to be published?
... |
I am working on a project which computes the hash of the given input, I have to prove that the function is pre-image resistant that is given an output we cannot get back to the input.
While proving the function to be pre-image resistant. The function that I am using has a property that for every output there are more t... |
I was wondering if there is a security difference between Lattice based homomorphic encryption schemes versus an partially homomorphic encryption scheme like Paillier, and El Gamal encryption schemes especially with respect to the security against quantum attacks?
|
I am writing code that needs to produce a truly random number of 96 bits. The requirements are:
The code must be able to produce all $2^{96}$ values.
The likelihood for any value to come up must be the same for all values.
It must be impossible to predict the next $96$-bit number that will come up.
So, using RNGCrypt... |
Let R be a ring.
Is there a known/standard way for N parties to perform some exchanges, such that at the end each party holds an element $r_i\in R^\ast$ and $r_1r_2\dots r_N=1$ (and each party $i$ does not know $r_j$ for each $j\neq i$)?
(Or equivalently, share 0 additively?)
|
This might be in danger of being too elementary a question for this community but I'm hoping for expert help:
Assuming that TLS is not enough to protect messages transmitted between a client and a server, what is a good way to establish secure communication between a client and a server? In my case this is between a w... |
If quantum computers operate in BQP and (using Shor's algorithm) they are able to factor large integers and break the discrete log problem, what does that tell us about the complexity class of these problems?
I just read an article that claims that it is unlikely that RSA or ECC will ever be reduced to NP-complete prob... |
I am having hard time understanding the security proof in Attribute-Based Encryption, especially in Ciphertext-Policy Attribute-Based Encryption.
To do reduction in CP-ABE scheme, how do I check that the security proof is correct or works. For example, there is a CP-ABE scheme in section 3 of Ciphertext-Policy Attribut... |
My question is based on the specification of the protocol LoRaWAN and especially on the part 6.2.5 Join-accept message.
It is said that the join-accept message is encrypted using AES ECB. This is (normally) a single message created like that:
aes128_decrypt(AppKey, AppNonce | NetID | DevAddr | RFU | RxDelay | CFList | ... |
NIST and other - mainly older - standards often don't just mention PKCS#1 RSA algorithms but also X9.31 RSA algorithms.
What are the differences between X9.31 and PKCS#1 (v2.1) with regards to
key pair generation;
signature generation;
encryption (if applicable)?
|
I started working with RSA two weeks ago. But I couldn't really understand how exactly I2OSP & OS2IP are working. I am using some open source for signature verification through RSA PSS algorithm.
I am trying to generate "EM" from a signature of length 256 bytes, public modulus $n$ (256 bytes) and exponent $e$ (0x10001)... |
I would like to have a secret sharing scheme with the following properties:
Generate secret $S$ a split it to $N$ shares $(s_1, s_2, ..., s_N)$
Require $k$ of $N$ shares in order to reconstruct secret $S$
Update $N$ to $N+1$ and generate new share $s_{N+1}$ (everything remains
the same, $N$ shares not changed)
The s... |
In identity-based broadcast encryption, suppose the broadcast ciphertext $(r_1,r_2,\dots,r_i,U,W,V)$ is sent to the receiver.
In some cases, they use some function
$f(x)=k-\prod_{i=1}^{t} (x-v_{i})$ to get $k$ by replacing $v_{i}^{'}$ in place of $x$. In this case, only one function for $t$ receivers is possible.In r... |
The DES key 0E329232EA6D0D73 has the unusual property that decrypting a ciphertext block consisting entirely of zeros gives a plaintext block consisting of eight repetitions of the same byte (0x87).
How was this key originally found?
|
I'm wondering, suppose we have a public key cryptosystem $P = (pk,sk)$ such that $$pk: \{0,1\}^n \to \{0,1\}^{n^2},$$ that is, the ciphertexts are $n$ times longer than the plaintexts (here, $n$ is supposed to be the security parameter). My question is
Does this imply some weakness of any kind on the cryptosystem (as ... |
Are there any signatures based on matrix multiplication with noise? Representing the message as a matrix and multiplying with some randomness coming from another matrix such that the signature itself is a matrix?
|
I need to implement algorithm to create authenticatable irreversible tokens from PAN, without using any secrets.
Is it possible? Is there any standards for that from associations?
I was thinking about HMAC but it needs to distribute secret symmetric key to all relevant parties. How to do it without distributing cryptog... |
I have some data that I CTR-AES-256 encrypt already. I am aware of ways to validate the integrity of the entire file (ie: a separate MAC of the plaintext, or encrypt then MAC, etc). But none of these apply to ranges.
For example: I put a 5TB movie up into a server. It's something crazy like 30 days of camera footage... |
CTR mode does not use the decryption function at all, only the encryption function.
This may suggest that a different primitive that has this "one-way" property could do the trick. For instance, I just thought we could map the secret key with the counter under a secure hash function to obtain a complete usable and sec... |
I was reviewing RSA by hand.
I picked 53 and 59 as my primes.
For e I picked 5.
When I solved for d using extended euclid, I got 1 which obviously doesn't decrypt anything.
I checked my answers online using calculators and got the same result.
Did I pick e or a prime wrong? How do I make sure I don't get 1 as d?
|
In identity-based broadcast encryption system, the ciphertext is
$$ C=<c1,c2,...,cn,U,V,W>$$
There can be a man-in-the-middle who can modify one or all of the $c1,c2,...,cn$ values so that the receiver can not get the correct plaintext.
Why isn’t such a situation considered? (Maybe my thinking is somewhat awkward.)
|
Suppose someone had published a several hundred page (sensitive) book, but had randomized all of the letters in an order known only to them (e.g. with a vector of random numbers of the same length as the book's characters).
This initially strikes me as relatively riskier than something of comparable simplicity (like a ... |
Suppose that I am generating random numbers with Python's random module, so that there is a known random number generator (Mersenne Twister in this case). I've read: "[...] observing a sufficient number of iterations (624 in the case of MT19937, since this is the size of the state vector from which future iterations ... |
I have a unique identifiers that I would like to keep secure and provide information about it through tokens. These tokens should be verifiable after using the same algorithm on other end system with presented ID and comparing these values.
I am thinking to use PBKDF2 as a one-way function to get such tokens from IDs. ... |
An exhaustive search of half the key space requires $2^{n-1}$ work and provides the right answer 75% of the time. If the attacker finds the key, he knows the answer. If he doesn't find the key, he still has a 50% chance of guessing right simply by guessing at random. Overall, his chances of getting the right answer ar... |
zk-SNARK: Zero-Knowledge Succinct Non-interactive Argument of Knowledge
From the Ethereum blog:
One natural use case for the technology is in identity systems. For example, suppose that you want to prove to a system that you are (i) a citizen of a given country, and (ii) over 19 years old. Suppose that your government... |
We're developing a public key cryptosystem whose ciphertexts are actually much more long than the plaintexts (which, according to this question, is more a benefit than an issue).
However, we have a particular property. Most part of the public key can be chosen by the user. More precisely (in a high level explanation), ... |
I’m running an experiment to test the randomness output of many cryptographic algorithms based on INST test suite to measure the randomness of their outcome.
However I’m searching to a sample data set to perform the experiment. Based on my understanding the data set should be non-random to be able to measure the random... |
I am trying to define algorithm that would create a irreversible token from IDs, which are 10 digit information, and then would be compared on two different end points.
Between end points, only sending tokens is allowed, no IDs can be send from one end point to another. End points are not sharing any secret information... |
I read that Google want to integrate this into HTTPS because it is safe against quantum computers.
However, the Wikipedia article might as well be written in Latin because it makes very little sense to me.
How does Ring Learning with Errors work and why is the algorithm safe from quantum computers?
Edit: there's a ques... |
I am currently reading Yehuda Lindell's amazing tutorial on simulation proof technique and trying to write my own proof for the first time. In page 4 of this tutorial it is mentioned that
[...] The value $a$ must therefore be written on the advice tape of the reduction algorithm.
and I also knew that $a$ in context ... |
The standard notion security for MACs is usually expressed by means of experiments like the following one (given an attacker A):
$k \leftarrow \mathsf{KG}(1^\lambda)$
Invoke $A^{\mathsf{TAG}_k(\cdot),\mathsf{VRFY}_k(\cdot,\cdot)}$
Output $1$ if $A$ queried $(m^*,\tau^*)$ to $\mathsf{VRFY}_k(\cdot,\cdot)$ s.t. $\math... |
I want to know which is faster-HMAC or CMAC.I know CMAC is based on block cipher encryption,where output of each block is X-OR with the next plain text block. If security is not a concern,which will be faster to use?
|
The current literature around Information Theoretic Private Information Retrieval (IT-PIR) schemes assume the existence of multiple copies of the database distributed across non-colluding servers. Much of the research seems to be around the servers not communicating with each other but only with the client.
Can the re... |
I have found what I believe to be a straightforward explanation of the oracle padding attack here: http://robertheaton.com/2013/07/29/padding-oracle-attack/
I am however getting confused by something which experts here should I believe find so easy.
When you open the link and browse to the subsection titled "Manipulati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.