instruction stringlengths 32 27.2k |
|---|
For a decentralized login where a user is left to select the password, salt, and iterations, what minimums for each should be enforced?
In other words, because none are ever stored by the implementation, can standard login authentication guidelines also with a 4-digit PIN be enforced to produce theoretically uncrackabl... |
RFC 5959 specifies the encrypted storage of private keys based on PBKDF2-HMAC-SHA-256 and AES encryption (in ECB mode).
Is there a particular reason AES is used, instead of simply XORing the key material with the PBKDF2 output? Is it simply to make storage of long keys faster, because a long PBKDF2 output takes long to... |
I am trying to create a decentralized moderation system for the game Diplomacy, a game for seven players. In each round of a face-to-face game, each player writes their moves on paper then puts it in a box; all moves are read at once. The game was popular as play-by-mail: you mail your moves to a magazine publisher, wh... |
I have been watching Christof Paar on his YouTube lectures also I used bcrypt to store two passwords with salts and I find that I have a few questions.
I am interested in what bcrypt does to the start of the final hash.
$2a$10$
I have two thoughts on this:
I know that Christof is speaking about HMACS in the lecture a... |
I would like to know how to calculate the bit-strength of Integer Factorization Cryptography (IFC) such as RSA by using Python. I gathered it is based off the complexity of factorizing the modulus (public key). I want to be able to calculate the bit strength of arbitrary key-lengths of RSA for example, such as 4096 whi... |
I'm implementing SHA-256 in PHP using strings. Where do you truncate in the algorithm?
There are a lot of places where there's binary addition happening so the number of bits in $W(i)$ keep increasing. Same case with the compression function. So, where do I truncate the values?
When I var_dump my array I get this:
arra... |
I'd like to get an overview of how the signatures with message recovery work, especially in case EMV and other smart card systems. Is there a nice overview available without being required to read the whole ISO/IEC 9796-2?
I've already had a look at the “Practical Cryptanalysis of ISO/IEC 9796-2 and EMV Signatures” pa... |
I'm unsure of how exactly the salt is manipulated by scrypt and its potential contribution if any to overall password entropy if passwords & salts are stored only in human memory for a decentralized implementation.
For this implementation, a cryptocurrency login where the salt does not exist in any repository such as a... |
I am generating RSA Public and Private keys with node.js instead of reading them from pem/crt files as I can hide them inside a private object using this module https://www.npmjs.org/package/private
this node.js module https://www.npmjs.org/package/keypair puts text in front and at the end of each public and private (-... |
I'm searching for way to generate secure pseudo random sequence with a fixed Hamming weight using a seed. I found below code but I need a seed to generate a sequence ... (and need know if is possible add secure property too . i.e one-way)
from random import shuffle
def gen(ham, bits=32):
# generate a list with th... |
I have at least three, distinct motivations for having a simple way to use asymmetric key encryption by hand or without modern computers.
First, I was recently demonstrating to a 12-year-old how encryption works. I created some basic cyphers and had him figure them out. (I recommend this; it's quite fun.) Wanting to up... |
In FIPS-197 §5.1.1, it says the first transformation in the SubBytes() transformation is:
Take the multiplicative inverse in the finite field $\text{GF}(2^8)$ described in Sec. 4.2; the element $\{00\}$ is mapped to itself.
Looking at Sec. 4.2, it says that for a given non-zero polynomial $b(x)$ you can find the in... |
It seems like email is at least analogous to public-key cryptography, the public portion of the key being your email address, and the private portion of the key being the password to the email account. Is this merely an analogy, or is email in fact an instance of public-key cryptography?
|
I've been reading this question where a detailed description of mine is given, I've understood that a polynomial-time adversary is an adversary for which the only feasible strategy are those that take polynomial time to run; anyway, I just can't understand why do we require the adversary to be probabilistic.
In Katz' b... |
There's a program that uses the following OpenSSL function...
DH_generate_parameters(256, 5, NULL, NULL)
...to create DH parameters which are later used for hundreds of key exchanges (and the one-time keys used to encrypt login details sent over Internet).
The manual page says 256 is prime_len in bits. How secure is t... |
I'll be using AES from OpenSSL. I understand why I don't want to use ECB from reading pages like this Wikipedia article, which has a great example of what happens when you attempt to encrypt with electronic codebook.
But what I'm missing, is some sort of comparison table with all the other modes so I understand the po... |
I saw this awesome video which shows how encryption works using "discrete logarithm".
The example says: $3^x\mod17$. I understood that $3$ is called “generator”, because it has no "straight" root and when used with any exponents it walks through entire clock (till $17$ in that case).
Would saying $3^x \mod 449825$ mak... |
I was just wondering, is there a type of deterministic number generator that allows me to share some (not all) numbers I've generated using a smallish seed?
I have pairs of random numbers and need to make one number from each pair public. The point of sharing with a type of seed is, that my application needs to do hund... |
I have an encryption scheme that uses a 256-bit master key, from which 2 separate keys (one for AES-256-CTR encryption and one for a HMAC-SHA256) are derived using HKDF. However, I'm not sure exactly how to utilize HKDF without screwing it up, so straight to my concerns:
Is it safe to just use SHA-512 as the hashing a... |
Assuming we have an El-Gamal pk tuple $(G,q,g,g^s)$. Someone, knows only the first three parameters.
In round $i$, I send him $X_i=(g^s)^{t_i}$ (the $t_i$ values are chosen randomly for each round), and I want to prove to him that I know also $s$ or $st_i$, so I choose a random $\rho \in \{0,1,...,q-1\}$, and send him ... |
Assume Alice authenticates a message $M$ with nonce $N$ and secret key $K$, creating authenticator $A$. She then sends $A$ across the network.
The Poly1305 paper does not seem to specify whether it is possible for an adversary, whom has seen $A$, to determine whether $A$ is just random bytes or has characteristics of a... |
In public key cryptography, how many keys are required for secure communication between n parties?
In my view the answer should be $n^2$.
Reason: There are ‘$n$’ Parties. Every Party has One (1) Public Key (for Encryption). Also, every party has $(n-1)$ private keys (paired) (for Decryption). So every party has $$ 1 + ... |
I have been examining the scrypt paper, and I noted the claims in table 1.
For 10 random ASCII characters, the cost at that time for scrypt set to $(2^{14}, 8, 1)$ is estimated to be $175T/yr.
Can formulae for equivalent year cost be constructed to determine the parameters as functions of time since those tests were ... |
I just read High performance physical random number generator by K.H. Tsoi, K.H. Leung and P.H.W. Leong. It proposes a physical RNG of speed 400 Mbps. Is this the fastest random number generator at this moment?
|
I have spent some time studying the "Mental Poker" protocol (sometimes
called SRA), initially proposed by Shamir, Rivest, and Adleman --
http://people.csail.mit.edu/~rivest/ShamirRivestAdleman-MentalPoker.pdf
Much of the current literature surrounding SRA deals with
implementations, most of which seek to address specif... |
So, I'm working with a system that allows individual users to each have their own private-public key pair.
I would like to allow multiple users to use their private key to sign the same piece of information to confirm they agree with something. By signature, I mean the public key can be used to check the signature is ... |
Note: A distributed signature scheme exists for RSA:
Practical Threshold Signatures, Victor Shoup.
Is it possible to adapt such scheme for ECC?
A centralized signing machine is vulnerable to attackers
In the situation where a private key has been distributed over R number of machines, which each hold a part of the secr... |
After playing cat and mouse with an number of quantum-resistant signature schemes and coming up with nothing with small enough signatures, I'm turning to Crypto.SE. I need a quantum-resistant signature scheme with the smallest $signature || publickey$ that you can find. Private key size shouldn't really matter, can't I... |
I've seen that it's widely accepted that before Gentry's breakthrough (which is not practical yet) in 2009 there were no known full homomorphic encryption scheme.
I've read here in another answer that:
"...there are many known partially homomorphic cryptosystems, each one
can either multiply or add numbers."
Now he... |
I am looking for data which shows how time it would take to brute force (or crack by any other method) different sizes of RSA/DSA keys used for a digital signature.
I am looking to use as small a key as possible & hence looking for how long a signature generated by it can be cracked.
|
I have a question about the Pohlig-Hellman Algorithm for the discrete log problem. I understand the concept, but doing the exact calculations I get confused at one point; to illustrate, let's look at the equation $2^x=3$ in the group $(\mathbb{Z}/29\mathbb{Z})^*$.
If my calculations are correct, we get that $x \equiv ... |
Looking at the use of Linear Feedback Shift Registers in cryptographic algorithms, I have learned that the Berlekamp-Massey algorithm can be used to find the (shortest) LFSR that generates a given sequence.
But I am not sure if I have really understood things correctly.
Since an LFSR function always returns a copy of ... |
I've read that Newton polynomials have better computational complexity, but Shamir's uses Lagrange polynomials instead. Does anyone know if there are particular reason why Newton polynomials aren't used instead?
|
I know session keys are exchanged (in SSL e.g.) over public-key cryptography channels but I was wondering if there are already known algorithms/methods for exchanging session keys over a symmetric-key channel? More specifically, is it possible/feasible to e.g. exchange 128-bit AES keys over a channel already using 128-... |
I have this scenario where I use Encrypt-then-MAC (AES256-CBC and HMAC-SHA256) with keys generated by a CSPRNG (specifically, SecureRandom in Java). I'd like to know which is better:
Use the CSPRNG to generate two distinct keys of 32 byte each
or
Use the CSPRNG to generate a master key of 32 byte and then use HKDF t... |
I see that Lagrange interpolation is commonly used for secret sharing, but could it be used for encryption?
The goal is to reduce database I/O and compute new values on the fly. Suppose the use case involves that a client C sends to a server S a message m and a number n that C wants to be appended to m with some encodi... |
I am a bit confused. I just calculated manually the single steps of RSA for an implementation with small numbers and suddenly $d$ was equal $e$. Please help me understand what I am doing wrong.
Here’s my example:
I chose: $q = 7$ and $p = 11$
$N = 77$
$phi(N) = 60$
I chose: $e = 29$
$e \times d + k \times phi(N) = 1 ... |
Can someone explain what attribute based encryption is?
I was searching for a book or something that can help me in this regard but so far I have found none. Google also returns practically nothing aside from the papers.
|
The HMQV protocol has 2 "identity" fields $\hat{A}, \hat{B}$ that are used in the dual signature - and it tries to guarantee that any properly-generated session key is only shared by a single $(A, B, \hat{A}, \hat{B})$ 4-tuple.
However, the paper isn't particularly clear whether a party can use multiple, potentially at... |
I don't know if this question even makes sense, but:
Is there be any benefit or impact to some sort of hierarchical (e.g. a PRNG drives the decision for which PRN to pull from a set of PRNGs) or state-based model (e.g. a PRNG determines the next PRNG to pull from, which in turn determines the next, etc.) or combination... |
Some background:
I receive data in text files of over 16 million records (lines). I need to be able to encrypt the first column in that file so that it cannot be deciphered. This process will be carried out on two data sets with the same first column. The encryption on both these separate files will allow the two sets ... |
I'm trying to prove that definition 5 and definition 6 in this document are equivalent. This is what I've done at the moment: Asume that the scheme has Indistinguishable encryptions in the presence of an eavesdropper (definition 5), then:
$$\mbox{Prob}[\mbox{Priv}_{\mathcal{A},\Pi}^{\mbox{eav}}(n)=1]=\mbox{Prob}[\textt... |
this is normally seen in a typical SSL certificate. For the modulus, I know that it is represented in hexadecimal form, but why is there a semicolon (:) after every group of 2 digits?
Public-Key: (2048 bit) Modulus:
00:bf:e7:7c:28:1d:c8:78:a7:13:1f:cd:2b:f7:63:
2c:89:0a:74:ab:62:c9:1d:7c:62:eb:e8:fc:51:89:
b3:45:0e:a4:... |
I was researching about hash, and I thought, If sites store passwords with hash algorithms, then can't this happen:
User A has the password 'hello'
User B finds out the hash code of the password of user A
User B knows the username of user A and uses hash collision to find a string with an identical hash
User B logs i... |
I have a series of integers which I want to convert to random integer (64 bit). The idea here is to produce random numbers very quickly. The issues that good quality random numbers are required with a low collision rate to ensure low correlation between entities. A series of integers are input and a number of desired s... |
I am learning Hash Algorithms and in a presentation (PDF) about these algorithms I read that:
Length of $h(m)$ much shorter then length of $m$.
Now my question is:
What if we talk about an empty string, is it true that hash length is shorter than the length of message?
I searched the internet and found that:
The... |
Please watch this video it's very short. If you already know cryptography and really good at it please start from 3:51.
I didn't understand the step at 4:39, can someone here to explain?
Why is $16^{54} \mod 17$ is equal to
$3 ^ {24\times54} \mod17 \equiv 1$?
He just wrote that. Alice didn't knew bob's private number ... |
I am doing a small project using elliptic curve in cryptography. My doubt is, can I directly convert a projective to a Jacobian coordinate system without using the affine conversion in elliptic curve cryptography? Actually, I am stuck at this point…
|
In normal ElGamal encryption, the encrypted message is a pair (gb, gabM) - that is, the actual "encryption" is simply multiplication by the shared secret gab.
A common pattern with public-key encryption is to encrypt a symmetric key using PK, and then encode the actual message with the symmetric key.
It seems to me t... |
I've seen contradictory results. Sometimes hash functions are collision-resistant but not necessarily second-preimage resistant. I've seen this kind of things in papers from Bart Preneel:
“Security Properties of Domain Extenders for Cryptographic Hash Functions”
(See the chapter "Other Domain Extenders").
How that ca... |
The Rijndael specification details the design choices for the s-box in section 7.2. They describe the choice of affine mapping as follows:
We have chosen an affine mapping that has a very simple description per se, but a
complicated algebraic expression if combined with the ‘inverse’ mapping. It can be seen as
modular... |
How to find out the method used to encrypt the string 123456 which results in the value: 6g9SkDLIKa8l2VhafFnHvg==?
|
I am looking for a standard hash function which satisfies the following property:
A hash function $H(a,b) = F(h(a),h(b))$ with $h$ (within $F$) any standard cryptographic hash function and $F$ an associative function.
Is there any standard hash function(e.g. RIPEMD-160, SHA1) for which I can easily implement the associ... |
Many protocols use HMAC on messages that include a nonce, but they don't seem to do it in a consistent way. For example, in OAuth the nonce is in the middle of an URL-encoded key-value string, like this:
POST&http%3A%2F%2Fexample.com%2Frequest&a2%3Dr%2520b%26a3%3D2%2520q
%26a3%3Da%26b5%3D%253D%25253D%26c%2540%3D%26c2%3... |
I want to store files in a secure manner (i.e. no one should be able to decrypt the contents of the file without the secret key) but I also want a diff tool to be able to show me which lines changed (let's assume that you can't learn anything about the content of the file by seeing which lines have changed).
The idea i... |
Theorem: Let $y$ be a quadratic residue in $\mathbb{Z}_N$* where $N=pq$.
There are exactly four integers $x_1, x_2, x_3, x_4$ where $0 < x_1 < x_2 < \frac{N}{2} < x_3 < x_4 < N$ such that $y = x_i^2 \pmod{N}$ for $i=1,2,3,4$.
The above theorem simply states that exactly two of the four roots must be greater than $\frac... |
We have cryptography based on hard problems from number theory, like DDH.
When we speak about symmetric cryptography with AES, a mode of encryption (CBC, ...), what is the type of problem ? What is the term used ?
|
I am trying to create a DTLS client finished packet, where I need to generate verify data for handshake hash is need. And here I want to know how to generate handshake hash. As of now I am doing like this:
memcpy(hs_msg, client_hello_with_cookie+13, client_hello_with_cookie_len-13);
len = client_hello_with_cookie_len-1... |
We are planning to implement the time-stamping service (RFC 3161) using OpenTSA wanted to know: Does OpenTSA support PKCS-11 (Cryptoki) to talk to HSMs?
BTW: I did not find documentation or much information on OpenTSA. It would be really helpful if you could comment on the support of PCKS 11 by OpenTSA.
|
I'm working with a third party protocol which employs AES-128 in ECB mode of operation to encrypt a packet composed of 16-byte blocks (it encrypts each block independently). I'm trying to determine if there are any reasonable attacks against the encryption.
One of the plaintext blocks it encrypts has a 4-octet nonce fo... |
I'm developing a authentication and authorization protocol for a Bluetooth device. The device should communicate with an Android app and needs to be able to authenticate the app during the connection phase. Some kind of secret or asymmetric pair is therefore needed to be shared by the app and the Bluetooth device. As ... |
I know it's possible with work backwards from the output bits of an LFSR to determine its feedback polynomial in a O(n) fashion. I'm also curious if, given an LFSR state and polynomial, is it possible to quickly work out how far the LFSR state is from a given epoch state (eg: the all-ones state). The only sure-fire m... |
I remember I read that a MAC can be considered as a PRF.
Can a variable-length input keyed-PRF be considered as a MAC?
|
The following was going through my brain for the past week. If my thoughts are generally known to the cryptographic community would someone provide a link or two. Even if I’m making a classic newbie mistake.
Cryptographic internal functions operating like $x=f(x)$ can be table lookup s boxes with the inverse s box as ... |
Being new to software development and crypto in general, I thought I would write a simple p2p encrypted chat app using the otr protocol detailed here: https://otr.cypherpunks.ca/Protocol-v3-4.0.0.html
However, I am having an issue calculating g^x and g^y.
I have g =2 for a particular 1536-bit prime, as the protocol say... |
I am currently gathering some test methods and test suites for random number generator qualities, and am a bit stuck at finding something feasible to test for n-dimensional equidistribution. As input I have an arbitrary amount of bits from that PRNG and a dimension N, and as output I want something like "I am reasonabl... |
Is it possible to modify a homomorphic encryption scheme so that it can be CCA2 secure?
From the definition of a homomorphic scheme, it seems that it is malleable, which would result in lack of CCA2 security. So, if we use the regular method to convert a CPA secure scheme to CCA2 secure scheme (using a hash of the mes... |
The Feistel cipher algorithm produces a pseudorandom permutation with domain size equal to $2^{2m}$ (for some $m \in \mathbb{Z}^+$). That is, a one-to-one function $\pi$ of the set $\{0, 1, 2, \dots, 2^{2m} - 1\}$ onto itself.
Furthermore, with so-called unbalanced Feistel ciphers, it may be possible (though I don't k... |
I have a key that is the combination of two shorter keys generated by PBKDF2, which together are long more or less 64 bytes. Now I need to shrink it down to 32 bytes and I'm not sure what to use to do it. I was thinking of SHA256. I know that SHA256 is not safe to generate keys by itself, but since what I have is a com... |
Short question: is there an algorithm for efficiently computing square roots in $\mathbb{F}_{2^n}$?
|
Can anybody show me (or point me to resource) how to generate public key and private key with simple math? Steps which can be reproduced in a simple calculator – so the message, keys all can be numbers for test. The values can be simple; it’s fine if it’s hackable. And how will you go about encrypting and decrypting t... |
Is it mathematically possible to take a SHA256 hash and turn it into a 0-99 number where each number in 0-99 range is equally likely to be picked?
As a 256 bit hash means the highest value possible is 2^256, this is not a nice or "round" number for the purposes of simplifying a hash down to ranges more natural for huma... |
I'm evaluating different hash algorithms for use in my application. One of the kind of algorithms I am looking at are cryptographically secure ones to protect against DOS attacks.
SipHash seems pretty great, but the creators seem very careful to not call it "cryptographically secure".
In the SipHash paper (PDF), they... |
I am looking into using AES256-GCM for encrypting some database fields. I know that for AES256-CBC, I need to generate a new IV for each encrypt, but I can use the same key. The IV can be openly stored alongside the ciphertext (ie, it can be public).
I started to read about GCM, but I don't quite understand some thing... |
So, I uploaded a text file in Cryptool and encrypted it with DES-ECB with the key FF FF FF FF FF FF FF FF. I encrypted the cipher text again, with DES-CBC using the same key. Then, I encrypted the obtained text with DES-CBC again.
The first 8 characters match the encrypted text of ECB. The rest of it is different. I w... |
If a user (other than the data owner) possesses the secret key in symmetric searchable encryption scheme are they able to run the trapdoor algorithm, or is this not publicly available?
|
Say we are able to decrypt a Elgamal ciphertext $c$ using only the public key. Apparantly it is now possible to solve the Diffie-Hellman problem (given $g^a, g^b$ calculate $g^{ab}$). How?
I know how it works the otherway. When I'm able to solve DH, I found a way to decrypt Elgamal ciphertext. But I can't come up with ... |
The other day I saw this Hybrid Cryptographic Algorithm in the Google and felt curious about it. I am trying to understand this Hybrid Algorithm. And hopefully its not so hard to understand whats going on until AES portion comes up. Here in this research paper the author gives 48bytes input to AES and gets 88byte outpu... |
I'm developing a client/server system in Java which is not interacting with third-party software, so I don't have to worry about compatibility.
At a certain point, I need the client and server to exchange a digitally signed value. I thought to use ECDSA, but I'm not sure what curve and what key length should I use. I'm... |
I'm doing the Cryptopals challenges (formerly the Matasano challenges) and struggling with second part of the 49th problem where I'm asked to do the length extension attack with CBC-MAC without IV manipulation. There is a hint that I can simulate an IV somehow to do this but I don't understand. Can someone drop me some... |
consider the field $\mathbb{F}_{2^4}$, defined by using polynomial representation with the irreducible polynomial $f(x) = x^4 + x + 1$.
Given element $g = (0010)$ as a generator for the field, How are the powers of g generated? What are the steps to generate the binary values of $g^0$ to $g^{15}$ as follows?
$g^0 = (00... |
How come that in various articles about pairings I never saw anybody mention that there is a possibility to turn Type 2 pairing into Type 1 by setting $e' : G_2 \times G_2 \rightarrow \mu, (P,Q) \mapsto e(Tr(P), Q)$, where $e : G_1 \times G_2 \rightarrow \mu$ is Type 2 pairing and $Tr$ is the trace map?
The only drawba... |
Convergent encryption (CE), $E_k(d)$, is a way to encrypt the data $d$, with the characteristic that the encryption key $k$ is $k=h(d)$, where $h(\cdot)$ is a cryptographic hash function.
Consider a cloud storage with client-side deduplication. The common procedures of uploading a file $d$ are to calculate and the send... |
I would like to know what best steps are there in finding differences between a high order amount of merkle tree's or if a better associative structure should be used.
I ask this questions because while i have found on comparing two trees for differences i have not found any specifics on comparing n amount at the same ... |
I was going through these presentation slides (PDF) on Crypto 2013.
It summarizes the paper, Factoring RSA keys from certified smart cards: Coppersmith in the wild.
In the last slide, it was mentioned that one possible future work to be done is to use the “Adi Shamir's secret database of all primes” to attempt breakin... |
Suppose you are implementing a Generalized Merkle Signature Scheme, using the Winternitz One-Time Signature Scheme for the node signatures. Furthermore, suppose the implementation is to be stateless (i.e. you don't keep track of which signatures have already been generated), meaning that you use a deterministic $Rand$ ... |
There are two users $A$ and $B$ who are in different domain. Let's assume that $A\in KGC_1$ and $B\in KGC_2$. If they want to establish secure session, then they must run an identity-based authenticated key exchange protocol to get a shared secret key.
To users, they can authenticate each other i.e $A$ is assured th... |
I am studying the RSA cryptosystem. The public key consists of $(n, e)$, the modulus (product of two large primes), and the encryption exponent. I want to separate the modulus $n$ and exponent $e$. A typical public key is expressed in base64, and is of the following type:
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3D... |
The paper Expressive, Efficient, and Revocable Data Access Control for Multi-Authority Cloud Storage contains the following simplification:
$$e(C_i,\text{GPK}_{uid})\cdot e(D_i, K_{\rho(i),uid})\cdot e({C'}_{i}, {K'}_{uid,aid_k}^{-\text{GSK'}_{uid}})\cdot e(g, {D'}_i)^{-1} = e(g,g)^{au_{uid}\lambda_i}$$
I'm not able ... |
How does Web Cryptography API (eg window.crypto.getRandomValues) produce secure PRNG?
Specifications:
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#RandomSource-interface
https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues
How can the method be trusted? Or is it even... |
in the Mr Boneh's online course is stated the following theorem:
Let $G:K \to \{0,1\}^n$ be a PRG.
“Thm”: if $\forall i \in \{0, … ,n-1\}$ the PRG $G$ is unpredictable at pos. $i$,
then $G$ is a secure PRG.
Moreover, according to his words, proving this is just a "puzzle" to prove, but actually I can't see it so e... |
Can anybody explain how the below is true ?
$I_n$ denotes the set of all n-bit strings, ${\{0,1\}}^n$.
(..)
Let $A$ be a finite field then the permutation $f_{(a,b)}(x) = a \cdot x + b$,
where $a \ne 0; b \in A$ are uniformly distributed, is pair-wise independent. Thus, there are pair-wise independent permutatio... |
I am getting to grips with cryptography as a total newbie, and am struggling with encryption "keys" and how to visualize them. From http://computer.howstuffworks.com/encryption.htm/printable:
Symmetric-key encryption is essentially the same as a secret code that each of the two computers must know in order to decode ... |
The other day when changing my password on a Solaris 10 system I was surprised that Solaris was able to detect that I hadn't changed enough characters between the new and current passwords.
MINDIFF is the password security configuration parameter that specifies the minimum number of characters that need to be different... |
An HMAC function is designed to verify message integrity, i.e., that the message has not been tampered with. It is generally (always?) implemented by using a hashing function H, and calculating the hash H(key + H(key + message)), where + signifies concatentation (Source). The key is secret, and is reused for multiple H... |
In the first step of key generation phase in Paillier cryptosystem given here.
It's given that
$$\operatorname{length}(p) = \operatorname{length}(q) ) \implies \operatorname{gcd}(pq,(p-1)(q-1))=1$$
where
$\operatorname{length}(k)$ = # bits in binary representation of $k$
$\operatorname{gcd}(a,b)$= greatest common d... |
What is the computational time to break McEliece on a quantum computer?
I've seen that polynomial time algorithms exist, but for special conditions. What about the general case?
|
I would like to implement the Rijndael subBytes() operation using calculation instead of tables, because I like to play with this on different wordsizes, as an academical exercice, to see what the table would look like.
The first part is a multiplicative inverse in the polynomial binary finite field, isn't it?
The $g: ... |
I've just about done tinkering with an open source DRBG, and I sure would appreciate a bit of advice from this community. Here's the link to the project, hosted at codeproject.com.
It is written in C#, the code is clean and well commented.
The design criteria:
The same seed must generate the same random output each t... |
Is there any relationship between the RSA keypair standard and RSA security?
Keypair: http://en.wikipedia.org/wiki/RSA_(cryptosystem)
Security: http://en.wikipedia.org/wiki/RSA_Security
If not, can anyone explain what RSA stands for (so I can keep the two seperate)?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.