instruction stringlengths 32 27.2k |
|---|
Quoting the handbook of applied cryptography, chapter 10.3.3 (i):
Identification based on PK decryption and witness. Consider the following protocol:
$A \leftarrow B: h(r), B, P_A(r,B)$
$A \rightarrow B: r$
(Before “2.”, $A$ verifies that $r' = r$ and $B' = B$)
My questions are:
Why is $B$ needed in the encrypted ... |
Recently I started wondering about multiple encryption and found pages upon pages of posts and debates about the security of cascades.
Now, don’t worry – I'm not looking for someone to discuss a homebrew cascade encryption scheme. What I do wonder about is the dangers of multiple layers of encryption.
I keep most of m... |
I was thinking about AONTs, and designed the one below, I call it CHANT for Chained-Hash All-or-Nothing Transform; it's my very first shot at something of the sort, and was hoping I could get your opinions.
Suppose you have a hash function $H$ of block size (ie. the size of the generated hash) $b$, you'd like to "wrap"... |
I've been reading through the PGP Standard and here I'm a little confused. This section is discussing converting string data to a session key. I'm confused about the paragraph in bold. First off, what does it mean by "hash context"? Secondly, which "data" is it referring to? Is that paragraph still talking about what t... |
Given the general benefits of Lattice-based cryptography, such as:
Post quantum Security
Security from worst case scenario
Efficiency
What could the outlook of shifting from RSA \ ECC-based cryptography to the Lattice one (say NTRU) be?
Would that be feasible?
Are there any drawbacks?
|
I'm trying to analyze a login protocol based on symmetric key cryptography. I'm just starting out, so this may very likely be a very bad idea, but nonetheless I'd like to hear your thoughts on it.
The protocol assumes the existence (and agreement on) the following:
A symmetric-key algorithm $E$ / $D$.
A key derivation... |
I'm studying the paper Fully Homomorphic Encryption over the Integers by Marten van Dijk, Craig Gentry, Shai Halevi and Vinod Vaikuntanathan.
I have questions about the proof of Lemma A.1.
In page 6, the element of public key is in the form of $x=pq+r$
and the encryption is
$$ c← [m+2r+2\sum x_i]_{x_0} $$
But in the p... |
What are the disadvantages and weaknesses of AES-GCM mode for authenticated encryption?
Why does the CAESAR competition say that it’s one of the goals to "find an AE scheme that offers an advantage over AES-GCM"? What advantage they are talking about?
|
I am new to cryptography and am going through the book Understanding Cryptography by Paar and Pelzl.
From what I understand Symmetric key distribution systems like Kerberos do not provide PFS because an attacker will be able to decrypt every session key ever encrypted with a compromised KEK.
In the book, on page 342, ... |
I'm doing a little bit of reading about lattices. I read that if we can find a 'short' basis for our given lattice, we can solve CVP and SVP very efficiently. However, the paper didn't describe an algorithm. Can anyone briefly describe an algorithm for doing this?
|
Using a symmetric encryption algorithm $E$ on a message $M$, users usually send $E(M)$ to the recipient and then the recipient will compute $E^{-1}(E(M))=M$ to retrieve the message. For what symmetric encryption algorithms would it be equally secure to instead send $E^{-1}(M)$ and have the recipient compute $E(E^{-1}(M... |
The high security of RSA is granted, because it is very hard to factorize
$$
N = p * q
$$
Nevertheless, there is actually no need of factorizing $N$, in order to generate the $Private$ $Key$, but the need of knowing
$$Φ (N) = (p - 1) * (q - 1) = N - (p + q-1)$$
If we think of $N$ as a rectangle with the width $p$ and t... |
Can anyone show me a simple proof of work algorithm that I can use to stop spammers? I've looked at hashcat, but i think there's a bit too much specialized hardware for bitcoin mining.
That is, the time required to calculate one proof of work on a mobile device cpu is way too long compared to a bitcoin mining rig usin... |
Is SRP-6a post-quantum secure? If it is not post-quantum secure, do any post-quantum secure alternatives similar to SRP-6a exist?
|
Looking for guidance/references with/about calculations:
I am designing a widget that creates N-bit binary sequences. My customers target spec for the sequence's minimum entropy is X bits/bit. I plan to count occurrences of run lengths of 1,2,..R in M of the N-bit output strings and compare to min and max thresholds Tm... |
First of all, I apologize if this is a stupid question, but I don't have any background in cryptography.
I'm looking for a secure hash algorithm $H$ with the property $H(K_1+n)\oplus H(K_2+n)=H(K_1\oplus K_2 + n)$. Would it be feasible to implement a hash algorithm like this, and could a hash algorithm even be secure ... |
How can I get point addition equation for elliptic curves in projective co ordinate system? Can I get it by changing $$ x = X/Z $$ and $$ y =Y/Z $$ in the equation for affine co ordinates' group law?
I have done it using the above narrated step and made the denominator as $ Z $ in equation for binary super-singular cur... |
I'm reading “Fully Homomorphic Encryption over the Integers” by van Dijk et al.
I wonder why $x_0$, which is a component of the public key, should be an odd number?
|
I have thought of a system for generating passwords which works as follows:
Take the following items:
A password, such as williamwallace.
A secret 1000 digit number which is stored on my computer.
The name of a website.
Create a password like this:
hex(sha512(site + password + number))
For example:
hex(sha512('googl... |
I am working on AES. Can we expand $s(a \oplus b)$ in terms of $s(a)$ and $s(b)$ where $a$ and $b$ are two eight bit inputs and $s(a)$ is the S-box value of $a$?
|
I want to use hash function on some data, and part of this data, might be constant for a certain period. The output of the hash function is used as authentication data (MAC).
I want to know if there is:
Reason to use/not use this data as input to the hash? (In the context of authenticity of data…)
Impact on the "stren... |
I am trying to implement an AES encryption on my messages in my app and I want to have a different keystream for each "message group". Therefore, currently I am holding the keystreams in the database of the message groups. And the messages get decrypted by the app. However, there is one problem. The app is talking to t... |
I want to know if it’s possible to use a SMPC (Secure Multi-Party Computation) to have $N$ entities compute the outcome of a known mathematical operation with two or more secret inputs, where each secret input is only known by one entity in the $N$-sized group.
I’m asking, because I want to define a protocol where two ... |
I am new in cryptography. I want to determine the complexity of revealing a random bit permutation which is used as block cipher for plaintexts (bitstrings of length n). An adversary catches different ciphertexts (the permuted bitstrings of length n) and he also knows the set of possible plaintexts. If he tries all pos... |
I'm studying FHE over the Integer which is https://eprint.iacr.org/2009/616.pdf
In the remark 3.4, it says that the fresh ciphertexts have noise at most $2^{\rho'+2}$.
I don't know why that statement is true.
In my guess, the value $2^{\rho'+2}$ came from $m+2r$. But it cannot be strict proof of the statement.
Can anyb... |
I am wondering if using Skein or the Keccak hash algorithm in this construction (as a stream cipher) is secure:
$H$ = Keccak or Skein hash with a 256 bit output
$K$ = The main 256 bit random key, pre-shared between sender and receiver
$K_M$ = A secondary 256 bit random key for creating the MAC, pre-shared between send... |
From what I understand:
TrueCrypt takes the password as message
Add salt
calculates a digest
use digest for encryption
From what I understand. A good hash function
has Second pre-image resistance .i.e. It is difficult to find $m_2$ such that $m_1\neq m_2$ and $hash(m_1) = hash(m_2)$ .i.e. it is difficult to find a s... |
Will applying a 16 byte bit block cipher such as AES over a 256 byte block to in the following way result in a much stronger cipher:-
Apply block cipher with first key digest to each 16 byte group.
Then interleave the bytes. I.E. Place the bytes horizontally into a 2D (16 times 16) byte array and then remove the byte... |
I need to use ECDSA as the signing algorithm and SHA256 for hashing the message. I'm running into troubles verifying the signature calculated on two different platform (one is BouncyCastle, another one a C library for a microprocessor).
I figured out that BouncyCastle, in its ECDSASigner class, reduces the input messag... |
I was wondering if there is a smart way for a user to only encrypt a subset of a plaintext.
I'll try to be more specific. Let's suppose the user U wants to use a special cipher such that given a plaintext P and some additional information, it only encrypts the subset requested by the user, the rest of the plaintext is ... |
Unbalanced Feistel networks can be homogenous (F-function identical in each round), or they can be heterogeneous (F-function not always identical in each round).
The advantage of heterogeneous UFNs is, that their internal properties change each round, making it more difficult to find specific characteristics which prop... |
Now that we know how the MD2 S-box was constructed, I find myself wondering how good a nothing up my sleeve number it really is. It is derived from $\pi$, but not in a very obvious way, even in retrospect.
How would you estimate the number of possible $\pi$-derived S-boxes that are no more complex or suspicious than th... |
Wikipedia states that key whitening increases security:
In cryptography, key whitening is a technique intended to increase the security of an iterated block cipher. It consists of steps that combine the data with portions of the key.
The most common form of key whitening is xor-encrypt-xor -- using a simple XOR before... |
I'm brainstorming some different ways of making deterministic encryption more secure. I want to use deterministic encryption to preserve searchability over the keywords in a document set. However, I know that frequency analysis is always a concern when preserving searchability in this way.
The strategy I came up with ... |
Say I have some black box which, given any English word, deterministically outputs a token for that word. Assume our black box is implemented using strong cryptography, i.e. the hardness of reversing a token to its word is reducible to some known assumption.
Now, assume I have a document corpus where a document is som... |
Scenario: I have to protect the integrity of some files that will be exchanged between entities $A$, $B$, $C$. Entity $A$ creates the file (e.g. configuration) and sends it to $B$ and $C$. Entities $A$ and $B$ are considered trusted but entity $C$ is semi-trusted (by default it is trusted but we assume it could be comp... |
I'm trying to verify the claim of paper Improved Algebraic Fault Analysis: A Case Study on Piccolo and with Applications to other
Lightweight Block Ciphers about the numbers of equations in algebraic normal form that in one round of the Piccolo cipher. According to method in Section 4.2 is there 928 equations, but I ca... |
What characters may be present in a PGP encrypted message or a PGP signature? For example, do encrypted messages only use the Roman alphabet + some numbers and symbols? Can the character set be configured by the user? Is everything Base64 encoded?
Also, are there special characters that will never be used in a message?... |
Most plaintext must be fed as a string or a binary object to be encrypted.
However, it's often possible to mis-decode the plaintext before encrypting it.
i.e. If it's received as a string in JSON, you often don't know if the string
is an encoded representation (e.g. plain, hex encoded, base64 encoded, etc)
Example:
If ... |
I have been wracking my brain trying to develop a functioning implementation of SRP-6a in Python to use with a 3rd-party API that claims to use SRP-6a with $N=$ 2048-bit prime and generator of $2$. Unfortunately it has proven quite difficult to find two implementations that "match" to themselves.
For example, Stanford... |
I am in the middle of FPGA based Hardware architecture design for the computation of Pairing (particularly R-ate Pairing) over BN curves. Where, the point addition, and point doubling should be computed over $\mathbb{F}_{p^2}$, and line function, miller variable have to performed over $\mathbb{F}_{p^{12}}$. The chosen ... |
From the perspective of a Birthday Paradox attack, isn't it true that CMAC based on AES-128 is weaker than HMAC-SHA-1? The attack on CMAC-AES-128 requires about $2^{64}$ operations whereas the same attack on HMAC-SHA-1 requires $2^{80}$.
Regardless from the comparison of the CMAC-AES-128 with HMAC-SHA-1 it seems to me ... |
I used AES256-CBC to SSH to a remote server. Recently, it stopped working with the following message:
no matching cipher found: client aes256-cbc server
aes128-ctr,aes256-ctr,arcfour256,arcfour,3des-cbc
When I used AES256-CTR as a cipher to SSH to the server, it worked as expected.
I read this article which outlines... |
I'm going to assume this isn't possible, but I have to ask because I'm trying to fundamentally understand what I've thus far been trying to implement by following an RFC.
SRP-6a starts off with declaring that I should choose $N$, a sufficiently large prime, and $g$, a generator. Let's say $N$ is 1024-bits and $g$ is... |
During a regular Diffie–Hellman public key exchange, Alice and Bob agree to use a prime number $p$ and a base $g$… which are both made public and are therefore also assumed to be known by Eve. Alice chooses a secret integer $a$ and sends $(A = g^a \mod p)$ to Bob, Bob chooses a secret integer $b$ and sends $(B = g^b \m... |
He is a quote from Wikipedia page for Secret Sharing:
If the players store their shares on insecure computer servers, an attacker could crack in and steal the shares. If it is not practical to change the secret, the uncompromised (Shamir-style) shares can be renewed. The dealer generates a new random polynomial with c... |
I am currently studying Cryptography and I don't really understand what does 'well-typed' mean when talking about secure cryptographic protocols. I can't find any reasonable explanation on the internet either.
It would be great if someone could give definition and maybe example.
For example quote from “prosecco.gforge.... |
In Information Security Class I learned a non-adaptive chosen ciphertext attack using "blinding" but I just can't follow the proof and therefore can't reconstruct it. From what I've found out, it seems to be based on this Wikipedia entry (although not entirely I think): http://en.wikipedia.org/wiki/Blind_signature#Dang... |
I have to to find the shift value and the message for the following caesar cipher.
OC_VAWDGPM_VHWTVX_VXJOCVZ_GDX_MWO_VWIZVYGWIZ_NODI_
I have already tried it and with the shift value of 21 i get the following.
TH_AFBILUR_AMBYAC_ACOTHAE_LIC_RBT_ABNEADLBNE_STIN_
Does this look like the correct decrypted message to anyone... |
Given a $(k,n)$ threshold secret sharing used to back up a secret (meaning that the dealer has access to the secret at all times), is it possible to update it to a $(k+k', n+n')$ threshold secret sharing without reissuing all shares (in fact, the fewer have to be reissued, the better).
Obviously, if $k' = 0$, He just h... |
I was reading about hash functions, namely SHA, and I read that it is made of the Merkle-Damgård construction. And then the text said that the compression function used is based on the Davis-Meyer compression function. The text also mentioned that SHA-256 is based on the block cipher SHACAL-2.
I got a little bit confus... |
Is it possible to create a streaming mode of operation where the reuse of a nonce does not destroy confidentiality?
In this question it would be allowed for the streaming mode to leak if ciphertexts are (partially) identical or not - like in CBC mode of operation. It is of course not permitted to introduce other secret... |
I was wondering if there were any security implications of deriving session keys from a symmetric key using SHA256 in the following manner: $Ks = SHA256(Nonce||K)$, where $Nonce$ is the session specific nonce and $K$ is the pre-shared symmetric key. And $Ks$ will be derived at both ends as mentioned.
As far as I am awa... |
What is the most secure way to combine two "random" keys X of size k (k ≤ 512 bits) and Y of size 512 bits in one key Z of size k?
Result Z will be used for encryption/decryption with various symmetric ciphers (most commonly with AES-256 in CBC mode) or as HMAC key (most commonly with SHA1 and SHA256).
There are two d... |
Although SHA-1 theoretically has collisions, HMAC-SHA-1 which is based on SHA-1 is still widely used (in TLS for example) and is considered to be secure. How is that possible?
|
I have a question about the message that is being encrypted and signed. Say, two users called Tom and Mary, both have a pair of private key and public key. Tom sends a message through a system that will encrypt and sign the message. 2 kinds of message will be sent
1. encrypted message and,
2. hash function of the mes... |
This is my scenario:
A small structured text message (1-2kB) is to be sent over an insecure channel.
Everything except for the header portion (which contains a title, timestamp, category and tags) is confidential.
The message as a whole has integrity and non-repudiation as additional requirements.
This is how I int... |
I'm currently working on the discrete logarithm problem and the relevant attacks. I'm fine on the mathematical side of things, but when it comes to estimation of running times I run into problems. More specifically: if we take a generic square algorithm like Baby Step Giant Step for a cyclic group of size $n$, we usual... |
Out of band my services have exchanged secret keys. These secret keys are then used to prevent two things of the webhooks (HTTP calls triggered by Service A to Service B when an event occurs in Service A).
Webhook Spoofing
Webhook Replaying
The basic problems with webhooks involve the fact that, short of Client SSL C... |
In this Intel blog posting, the author claims:
The amount of work required to brute-force predict a random value that has n bits of entropy is $O(2^n)$. If you concatenate two values together, the entropy required to brute force the result becomes only $2^n + 2^n = 2^{n+1}$. By combining two n-bit random values, each ... |
In CTR mode encryption, the encryption block is not required to be invertible. Thus, a PRF can be used instead of a PRP. However most of the implementations of CTR mode are based on AES which is a PRP.
This made me think if we can have a PRG as the encryption block where the (key || counter_i) can be supplied as a seed... |
Encrypt-then-MAC does provide ciphertext integrity, but no plaintext integrity. With MAC-then-Encrypt it’s the other way around: Plaintext integrity but no ciphertext integrity.
What comes to mind is that it could make sense to use both to fix that “partially missing integrity” issue:
$$\tt …\ MAC_2(ENCRYPT(plaintext,M... |
Wikipedia says about a Merkle tree:
Nodes further up in the tree are the hashes of their respective children. Usually, a cryptographic hash function such as SHA-2 or SHA-3 is used for the hashing.
A cryptographic hash function can be defined using a 1-way compression function. Can we use a 1-way compression function ... |
Does this hold in asymetric bilinear pairings?
$e(x_1,x_2)e(x_3,x_4) = e(x_1x_3,x_2x_4)$, where $x_1,x_3 \in \mathbb{G}_1$ and $x_2,x_4 \in \mathbb{G}_2$ for a bilinear pairing $e$
|
Let say I want to truncate SHA256 to 128 bits. What would be the best way to minimize a probability of a collision and improve collision resistance?
Taking the last 16 bytes
Taking the first 16 bytes
XORing the first 16 bytes and the last 16 bytes together
And should I assume that the same logic will apply for other ... |
I'm thinking about man-in-the-middle attacks during a website login, and started wondering about reversible encryption.
What I'm imagining is an encryption that takes input A and creates an encrypted result, Ax. Like hashing, if you have Ax, you can't mathematically figure out A. But unlike hashing, there is a key (or... |
I have a couple of questions pertaining to a RSA problem. I need to decipher some ciphertext and find out what the original plaintext was.
Modulus: $n = 2537$ and exponent: $a = 11$
Encrypting function: $E(x) = x^{11} \mod 2537$
Using Fermat's Little Theorem to start, I have successfully encrypted some plaintext and de... |
The Luby-Rackoff theorem states that if a round function is a secure pseudorandom function (PRF)
then 3 rounds are sufficient to make the block cipher a pseudorandom permutation (PRP).
PRPs are invertible whereas PRFs are not. How come 3 rounds of a PRF
will make an invertible block cipher out of a non-invertible funct... |
On the surface, SHA1 and MD5 look pretty similar. Their diagrams include chunks of bits, bit rotation, xor and special functions. Their implementations are roughly the same length (at least the ones I've seen). Yet it's widely known that MD5 is broken, but currently SHA1 isn't.
Is the security difference from the incre... |
Let's assume I want to send a secret message to $N$ recipients in an asymmetric way.
My message could be encrypted with $N$ different public keys $p_i$ one after another and send to each user individually. In practice only a symmetric key $k$ is sent in an asymmetric way I guess, but that's not the point.
Even direct s... |
I've been learning about cryptography lately and I'm failing to understand how Diffie-Hellman key exchange works. Can someone please demonstrate using mathematical notation (and if possible, pseudocode) how this works?
I'm also failing to understand how it prevents man-in-the-middle attacks. If Oscar is sitting in the... |
I am trying to cryptanalyse multiple cipher–texts that I know are encrypted by different Affine ciphers. I have already analysed the frequency that each character occurs, and compared it to a frequency table of the languages the plain-texts could be in and as a result have a pretty decent idea of what a few characters ... |
I know how Diffie-Hellman Key Exchange works.
Is this the main way of encrypting with PGP, ssh, ssl (https), DKIM, ...?
I wonder if Diffie-Hellman is the clue to understand how encryption with public and private keys work and why it works
|
Let $(n,d)$ be an RSA private key and $(n,e)$ the corresponding public key.
Generate a secret random $r$ from $(\mathbb{Z}/n\mathbb{Z})^*$
Compute $C’ = C (r^e) \bmod n$
Submit $C’$ as a chosen ciphertext and receive back
$M’ = C’ ^ d \bmod n = M r$,
since $C’ = (C \bmod n) \times (r^e \bmod n)
= (M^e \bmod n)... |
Sorry for this kind of a question, but I really like to learn and improve in cryptography. At the moment I am following online lectures from https://class.coursera.org/crypto-011 , can anyone suggest me any resources or some beginner projects or some documentation for reinforcing the information.
Thanks in advance.
|
So I am familiar with attacking implementations of block ciphers via side channel attacks, cache-timing attacks, etc.
What implementation attacks are there against hashes or hashed based functions (e.g. MACs, DRBGs, etc.)?
|
As far as I understand DKIM works like this:
DKIM is not used to encrypt anything, the only purpose is to mark mails that are not really sent from the claimed domain as spam.
the DKIM-enabled sending server uses a stored private key to generate a digital signature of the message, which is inserted in the message as a ... |
Lets assume Eve has a lot of PGP conversation with Alice and records all those messages. Bob is also regularly communicating with PGP with Alice.
If Bob doesn't care about not having a signature from Alice, could Eve send any of those recorded messages unchanged but without signature to Bob pretending it came from Ali... |
When it comes to MAC algorithms one can have many choices. CBC-MAC, CMAC, PMAC etc are some MAC algorithms that rely on block ciphers (ex AES) to generate a MAC. On the other hand HMAC is very popular on the Internet and relies on compression functions (ex SHA-1, MD5).
What are the drawbacks of each from a security pe... |
I am trying to derive a symmetric key based on a master key, combined with a simple string. Based on my limited knowledge, it seems that something like PBKDF2 would do that for me in a well-defined way:
DK = PBKDF2(PRF, Password, Salt, c, 256)
Password = master key
Salt = simple string
c = number of iterations
DK is ... |
I am interested in the ways an RSA key generation implementation can or cannot be subverted so that the subverter has an advantage, but the owner of the key, and the people who interact with the owner, are left unaware that something is going on. I assume that the owner of the key does not have the ability to detect su... |
Advantages of having a 64-bit CPU vs 32-Bit CPU smartphone
…
3. Complex Encryption. Improved Security: 64-Bit can process incredibly large numbers allowing you to better encrypt data against unauthorized access.
source: http://www.amongtech.com/what-is-the-advantage-of-having-a-64-bit-smartphone/
Is the above sta... |
How does asymmetric crypto work?
For example, if you use PGP in emails, you generate a private key that is known only to you and a public key, which is available to everyone.
Is there a simple way to explain, why you need a private key and why no one can decrypt the message with just the public key?
I think of an expla... |
I am currently working on an anonymous P2P file sharing application and I am elaborating some already existing solutions. Some of them allegedly provide point-to-point encryption using RSA public/private keys to exchange a symmetric secret key, which is then used to encrypt a stream of data.
But I wonder how is it poss... |
NSA's Suite B Cryptography suggests some cryptographic algorithms for encryption, digital signatures, message digests and key agreements. The selected algorithms and their key size are suggested by the security level needed.
But is there any reason to think that the NSA suggests those algorithms because they know backd... |
I'm designing an id obfuscation system.
My system includes:
Embedded chips, each chip has a unique 32-bit address (id).
Server
Insecure low-bandwidth unstable one-way channels from the chips to the server.
The chips send messages to the server over the insecure channel.
The messages are simple "I'm alive" notificatio... |
I am a programmer familiar with C/C++ and Python. Lately, we got an assignment from a team asking us to work on one of their projects: we need to make a small program to encrypt a large file using symmetric key encryption. We could easily achieve this using AES128 or AES256 in CRT mode.
The catch however is that if a s... |
Braid groups has drawn the attention of cryptographers for a few years, as a promising platform for post-quantum cryptographic protocols. The security of the proposed schemes mostly relied on conjugacy problems, and attacks against this problem were discovered, and cryptographers lost interest in those braid groups. Bu... |
I read about the AEZ encryption scheme as presented at the CAESAR competition. To me it seems like a construction of an arbitrary length block cipher from a smaller one. The key component is the mixing function. (See the figure… Left: without cipher text stealing, Right: with cipher text stealing.)
Image source: htt... |
I am working on a concept for a game that in the end will allow data sharing via plain text, but I would like to give the user the option of encrypting the data so that other players cannot modify it, but the program/game will still be able to read the data for use otherwise. My question then would be, is there a meth... |
Let's say that we have a hardware AES implementation that, on request, will encrypt or decrypt a 16-byte block of data in ECB mode using a fixed key, but refuses to reveal its fixed key. In other words, an oracle.
This oracle has a flaw: if you read the hardware's output registers before the device says that its outpu... |
Is there a simple proof that shows AES is not a uniform permutation on any $n$-bit string?
Since I'm just starting with crypto, I'd like to see a simple yet elegant proof for the said property. Thanks!
|
Does SHA-1024 cryptographic hash function exist similarly to SHA-512? If not, what's the reason for that?
Links:
SHA-2 at Wikipedia
SHA-3 at Wikipedia
|
There seems to be some error in my understanding of the concept of rainbow tables, despite going through quite a bit of articles on it.
Let me show what I don't seem to agree with.
My plain text is 5-digit numeric input.
Hash function - MD5
Reducing func - Get the first 5 decimal digits from the cryptotext
Constructin... |
I'm one of the developers of an application which uses SRP-6 as the authentication mechanism. The authentication part of the code is very old and uses N with only 256 bits (all arithmetic is done in modulo N). After receiving reports of stolen passwords we upgraded to SRP-6a with the size of N 1024 bits.
We are still i... |
in short I'm learning GUI programming in python and thought it could be interesting to make a small GUI for symmetric encryption. Not being mad/mathematical/experienced (take your pick) enough to try to implement ciphers myself I figured I could create a GUI that just sits on top of an existing program (on Linux). So I... |
Is there any variant of the Carter-Wegman MAC algorithm that is fast, parallel and has the property of incremental crypto?
|
In HOTP authentication, is there a way for a system to detect that the token has been desynchronized? If so how does it know that the OTP was generated from a desynchronized (but valid) token and is not just a fake/random OTP?
|
Am I losing any entropy when using KDFs, such as the ones in NIST Special Publication 800-108?
For example, can I derive 128-bit session keys from a (uniformly random) 128-bit master key?
|
This may sound a little bit of basic but here it goes…
Which of the following is correct?
“Cryptography is under the security field”, or
“Security is under the cryptography field?”
Cryptography is all about encryption and decryption. Encryption/Decryption requires a key. Isn't security the same? Security also depen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.