instruction stringlengths 32 27.2k |
|---|
I need to know whether one can obtain any roots of the polynomial in Shamir secret sharing if he possesses less than threshold shares.
For instance in (t,n) if he has t-1 shares can he obtain any roots of the original polynomial?
** Here we assume that the polynomial has some roots.
|
I have been attempting to find an answer to a self-study question:
If I have a hash algorithm that outputs 256 binary bits, on average, how many times would I have to call the hash function so that the output begins with 15 zeros?
I am absolutely lost, but bear with me here - each bit has two possible values and ass... |
This question came up as I tried to answer an earlier question I asked: Cryptographic data structure: sparse array without membership test. I still have not resolved that question to my satisfaction, but this question may be appreciated independently.
I want an error-correcting code that has the additional property th... |
I've read several articles about brute force cryptanalytic attacks, but none explicitly say what algorithm is being run for each attempt, nor what criteria is used to declare an attempt a success or a failure. If one is to try every possible every possible key value, what is one feeding those keys into? A brute force a... |
Is it feasible to build a cipher (or hash) out of GPU or DSP primitives (e.g. big matrix multiplication, Fast Fourier Transform, big block SIMD, or hardware H.264/AVC codec)? Preferably those are slow to run on conventional CPU but a lot faster on GPUs and DSPs.
So if such a GPU or DSP-based cipher or hash is feasible,... |
Keccak follows a sponge construction. Can we say that Keccak employs a compression function? Generally speaking, for sponge constructions, can we say that there is an underlying compression function?
|
What are the properties derived from the fact that a hash function is indifferentiable from a random oracle?
|
I'm imagining this for use in the scenario of cloud-stored client-encrypted email, where, when seeking to do a string search across messages, you don't want to have to download every stored message in order to decrypt and search.
[Note that inspiration for this approach is taken from Jones & Mewhort, 2007; I otherwise ... |
I have been learning about Vigenère ciphers and then thought of this scenario:
A cryptographer encrypts a plaintext English message with a Vigenère cipher,
then another cryptographer, who wants to ensure that the message is very secure, encrypts the ciphertext with another Vigenère cipher (with a different key length)... |
I came to this article from another comment on Crypto StackExchange. After reading it, I am wondering if there is any benefit to using a digital signature on unencrypted S/MIME emails?
|
Let $\Pi=(Gen_1,H_1)$ and $\Pi=(Gen_2,H_2)$ be two hash functions. Define $(Gen, H)$ so that $Gen$ runs $Gen_1$ and $Gen_2$ obtaining $s_1$ and $s_2$ respectively. Then let $H^{s_1,s_2}(x)=H^{s_1}(x)\|H^{s_2}(x)$, is it second pre-image resistant if at least one of $H^{s_1}$ and $H^{s_2}$ is second pre-image resistant?... |
My question is quite related to the concept of homomorphic encryption, which is not practical at all nowadays.
In short, I would like to know how to query encrypted databases. Simple queries which test the equivalence of the entries can be easily implemented. Fine.
How about queries like: "select all employees with sal... |
It is well known how to produce a NIZK that curvepoints $aG$ and $aP$ have the same discrete logarithm $a$ with respect to the curvepoints they are multiplied by. There is also a way to prove that a curve point $aG$ has the same discrete logarithm as one of $b_1P$, ..., $b_nP$. I think this is due to Cramer but I first... |
I know of a company on their website who are using this very basic password login page written in JavaScript. This doesn't seem very secure at all, because in the html source code it shows where the script comes from: http://www.dynamicdrive.com/dynamicindex9/password.htm and also you can see how it works as it's JavaS... |
I am learning about LFSR sequence and I came across this question:
A 16-bit message consists of two ASCII characters. This message was encrypted
with a one-time pad, and the key for the one-time pad was an LFSR sequence (mod 2) given
by $x_0 = 1$, $x_1 = 0$, $x_2 = 1$ and $x_{n+3} = x_{n+2} + x_n$ for $n \ge 0$.
The ci... |
Trying to understand PBKDF2 in detail. It is clear that the password and the salt is given to the PRF (which is HMAC-SHA-1 in the specification). But what is the role of the INT_32_BE(i)? What does it call? Is it ORed (||) with the salt? And what is the value of INT_32_BE(i) any way? Is it 1? Can anyone clear this ou... |
On https://www.gnupg.org/faq/gnupg-faq.html#define_cast, it says that
Like 3DES, its 64-bit block size means it should not be used to encrypt files larger than 4Gb in size…
How and why does the block size affect the security of the cipher?
|
Alphabet: [A-Z] = [0-25]
Plaintext = HELLO = 7 4 11 11 14
// QUESTION: do this key must be as long as plaintext?
KEY: [QWERT]
KEY = 16 23 4 17 19
Plaintext + Key = 23 27 15 28 33
Plaintext + Key (mod 26) = 23 1 15 2 7
Cyphertext: XBPCH
So is it correct that IF plaintext = "HELLO!" THEN the key must be six characters lo... |
I've been studying cryptography for a little while. I understand fairly well the nuts and bolts of security proofs, but I'm having trouble reconciling the formal statements of security in these proofs with their practical "meaning" for a real system. Is there an intuitive way to reason about the "real-world" security o... |
Problem:
We have a two-dimensional affine cipher with $n = 2,\,\,\,\mathcal{P} = \mathcal{C} = {\mathbb{F}_{16}^2}$, where $\mathcal{K} = \{ A,\,\,b\} $ and $b = (0,0)$. The encryption and decryption is in ${\mathbb{F}_{16}} = {\mathbb{F}_2}[x]/\left\langle {{x^4} + x + 1} \right\rangle $. The task is to recover first ... |
I am starting to learn more about cryptography and I just read more about how asymmetric keys can make a digital certificate, and I would like if someone could explain me why the following case can't be applied:
Since asymmetric keys rely on a pair of keys, and you use the private key to encrypt the hash of the documen... |
Consider the values $a$ and $b$ are encrypted as $c_1=(a \oplus D)$ and $c_2=(b \oplus D)$.
My question is: can we derive $b+a$ from any combination of $c_1$ and $c_2$?
Note:
I admit that the $D$ should have not been used for both $a$ and $b$. For now assume we can use it.
Basically I define the values ($a$ and $b$)... |
Is it significantly easier to reverse a SHA-256 hash if you know that the input was a 32 byte output of SHA-256?
I assume for most outputs of SHA-256 there will be zero, one or two possible 32 byte inputs.
Mapping and storing all of the values is infeasible, but I am still worried that constraining the input to being e... |
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name |rands/second| Seed |
stdin_input_raw| 3.91e+06 |3556676169... |
I am aware of at least rsa, elgamal-encryption, and variations of elliptic-curves relying on different problems and that those problems are considered hard.
However, if someone figures out a way to break this security, it's hard to imagine the consequences. Or what if some intelligent service published certain ellipti... |
I am trying to crack an unpadded RSA set up for a homework.
I have public key (R,e) and encrypted message E.
R:=1189873858375600120035497781492406260116261348762168101523668479976252918878873543993974091515716923413521166189;
e:=7;
E:=935688997292570230577548538417371291686892187342525833188430568797480485753147343888... |
I am trying to make the RSA structure of Openssl manually, knowing
the public key ($n$, $e$) and the CRT parameters $p$, $q$, $d_P$, $d_Q$, and $u = q^{-1} \mod p$.
That is, I want to get the $d$ value (private exponent) of the RSA structure by using Openssl API. If there are already any implemented functions, it would... |
I have a basic question related to Identity and Attribute based encryption.
Construction of IBE scheme was first shown by Boneh et al. in 2001 and I think in 2004 Sahai and Waters introduced Attribute based encryption in 2004 for multiple attributes. ABE extended to CPABE or KPABE schemes.
Can ABE schemes be considere... |
I want to know about these tags in RSA Encryption by private Key. when I use this code:
using (var provider = new RSACryptoServiceProvider(keySize))
{
publicKey = provider.ToXmlString(false);
privateKey = provider.ToXmlString(true);
}
It create this xml:
<RSAKeyValue>
<Modulus>…</Modulus>
... |
Suppose implement the Shamir secret sharing as following: we select a degree $d$ polynomial $P$ with a zero coefficient of 0, and all other coefficents selected randomly from $Z_p$; and to this polynomial $P$, we add the secret as a constant term $Q = P + secret$. If we use $Q$ as the polynomial in our Secret Sharing ... |
I am little curious about how do we calculate hardness proof of any cryptography algorithm?
Also where can I find hardness proof for AES and AES-CBC ?
|
Reading about triple DES and understanding the principles, I am still curious how Firefox defines their three keys for the encryption/decryption.
Suppose that the user saves his passwords in the browser without a master key, are the default keys randomized and saved to the separate file?
Also, if the user enters a mast... |
In connection to a commitment scheme, how are witness and commitment different? Are 'Binding' and 'Hiding' properties defined w.r.t. witness and commitment or both?
|
I have researched the Blowfish algorithm and am curious as to why there exists no effective cryptanalysis for this algorithm as of yet. What basic principles or features allow Blowfish to achieve this?
|
I am looking for a strong alternative to elliptic curve cryptography. It should be something that could face quantum computing attacks, but nothing created by the NSA.
I heard about isogeny key exchange, i.e. supersingular isogeny, is it really secure? Otherwise, what would be an alternative that fulfills the above?
I... |
A side channel attack is described here.
I did not quite get , how the power measurements are used to get the
decryption key , can any body explain it?
|
As a little pet project I'm writing some code to do a little cryptanalysis. Starting with something simple I have created a hill climbing algorithm for solving a simple substitution cipher.
So I start by generating a parent key by shuffling letters A-Z randomly. For the first iteration I am generating a child key by ra... |
I am doing a French presentation on basic cryptography, and the generation of random numbers. Most terms are easily translatable, but I can't seem to find a word for hash, as in cryptographic hashing, in french. The closest I can come up with is gâchis, which means "mess" or "failure.
|
The standard security property demanded of a blockcipher is that it be a pseudo-random permutation; i.e., given a uniformly random key, the blockcipher should be computationally indistinguishable from a random permutation under a chosen-plaintext or chosen-ciphertext attack.
However, what if the key is randomly selecte... |
I am given the q, p, and e values for an RSA key, along with an encrypted message.
Here are those values:
p = 1090660992520643446103273789680343
q = 1162435056374824133712043309728653
e = 65537
sample ciphertext = 29960453977369189557684769709509878433805474629231... |
I've got an homework to implement an encryption algorithm (I can choose what),
now we didn't learn about encryptions yet, I guess you can call it pre-class homework or
something, I know what is encryption in idea and read on how some encryptions algorithms
works, and I don't know which one will be good for me to impl... |
What is the conceptual difference between the definition of correctness and completeness in verifiable cryptographic protocols? They justify that if a statement is correct then the verification should always successfully verifies. Is their any difference in the definitions? Or the one can substitute correctly the other... |
I've been searching for some time and have found no way to create a working certificate and private key pair with a DH or ECDH public key using OpenSSL. Once I do this, I'd like to sign it with an RSA key, too. Does OpenSSL support this? If so, how can I do it?
|
There seem to be many OID's that have been put in the ASN.1 tree that have the following ISO identified organization: OIW.
One example is SHA-1 (ElGamal seems to be another):
id-SHA1 OBJECT IDENTIFIER ::=
{iso(1) identified-organization(3) oiw(14) secsig(3)
algorithms(2) 26 }
Can anybody explain what th... |
We have $E(a)$, $E(b)$ encrypted under the same Paillier key.
As we all know, we can get $E(a+b)$ by calculating $E(a)*E(b)$.
But can we get $E(a-b)$, by calculating $E(a)/E(b)$?
I tried to calculate $E(a)/E(b)$ by using the mpz_divexact function in the GMP library. But I cannot get the correct result.
|
The National Institute of Standards and Technology (NIST) recommended elliptic curve domain parameters to have names such as “secp…” and “sect…”.
For example: “secp224k1” and “sect571k1”.
What is the difference between “secp…” and “sect…”?
|
I understand that with more encryption rounds the more complex the ciphertext becomes due to multiple substitutions and permutations. What I don't understand is the purpose of these features.
I am under the impression that key length and the number of subkeys are the dominant factors in deciding the strength of a ciph... |
I've looked up RC4 algorithm and it's seems easy enough but some parts of it seem random to me.
In the key schedule part take for example the following part :
j = (j + S[i] + key[i % keylen]) % 256
I can understand most of it:
the key[i % keylen] is padding in-case that the key is shorter than 256 bytes, and
the % 25... |
I am a programmer, so when I hear XOR, I think about the bitwise operator (e.g. 0110 ^ 1110 = 1000).
The mention of "XOR" comes up quite a bit in cryptography. Is this the same XOR as the bitwise operator? If so, how is it used to encrypt a large amount of data rather than just an integer? Wouldn't you need the "passwo... |
To convert a bitcoin private key to a public key, the secp256k1 point multiplication math is used.
Could I – theoretically – convert a private key to a public key just using the four arithmetic operations and scalars. If not, what else would be absolutely necessary?
I want to do it using a purely mechanical engine, so ... |
My teacher stated that…
The number of possible keys (E) in a monoalphabetic cipher is $26$!
My thinking:
Every letter in the alphabet can be $25$ different letters hence it the number of possible keys should be $26^{25}$.
What is wrong with my way of thinking, and how did she come to a conclusion of “$26!$”?
|
Everyone is comparing bcrypt to scrypt. Bcrypt is proven, lots of cryptoanalysis and no vulnerabilities so far, but uses very low memory. While scrypt uses a lot of memory, but it's too early in its life. Is there anything problematic by using them in cascade/together? Like scrypt the password then bcrypt the result. E... |
On page 2 of this article, there is example of FEAL-4.
At round 2, the input to F (Round Function) is 0x80800000. As F accepts only 4 bytes I divide the input by 2 so that (As I assume the result will be 8 bytes firstly) I compute 8080 and after 0000, concating two results will be 8 bytes:
0x8080|0000
x0x1x2x3|x0x1x... |
I am trying to verify the statement above. So far I only know that a One-Time-Pad is the only “perfectly secure” cipher. It has a key length which is exactly the same as the plaintext. I think the statement is true but I don't know how to prove it…
Can anyone give me some hints or point me to an according reference or ... |
Page 15 of the Keccak reference (PDF) explains that the $Chi$ step mapping of the Keccak-f permutation in Keccak is defined to be “nonlinear mapping”. Without this, the complete permutation would be linear.
What does ”nonlinear” mean? The paper says that $Chi$ has algebraic degree of 2, so it is not a linear function.... |
This guide says that for a rainbow table or pre-computed hash chain, you can only get a probability that a plaintext is in a table, not a guarantee. Is there a way to guarantee every possible plaintext (of a certain length) is in a table? My thought would be by storing entire chains and generating more chains if a plai... |
Suppose in AES-128, there are $5$ tables, namely Te0, Te1, Te2, Te3, Te0 which help in fast encryption on $32$ bits CPU. Each table contains 256 numbers, where each number is $4$ bytes.
Te4's numbers are generated by repeating hexadecimal in S-box. So Te4 contains numbers $0x63636363U, 0x7c7c7c7cU, 0x77777777U, ...$. ... |
I am in the design phase of a secure chat application at the moment. I am trying to make this as secure as possible.
The Serverprovider should not have access to the messagedata.
So my idea was the following:
I have two base keys, one AES and one RSA Key.
The AES Key is derived from a password the user enters. The RSA... |
I was wondering if there's any string that has a hash equal to itself, so that – when using any (none specific) hash function – the hash would be equal to that string?
so that:
hash(x) = x
Note that this is not an assignment or anything. I’m just curious and couldn't find any specific answer or reference. And I’m not ... |
Does it mean that when PPT attacker is breaking an indistinguishable based (equivalent with semantic security) game with non negligible probability that he is able to infer the secret keys either on symmetric or asymmetric encryption?
|
I'm trying to create a proof-of-work protocol for a proof-of-concept software, and it's basically something like this:
privkey = that user's private key
pubkey = that user's private key
both are ECC
message = "some message"
difficulty = advertised difficulty
log2 (sign(privkey, hash(pubkey+"|"+message+"|"+difficulty+... |
According to the movable-type.co.uk website,
In the ‘counter mode’ used in this implementation, a counter which changes with each block is first encrypted, and the result is bitwise xor’d with the plaintext block to get the ciphertext block (so the plaintext is not actually directly encrypted). A unique ‘nonce’ is inc... |
When plaintext padding is required, there are various commonly-used padding techniques. It seems the two most used approaches are :
Always add at least one byte of padding, and have every byte of padding represent the number of bytes of padding added; or else
Always add at least one byte of padding, and have the last... |
I want to create a lottery that works like this: I choose a secret number A in the range [0:999] and publish an object B. People must try to guess the number A to win. When somebody wins, I want to publish an object C. The object C shall now together with B prove the existence of A, such that people know that A was det... |
I came across some source code that loosely does the below in order to achieve a 32 bit hash.
The input string is passed through MD5 to get 16 bytes Hash (as usual). Then the 16 bytes are split into 4 byte words . Each of these words are $\oplus$ with each other in order to get a final 4 byte word, this is considered a... |
I'm currently using aes to encrypt/decrypt messages to and from a web service.
When the user establishes a session he sends a random generated secret via rsa public key.
This secret is used to establish a secure channel using AES (CBC).
I'm using Rfc2898 to derive a key with a static salt (the salt is hardcoded and ne... |
Ok, so I have this question and I honestly have no idea how to prove it. I know that the function is linear and I know it works for every possible combination, I just don't know how to prove it in an arbitrary manner. Here is the question:
Suppose that instead of using those S-boxes, DES would just substitute a 6-bit s... |
In a custom protocol we want to replace an aged tiger32 based challenge response authentication. I suggested that we use something existing, so threw HMAC into the room. As per wikipedia it works as:
$\textit{HMAC}(K, m) = H \left( (K \oplus opad) | H((K \oplus ipad) | m)\right) $
where $m$ would be the nonce. Now The ... |
Say you have a web application that's performing AES encryption. What sorts of side channel attacks should one keep an eye out for?
Timing attacks affect RSA more than symmetric ciphers in-so-far as I know.
Any ideas?
|
Why was such a weak key schedule chosen for IDEA?
The key schedule of IDEA works like this:
Divide the key (128 bit) into 8 round keys, each 16 bit long. This are the first 8 "round" keys (6 keys per round). Rotate the original key by 25 bit to the left. Repeat this until we got the needed 52 round keys for 8.5 rounds.... |
As I understood in FEAL-4 it needs 4 pair of round keys. Which means that we need to launch Fk function 4 times.
My problem occurs starting the 2nd round. At the first round we have the original 64 bits key; which is sliced to 32 bits. So on the output of 1st round we have 32 bit key. But the 2nd, 3rd and 4th round als... |
I'm using AES128-CTR for generating pseudo-random values, which is considered secure for up to 1MB (at least from what I've read).
I simply encrypt a 128-bit little-endian counter, starting from 0.
Should I use an IV? Should I start counting from a non-zero random value? Does it make any practical difference?
|
I want to solve this problem but there are 3 known plaintext-ciphertext pairs.
The key of Hill cipher is a 3*3 matrix as k=[k1,k2,3; k4,k5,k6; k7,k8,k9]
where the unknown ki={0,1,...25}={A,B,...,Z} can be solved given a sufficient number
(at least three are needed) known plaintext-ciphertext pairs. It is given th... |
https://www.rfc-editor.org/rfc/rfc3447#appendix-B.1
id-sha256 OBJECT IDENTIFIER ::= {
joint-iso-itu-t(2) country(16) us(840) organization(1)
gov(101) csor(3) nistalgorithm(4) hashalgs(2) 1
}
How to read this definition? In another word, how to convert this into a bit stream? Thanks.
|
Consider I need to assign a large distinct prime number to each element in a large set. This must be deterministic so the function always gives me the same prime to the same value.
What is the most efficient way to do this (if there is any).
Would this function work if I need to find millions of prime number to assi... |
I am looking in to AES-NI which is now supported by many new CPU's and I have read a few papers which states that AES-CBC works faster with AES-NI, but I am unable to understand how exactly AES-NI works.
As far as I know, AES-CBC encryption is sequential, so how does AES-NI make it so faster?
(Also even after using A... |
I have the following piece of .NET code (see below). I know that DES is not quite secure, I saw that MSDN does not recommend using DES, only for compatibility with legacy programs. I also saw that some people say that IV has to be regenerated every time new message is encrypted.
Q: How secure is the code? Assuming atta... |
I have an assignment in cryptography. I am not asking here answer, but meaning of question.
This is a question :
2.4 The following ciphertext was generated using a simple substitution algorithm. 53‡‡†305))6*;4826)4‡.)4‡);806*;48†8¶60))85;;]8*;:‡8†83 (88)5†;46(;88*96*?;8)‡(;485);5†2:*‡(;4956*2(5*—4)8¶8* ;4069285);)6†8)... |
Let suppose that the sizes of factors $p$ and $q$ are $b$ bits. We construct two RSA numbers $n$, $n'$ of same sizes. Can we say that the duration to break these two numbers is two times the duration to break one number?
|
I've just read a paper from 2004 which stated that the RC4 encryption algorithm was restricted to a 40 bit key size when exported from the USA; however the reference for this information (Applied Cryptography - Schneieir) was published in 1996.
Here's the link to the paper "The effectiveness of brute force attacks on R... |
Recently, a new cipher called Spritz has been released by Ronald L. Rivest and Jacob Schuldt. It should be a "drop-in replacement" for RC4.
There are many differences to RC4, Spritz is "spongy" and also has a complete different way to handle the key setup. But still there are many similarities to RC4 in generating the... |
Could anyone explain how secure is bit level permutation? What is the most serious threat against the security of this kind of cipher?
|
I have a question here asking the following:
Why do block ciphers need the use of blocking modes?
To encrypt messages larger than the size of the block.
To avoid having the same block ciphered into the same stream of bits twice.
To be able to parallelize some of the operations of ciphering or deciphering the message.... |
Assume that we have this 256bit key: 15FC0D48 D7F8199C BE399183 4D96F327 10000000 00000000 00000000
On first 0-7 keys we can't apply formula wi=(wi-8 xor wi-5 xor wi-3 xor wi-1 xor phi xor i)<<<1 since on 0 we have negative non exist value 0-8=-8.
So currently
{k0,k1,k2,k3}=S3{w0,w1,w2,w3}
{k4,k5,k6,k7}=S2{w4,w5,w6,w7}... |
Is there are any possibility to see trace(example) of Serpent Encryption/Decryption on concrete plaintext/key example, (not code implementation) or at least animation of steps. During reading of Serpent I found article on IDEA Encryption with full round description on concrete plaintext https://ru.wikipedia.org/wiki/ID... |
MD5 processes a 512-bit block and produces a 128-bit (16 byte) message digest often expressed as 32-digit hexadecimal value
For example if I hash the word "how" using MD5 , I get the following hash value
db88a0257c220dbfdd2e40f6152d6a8d
The word "how" is represented in 3 bytes which is 24 bits. How does MD5 process a ... |
I am using the PKCS#11 function C_Sign to sign some data. The output I get is just a signature. How do I get it in PKCS#7 format - i.e. ASN1 with signature and certificate (for detached) or ASN1 with signature, certificate & unsigned string (for attached).
|
I am looking for an easy to follow explanation, if possible, that demonstrates/proves the validity (or not!) of this assertion:
for any X, md5(X) != X (being X any string of 32 hex characters)
|
Assuming all inputs are same length as rate except last can be shorter. Is it necessary to pad every input (not just last) to sponge for authenticated encryption to be secure?
Is this just, because it is wrapped around Absorb and Squeeze?
What is purpose of frame bit in SpongeWrap?
|
I have a rather silly question regarding the comparison of RSA with ElGamal over integers. If you want to compare their performance in the same level of security, does the modulus of both of them need to be the same size, or does RSA have to be double the size of ElGamal?
|
Where did SHAKE128 and SHAKE256 originate from?
I am trying to find them in the original Keccak documentation but can't find them.
Is it some special mode of Keccak referenced in the documentation? Or something invented by NIST and added to the SHA3 standard?
Any public cryptanalysis done on them?
|
I have a point in affine coordinates: $(x,y)$.
What should I do when I want to convert to $(X,Y,Z)$ in Jacobian coordinates?
I need it for calculating ECC in a prime field.
|
I'm trying to understand, why the Filesize of a Caesar Cipher encrypted foo.txt.zip File is smaller than a Caesar cipher encrypted foo.txt File.
For example:
Foo.txt size: 90bytes
foo.txt.Caesar.enc output File: 92bytes
(Here every character is shifted with the same size so the bytelength is nearly the same)
But why is... |
TOTP (Time-based One-Time Password) Algorithm is used in Two factor authentication. I understand the algorithm and that current time is used as a variable to generate a token. Wiki page for reference: http://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm
My question is, can current time be faked?
Suppose ... |
Leo Ducas and Daniele Micciancio's recent paper "FHE Bootstrapping in less than a second" gave an exciting result that one can compute the `atom operation' of Fully Homomorphic Encryption (i.e. NAND-and-Recrypt) within 1 second without loss of security. I am trying to figure out how their scheme works.
However the key... |
Is there any published work on implementing a online auction, which uses "remote coin flip" to prevent auctioneer cheating when choosing winner and bid value?
Is there any possible way to use remote coin flip for a such scenario?
Note: in a Vickrey auction, bidders submit written bids without knowing the bid of the oth... |
Let $H_1$, $H_2$ be keyed hash functions (e.g. $H_i(x) = SHA_{256}(s_i||x)$ for pseudorandom $s_1$, $s_2$).
Let $s_n = H_1^k(s_0)$, $k_n = H_2(s_n)$, where $s_0$ is a secret (pseudorandomly chosen from a distribution).
Is using $k_n$ as a sequence of forward-secure keys secure (i.e., forgetting $s_n$ when changing to $... |
I want to use Salsa 20 in Java, so I downloaded Bouncy Castle, and... it makes no sense to me. I've got it working, but most of my choices were essentially random. But I can't see there anything leading me to the right path. The interface CipherParameters accepts nearly any nonsense and a key size of 257 bits works per... |
I know there are XEX, XTS and other ways to add tweak to block cipher without modifying cipher itself. However they are quite slow and/or complex.
If we assume we have a secure block cipher round function (like AES) with pseudo-independent round keys (generated with stream cipher). Is it safe to add tweak with same siz... |
Here is a cartoon about password entropy. http://xkcd.com/936/
I dont quite understand how the entropy is calculated in the cartoon assuming they are calculate correctly. But in general, I dont have much idea about how password entropy is calculated.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.