instruction stringlengths 32 27.2k |
|---|
I am developing an application that will need to store a very large volume of hashed data per user for which I want to ensure I am doing everything possible to maximize security. At this point I believe I will be utilizing SHA3-512 + randomized salts over a yet-to-be determined number of iterations.
Is there a standar... |
An encryption function can be used to obfuscate pieces of information and later on retrieve them.
What is the yardstick for measuring how well the function encrypts the information ? Given any invertible function, which are the quantified parameters which measure how effective the function is to encrypt a message ?
I a... |
I just used this
hashed = str(bin(int(hashlib.sha512(input1).hexdigest(), 16))[2:])
and then just see that the first bit is always 1
I have noticed quite an odd pattern, that all SHA512 output's first bit is always 1, while the others are random. Why is this?
Does this mean that SHA512 only provides 511 bits of secur... |
I have a column in a database table called "Amount" that will store decimal values encrypted with AES. It's highly likely that the same amount will exist in multiple rows in the table and be encrypted with the same key. Furthermore, most of the plaintext values that will be encrypted are <5000. Are there any specific f... |
As part of homework problem, I need to show that DDH hardness implies CDH hardness.
Assume $CDH$ is hard relative to some group generator.
The intuition is pretty clear, so I've made the trivial reduction - let $A_{CDH}$ be a PPT algorithm that computes $DH_g(h_1,h_2)$ with probability $\epsilon$, define $A_{DDH}$ as ... |
We know that Blakley's scheme is less space-efficient than Shamir's and that they both work based on pretty different aspects (Shamir = polynomial-based; Blakley = hyperplane-based).
Looking at how both work, my gut feeling tells me Shamir’s scheme seems to be more robust than Blakley’s because – for example – if an in... |
Given two letters of the plaintext 'ZP' corresponding to the ciphertext 'AE' respectively, I have found the key to be (a,b)=(10,10) (modulo 26).
Therefore the decryption map $D(x)=a^{-1}(x-a)\bmod26$ I obtain here is $D(x)=10^{-1}(x-10) \bmod26$. However, $10^{-1}\bmod26$ does not exist so how am I able to find this? H... |
It is often said to never use a nonce for more than one message when using a stream cipher. It seems this is to prevent something like this:
Taking advantage of one-time pad key reuse?
Yet what if I keep the same nonce, but increment the block counter depending on the amout of blocks exchanged so far? This should be th... |
Is it necesary to introduce noise in building fully homomorphic encryption?
At present, almost all formally published FHE schemes are based on noisy approach. However, there are some noise-free FHE constructions posted at ePrint or arXiv. But all these noise-free FHE schemes have not been formally published, due to --... |
You may already have heard it: KeePass v2.35 has support for a new database format (KDBX4) which allows for the use of Argon2 (more precisely: Argon2d) as the password-based key derivation function (PBKDF).
However Argon2 has three independent parameters, called iteration count, memory usage and parallelism in the GUI.... |
Assume you have a vault containing secrets. Each one is encrypted for at least one authorized recipient using some public key crypto (one file per secret). Each authorzied recipient can decrypt all of those secrets. This implies that each recipient can also add additional recipients by decrypting all secrets and encryp... |
I am attending a cryptography course on Coursera. I am stuck at one question which I cannot answer right, even after a few tries.
Which of the following are true about Vigenère cipher? (Check all that apply)
A Vigenère cipher with key of length 100 can be broken (in a reasonable amount of time) using exhaustive searc... |
So I've recently got an email client set up with an encryption plugin, but I'm not sure what's happening behind the scenes.
What I haven't been able to find anywhere online is what is the standard way to encrypt emails? Do I encrypt with my private key, then your public key? The other way around? Do I encrypt with your... |
I am trying to construct a theoretical Diffie-Hellman key exchange protocol. However, i cannot understand the difference between choosing an additive group or a multiplicative group. I believe an additive would make it much more simple, but would a multiplicative group make it more difficult to break? What would be the... |
I have been been studying some basic ciphers, and learnt about the affine cipher where the encryption function is given by $ax+b \pmod{26}$ for an alphabet with 26 characters. This is a very insecure cipher, so if it was used it must have been a long time ago. I am aware that the Caesar cipher and the Atbash cipher are... |
It is said that a predictable IV is dangerous, because you can do adaptive chosen plaintext attacks. But if the IV is never seen to the attacker, is it still dangerous? What I mean, is that the IV is predictable - it is incremented for every message, but never communicated - the attacker only knows it increases by one,... |
The following implementation, here for illustration:
void hash(int* bits, int bitsLen, int* out, int outLen){
const int tt[9] = {1,2,0,0,0,1,1,2,2};
int st[128], i, k, j, x, y, a, b; // state st holds 128 trits
for (i=0; i<128; ++i) // initial state setup
st[i] = i%3; ... |
In some evaluation of elliptic curve cryptography, it says that for same security level
In supersingular curve over $F_p$ with group of prime order $q$, p=512, q=160 bits
In non-singular curve , p=160, q=160 bits.
How to know such difference?
|
In the LWE problem there are two methods in order to choose secure parameters. The Lindner-Peikert and Micciancio-Regev method. The first method is an attack to BDD : find closest vector knowing the distance is bounded. The second method uses a distinguisher of SIS problem in order to attack the Decision-LWE. If someo... |
Assuming
We want to generate a password of 32 bytes, using a keyfile as source but not using it directly but via an intermediate step;
So:
We have a file of 100MB file with high entropy
We ask the user to give 2 values, (A) one is the offset into the file, the 2nd (B) is chunk size
We then:
Open the file and skip... |
TL;DR:
If you have to decrypt a cipher for example, and you don't know which encryption method(s) have been used.... Where do you start? Or "do you just start"? Or are there certain questions you have to ask yourself first to determine a certain strategy (to be as efficient and productive as possible)?
Let's assume I r... |
I have been analyzing the source code of a software, and I came across this encoding snippet, I would like to know if it's safe to encode an entropy source this way.
So the entropy source is a 132bit random source, in integer format, so the i is an integer containing 132bits of randomness:
def mnemonic_encode(self, i):... |
Reference to SSL 2.0 specs. from: Mozilla - SSL 2.0
Can I conclude that SSL 2.0 Finish messages does not provide AMC for all the messages sent/received by both parties (as in TLS 1.2)? Due to lack of SSL 2.0 official detailed documentation, I am unable to confirm this.
2.2.1 Assuming no session-identifier
client-hello... |
I need to encrypt a live audio-stream that is being sent over the internet. The details are:
The stream contains spoken language (VOIP)
Only the raw stream is transmitted (no meta-data or container)
Latency needs to be low. Therefore, the stream is send via UDP
The Stream needs to be decryptable, even if a package go... |
For example, the "Mental poker" protocol asks for Bob to encrypt each card with his key, shuffle them, and then pass them to Alice. Alice then encrypts each card with HER key, shuffles them, and then hands them back. Bob removes his original key and .....
Looking at homomorphic cryptosystems, elGamal seems to work we... |
Let's say that an RSA implementation of PKCS #1 signatures fails to validate that the 00 01 FF FF FF ... FF 00 portion of the decrypted signature is exactly as long as needed to fill up the signature block entirely when appended with the hash identifier and hash. This means that the padding could be shortened to some ... |
From rfc 6962 It is stated that:
Note that the hash
calculations for leaves and nodes differ. This domain separation is
required to give second preimage resistance.
That means that whenever the hash computes on leaves a distinct known element is preappend to the element $e$: $$H(0\mathbin\|e)$$ and whenever hash app... |
Trying to understand zero-knowledge proofs, I came across this page, which provides an excellent example of a simple cryptographic protocol. I will reproduce the protocol here for the sake of completion.
Assumptions: Let us assume that only (classical Greek) geometric construction is allowed. So we can only use a compa... |
Why is the probability to get a fixed given word ina PRG which maps $\{0,1\}^n$ to $\{0,1\}^{2n}$ equal to
$$\frac{2^n}{2^{2n}}$$ While the probability to choose 2n bit uniformly is $$\frac{1}{2^{2n}}?$$
what is the probability to geta given word in a PRG which maps $\{0,1\}^n$ to $\{0,1\}^{n+1}$ ?
Thank you
|
In recent studies on elliptic curve cryptography, Edwards curves are remarkable examples on this field. Studies show that this kind of elliptic curves provide faster computation compared to Weierstrass form.
The following equation is called an Edward Curve
$$x^2 + y^2 = 1 + d\cdot x^2\cdot y^2$$
or $$x^2 + y^2 = c^2 \... |
Let $P$ be a random permutation of $n>1$ bits. Let $F$ be the function on the same domain $\{0,1\}^n$, defined by $F(x)=P(x)\oplus x$. When $P$ is a block cipher with key a message block, that's the Davies-Meyer construction of a one-way compression function, a variant of which being used in MD5, SHA-1, and SHA-2.
Let ... |
I have a frustration for the term "supersingular" elliptic curve and "non-singular" elliptic curve.
In some paper, performance evaluation is done using supersingular elliptic curve and in some cases, they use non-singular elliptic curve.
Are they same or different curves?
|
My question is related to this:
Collision-resistant Pseudorandom function
Assume we have a pseudorandom function as follows: $PRF: \{0,1\}^{l}\times\{0,1\}^{t}\rightarrow\{0,1\}^{m}$, where $l$ is the security parameter. Also, assume $k,k'\leftarrow \{0,1\}^{l}$ are two independent random keys and $r_1,r_2 \leftarrow ... |
It is possible for a company to deploy its own CA ? How would browsers accept the certificates ?
Supposing a company does not want to use the role of a commercial server like Windows Server or any other as a CA, how can a company deploy its own CA ?
Are there any reliable free projects that can help?
Or the company ne... |
I've seen the term "witness" tossed around when talking about knowledge extractors, but I have no idea what it means. I can't find a definition.
What is a “witness” in zero knowledge proof?
|
How to construct a pseudorandom function $PRF$ with the following property:
Probability that $PRF(k_1,i)=PRF(k_2,i)$ is negligible, for all keys $k_1,k_2$ such that $k_1\neq k_2$
Does the PRF with the above property have to be Pseudorandom function tribe ensembles mentioned here or it can be any PRF with sufficiently l... |
I am making an implementation of hash_df (NIST documentation found in SP800-90A.pdf on page 67)
I found “Does hash_df use binary or an ASCII hexadecimal representation for numbers to be passed to the hash function?” which explained a few things, but im still not completely sure that I have it right. I am having trouble... |
I'm new to crypto. I'm learning according to the book "Introduction to Modern Cryptography". I'm having troubles with understanding of PRG and how to prove if some function is PRG or not.
I'm trying to solve this simple example:
G(x1,x2...xn) = x1,x2,...xn, x1 xor x2 xor x3... xor xn
Is G a PRG?
Well, according to th... |
My question is related to:
How to contruct a pseudorandom with a specific property
Collision in pseudorandom function when two different keys are used
Question: When we use a pseudorandom function to pad a message do we need to worry about the pseudorandom function's output range and the probability of collision?
Ass... |
I have been trying to find a case where AES-192 is used over AES-128 but AES-256 is not used. There are many questions about AES here (I liked this one AES-128/192/256), but from the actual application side, I was unable to determine any cases where AES-192 was used over AES-128.
AES-192 seems to exist because levels o... |
I'm really trying to make sure that I follow best practices when it comes to password storage, and after some looking around for a good algorithm, I found that Argon2 was the "next big thing". I've been testing it out within VB.Net using the NuGet package provided by Liphsoft (Liphsoft.Crypto.Argon2).
By default, it lo... |
Imagine I have a 1000000 bit sequence that is considered random ( ie the output of a TRNG).
Now imagine I 'double' that sequence : I concatenate the same sequence 2 times : " my 1000000 bits "concat" my same 1000000 bits "
Can we say that the resulting sequence is random ?? ( note that if someone know the construction... |
In Cryptography Engineering Bruce recommends using "rand IV CBC mode" but the copy of the book I have is from 2003 and I am unsure if this is still a recommended practice with all the recent attacks discovered on various CBC implementations.
Is there a better choice then CBC mode?
I am writing a program that will be us... |
Is it possible to reduce the output of AES after encryption into 64 bit with the possibility of a reversible before decryption Without any error
|
I am a bit new to java crypto, lately, I was going through some articles regarding the use of AES/CTR/PKCS5Padding for encryption. I read that
The block size is a property of the used cipher algorithm. For AES it is always 16 bytes.
So strictly speaking, PKCS5Padding cannot be used with AES since it is defined onl... |
Is it possible to recover password having ZIP/AES file and unpacked file?
Or unpack other files with the same password?
|
The "normal idea" is to generate a key per user, send them to the users (securely, of course), and store them in a database.
But what if I use a keyed hash (like Blake2b) with a server key and then hash the user ID to generate the user key to avoid the need to hold a database of randomly generated keys? Is it secure? ... |
Can I use a keyed hash of a counter as a secure CSPRNG?
E.g. 4th random block is Hash(4, seed)
If not, what are the possible attacks?
|
For example - let's say an adversary algorithm runs for $n^{3}$ time and can break the scheme with probability 0.001. Does that mean, even after running the algorithm for $n^{3}$ time, it will only succeed in 1 out of 1000 times? So, if my understanding is correct, then the adversary algorithm need to be executed for a... |
$\DeclareMathOperator{concat}{\|}$
I'm trying to do the following assignment:
Let $F : \{0,1\}^k \times \{0,1\}^n \to \{0,1\}^n$ be a PRF. Define function family $G : \{0,1\}^k \times \{0,1\}^{n-1} \to \{0,1\}^{2n}$, for all $x \in \{0,1\}^{n-1}$, by $$G_K(x) = F_K(0 \concat x) \concat F_K(x \concat 1).$$ Show that $... |
What are the differences between checksums (e.g. Fletcher, Adler, CRC), non-cryptographic hashes (e.g. xxHash, MurmurHash, CityHash) and cryptographic hashes (e.g. MD5, SHA1, SHA3)?
I am familiar with checksums and how they're used to detect errors in data, and how the design can influence collisions (like [0,0] [0,0,0... |
I would like to know if the following process to generate keys for a set of devices is secure.
Let’s say I have a 128-bit master key MK with high entropy. I use a KDF to generate a 128-bit device key DK for each device:
DK1 = KDF(MK, salt1)
DK2 = KDF(MK, salt2)
…
where the salt is, for example, the serial number of t... |
In Garbled Circuit, a circuit C is encoded to C' and input x is encoded to x' such that only C(x) can be computed given C' and x'.
Randomized encoding of a function f is another randomized function f' such that output distribution of f' encodes f.
I heard that garbled circuit is a randomized encoding but couldn't figur... |
I have recently developed interest about obfuscation, and I see that (all?) the proposals use multilinear maps. What's the reason to this? As I also that many of the multilinear map proposals get broken too. Are there any other approaches to achieve obfuscation, that use other mathematical structures?
|
I'm currently building a website where the users would enter their credentials for another web service that I'm going to scrape to get their data.
I want to make sure that when I save their credentials in my database, I'm using the best encryption possible and the best architecture pattern to ensure the highest level o... |
What are reasonable parameters for Argon2 to hash passwords in a web application? On the one hand we need good performance, fast responses and DDoS resistance, but on the other hand we need protection from brute force on modern GPU, ASIC, FPGA etc. I see an example in Django - they use Argon2i with p=2, t=2 and 512kb o... |
I downloaded CentOS 6.8 for 32-bit over torrent. It comes (among other things) with a sha256sum.txt file and a sha256sum.txt.asc file. I know how to verify the signature of a file when I have the encryption key, but in this case, what would be the encryption key to import?
|
can someone show me the working how to get (10,6) what i am getting is (10,5) for 3P
|
Hey crypto SE, i'm having a bit of trouble with this question. Can anyone help me to understand how to go about solving this problem? Any help is appreciated :)
Show G is insecure against adaptive adversaries by designing an adaptive adversary?
Is it possible that a comparable advantage could be achieved by a non-ada... |
Hello all, I'm new to crypto, I'm not sure if my thought process is correct ? any assistance will be helpful.
How useful is the partial info that A gets from (a), (b), and (c) ; in (c) A can determine Fn. How useful is this partial info in distinguishing F from a Rand Func
I understand that the advantage is the P ( ... |
I'm looking to discover what DES's Strengths and Weaknesses are.
I understand that DES is a block fiestel cipher operating on 64 bit blocks and 56 bit keys (after deduction of 8 bits). And I realise that DES is weak against Brute force in this day and age.
But I'm looking to understand firstly, why is/was DES so stro... |
If it works in the virtual world, why can't the same principle work in the real world?
For example if you want to hide a private key, you need a virtual haystack to hide it inside, which is the entropy of it's random source.
So if we want to generate a 21.9 bit key we need to select one random one out of 4000000 possib... |
Will this algorithm make a cryptographically secure hash function? Can it be used to generate passwords? Is it secure enough for use as a MAC?
Divide the message into blocks.
The initial state is $h=314159265358979323846$.
For each message block $m$:
The new state is $h=(h+m)^2 \;\; mod \;\; pq$.
For a digest of size n... |
Does AES-NI offer better side-channel protection compared to AES in software? Also, it would be great of you could provide according references in your answer.
|
It fairly simple to measure the strength of a key space, largely it's just the number of possible keys.
But how might I measure other properties, namely, a ciphers reliance to attacks such as:
Frequency analysis
Differential Analysis
Linear cryptanalysis
I was hoping for examples with DES or DES contrasted with so... |
I am brand new to the world of cryptogrophy. I am trying to decrypt a many-time-pad. I understand the methodology of using the XOR to get the messages.
C1 XOR C2 = M1 XOR M2
Now my question lies in a specific case. I have about 11 cipher texts with a number down the same index. All of them either have a '2', '3', or '4... |
Does the size of the LUKS partition affect the difficulty of a brute force attack, or would it not make difference? For example, would a 100MB partition be easier to attack than a 100GB partition?
|
In this file on GitHub, from lines 154 to 169, there are twelve arrays of constants that I've not seen in other AES implementations. How do they relate to the algorithm?
|
Let $b_1, b_2, \dots, b_n$ be blocks of a fixed size.
We take our hash function to be $H(x)$, for example SHA1.
What is the result of $H(b_1 || b_2 || \dots || b_n)$?
Edit:
Let me formulate it more clearly.
So I want to know if the following properties (or any other similar property) hold:
$H(b_1 || b_2) = H(H(b_1) ||... |
This is an RSA question, given data encrypted with a public key from an unknown RSA certificate of 2048 bit, let $X$ be the encrypted data, $M$ the unencrypted data, $c$ the public exponent and $N$ it's modulus. Knowing $X$, $M$ and $c$, can you deduce $N$?
$$
X = M^c \mod N
$$
You can have as many $M$ and correspondin... |
I am kinda of confused about what are some major differences between AES, Twofish, and other types of common encryption algorithms.
|
In the case of using a cipher suite with all algorithms NULL e.g.: TLS_NULL_WITH_NULL_NULL the protection against replay, swapping and filtering is guaranteed?
(I am talking about message protection, not handshake's one)
Because I have seen that the MAC uses a sequence number, so maybe this is used against replay. If ... |
ok, well... first: it's a "just for fun" question. I don't have a project dealing with this... I've simply a bit time and would like to talk a bit about some (maybe stupid) possibilities and try to learn something...
I always thought (before I was looking at the algorithm) that algorithms like cbc provide security agai... |
Assume we have two pseudorandom functions $PRF$ and $PRF'$ defined as follows:
$PRF: \{0,1\}^{n}\times \{0,1\}^{m}\rightarrow \{0,1\}^{n}$
$PRF': \{0,1\}^{n}\times \{0,1\}^{m}\rightarrow \mathtt{F}_p$
where $p$ is a large prime number, $|p|=l$, and $l$, $n$ are security parameters.
Question 1: Is $PRF'$ secure and doe... |
Let F(a,b,c,d,e) be a function that returns the ith bit of 0x3A5C742E, where i=a*2^4+b*2^3+c*2^2+d*2+e and i is the offset from the least significant bit.
The author Page 33/200, chapter 2.3.4 states that in order to find the polynomial for the equivalent output you can use k-maps.
Later he states that the equation aft... |
I'm trying to encrypt a plain text (of length l) and output a ciphertext of length t, where t does not equal to l.
How do i get a ciphertext that is shorter than the plaintext input?
How about if I want a ciphertext that is longer than the plaintext?
Also, assume if I already have a encryption function E, such that E t... |
I am puzzled with a question that seems to be based on theory.
If there is a collision resistant hash function (since it is not possible for a hash function to be collision free, this is a theoretical question),
would it be true to say that there are no two unique hash values for all possible messages $x$ and $x'$ whe... |
If the elliptic curve has prime order of points, then all of its points are generator. Is this true? If so, how can I find the optimized generator(which generates more number of points) among them?
|
Say if I have a Pseudo Random Function PRF E: {0,1}^k x {0,1}^l -> {0,1}^l.
Hence it takes a key of length k and outputs text of length l bits. Is it possible to use this PRF E to construct another PRF H (with same inputs)
that outputs t bits instead l bits, where t < l.
Also, is it possible to construct a different P... |
I am trying to implement the correlation power analysis attack. I have a hardware AES for which I found a trigger which defines the start of the AES calculations. After that I performed an EM curves acquisition.
It is the first time that I have some traces so I have some questions about :
According to my trace, the x-... |
In which scenarios we go for prime fields or binary fields? Please indicate why we would choose one over the other.
|
From Twitter:
Marc Stevens released a new 76-step (out of 80) SHA-1 collision, and SIMD libdetectcoll https://marc-stevens.nl/research/
What is a 76-step collision, and how does it differ from a "regular" collision? Is it related to whatever a "freestart" collision is?
|
In Secure Boot (here defined as data is encrypted and authenticated), we can encrypt the data with AES-128 and authenticate it with a RSA signature, computed over the data's hash, afterwards.
On boot, the device first calculates the hash of the encrypted data, verifies it with the given signature, decrypts the data, an... |
For the Decisional Diffie-Hellman (DDH) assumption we know that:
Given $g^a$ and $g^b$ for uniformly and independently chosen $a,b \in Z_p$ the value of $g^{ab}$ looks like a random value in group $\mathbb{G}$.
For the Decisional Bilinear Diffie-Hellman (DBDH) assumption we know that:
In a group $\mathbb{G}_0$ of prime... |
OK, so we've had questions about hashes build from stream ciphers (not a good idea) and about stream ciphers made out of hashes (yes, of course, use counter mode). What I want to ask is related but doesn't seem to have been asked before.
Is it possible to make a streaming hash? With a "streaming hash" I mean a hash fun... |
We currently use GPG to encrypt large text files ( ~ 4 Gb ) and occasionally the encrypted and compressed file will be truncated. I have tried several different algorithms but cannot pinpoint a culprit. Does GPG have a maximum file size after which it will truncate the file?
|
I'm currently trying to integrate GCM into my code, and I have just enough knowledge to know I'm probably doing this wrong. I know for GCM and other CTR like ciphers, using the same key with the same nonce multiple times is a terrible, horrible, very bad idea. the question is, using the same key for a decently long per... |
I am somewhat confused with something I read in Dan Boneh's slides discussing the advantage of a $2^{80}$-time adversary attacking AES-256; according to Boneh, the assumption is that this advantage is bounded by $2^{-40}$ (see slide 8 here or fast forward to 7:04' in the video here).
I have been looking to a few lectu... |
The smallest signature sizes that I can find are for elliptic curve public key systems where the signature is 4 times the security level (2 x the key size). In my case I can change the key every day, after which it is OK if the key is revealed.
So my questions are:
is there a more efficient signature than 2 x key si... |
openssl x509 (v1.0.1f) displays public key moduli as arrays of hex-encoded bytes, 15 columns wide, starting with a leading 00::
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (1024 bit)
Modulus:
00:b0:d0:f4:33:a8:b2:93:06:65:27:72:94:57:92:
... |
tr -dc 0-9 < /dev/urandom | fold -w 3 | awk '$0>=100 && $0<=200'
What this line does:
/dev/urandom (Linux) is proven to be a CSPRNG, that is not a question
the "tr -dc 0-9 < /dev/urandom | fold -w 3" outputs 3 digit long numbers from /dev/urandom, ex.: 630, 418, 037, 992, 186, etc.
The question: we need numbers on... |
Let's $\ a,b\ $ be two (pseudo)random independent values, and $m$ be a message, where $a,b,m \in \mathtt{F}_p$, where $p$ is a large prime number.
Question 1: Is $\ am+b\ $ an information theoretic MAC?
if yes
Question 2: Is there any paper/textbook uses it?
|
I'm studying for an exam next week, and there are two questions that me and my friend don't understand:
Question 1:
Let $p,q$ be big prime numbers and $n=pq$.
Let $e$ be a number between $1$ and $\varphi(n)$ such that $e\mid(p-1)$, $e\mid(q-1)$.
For a plaintext $M$, the ciphertext is $C=M^e \bmod n$.
How many different... |
Can someone clearly outline the main difference between each of the three security models:
random oracle model
standard model
selective model
This post What is the "Random Oracle Model" and why is it controversial? gives a very good description of the random oracle. According to what I have been reading, the standard... |
The local YMCA has new locker rooms with built-in 3-digit combination locks. If I understand the Birthday Paradox correctly, I have a better than 50% chance of finding a lock combination with 33 tries on a given lock. (The lock combination gets set by the member at the time of locking the locker door.)
Is my analysis c... |
Suppose there are two parties with binary strings of equal length. What would be the most efficient way to securely calculate the bitwise multiplication of these strings (i.e if one party has 0101 and the other party has 0011 then the product would be 0001)?
My current thinking is that some sort of single-bit multiplic... |
I'm wondering if there is any collision-resistant hash function $h^s(\cdot)$ satisfying that there is a fixed value $c$ such that, for each $s$, a value $x_s$ satisfying $h^s(x_s) = c$ is known. This would not contradict the collision-resistance property, nor preimage-resistance, but I have not been able to come up wit... |
I was reading a text on cryptology by Wayne Patterson and came across the $L^3$ algorithm which reduces integer lattices with respect to their base. I've also read on the NIST CFP A8 that attacks based on Grover's algorithm aren't really seen as viable. There is already research covering vulnerabilities in the group... |
If I get a random number from a cryptographically secure random number generator then divide it by a number, say 2, is it still cryptographically secure?
|
I have seen the NIST, SEC and Brainpool standards. They have used same prime for a particular bit curve (128,192,256,521). Is the prime value fixed for a particular security (field size)?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.