instruction stringlengths 33 27.2k |
|---|
Assume a finite commutative base group $\mathbb B$, some $g$ in $\mathbb B$, and $\mathbb{G} = \langle g\rangle$ the subgroup that $g$ generates, with choice of $\mathbb B$ and $g$ such that ElGamal encryption would be secure for a random message in $\mathbb G$ (semantically/under CPA).
ElGamal encryption still allows ... |
I have the following protocol for mutual authentication ($V=$ verifier, $P = $ prover, $r_V$ and $r_P$ random values, $h_k$ a keyed hash function)
$V\rightarrow P:r_V$
$P\rightarrow V:r_P,h_k(r_V,r_P)$
$V\rightarrow P:h_k(r_P,r_V)$
My question is why does the prover send back to the verifier $h_k(r_V,r_P)$? Can't he ... |
I've seen it mentioned more than once that PBKDF2 should not be used to create a longer key than the native output (such as 160 bits when used with HMACSHA1). Since an attacker could test only the native size and rule out a password. (Example)
But what if we hash the (complete) result one more time? This would seem t... |
Quite curious to know if ever a SHA-512 hash will contain only digits or only alphabets. Thanks in advance.
|
Today I saw this question again which presents an unusual variant of the Diffie-Hellman key exchange. Having thought about it for a while I could find out how functionally works, but have essentially little cue whether it actuappy provides security.
My question is now:
Does the below stated Diffie-Hellman-like key exch... |
Given a context where Alice sends messages to Bob and vice versa. There is an intruder, Carol, that has obtained the private key of Alice. She also obtained both public keys.
Can Carol decrypt all messages or only the ones that are sent from Bob to Alice?
If Carol can decrypt all messages:
How can she do this?
Are the... |
Is use of sha3 justifiable? Is sha3 better than sha2 in (m)any aspects?
P.S. I want to use hashing for passwords in a database
|
Induce random fault (non-zero) error in one
byte before MixColumns in Round 9
I get last round key with 32 bit (4 bytes) missing
(Missing are bytes 1, 8, 11, 14)
How can I recover these key bytes without the need of computing 2^32 keys
|
In the photo you can see the three Enigma's rotors.
On the 1-st rotor (marked with number 50 on the photo) letters put on clockwise.
On the 2-nd rotor letters put on counterclockwise.
Question. What is an order rule on the 3-rd rotor?
Edit. After the Maarten Bodewes comment, I have tried
Number mod 1 and Number mod... |
While searching for answers ,I understand that RFC AES-CMAC 4493 is suggested by NIST to overcome if payload is not aligned in 16 bytes.
I would like to know what drawbacks/insecure caused by AES-CMAC if length is not aligned in 16 bytes. Would the generated TAG value is easily tampered?
how and when the One-Key CBC M... |
I am interested in fixed pseudo-random permutation algorithms that are defined for any number of words in the input (but there might be some minimal number of words, e.g. 8), where the word size may be 8/16/32/64 bits. Such permutation may be used as the core function in sponge construction for hashing the message.
T... |
Sorry for the newbie question, I'm new to cryptography and I have difficulty in understanding what the block is. For example for DES algorithm the block size is 64 bits and the key is equal to 2 to the power of 56.
Can someone explain this to me ? Maybe like I'm 5?
|
See the ASN.1 description of an X.509 certificate below:
Certificate ::= SEQUENCE {
tbsCertificate TBSCertificate ({ x509_note_tbs_certificate }),
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING ({ x509_note_signature })
}
TBSCertificate ::= SEQUENCE {
version [ 0 ] V... |
I have a JSON object with private data. It has the following (complex!) structure:
{
name: "JB",
age: 35,
children:
[ {
name: "Alice",
age: "5",
favColor: "pink"
},
{
name: "Bob",
age: "8",
favColor: "blue"
... |
I was thinking of the problem of naming&shaming, victims don't want to reveal themselves. Yet the public wants to know, and have some confidence in the veracity of statements. Such confidence could arise for instance from multiple victims naming the same person. I was thinking cryptography could come to the rescue.
I'm... |
In Schnorr's NIZK proof there is an interesting remark:
Within the hash function, there must be a clear boundary between any
two concatenated items. It is RECOMMENDED that one should always
prepend each item with a 4-byte integer that represents the byte
length of that item.
I know, that it's generally a good p... |
In my course there is a remark saying that in CFB encryption mode, the plaintext must not a multiple of the block length.
Why?
|
Is it true that $p^e\equiv p \pmod n$ and $q^e\equiv q \pmod n$ for RSA?
Here $n=p\cdot q$, $p$ and $q$ are different prime numbers as required by the RSA system.
I have to find four examples of $w$: $w^e\equiv w \pmod n$ that always hold. My candidates are $p,q,-p,-q$.
It works on examples but I can't prove it.
|
I'm new to cyptography, so I apologize if this is a dumb/impossible goal or has already been answered (I was not able to find it by searching).
I wish to devise an anonymous protocol for transferring digital goods, where the message contents are publicly viewable, but neither sender nor recipient can be determined from... |
I believe that parallelizable authentication schemes are superior from an aesthetic perspective and because most non-recursive calculations (e.g., CTR, ECB, PMAC, etc.) are better than recursive ones (e.g., CBC, OFB, CFB, CBC-MAC, etc.).
Most of the CAESAR candidates, i.e. GCM, OCB mode, PMAC, XOR-MACs, and protected ... |
I'm building an application for securely backing up cryptocurrency private keys or 12-word backup phrases that crypto wallets use as a seed to generate private keys. For the purpose of this question, if you're unfamiliar with cryptocurrency, you just need to know that whoever knows your private key can spend your money... |
I'm attempting to develop my messanging app with encryption evolved. For now I came up with algorithm for authorization and message exchange.
P.S. conneciton between server and client is over https
Auth:
User generates his private and public key based on his password
User requests authorization
Server generates rando... |
This is my case:
I don't have padding oracle (the server provide the data and users never able to execute the encryption function),
I never encoding the same text twice.
The text is always short - 128 bytes.
I store the encrypted text in the database.
I never send the decrypted text to any user.
What I want:
If one... |
Abstract
With Functional Encryption, would access control between two parties be possible without revealing the entirety of one party's policy to the other? E.g. such that a server would be incapable of discerning anything more about a client's policy (aside from weather the client's requested action is permissible via... |
We use Fiat–Shamir heuristic to turn Schnorr ZK to NIZK. So now NIZK is secure against chosen message attacks in the random oracle model, that is, ideal hash function: every unique query leads to a truly random response.
Ok, I get why our Hash function should not be reversible - otherwise, we disclose skey.
But what i... |
Given the hypothetical fact that I can predict the same entropy value used to generate a random number, can I generate the same random value, say in a Windows based python application?
|
I am using ECIES (Cryptobox as poncho pointed out) for public key encryption with ECC between Alice and Bob with secret/public keys $(a,A)$ and $(b,B)$ respectively. So Alice encrypts to Bob with
$$
Encrypt(aB,Message)
$$
Additionally I would like to encrypt some of Alice's data such that only she can decrypt it. Is it... |
I was reading the differences between stream ciphers and block ciphers, noticing that block ciphers, encrypted blocks of 64 bits or so at a time. But, stream ciphers encrypt 1 bit at a time, and to me it seems it would be easily reverse-able? If the stream cipher's algorithm isn't changing then what stops the adversary... |
I am building a cryptocurrency wallet online where everything is stored in the browser (No servers).
At this moment I am storing all private keys encrypted using AES-128-CTR I've chosen this method because is the standard for Ethereum keystore file format.
Is this algorithm secure to encrypt any other private key such ... |
As I understand DES, It encrypt 64-bit plaintext block with 56-bit key (ECB).
So if 3DES is applying DES three time then why it use Decryption $(D)$ in the Phase 2 in place of Encryption $(E)$ ? And how it is possible to decrypt a ciphertext $( [K_2,E[K_1,P]] )$ which was encrypted by different key $(K_1)$?
Phase 1: $... |
For example in my course there is this protocol :
Initialisation: A and B are sharing a symmetric key S.
(1) A -> B: Ra ; A generates a random number and sends it to A
(2) A <- B: Rb ; B does the same
A and B computes the session key K := E_S(Ra XOR Rb).
Why A and B would establish a new key K if they already have ... |
Recently I have been researching asymmetric encryption algorithms for a class, I cannot find any information anywhere on the key lengths used in any of the algorithms I'm looking into (ElGamal & Elliptic Curve Cryptography).
Is there a range of valid key sizes?
|
Let s be a n-length binary word and not_s its negation. Let G be a PRNG with expansion 2n.
Prove that H1(s) = G(not_s) is also a PRG?
Prove that H2(s) = G1(s)||G2(not_s) is also PRG. Given G1, G2 are both PRGs and the || is concatenation
I honestly don't know how to make of this question as I am pretty new. But m... |
Ok, it's kind of stupid question, but I want to make sure.
What is the length of the ElGamal cipher? It's equal to the size of 2 elements of the cyclic group, right? But lengths of elements are NOT always the same, right?
Toy example:
We pick p = 23, q = 11 (p = 2q+1), our generator is 18, so
G = {18,2,13,4,3,8,6,1... |
Suppose I have two messages $M_1$ and $M_2$ and I have two different symmetric keys $k_1,k_2$.
Is it possible to achieve this?
$CipherText(M_1)_{k_1}$ = $CipherText(M_2)_{k_2}$
Edit: Im asking for standard ciphers used in practice, not for theorical ones.
|
I am using the Ethereum keystore file format to encrypt any other data such a plain text or JSON.
Here is an example of pseudocode of the implementation:
MY_PASSWORD = "VeryDifficultPasword432131!@!#%"
MY_TEXT = "This is my secret text"
iv = randomBytes(16)
kdfparams = {
dklen: 32,
n: 262144,
r: 1,
p: ... |
When using a DEK to encrypt data using envelope encryption do you need to add AEAD to the DEK itself? I would think that it is unnecessary because bit flipping attacks are useless against a DEK and the confused deputy problem doesn't apply either. To be clear, the plaintext the DEK ultimately encrypts should be protect... |
I am trying to get my head around the methods involved in ECDH and am confused by the public keys that are used. Alice picks a random number A from 1 to P - 1 and then computes A⋅g (g being the publicly agreed generator, with a high order) using point addition and multiplication. She then publishes this value. In order... |
On a homework assignment, we're asked to give an example in which scenario one would use an ElGamal-Signature over an RSA-Signature.
I found this question, but the answer also only describes why RSA is superior. I searched a while now, but I don't really find any reason why one would use a Schoolbook-ElGamal (not DSA o... |
I have been learning about the fundementals of ECC and I'm a bit confused on this point: What makes up the public key in an ECC key exchange, and when is this public key generated?
In the video at https://www.youtube.com/watch?v=F3zzNa42-tQ and the StackOverflow Q&A Basic explanation of Elliptic Curve Cryptography? , i... |
Doesn't SHA-256 only take up to 512 bits for the input block? What happens if the input is really long?
|
suppose A owns the private key, and its correspondent certificate locates in site of CA.
B request for A's certificate from CA for verifying the signature sent to him/her.
There is an attack exists as follow:
A send message with signature to B.
A send revocation request to CA after confirming the message is successf... |
What is the general purpose of concealment algorithms introduced in https://eprint.iacr.org/2003/050.pdf?
|
The actual question is:
A sender $S$ sends a message $m$ to receiver $R$, which is digitally
signed by $S$ with its private key. In this scenario, one or more of
the following security violations can take place.
(I) $S$ can launch a birthday attack to replace mm with a fraudulent
message.
(II) A third party attacker c... |
From reading the answers on this website, a generic attack is one that works on all block ciphers (e.g., brute force). The slide attack does not work if the round functions are different, whether they are using different round keys, using different round constants, or are different functions altogether. Yet, I see that... |
Not being a specialist in this field, I am nevertheless constantly trying to keep up with which methods are being considered secure for storing passwords and for encrypting data.
During my research and desperate tries to extract the key points which are important for practice :-), I am reading often that certain hashin... |
The notion of misuse-resistant authenticated encryption (MRAE) was defined in the symmetric setting by Rogaway and Shrimpton, along with the SIV mode that achieves it. The idea being that modern authenticated encryption cipher modes require a unique nonce and fail more or less catastrophically if a nonce is reused. An ... |
Is it mathematically possible to adapt a given hash function (f.e. SHA-1 or MD5) so it performs a known number of iterations at once?
Concrete example would be:
data = SHA1_10000(data)
instead of:
for (i = 0; i < 10000; i++) data = SHA1(data)
while resulting in the same output, but being 10000 times faster.
|
I have been researching time-based puzzles. Specifically, computationally expensive algorithms for the purpose of a time-lock. This has lead me to sequential squaring, firstly, as well as some memory-hard approaches and of course trusted third parties. Creating a scheme that cannot be deciphered in N time, though not e... |
Can anyone tell me the specific equations and steps for dividing a point on an elliptic curve by 2?
For instance, I have the point $(P_x, P_y)$, and I would like to find the point $(R_x, R_y)$ which when doubled yields $(P_x, P_y)$.
It was suggested that I use the point doubling equations and solve, but I am looking fo... |
How to find the type of symmetric cipher that was encrypted.
I have ciphertext, plaintext, key.
there is a command in openssl?
|
https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue gives the following example of an ECDSA key:
<ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#">
<NamedCurve URI="urn:oid:1.2.840.10045.3.1.7" />
<PublicKey>
vWccUP6Jp3pcaMCGIcAh3YOev4gaa2ukOANC7Ufg
Cf8KDO7AtTOsGJK7/TA8IC3vZoCy9I5oPjRhyTBulBnj7Y
</Publ... |
I am interested to know if there is a solution to the following scenario:
Assuming we have $n$ party members, is there a scheme that at the end of it, every party member $i$, holds a shamir's threshold share, $S_i$, of the secret $a$ where $k$ of $n$ can reconstruct $a$ using the shamir's threshold reconstruction and n... |
In order to construct a short, yet cryptographically strong verification code, I'm thinking about using the output of several hashes computed over the same data (device uuids + raw certificate data).
Pseudocode:
char *data[] = [clientUUID + serverUUID + certificateData];
uint16_t dataLength = length(data);
char *verifi... |
In BBC’s Sherlock, Season 1, Episode 2 “The Blind Banker”, the Black Lotus crime syndicate uses ancient Chinese number characters to refer to pages and words in a commonly known book (which was currently the A-Z London Guide).
What class of cryptographic functions would this most closely fall under? Is it symmetric/pri... |
I have seen some applications use key expansion when deriving AES-keys.
E.g. the application will generate some random data (e.g. 128bits), then use PBKDF2 to expand it into 512bits (2x256 keys).
Why go through this process of taking a small amount of random and expanding it, instead of taking 512bits cryptographic ran... |
As I understand it, one of the properties required to prove UC-security is simulation extractability. One example is the paper by Kosba et al adapting NIZKs to the UC model, but in their construction the witness is encrypted and the ciphertext appended to the proof, and whoever holds the private key can extract the (co... |
I'd like to encrypt my 12-24 words seed for my bitcoin wallet with openssl command line tool to be able to have it with me on paper without the risk that somebody could use it
Which cipher should I use for the shortest output in base64? The seed consists of just a-z characters and is case insensitive
Main requirement... |
I am trying to generate shared secret from remote EC public key(static) and client EC private key(ephemeral). In this process I am successfully able to generate shared secret using ECDH Key agreement available BC library.My work requirement is to use ElGamal key agreement but there is no specific supported Key agreemen... |
Assuming that the best alternative to complexity is length, how long do you recommend a password or phrase to be when using WinRar?
Note that I'm aware that it's not always that simple, but I would like to get this right.
|
Looking at tls 1.3 draft 23: https://datatracker.ietf.org/doc/html/draft-ietf-tls-tls13-23
Section 4.1.2 shows, for a freshly established connection (no previous session from tls 1.2 or earlier) the legacy_session_id for ClientHello must be a zero length variable vector, which allows a max length of 32.
My interpretati... |
This recent question had me the idea to ask: is there a "misuse-resistant ephemeral key exchange"?
At first sight, this seemed self-contradictary - ephemeral implies there's a random part, while misuse-resistant often implies determinism. But when went through the definitions, this may be workable.
I may be mistaken... |
Telegram messenger's original encryption scheme, MTProto 1.0, has been shunned by most cryptographers for a number of reasons, like being vulnerable to IND-CCA attack; being unorthodox in general, making unusual applications of hashing and key generation/exchange protocols; and not having been created by someone credit... |
In Galois/counter mode, the authentication key $H$ is leaked if two distinct messages are encrypted using the same nonce. If someone did end up doing that, then they would need to rekey to get a new $H$ as $H$ is derived only from $K$. So, why not derive $H$ from $K$ and $N$ (the nonce).
|
By profession I’m a programmer. I don’t know a lot about how cryptographic algorithms are implemented, or even where I’d start, and I don’t know about cryptanalysis, but as I work in Blockchain technology, I know how to consume cryptographic algorithms. One might say I have a passing interest.
One thing that has piqued... |
Recently I encountered an interview question related to XOR and I have no idea how to figure it out.
The question is as below:
The algorithm is: $A\oplus B$ (operation) $C = D$
We have the value of $A$, $B$ and $D$. Please figure out the value of $C$ and the (operation). The $C$ is being dump as per the interviewer.
Is... |
Group Signature schemes are used to provide anonymity of the signers. During signature generation, signers provide a NIZK proof to prove that they are certified group members. Verifiers check whether the proof is valid during verification of signature.
Can we use non-adaptive NIZK proof to prove signer is a certified g... |
I'm working on a small blockchain project and I came across the idea of using zero knowledge proofs to enforce anonymity. I think I generally understand the idea, but I'm unable to find an explanation of a reliable way to implement this system with a protocol like HTTP.
For example, given the classic sudoku example, w... |
I am trying to understand non-interactive zero-knowledge protocols (NIZK). But, I encountered single theorem adaptive and non-adaptive NIZK protocols. According to my understanding,
In adaptive NIZK protocols, simulator ($S$) is divided into two stages ($S_1,S_2$) where in first stage it generates the common reference... |
In a 2048 bit RSA key. Are $P, Q$, exponent $P$, exponent $Q$, and the coefficient guaranteed to be half of the length of the modulus (128 bytes)?
|
In the course I'm studying, if I've understood it right, the main difference between the two is supposed to be that finite fields have division (inverse multiplication) while rings don't. But as I remember, rings also had inverse multiplication, so I can't see any difference.
What is the main difference between finite ... |
Most signature schemes first hash the data and than sign the hash. Correct me if I am wrong: The signature does not prove that the signatory was in possession of the document itself? In cases where the document hash but not the document itself is public, anyone could create a signature for the document without having a... |
Does the existence of a PRF/PRG/one way function imply the existence of a hash function? I did not find a proof of the existence of a cryptographic hash function, so I want to know whether it is based the same axiom (the PRG axiom)?
|
Source:
https://stackoverflow.com/questions/48521925/java-recover-the-public-key-by-only-having-the-privatekey-possible
How to solve this problem programmatically
try {
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("ECDSA", "BC");
SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
ECGe... |
Let $(E,D)$ be a secret-key bit-encryption scheme that is homomorphic to xor, and assume that each bit encryption is of size n (this concerns both fresh encryption and encryptions that have been homomorphically manipulated).
For two ciphertexts $ct$ and $ct'$, we abuse notation and will denote by $ct \oplus ct'$ the c... |
I'm trying to hash two unique strings together to create a hash. The most obvious way would be simply to concatenate the two and run a hash function on it:
hash = sha256(strA + strB)
But I was wondering if this is how most people do it, and if there is a "standard" way of doing something like this in a most secure way... |
I want to save the space signatures take up in a block of Bitcoin transactions. To simplify it, here is the general transaction structure in a block:
message
public key
signature of the message
There are many transactions in one block and I want to save the space the signature takes by using signature aggregation.
Th... |
I'm doing a thought experiment:
Alice chooses a number $a$ and Bob $b$. They send $A(a)$ and $B(b)$ to Charlie. He performs $C(A(a), B(b))$ and gets $ab$.
Do there exist not easily reversible functions $A, B, C$ for which the above is true?
I'm a beginner so I'd be all the more grateful if somebody knows :)
Thank you!
|
Let's say we have a decentralized service S distributed on a network of 1000 nodes/servers. Is it possible to have a registration/sign up scheme using email address as login?
I see two problems:
(Ignored for this question) Probable low deliverability rate for emails sent from nodes of a decentralized network to major ... |
Problem
I want to send a plaintext document between from myself to someone else over an untrusted link. I want to firstly stop third parties from reading the document, I want the receiver to be able to authenticate that any message they receive comes from me. Finally I want the receiver to be able to read the document.... |
I'm currently reading the Princeton Blockchain Book, and came across this concept:
Proof of membership. Another nice feature of Merkle trees is that, unlike the block chain that we built before, it allows a concise proof of membership.
The idea(from what I understood) is that, in the Merkle Tree, when we have a data ... |
Quick question (01): what is the uniform interface for a symmetric block cipher? Is it
$(f:k \to k', enc_{k'}:c \to p, dec_{k'}:p \to c)$ or
$(f:k \to k_e, g:k \to k_d, enc_{k_e}:c \to p, dec_{k_d}:p \to c)$?
Most nowaday symmetric-key block cipher algorithms require only one key schedule to perform both encryption a... |
Developing a wireless home security system based on STM32M0 µcontroller, I'm currently looking for the best way to manage encryption/authentication.
For information, the STM32M0 has an AES hardware acceleration module with main modes.
So , I looked first for AES-GCM as AEAD, but there's too much overhead: my data is ... |
Consider two sets $A=\{a_1,a_2,\cdots,a_n\}, B=\{b_1,b_2,\cdots,b_m\}$; $m,n$ can be different. we can calculate the xor summation of each element's hash value: $XOR(A)=(hash(a_1)\oplus hash(a_2) \oplus \cdots \oplus hash(a_n))$ and $XOR(B)=(hash(b_1) \oplus hash(b_2) \oplus \cdots \oplus hash(b_m))$. Is it possible th... |
I have a question regarding the exchange of the rotors in a enigma machine.
I know that there are 3 slots and that up to 8 rotors can be used in those slots. What I don't understand is, as all the rotors have 26 letters each (they are equal), what is the difference in exchanging the rotors in the slots?
|
I was reading about Luby-Rackoff theorem from various sources: [1], [2], [3], which says you need at least 3 rounds of a $2$-branch Feistel network to get a PRP if the underlying $f$ function is a PRF. I also came to know about the Generalized Feistel Network which has more than two branches.
What will be the minimum n... |
I am an individual who is really interested in cryptography and cryptanalysis. But I am a mere beginner. I am teaching myself mathematical cryptology and python. What more can I do to call myself a(n amateur) cryptographer? Am I in the right track?
|
A very commonly used (examples: HTTP digest auth/CHAP/Kerberos) authentication scheme is something that looks like:
Setup.
Client and server both know a password $p$.
Authentication.
Server sends a random challenge $\alpha$.
Client computes $r = \text{KDF}(p || \alpha)$ and sends $r$ to the server.
Server computes $... |
When using two hash functions, g(x)=SHA-512 and f(x)=MD5
g(x) has 512 bit output (using salt)
f(x) has 128 bit output.
Let's say that z(x)=f(g(x))
meaning the output is 128 bit long.
The Question:
Is using z(x) like using MD5 with salt? Hence, the security level is low.
Opposed to using only g(x) with salt and getting ... |
I'm studying algorithms that solve the discrete logarithm problem over elliptic curve. Reading online, it seems that people use the bsgs algorithm when the order of the curve is "low" and P-rho when it's "high".
But nobody says how much is "low" and "high", where I can find some good estimation?
Is this true?
|
RANDOM EXCURSIONS TEST
--------------------------------------------
COMPUTATIONAL INFORMATION:
--------------------------------------------
(a) Number Of Cycles (J) = 0106
(b) Sequence Length (n) = 10000
---------------------------------------------
WARNING: TEST NOT APPLICABLE. THE... |
According to the answers to a previous question, the 512 version should be faster on x64 devices. And even if it were executed on an x86 (32 bit) device - there shouldn't be such a big difference.
Is there some explanation for this difference? (Or must it be an implementation issue.)
The following code returns almost ... |
I am given that $S_1=(S_1,P_1)$ and $S_2=(S_2,P_2)$ are sources, where $S_1=\{s_1,...,s_n\}$, $P_1(x_i)=p_i$ and $S_2=\{y_1,...,s_m\}$, $P_2(y_j)=q_j$.
I have to find the entropy of $S_{\lambda}=(S_i \cup S_2, P)$, where $0 \le \lambda \le 1$, $P(x_i)=\lambda p_i$, and $P(y_j)=(1-\lambda) q_j$.
I was unable to find som... |
There are several areas in which cryptographic vulnerabilities can be introduced.
Length extension attacks are inherent to hash functions using Merkle–Damgård.
Heartbleed was a vulnerability caused by the specific implementation of a protocol.
Using weak ciphers such as DES is a configuration issue.
Is there a formal t... |
I have an app that uses a different random key for every file that is being encrypted.
Am I correct in assuming that this means that I can safely use a hash of the random key as the IV, because that would also lead to a unique IV?
If possible, I would prefer to not store the IV along with the file for performance and s... |
Before giving a better and detailed description of what I ask, let me first tell why I need what I am looking for: Intel processors already provide instructions (AES-NI) for very efficient AES MixColumns state transformation. Actually existing instruction performs a couple of steps combined at once but it is easy to i... |
Is it possible to break the SHA-512 hash algorithm?
Are there any successful attacks out there?
|
I always hear that if you have the seed then you can easily obtain the key. So, is the secret key just typically an expanded version of the seed? If so, via some key derivation algorithm?
Also, if you can easily obtain the key when you have the seed, why don't we just use the seed as the secret key instead?
|
Putting aside that it may sound paranoid.
I know that many users tend to use the same password on many sites. Then, from an ethical point of view, I should not only be concerned about security breaks that affect my own system, but also how my system might facilitate breaking the security of other systems.
Suppose that ... |
I would like to monitor step by step running of ECDSA.
Parameters I am working on:
The elliptic curve satisfies the equation: $y^2 = x^3 + x + 1$.
I picked up the base point $G$ as: $(0, 1)$
Finally, the modulo $p$ is $977$
My private key is $19$. Thereby, my public key is equal to $19\times G$ and its coordinates ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.