instruction stringlengths 32 27.2k |
|---|
Looking at the SIV construction in rfc-5297 - https://www.rfc-editor.org/rfc/rfc5297
With regards to the generation of the SIV, using S2V construction, I am struggling to find the benefits of the chosen method of combining MAC codes together and has some questions I am struggling with:
What benefits does the doubling ... |
I was playing with an algorithm which at one step, calculated $f(x) = x^{-1} \mod p$ for $0 < x < p = 2^{64}-59$ (note $p$ is a prime). I used Knuth's Vol 2 Algorithm X algorithm for calculating inverse modulo a prime, using the Extended GCD, but I was wondering if there was a way for making it run in constant time, wi... |
I stumbled on the concept of Deniable encryption on Wikipedia, with the following scenario:
Deniable encryption allows the sender of an encrypted message to deny
sending that message. This requires a trusted third party. A possible
scenario works like this:
Bob suspects his wife Alice is engaged in adultery. That... |
How does TLS differ from SSH from a strictly cryptographic perspective?
I know that there are many non-cryptographic differences between them, but I would like to know the cryptographic ones.
|
In ECIES and similar asymmetric schemes, is it possible to use a hash of the plaintext as the IV?
|
If I 'shuffle' the characters in a long text, is there some number of shuffles that will produce apparent randomness approaching a cryptographically secure random number generator? A chapter in a widely available novel online, then, would produce a key suitable for a stream cipher, Vernam cipher, etc., would it not? I... |
Suppose we use a pseudorandom function $PRF$ and a random key $k$ to generate a set of pseudorandom values:
$\forall i, 1\leq i \leq n: w_i=PRF(k,i)$
Now, consider instead of picking a fresh key, we increment the key by one:$k'=k+1$. Then, we compute a set of pseudorandom values:
$\forall i, 1\leq i \leq n: q_i=PRF(k... |
How would you construct a proof that XOR difference of two cipher texts cancels the influence of the key?
I started out with a simple cipher defined as follows:
$C = \Phi( S(P\oplus K_{0}) \oplus K_{1})$
Where
$\Phi$ is a permutation box
$S$ is a substitution box
$K_{0}$,$K_{1}$ are the first and second round keys r... |
The scenario : using a Multikey FHE scheme, let's say LTV-FHE scheme, parties delegate the computation of some function to the mighty cloud. In LTV-FHE scheme the parties generate their keys and encrypt their messages independently.
If parties have different moduli ladders then what rings should the cloud choose for it... |
In the last months I was searching for a subject for my bachelor thesis. I came up with an idea for a new cipher concept that works by combining already known techniques in a (hopefully) new way.
So I talked to our professor for cryptography. Although she could not find any obvious weaknesses she mentioned that the rev... |
Let P1P2...Pn be n blocks plaintext, and M0 be a random IV. Then a n+1 blocks message M0M1...Mn can be constructed by setting Mi+1 = Mi xor Pi+1. Finally, we use AES-ECB to encrypt this message. Is it as secure as using AES-CBC?
|
I am trying to understand the notion of left-or-right-CPA (LOR-CPA) security for private-key encryption schemes introduced in my lecture. If I understood it correctly so far, the only difference to the standard IND-CPA game is that the encryption oracle always encrypts either the left or the right given message and tha... |
I understand that the complexity of a problem can be measured by it's best-case, average-case, or worst-case complexity. Am I correct in thinking that, for cryptographic purposes, each of these is of interest?:
Best-case: If we can find a problem whose best-case complexity is high, then it will be high for all instance... |
I know the Initialization Vector needs to be unpredictable. Does it apply to the IV as a whole, or to every bit in the IV?
I have multiple devices with poor entropy sharing the same key and I want to ensure the IV is unique. I am using AES-128 CBC.
Can I use some bits of the IV as the ID of the device? For example can ... |
I am wondering if there is an identity based proxy re-encryption scheme (such as the Green-Ateniese scheme https://eprint.iacr.org/2006/473.pdf) that converts an encryption computed with ID1, system parameters1 into one intended for ID1, system parameters 2, i.e., the ID is the same but the system parameters change.
|
I want a deterministic PRNG for simulation purposes, and I don't want to have to worry about spurious correlations like those the DMCT is designed to protect the Mersenne Twister against. So even though I don't care about cryptographically secure random numbers, a cryptographically secure Deterministic Random Bit Gene... |
I am reading this paper "The security of Hidden Field Equations (HFE)"
and at the end of the page 3 the author wrote:
The random oracle paradigm would be to ignore that the function
formulae exist.
I know what is the random oracle paradigm but sincerily I do not understand why the
"The random oracle paradigm woul... |
I am using AES 128 bit encryption in java.
I have an encryption key and 10 digit plain text.
I want to derive a key for HMAC using the AES encryption key and the 10 digit plain text. This plain text will remain fixed in my case.
How can I derive key for HMAC using the above ingredients.
To be more precise please refer... |
I am facing the following algorithm to generate an RSA public key:
e = 0x10001
def generate_p():
r := random odd 128-bit number
p := (3*r^4 + 1)/4
if is_prime(p) and gcd(p-1, e) = 1:
return p
else:
return generate_p()
def generate_q():
r := random odd 128-bit number
q := (11*r... |
We have an interesting problem.
Currently, we store a salted hash of some secret key known only to the clients of our clients to allow us (and our clients) to find other records that were generated by the client's clients, without either us or our clients being able to identify the client's client or know their secret ... |
Let's say I have a single secret with high entropy, S, for the entire application. I want to generate keys K1, K2 for 2 different users of the app. I run:
K1 = PBKDF2(S, salt1)
K2 = PBKDF2(S, salt2)
where each salt is some 128 bit random number.
Is this a safe construction or do KDFs (or PBKDF2 specifically) have any... |
I know that it is never suggested to use the same key or key/IV pair twice for a stream cipher or for a block cipher operating in CTR mode. Filesystem-level encryption reuses the same key for a file when it is edited.
Would it be an okay idea or a bad idea to use CTR mode for such encryption? Would it require changing ... |
Suppose one uses AES in CTR mode to generate a keystream, but every $l$ bytes the $n$ bits that would follow are used as a new AES key.
Assuming that AES is a secure PRP:
Is this a secure stream cipher?
How does it compare to standard AES-CTR?
Suppose the (original) key is mixed back in at each rekeying useing a one-w... |
Suppose the entropy of seed key is $H(n)$ which is $n$-bit long and random and the output bit length of the PRNG is $2^n$, which will be used as a long running key. Though it is obvious in that case, as output key sequence of PRNG is derived from input seed key, so entropy of output key sequence of PRNG never exceeds t... |
I was reading about the Miyaguchi-Preneel scheme and had difficulty in understanding why the compression function, $h(H,m)=E(H, H \oplus M) \oplus M \oplus H$ can be called secure. The only resource I could find about this was Black-Box Analysis of the Block-Cipher-Based Hash-Function Constructions from PGV.
Again, I a... |
Suppose multiple servers use same IBE domain parameters (I mean same curve description parameters and field) for master secret key setup. Is there any possibility for generating the same system parameters?
|
I watched some videos from Khan Academy explaining the algorithm for RSA encryption/decryption. They explained that there are two trapdoors, modular exponentiation being one and prime factorization being the other. Is this true though? As the videos went on it made it seem like prime factorization was what made the inv... |
Suppose:
Alice uses SHA-512 with MGF1(as in PKCS#1 V2) and a 1024-bit random seed to generate a mask, XORs the mask with a message(M), gets a cipher text (CT), and sends the CT to her old friend Bob. Of course, curious Eve is listening...
Alice and Bob exchange the seed in a secure way (while Eve sleeps and does not ... |
I saw this question on the book Understanding Cryptography.
At first glance it seems as though an exhaustive key search is possible against an OTP system. Given is a short message, let’s say 5 ASCII characters represented by 40 bit, which was encrypted using a 40-bit OTP. Explain exactly why an exhaustive key search w... |
Consider a known plaintext attack on AES — just so we have an actual system of equalities that we can feed to a SAT solver.
Is AES solvable in this way? In other words, will the algorithm eventually complete, producing the correct key?
After reading through these set of slides, I assume the answer is yes, but that it i... |
I'm working on some cryptography problems, found this and I'm not sure how to solve it:
Modify CBC-MAC so that all blocks $t_1,\dots,t_l$ are output rather than just $t_l$ and prove it is not secure.
|
Scenario:
User gives password.
A "password key" is derived from the password (e.g. by PBKDF2). A random salt is applied.
The password key is hashed with a HMAC algorithm (e.g. HMAC-SHA256), with itself as the key.
The salt and HMAC result are stored in database, for verification of the password (for further user login... |
On the following site:
https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence
when talking about the dangers of using bcrypt it states:
There is a nontrivial chance that one of the raw bytes in the hash
will be 0x00. The sooner this byte appears in the string, the cost of
finding ... |
Git uses SHA-1, and it is common to sign Git commit or tag hashes to authenticate a repo. Is this insecure now?
|
I am reading this paper "The security of Hidden Field Equations (HFE)"
and at the end of the page 4 the author wrote:
Thus, after all, this belief about every attack being kind of
”completely puzzled by the irreducible randomness of answers to all possible
questions”, maybe it is not necessary at all to achieve s... |
Are there good options for password hashing in embedded systems? These systems often cannot afford slow hash functions. I can think of a few approaches:
Store the (hashed) passwords in a HSM that limits lookup rate.
Generate high-entropy passwords, and do not let users choose their own passwords
Use hardware passwor... |
In the symmetric-key world, we have authenticated encryption with associated data (AEAD). I'm looking for something similar, but for public-key encryption: public-key encryption with associated data (PKEAD?).
Here's how it should work. Given a message $m$ and a header $h$, let $E(m,h)$ denote the public-key encryptio... |
I need to verify a couple hashed (SHA256) integers from a list of approximately 50 hashed integers in a message. The list can be divided into groups. The (plain) integer data is not in the message, just the hashes, so they are not exactly signatures.
I've looked into batch verification, but it seems the aim is to che... |
For the last while I have been reading up on cryptography and the different kinds of methods for encryption (public key, blocks, etc) and the attacks against them. This got me wondering how to implement or calculate how well an attack would work against a encryption of my own creation.
What are the kinds of attack chan... |
Basically we're given the text
7ECC555AB95BF6EC605E5F22B772D2B34FF4636340D32FABC29B
73CB4855BE44F6EC60594C2BB47997B60EEE303049CD3CABC29B
64C6401BAF45F6A930435F3DF875C4E102F8742A45C824AFCA9B
7AC24F5EAF17F0A0754D5834BC3CC3A90ABD7B2A52C222ABC89B
72C24A52B550B3B8624D4F22F86BD2B30ABD642C498122A1D29B
73CC5457BF17... |
According to domain parameters, as an example Type 1 pairing domain parameters are
type a
q 278796136969611173361381043094562948264790662370825922661470388160137374918041645205725536995575536309814822836881999179671185284422395714680382231463505127166556406865746469718055250675606024934736059500507243670565554277939822... |
I need some help on transposition cryptography.
If I'm given the encoding key to a transposition cipher, how do I get the decoding key for it? I tried googling but couldn't find any steps on the calculation for it. For example, like in this website, when I enter
4 3 1 6 2 5 I would get 3 5 2 1 6 4 but why and how?
|
I'm new to security stuff and I have some questions about the keys of transposition cryptography.
If I'm given the encoding key to a transposition cipher, how do I get the decoding key for it? I tried googling but couldn't find any steps on the calculation for it. For example, on several crypto-related websites there a... |
Prof. Adi Shamir says in The Cryptographers' Panel 2016:
i think that NSA has made a great discovery in the field of elliptic
curves cryptography and NSA wants to avoid the increased use and
growth of ECC, so the NSA's argument of the quantum computer would be a
smokescreen.
i know that ECC is faster and bette... |
With a Cipher text of
7ECC555AB95BF6EC605E5F22B772D2B34FF4636340D32FABC29B
73CB4855BE44F6EC60594C2BB47997B60EEE303049CD3CABC29B
64C6401BAF45F6A930435F3DF875C4E102F8742A45C824AFCA9B
7AC24F5EAF17F0A0754D5834BC3CC3A90ABD7B2A52C222ABC89B
72C24A52B550B3B8624D4F22F86BD2B30ABD642C498122A1D29B
73CC5457BF17E7A4750C5423B17... |
7ECC555AB95BF6EC605E5F22B772D2B34FF4636340D32FABC29B
73CB4855BE44F6EC60594C2BB47997B60EEE303049CD3CABC29B
64C6401BAF45F6A930435F3DF875C4E102F8742A45C824AFCA9B
7AC24F5EAF17F0A0754D5834BC3CC3A90ABD7B2A52C222ABC89B
72C24A52B550B3B8624D4F22F86BD2B30ABD642C498122A1D29B
73CC5457BF17E7A4750C5423B178D0A44FFF756355C03CABC28A
74... |
Can anyone describe how we can do what is said in the below sentence which is in Mark Stamp crypto slides (PPTX) on slide number 101 :
Can do a little better - about 1.5 “encryptions”
The whole slide is as follow :
Confidentiality and Integrity
Encrypt with one key, MAC with another key
Why not use the same key?
... |
Suppose a challenger creates a McEliece encryption system where there is a public key consisting of a matrix $G$ representing some linear code, and a number $t$ for the number of errors.
Then the adversary takes two messages $m_0$ and $m_1$ and uses the public key matrix $G$ to find $c_0=Gm_0$ and $c_1=Gm_1$. Then the ... |
I was wondering if the uniform distribution of hash values is a generally required criteria for cryptographic hash functions.
The english wikipedia article only mentions four main properties. But it looks like the commonly used algorithms show a nearly perfect uniform distribution. So my question(s) would be:
Are hash... |
As described by Wikipedia, BLS uses Diffie-Hellman in some way. I understand how Diffie-Hellman works in both its normal and elliptic curve forms. But what is the "pairing function"?
|
I am trying to read and understand the textbook's exercise questions. The sample solution at the end the textbook has a final answer and it does not clarify how it got the result. I am trying to workout the question but I am not successful. Any help would be appreciated.
Questions: Show the value of State after MixColu... |
The sponge construct facilitates authenticated encryption independently of the
function used to mix its state. Could we use any strong cipher (i.e. AES-256) as the
mixing function in a sponge to produce a fast authenticated encryption
primitive? This question indicates that using a block cipher in the context
of a mi... |
I've been browsing Wikipedia and stumbled on the article for the Vigenère cipher. I realized after seeing the example that it's quite similar to the one time pad, except with a short key repeated as the source of "random" information. That is, if you make the key longer than the plaintext, the two are the same.
Is tha... |
I often see homomorphic encryption as a solution to a problem where a server wants to know the sum of $n$ users' numbers but can not know each individual users' number plaintexts.
My question is: if $n=10$, and only $9$ of the ciphertexts are reported, can the server decrypt the sum of those $n-1$ ciphertexts?
Further... |
In DES key schedule some rounds use one left shift while others use two left shifts. What is the reason behind this?
|
SITREP: I am deciding what form of "Random" Number generation would fit best for a Caesar Cipher that encrypts each letter with a different integer as a shift. This encryption is being handled via C# code I have and will write. I have a few options for this as follows.
(Note: The transmission of the key to the receiv... |
I encrypted the text hello there with a 3x4 table with the key 2 1 3. I fill in the text into the table row by row and got the ciphertext eohehltrl_ex(reading by column). So if I were to decrypt this ciphertext into the plaintext what should I do? I made a 3x4 table again and filled it in row by row (according to onlin... |
Wikepedia's table Comparison of SHA functions mentions "Security(bits)" for some SHA functions. From the ratio (Output size (bits): Security(bits)), I feel it is something like "collision resistance". So,
Should we only consider collision resistance as the Security of a hash function?
what does the Security in the tab... |
I'm a first year Maths undergraduate and we have recently gone onto RSA. I understand the majority of the algorithm using Fermat's Theorem etc.
From the algorithm stated on Wikipedia:
4) Choose an integer $d$ such that $1 \lt d \lt φ(n)$ and $\gcd(d, φ(n)) = 1$; i.e., $d$ and $φ(n)$ are coprime.
5) Determine $e$ as $e... |
From the LTV-FHE paper I find out that after every multiplication there must be a modulus switch to mitigate the noise in the resulting ciphertext, besides relinearization.
But, assuming the ciphertexts to be summed are the result of many operations and we have consumed many levels of the moduli ladder, that means that... |
There is a paper: U. M. Maurer, Secret key agreement by public discussion from common information, IEEE Trans. Inf. Theory, 39(3) 733-742 of 1993, with an IMHO fairly impressive title but having apparently for some unknown reasons been hithertofore ignored in the common textbooks on modern cryptography. The material th... |
Sflash is a Multivariate signature scheme that was accepted by NESSIE in 2003, and completely broken in 2007 by a differential attack. Despite I know the total break of Sflash signature scheme and the fact that it's highly insecure to be used, I'm trying to understand an interesting technique used in this signature. My... |
i read about linear cryptanalysis and about S-Box that there is not any ideal S-Box (ideal S-Box is a random S-Box in another words S-Box that bias of input and output bits is zero) then i read about implementation of S-Box in this post and understand that S-Box is implementing with Lookup tables,then read this post (e... |
In LTV-FHE, section 3.3.2 Formal description, a ciphertext looks like this $c=hs+2e+b = (2g/f)s+2e+b$, where $h = 2g/f$ is the public key, $f$ is the secret key, $g, s$ and $e$ are chosen randomly, and $b$ is the bit to be encrypted.
Following the equation $c = (2g/f)s+2e+b$, the bit $b$ can be obtained easily performi... |
Let's say I have the two cipher texts
7ECC555AB95BF6EC605E5F22B772D2B34FF4636340D32FABC29B
73CB4855BE44F6EC60594C2BB47997B60EEE303049CD3CABC29B
According to this website http://xor.pw/? the result of the XOR is
d071d0f071f000000071309030b4505411a5353091e13000000
Is this correct? I don't know as I do not know how to XO... |
Is it possible to use bitslicing for GCM? This seems like a way to allow for a way to avoid cache-timing attacks without PCLMUL instructions and with good performance.
|
Imagine $n = pq$ with $p-1 = 2 p_1 p_2$ and $q-1 = 2 q_1 q_2$.
I can compute the discrete logarithm of $y = g^x \pmod{n}$ by computing the discrete logarithm of $y$ modulo $p$ and $q$. But then how to recompute it?
What I'm doing right now is recomputing it in $2p_1p_2q_1q_2 = \frac{(p-1)(q-1)}{2}$ with CRT (they all h... |
I was studying Rijndael AES proposal, and its cryptanalysis. I started with writing code to break AES reduced to 2 rounds. I am using 128 bit key size and 128 bit block size. 2 round AES means the following sequence of steps:
$AR \to BS \to SR \to MC \to AR \to BS \to SR \to AR$
where
AR = AddRoundKey
BS = ByteSub
SR =... |
I am preparing for an exam and trying to solve the following question I found on the internet:
Let $F_k$ be a pseudorandom function. Show that the following MAC for messages of length $2n$ is insecure. The shared key is a random key $k \in \{0, 1\}^n$.
$\operatorname{Mac}_k(m_1||m_2) = ⟨F_k(m_1), F_k(m_1 \oplus \overl... |
I recently was engaged in a discussion in Sec.SE where somebody used the term "sidechannel" to actually mean "circumvent the encryption".
By what he said it was clear, that he wanted to not bother with crypto at all and this is - in my view - not a sidechannel. However, rubberhose cryptanalysis was also mentioned and i... |
As I'm using HMAC to ensure integrity and authenticity of the ciphertext, is there any additional security benefit to verifying PKCS#7 padding when decrypting using AES CBC?
A previous question asked Why verify Padding at all? Part of the accepted answer was:
In general, use a cryptographic MAC to protect your ciphert... |
Given a non-primitive LFSR sequence (i.e number of states is less than $2^n - 1$); how do we find out the the characteristic polynomial? Will Berlekamp-Massey algorithm work in this case?
for example; for the following sequence-
[1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, ... |
With block ciphers, I understand that the plaintext is first broken down into the right-sized blocks, padded, and then encrypted into the same number of cipher blocks.
Once these blocks are sent over to the receiver, does this mean that (after decryption) the receiver would have to parse each block looking for the padd... |
I was browsing the Wikipedia article on Merkle signature schemes and noted that it says:
The number of possible messages must be a power of two[…]
Why is that? If the nodes of tree are formed by hashing two public keys together by concatenation, why can't three or four be concatenated to form nodes? Also, since the st... |
Reading about Accountability in ABE currently and the paper "White-box traceable ciphertext-policy attribute-based encryption supporting flexible attributes" when comparing its system with an existing mentioned the fact that theirs is a prime order group scheme while the other is a composite order group scheme. My ques... |
Given:
F is a length preserving PRP.
Encryption scheme $\Pi$ for messages of n/2 bits where:
$m\in\{0,1\}^{n/2}$
$k\in\{0,1\}^n$
Enc: Select a random string $r\in\{0,1\}^{n/2}$ and output $c\leftarrow F_k(r||m)$
Prove:
If this scheme is CPA secure or not.
My approach so far has been to Prove this using reduction by... |
i have a ciphertext C=TLNJG formed using the equation
c=(7p+11) mod 27,c equivalent to numerical equivalent character of ciphertext and p the plaintext
how do i get the plaintext back?
for encryption:c=(7p+11) mod 27
for decryption:p=5(c-11) mod 27
let's say i encrypt the letter B(1) I would get
c=(7+11) mod 27
c=18 m... |
i have calculated 2 large primes, $p$ (minimum 2048 bits) and $q$ (minimum 224 bits), where $p-1 \mod q = 0$ by using SageMath.
$p = $323170060713110073007148766886699519604441026697154840321303454275246551388678908931972014115229134636887179609218980194941195591504909210950881523864482831206308773673009960917501977503... |
Today I learned the principle of the monoalphabetic cipher. It's simple to decrypt a ciphertext written all in the same language (english for example) because I can use the syntactic properties as well as letters' frequency. What about writing a message using different languages in the same text?
Il gatto è salito su... |
I am trying to solve the following three tasks (for exam practice, not as a homework):
Define $ : \{0,1\}^* \rightarrow \{0,1\}^*$ by $G(x_1,...,x_n) = _1 \oplus _2,_1,⋅⋅⋅,x_n.$ Prove that this $G$ is not a pseudorandom generator.
Let $G$ be a pseudorandom generator, and define $G'(x_1, ..., x_n) = G(x_1, ..., x_n)|(x... |
Is there a cipher that was considered the undisputed best before the computer age? (This is not supposed to be a discussion; it's either a yes or no.)
Please give a brief description why it is yes or no.
|
What are the post quantum cryptography protocols that have been proposed until now?
I know about McEliece cryptosystem, and LWE scheme. What are the others? Can you provide me a list or a website containing such list?
|
I am trying to find a value of X (32 bits) such that ((X XOR a)+b)<<3 = (X+c) XOR d. <<3 means shift left 3 bits. a,b,c and d are all constants which have been determined elsewhere.
However, I don't want to brute force the full 2^32 combinations. I was told solving it 3 bits by 3 bits from the MSB on the left hand side... |
Is there any difference between these two ways to encrypt a string using FPE?
Say the string has the format is specified by this rule
First part is in the set
$S = \{\text{AA,AB,AC,BA,BB,BC,CA,CB,CC}\} = \{0,1,2,3,4,5,6,7,8,9\}$,
second part is in the set
$T = \{0,1,2,3,4\} = \{0,1,2,3,4\}$
Example string = $\text{B... |
I understand that a cipher suite should contain the MAC algorithm at the end.
So ECDHE-RSA-AES128-SHA256 should use SHA256 in HMAC for the MAC.
But what about the PRF? From the RFC this is what I understand: new cipher suites need to include the PRF at the end. The only "new" cipher suites I can think of is AES-GCM: EC... |
As min entropy of a random variable provides the maximum probability of getting the desired realization of the random variable, which is the most conservative way of measuring the uncertainty of outcomes. Min entropy analysis is required to bound the characteristics of the attacker's perceived observation from the outp... |
I know that the probability of each register to step is 3/4 but I have yet to find an explanation of why. Can anyone explain this to me?
|
I implemented a Stream Cipher using Cryptographically Secure Random Numbers for the key values. The key stream was as long as the plaintext stream. This key data set won't be reused. Have I met all the requirements for a truly theoretically unbreakable encryption process?
I know programmers without the math or general... |
I have made an ECB/CBC detection oracle, and am now trying to make a detection oracle that can differentiate between CBC/CFB/OFB/CTR/etc. I can already tell ECB apart from the others due to this reason.
My issue is that, other than ECB, the detection I know how to do at this point involves corrupting a bit of the ciphe... |
I'm trying to understand the different between AES-CCM and AES-CCM* (as defined in IEEE Std 802.15.4™‐2011, Annex B).
I see that there are more restrictions on L and M and also M=0 is allowed:
L = 2
M = [0,4,8,16]
Is it correct that the max message length is 2^16 = 64K (since L=2)? Isn't it too short?
The encoding of... |
Hello guys I am trying to implement Certificateless Cryptography algorithm with reference to this base paper. Right now I am trying to implement the code in java. There are some points specified in PDF which I didn't understood. I need some help to understand how should I implement them.
The points are as follows (kind... |
I understand from reading MSDN
that the X509 v3 extensions must be handcrafted. This involves the CRL, AIA, name and policy constraints, policy mapping, private key usage period, and subject directory attributes.
I tried to make a CRL distribution point but the result is garbage:
$crlExt = New-Object -ComObject X5... |
It's fairly well known that Shor's algorithm kills RSA, DSA, ECDSA, DH, ... and that symmetric ciphers (AES and 3DES) and hashes (SHA-2, SHA-3) are safe as long as you double your key size / output size against a Grover search. (See slide 3 in this NIST presentation.)
My question is: nobody has mentioned random number ... |
How do you know when you have the right key when brute-forcing? Let's say that they test the right key. They then have to check that the decrypted text makes sense. To do so, they can test whether there is a word in the dictionary.
But then let's say that the message is encrypted with Enigma then with RSA encryption.... |
I noticed that the GO standard library has some really nice functions for performing AES encryption / decryption in various modes. However, I couldn't (yet) find anything for Diffie-Hellman key exchange.
I'm not sure if I should proceed by searching more carefully, switching to a different language with a more extensi... |
Brute Force is infeasible for just about every algorithm we use today. Yet, attacks are feasible. This is because weaknesses keep coming up in our algorithms. Why?
We have proven lower bounds for things like sorts, the information security of things like OTP and Shamir's Secret Sharing, proven many problems as hard as ... |
There exist certain attacks that can be used against RSA keys whose prime factors are of specific forms, such as one by Coppersmith.
How common are these RSA keys? If you generate primes randomly, is there a realistic risk of choosing a weak prime number? Does this risk, if realistic, vanish if you always choose $p$ ... |
Does anybody know if the design of VIC cipher is attributed to anybody? I've tried Google and found nothing. There are quite a few sites describing the method in detail, a few implementing it programmatically, and ample stories of the code in the coin, but who actually came up with it? Who decided to put the ideas toge... |
This might be a very silly question, but I am a total novice in encryption. I don't know where to start searching for an answer to this problem.
I am building applications using a proprietary language developed by my company. I am trying to call a REST service using my application. This REST service is authenticated us... |
I was reading the norx specification and came across this section, which provides some kind of statistics about the diffusion of the norx round function. However, I don't see how these values were calculated or what they really mean.
If I could also find out how the diffusion was visualized in the figure following the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.