instruction stringlengths 32 27.2k |
|---|
What is the difference between the keylength and the length of a password for AES-256?
|
WEP is now considered as insecure. But how about the 256-bit WEP?
Could someone explain why a 256-bit encryption isn't enough?
'A 256-bit WEP system is available from some vendors. As with the other WEP-variants 24 bits of that is for the IV, leaving 232 bits for actual protection. These 232 bits are typically entered ... |
Could you explain the 'Breaking 104 bit WEP in less than 60 seconds' paper, without skipping too much technical details.
Could you an answer questions, like: how is '1.24/256' a significant difference compared to '1/256'? And how this seemingly small difference could lead a '104-bit WEP key' to a reduced required comp... |
Suppose you got a prime $p = 2\mathbb\Pi_{i=0}^{n-1}q_i+1$, where $2^{k-1} \lt q_i \lt 2^k$ for some $k$ and all $0 \le i \lt n$, and that you also got a generator $g$ of one of the prime order sub groups of $\mathbb Z_p^*$. Also assume that the factorization of $\frac{p-1}{2}$ is unknown.
Question #1:
Are there ways t... |
I've been trying to implement the new SIMON block cipher in Ruby as a personal challenge. The spec didn't include a pseudocode version of the decryption but I thought I had it figured out. The code I wrote is located at https://github.com/Rami114/Personal/blob/master/Simon/Simon.rb
I've based this on the spec available... |
I read about how is an input message prepared to be hashed by MD4,MD5 or SHA-1:
Step1 Append padding bits
The input message is "padded" (extended) so that its length (in bits)
equals to 448 mod 512. Padding is always performed, even if the length
of the message is already 448 mod 512. Padding is performed as
fol... |
I'd like to test and see if certain software uses P-521 ECC curves, or if it uses another variant.
Without having access to the sourcecode, or the specification, is there any way for me to test which ECC curve a given implementation of software uses?
Take a x509 certificate as an example, aside from ASN.1 information t... |
I need to take a potentially weak user password and derive a strong key for AES encryption in JavaScript. How can I do this?
I expect the hardest problem is generating a good random salt - perhaps an SSL request could be used to ask a server to provide half of the salt. This would work but I'd rather keep it simple if ... |
Suppose ECDSA is used without hashing the message, but directly using a short message (say 10-bytes long) as the value z (using the definitions at http://en.wikipedia.org/wiki/Elliptic_Curve_DSA) because we need extremely fast signing with ECDSA in a specific embedded platform. We also pre-compute kG and k^-1 values.
A... |
I'm looking for a toy encryption system that has a specific property that when decrypting it with a key that is close enough to the key used in the encryption, it will produce some of the original plain text.
The idea is to use it as a game/teaching system where kids can try to break a cyphertext but instead of using c... |
My question is based on the following situation:
Bob and Alice work for a company that expects them to exchange data encrypted. They could do so using regular public-key cryptography, but Joe (their boss) wants to be part of the procedure to ensure nothing is encrypted or decrypted without his knowledge. Therefore, Joe... |
I was reading Eric Bach paper entitles Discrete logarithms and factoring, in which he states the following reductions:
solving the integer factorization problem suffices to solve the discrete logarithm problem and vice versa.
I could not completely understand the explanation. Could anyone explain it to me or refer me t... |
Let's say I create my PGP keys with my appropriate name and email address.
Will these personal information be exposed if I publish my public key?
When I encrypt a message for sending it to my communication partner, if someone intercepts this encrypted message, will he or she get to know about my personal information?
... |
In the family of the believed (experts haven't come yet with a solution) intractable problems in cryptography belongs the Polynomial Reconstruction problem in which an attacker is given $n$ points in which at least $t$ belong to the evaluation of a polynomial $p$ of degree $k$ and the attacker wishes to reconstruct $p... |
Apparently it is not possible to compute all MD5 values from 0x00000000000000000000000000000000 to 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.
As far as I understand this operation is hard because cryptographic hash functions make it difficult to calculate a message for a given digest (Pre-image resistance).
Storing all MD5 ... |
I found this security problem, for example:
Alice has an RSA public key: $e = 37$ and $\phi$ (totient, $N_A = (pa-1)(qa-1)$) is $55$, so the key is $(37, 55)$.
Bob has an RSA public key: $e = 37$ and $\phi$ (totient, $N_B$ = $(p_B-1) (q_B-1)$) is $77$, so the key is $(37, 77)$.
So I see that $\gcd(55, 77)$ is $11$. B... |
I've just skimmed over most of the paper "On Message Integrity in Symmetric Encryption". I've included (the last) part of the abstract below:
We show that generic compositions of confidentiality-secure encryption
schemes with Manipulation Detection Code (MDC) functions for
authenticated encryption are, in general,... |
What is an approximate length for a digital signature (SHA) given the following?
Using RFID tags, size ranging from 100 to 2000 bytes (8000 bits), our project is setting aside a portion for a digital signature against its fixed data, which includes an unique 8-byte serial number and with 32 to 64 bytes of factory data.... |
I don't get the utility to chain and reduce in generating rainbow tables.
Hash functions are made to not have collisions, or at least chain only 2 times so we don't return to the concept of the hash dictionary.
So why do we bother the machine to hash and reduce thousand of times to only store the latest value?
|
According to this Q&A-discussion it is possible to remove all personal data (name and mail address) that is attached to a public key.
What steps do I have to follow in order to remove all personal data?
Will that modified public key still allow me to decrypt data with my regular passphrase?
|
I have implemented the Fortuna random number generator as described in chapter 10 of "Practical Cryptography" (Ferguson and Schneier, Wiley, 2003), the result can be found at http://www.seehuhn.de/pages/fortuna .
My question: How can I test my implementation? Or more specifically:
Are there any known-correct test vec... |
My bank uses a smartcard reader (separate module not connected to the computer) as depicted below:
When I need to log into my account it provides me with a challenge and I need to provide some details:
I need to provide the 8 digits, enter my pin and then it returns an 8 number sequence which is then to be entered a... |
This answer to another question describes the different values chosen as private key and public key by various Ed25516 implementations. What are the advantages / disadvantages of each?
(Table cropped from diagram in the linked answer, originally taken from "How do Ed5519 keys work?" by Brian Warner.)
|
(Disclaimer: I am regular software engineer with only basic crypto knowledge, so helpful if can be explained for a layman.)
I am concerned about generating weak keys on a shared linux box with openssl. Some questions:
How low does entropy have to be for it to be dangerous? If I run cat /proc/sys/kernel/random/entrop... |
How random is the value $ZZ$ in the DH protocol?
This question was triggered by this somewhat naïve implementation in I2P shown by Sergei at Stackoverflow. Obviously $ZZ$ is distinguishable from a random oracle, as the first byte will be lower or equal to the highest byte of $p$, if $p$ is encoded using the same $I2O$ ... |
What is the difference of the CDH problem in different groups? In particular, given a group $\mathbb{G}_1$ of order $q$ that is a subgroup of $\mathbb{Z}_q^*$, $q$ prime, and another group $\mathbb{G}_2$ of order $p$ that is a subgroup of $\mathbb{Z}_p^*$, $p = 2^n$, is solving the discrete log problem easier or harder... |
Are there hash functions that make use of pseudorandom functions. Precisely, I'm looking for a specification of a hash function based on PRF (and based on the security of such a primitive).
|
We have a h/w accelerator in our SoC and it can do sha256. The restrictions are it's input descriptors (which defines the input packet and len) must not straddle 64K boundary. When it does we can split the descriptors into two. However the total number of descriptors can be max of 64. This means 64K * 64 = 4MB seems to... |
I am from a web development background (I don't know an awful lot about cryptography or how the algorithms themselves work), so I am asking this question in simple terms.
Consider a hash of the word 'test' using SHA1:
a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
If I were to use SHA512 instead and then simply take the fir... |
It has recently emerged that a paper that was scheduled to appear at Usenix Security 2013, titled "Dismantling Megamos Crypto: Wirelessly Lockpicking a Vehicle Immobiliser", has been censored according to a newspaper article in the "Guardian".
A court in the UK issued a temporary injunction barring the scientists from... |
I grasp that having known plaintext encrypted with the public key doesn't provide a means of discovering the private key (that being the whole point...).
But if one were in a situation where they didn't have access to the private key, but did have access to decryption by the private key, would the actual key be vulnera... |
Following on from here, I am unconvinced that encrypting twice with RSA is a waste of time: doesn't it depend on what is placed in-between the two encryptions?. What would happen if a permutation was applied at this point? How strong will the encryption be then?
That is,
$$f(m^{e_1}\mod n_1)^{e_2} \mod n_2$$
I am not 1... |
I am trying to find attacks on a theoretical protocol or prove its security. An initiator wants to establish a shared key with a responder with help of a trusted server.
We have the following roles: $I$: Initiator, $R$: Responder, $S$: Server.
There are long-term symmetric keys between all pairs of involved entities de... |
I have just learned about using PGP/GPG for email encryption and one thing bugs me:
How is it possible that a message encrypted with somebody's public key can be decrypted only with that person's private key?
This concept of asymmetric encryption is not easy for me to understand. Simply said, I would expect that the pr... |
I am just learning about the GCM mode of AES and I'd like to start using it in my software. However, I have a question about its use. As I understand it the output of a GCM encryption operation is the ciphertext plus an "authentication tag." I know that the key needs to be guarded from discovery, but does this authe... |
Assuming in the future there was a functioning 1024 qubit quantum supercomputer and it could run Shor's algorithm or Grover's algorithm to crack encryption very quickly. I'm interested in how the number of qubits translates to performance improvement over a regular 2 bit computer.
For example, if I used Shor's algorith... |
Given a server that broadcasts all received data to all connected peers (except the sender), two participants can have an encrypted conversation using a self-synchronizing method like CFB and some error detection.
How secure is this given that anyone can not only listen but also paste in chosen text into the stream? Is... |
Every time when I read a paper that has digital signature, when it comes to prove the security of a digital signature scheme, many chances that the author will use the forking lemma.
The forking lemma says as follows:
Let $\mathcal A$ be a probabilistic polynomial time turing machine, given only the public data as inp... |
I came across this article, which describes a method, developed by UCLA CS professor Amit Sahai et al, for using functional encryption in order to achieve software obfuscation. The paper that the article refers to is available here. Has anyone digested the paper and have more information to share? Are the results as gr... |
Question:
A stream of cipher operates on a data stream of 6-bit characters using a simple mono-alphabetic substitution technique. Estimate and explain the number of different substitution alphabets possible. The key is effectively the substitution alphabet, which can be expressed as a $384$-bit number (i.e. $64×6$ b... |
What is known about the security of identity-based encryption schemes against attacks that involve seeing multiple ciphertexts and then receiving the private keys corresponding to some of those ciphertexts?
For example, is it known that feasible adversaries will have a negligible (in the security parameter $k$) probabi... |
Users in my system will be given a device that contains a 128-bit AES user key. The user key will be derived from 64 bits of public data related to the user, which is unique but very predictable (i.e. a sequential user ID value). The value of the user key must be kept secret from the users. I assume users are fully awa... |
As I understand, if two users have a shared key, it is possible to encrypt a message using symmetric key encryption.
So when a secret key is shared through Diffie-Hellman asymmetric key exchange, it means that the users have their shared key. So why can't AES keys be generated from shared keys, and why not use only AE... |
I have two systems which need to encrypt their communication by AES-128. The key for the AES encryption should be exchanged with the Diffie-Hellman (DH) algorithm.
Now, I've read about DH and got a lot of question marks over my head. These are my questions:
Typically with AES-128, you need a password and a key which w... |
Homomorphic encryption schemes are PKE schemes with an additional special method Evaluate.
The Evaluate method takes input any function (as boolean circuit) and encrypted inputs of the function and evaluates the circuit. The results of such function are still encrypted under the public key $PK$.
Now, if the user needs... |
On page 14 of "Keccak and the SHA-3 Standardization" (February 6, 2013) it says:
Instantiation of a sponge function
the permutation KECCAK-f
7 permutations: b → {25,50,100,200,400,800,1600}
Security-speed trade-offs using the same permutation, e.g.,
SHA-3 instance: r = 1088 and c = 512
permutation width: 1600
s... |
As we can know that the best two-pass AKE protocols with DH message can achieve is the weak form of perfect forward security (wPFS) which guarantees security against the passive adversary. But "Strongly Secure One Round Authenticated Key Exchange Protocol with Perfect Forward Security" (Hai Huang) claims that the AKE i... |
Homomorphic encryption schemes are PKE schemes with an additional special method Evaluate. Evaluate method takes input any function (as boolean circuit) and encrypted inputs of the function and evaluates the circuit. The results of such function are still encrypted under the public key PK.
Sometimes, it would be too wi... |
I was reading this article and had a question....
http://arstechnica.com/security/2013/08/gone-in-30-seconds-new-attack-plucks-secrets-from-https-protected-pages/
As I understand it TLS/SSL work in such a way that even the Requested URL is encrypted. So, my question is...would it be possible to create an SSL proxy tha... |
Assume an ElGamal Cryptosystem. Assume a set of three players, $P_1$, $P_2$ and $P_3$. The private key $x$ is shared among the players. The player $P_1$ has a piece of the private key $x_1$, $P_2$ has the piece $x_2$ and $P_3$ has $x_3$.
Assume the following messages, $m_1$ and $m_2$.
Let $E(m_1)$ and $E(m_2)$ be two E... |
In the zero knowledge proof using QR, why do we even bother with the server sending us $b = 0$ back? As I understand it, the server selects $b = 0$ or $b = 1$. If $b = 0$, then the client (Alice) generates a random number $r$ and sends back $r^2 \bmod x$, while if $b = 1$, then Alice sends back $r^2 \, y \bmod x$. How ... |
Quoting "Verified Security of Redundancy-Free Encryption
from Rabin and RSA", Chapter 2 (on page 4):
OAEP was proved IND-CCA-secure by Fujisaki et al. [28] under the assumption that the underlying trapdoor permutation is partial-domain one-way. This is in general a stronger assumption than just one-wayness, but fortun... |
I understand that:
$$x_{montgomery} = \frac{1 + y_{edwards}}{1 - y_{edwards}}$$
Using the libsodium ed25519 implementation, I have tried to write the following:
void keypair_2(unsigned char *pk, unsigned char *sk)
{
ge_p3 A;
int i;
sk[0] &= 248;
sk[31] &= 63;
sk[31] |= 64;
ge_scalarmult_base(&... |
Block ciphers have modes like GCM or OCB that combine primitives to provide both authentication and encryption.
Are there similar constructs for stream ciphers, which provide both authentication and encryption using only one cryptographic primitive - actual stream cipher (or keystream)?
|
I'm not realy experienced with programming and such but I am wondering if the following could be implemented in, lets say, python
we have the following ciphertext sequence
AO AP AL EE IL OP QR IV OD DD GH DK OL FK PO AD GG PO FK OL DK GH OL OT RI DH SK
and I know part of the plaintext says:
risetovotesir
Than for su... |
At Blackhat 2013 this week, there was a talk saying RSA is (essentially) doomed in the near future.
networkworld.com ~ “Black Hat: Elliptic curve cryptography coming as smarter algorithms threaten RSA”
What "two devastating attacks in the past 6 months" is Mr Ritter referring to, and how real is the threat to RSA?
|
Given a TOTALLY HYPOTHETICAL scenario in which passwords for over a million accounts in over 200 databases have been stored using 3DES, a key derived from a (single) MD5 hash of a customer-controlled (rarely changed from the default) pass-phrase, a hard-coded IV (same for every account in every database), and a cipherm... |
This question is related to this one in intention, and this one in scope.
Would I be guarding myself against future attacks on a single PRNG if I combine two (or more) together?
I am thinking of using the Fortuna PRNG together with AES in counter mode, each initialised by a different source of entropy (now exactly what... |
RSA and ElGamal can be implemented using the technique of Elliptic curves. I am confused on why the it seems that Elliptic curves are not so popular in cryptographic applications since they provide the same security with smaller key sizes?
|
In mix Columns we have:
$$C(x) = \{03\}X^3 + \{01\}X^2 + \{01\}X^1 + \{02\}$$
In Viktor Fischer's Paper on MixColumn and InvMixColumn Resource Sharing, in page 2, Equation 8, it's been said that $C^2(X)$ can be computed as follows:
$$C^2(x) = \{04\}X^2 + \{05\}$$
Can anybody explain why is that?
|
I am interested in the theoretical consideration of the bit strength of an encryption key and its precursor.
Assume a given environment as follows:
a. My encryption algorithm is AES-256
b. My key derivation function is PBKDF2 with HMAC-SHA1 with
b1. Salt strength of 128 bit (32 chars of a truely random hex string)
... |
Since 18th of December 2010 Germany makes use of an identity card that should allow electronic authentication:
(image source: commons.wikipedia.org)
From a users perspective, the authentication seems to work as follows:
A program requests permission to read information (name, birth date and place, address, photo, se... |
In AES algorithm, in the key schedule,
Why does the expansion of a 256 bit key need an extra application of the S-box, unlike the expansion of 128 bit and 192 bit keys ?
(The obvious answer would be "because it is more secure" ... but why ? And if it is more secure, why don't use it on 128 and 192 ?)
|
There is a paper from Peter W. Shor from 1994: Algorithms for Quantum Computation: Discrete Logarithms and Factoring, and I have a question about it and the algorithms presented.
For integer factoring problem, Shor's algorithm is working as a fast period finder for function f(x) = a^x mod N, where semiprime N is equal... |
Every time a file on the data partition is created, Data Protection creates a new 256-bit
key (the “per-file” key) and gives it to the hardware AES engine, which uses the key to
encrypt the file as it is written to flash memory using AES CBC mode. The initialization
vector (IV) is the output of a linear feedback... |
In 2012 a group of researchers collected a large amount of RSA moduli and calculated their greatest common divisor in order to find common factors between them. By finding a common factor they could the divide and completely factorize the key. They concluded that the vulnerable moduli where generated by PRNGs with inad... |
I have an elliptic curve defined over finite field where $S_1=aP$ . Is it valid to say that $S_1P$ can also be computed. $P$ is the generator of the group.
What my real question is that. Should '$a$' be always an integer or can it be a group element itself??
|
I am a bit confused on the hardness of the discrete logarithm problem. Does it become intractale only when it is mod n, where n is a large composite number (Like RSA key). What about if it is mod a prime number p? what is the complexity and method for solving it? Can we reduce the problem of integer factorization to d... |
In Section 7.2 "Validation of HOTP Values" of the HOTP spec (RFC 4226) it says, in part,
The HOTP client (hardware or software token) increments its counter
and then calculates the next HOTP value HOTP client. If the value
received by the authentication server matches the value calculated by
the client, then the HOTP... |
What is the exact difference between the CKM_RSA_PKCS and CKM_RSA_X_509 mechanisms in the PKCS#11 v2.20 specification (Please explain with an example)?
|
Would something like the following improve security (against rainbow attacks, not brute force)? Assume that $P$ is a user-chosen password, and the objective is to obtain a hash $H$ for password checking.
Let $S$ be a random salt.
Let $A_1 = MD5(P || S)$
Let $A_2 = MD5(A_1 || P) || A_1$
Let $H = MD5(A_2)$.
The idea is... |
A system is used to securely store account numbers.
When an account number is added to the system it is securely encrypted and stored in a database along with the IV and a reference to the encrypted record is returned (so that the encrypted record can be retrieved at a later date).
If a second request for an identical... |
I was wondering if changing the cipher mode to AES-XTS in EncFS would be a sound idea. EncFS uses AES in CBC mode until the last 1KB block, and CFB mode for the last block if len(block) < 1KB. This ensures that len(plaintext) == len(ciphertext).
The design seems somewhat convoluted, but understandable considering thos... |
I have an application where I want to be able to send an encrypted file, and then mete out "keys" that allow the receipient to decrypt the file from a certain point to the end of the file. Actually, it's from a certain point to the beginning, and I'm doing the above by reversing the file.
Looking at AES (and thus Rijan... |
Simple version:
Create software that takes a database of the dictionary, alphabet, and phrases. Randomly generate a database of random strings of letters/numbers/symbols of varying length. Randomly assign different strings to different words/letters/phrases.
Frequency analysis should already be hard because you're ope... |
As I understand it, the less people know about the internals of my protocol or cipher, the more secure the protocol is. However Kerckhoffs's principle states that
A cryptosystem should be secure even if everything about the system, except the key, is public knowledge.
To be more precise, it's the 2nd principle that s... |
I'm writing a client application that wants to store some secret information with a storage service. The client has to authenticate the user with the service and the service should not be able to decode the information that it stores for the user. Authentication against the service has to be based on username - passwor... |
I was thinking of a potential new way to increase someone's account security.
The idea was allowing the user to choose one of the hash formulas available in the software (example: "MD5", "SHA512" and "Whirlpool"), decreasing the chances of any intruder to find out the hashing system used in case passwords are — for som... |
I have a time authority and I want to securely set a client's time to this authority's time/date within a precision of $\delta$ seconds. The authority's public key is known to the client. This was my idea:
A client sends a request with a 128-bit randomly generated nonce to the authority, and starts a timer.
The server... |
I've been reading about SHA-1. I read that SHA-1 is insecure as it uses the Merkle-Damgård construction and the Merkle-Damgård construction is — according to Wikipedia — susceptible to a variety of attacks. However, I have not been able to come up with a single example of how these work.
Can someone give me an example... |
As without using modes we can also encrypt and decrypt data then what is the need of using modes in DES?
|
If an attacker were able to get a hold of 2 encrypted messages that were both encrypted in a one time pad with a password that were each similar but had one change in the first character, could it still be cracked?
Let's say my first set of data was encrypted with "1password" and my second set of data was encrypted wit... |
I am a beginning programmer interested in coding an application of my own to encrypt sensitive files of mine. For example: lists of passwords, bank accounts, Credit Card numbers etc.
I was wondering what would be the easiest encryption algorithms to learn from a purely theoretical point of view?
|
I am encrypting a string in a format like this:
Byte 1: 1 (this byte is CONSTANT and KNOWN)
Byte 2-18: a random string of characters that is never the same.
Byte 18-34: unknown number that is sequentially incremented each time
(it's a primary key from a mySQL AUTOINCREMENT column)
The entire 34 bytes is e... |
Alice has a bank account number, but has forgotten which bank it is for. There are 4 banks, run by Bob, Carlos, David, and Eve.
She could find out by going to all of the banks and asking if they have the account number. However, if Eve learns Alice's account number, then Eve will go to Alice's actual bank and steal all... |
I'm trying to design a deterministic encryption scheme to enable searching in untrusted databases with the smallest possible IV overhead on ciphertexts. I know it's very bad practice but unfortunately it's a business requirement, so I'm just trying to offer the best security I can under the circumstances.
Right now I'... |
Would a scheme like the following work to allow authentication of a sender:
A nonce is appended to data, and the result is encrypted. The encrypted pack is sent to the other party. The sender then contacts the receiver through an authenticated channel (or one that is sufficiently good for the current purposes) and prov... |
This note (http://maths-people.anu.edu.au/~brent/pd/primality4.pdf) states that AKS is not practical. However, it is known that AKS runs in polynomial-time, and I cannot understand where the slowness of AKS algorithm comes from? Brent, on the above link, justifies this to the high probability of hardware errors during ... |
I'm using AES-256-GCM for authenticated encryption. In order to decrypt, the ruby OpenSSL library requires an auth_tag parameter (in addition to the key and iv). This, according to the ruby docs, is because authenticated encryption is only supported with associated data (AEAD).
How can I use this auth_tag to decrypt? T... |
In a comment to an answer I wrote to another question, CodesInChaos wrote that:
"Problem with SRP is that an attacker who impersonates a server learns the password hash, enabling offline search."
and further that:
"If the server successfully impersonates a legitimate server [...] they learn the public key of the cli... |
I'm trying to figure out a way to do public key encryption on a very large piece of data.
For this, I of course want one side to do the encrypting but is unable to decrypt the data, and the other side to be able to decrypt data.
But for RSA encryption, there's a limit to the reasonable size-performance on how big it ca... |
The Koblitz elliptic curves specified in the SEC2 document https://docs.google.com/viewer?url=http%3A%2F%2Fwww.secg.org%2Fcollateral%2Fsec2_final.pdf all have the nice feature that the parameters are highly non-arbitrary; the modulus is simply a few powers of two put together, and the a and b parameters are 0 and 7. Th... |
Definition
E: AES encryption
D: AES decryption
x: plain text
y: encrypted text
k: key
In original AES cipher,
encryption: y = E(x, k)
decryption: x = D(y, k)
Then I define the "reverse AES cipher" as below.
encryption: y = D(x, k)
decryption: x = E(y, k)
Is "reverse AES cipher" safe as original AES?
or, is saf... |
If DES decryption is the same as encryption done in reverse order, then how can the reversed S-Box convert 4 bits into 6 bits?
|
I'm building an embedded device that I plan on distributing. Periodically the device will poll my server to check for updates and commands. I'd like the device to verify that any messages(JSON strings parsed by a client written in Go) and updates are actually from me.
My plan is to use use Go's crypto/ecdsa library to ... |
Why does DES use exactly 16 rounds and not more or less than 16? What is the significance of using 16 rounds?
|
How does certificate-based encryption solve key revocation problem?
For example, if a user accidentally reveals its secret key or an attacker compromises it, the user may request revocation of its certificate. Alternatively, the user's company may request revocation if the user leaves the company or changes position an... |
While reading the Wiki page on RC4 I noticed that the key size must be in the range of 40–2,048 bits. So should I understand like this, that I can have a key that has length of, lets say 333 bits? (any decimal number between 40-2048?) How about inputs length?
Imagine that I can ask a user to give me an input length (fo... |
I am encrypting files for storage in an untrusted location, using a custom Java program to do that. There is only one user, but there are many files.
I am using AES in CBC mode with PKCS5 padding, and the key is created from a single passphrase using PBKDF2.
Question: Would it increase security if I used a different sa... |
Are there any cryptographic hash functions for which there is a known pre-image attack, or a known second pre-image attack, but not both?
The attack doesn't have to be practical - just anything that beats the security claim of the hash function.
Intuitively, 2nd pre-image attacks would be easier to find than pre-image ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.