instruction stringlengths 32 27.2k |
|---|
Is there an encryption scheme that provides efficient homomorphic OR operations at the ciphertext space? Of course any fully homomorphic encryption can be used but I do not require or want additional homomorphic operations.
|
I've read in several places:
some of my confusions about DDH assumption - comment by Thomas Pornin on his own post
Is there a key length definition for DH or DHE? - the answer by Tom Leek
that somehow the largest prime factor $q$ of $|g|$ (order of $g$) is assumed to be large enough without actually knowing $q$. How ... |
When I sign a message (which has potentialy low entropy) using a private key and I send it without the original message, can the original message be retrieved from the signature(s)?
I want to prove – over an unsecure channel – that I know a secret password without revealing it.
Could a man-in-the-middle (who does not k... |
I read that the S-boxes introduce the much needed nonlinear behavior to DES. Can someone give me a lay mans explanation of why the effect of the S-boxes is said to be non-linear?
|
I've been searching (unsuccessfully) online for a high-level overview of how LUKS/cryptsetup disk encryption works. I am reading through the cryptsetup source code to try to understand what is going on "under the hood", but my limited knowledge of C (and crypto code in particular) is making it difficult to understand h... |
I'm working on a P2P communications and chat framework, and am looking for a quantum-secure asymmetric key exchange algorithm which I can use to perform a key exchange of an AES-256 bit key. This is an open-source project which will be licensed under GPL-3.0, and I have considered using NTRU. However; I have discovered... |
If I have the key, the ciphertext under AES-CBC and the plaintext, then how can I guess the initialisation vector?
|
What is the currently most efficient (interactive) zero knowledge proof/argument for the subset sum problem?
The most recent relevant paper I have found is Efficient Modular NIZK Arguments from Shift and Product - Prastudy Fauzi, Helger Lipmaa, Bingsheng Zhang, but it considers NIZKs and is quite involved.
I assume the... |
Assume a hash function $H:\left\{0,1\right\}^*\to G$ where $G$ is a group and assume that finding an inverse in $G$ is easy.
How can a preimage efficiently be found using the fact that $H(M_1\cdot M_2)=H(M_1)\cdot H(M_2)$ for $M_1,M_2\neq0$?
I've tried playing around with the group properties but I haven't gotten very ... |
Some time ago, the question was asked in chat, why MTProto (Telegram's protocol) is supposedly worse than Axolotl (Signal's protocol) as both protocols have been the inventions of their respective companies, thereby "rolling their own crypto", which by agreement is bad.
At this point, stating that the protocol is "wors... |
Based on my skimming over FIPS 180-4 it looks like the only difference between SHA-512 and SHA-512/256 is the initial hash value and the fact that the final output is truncated to 256 bits.
My question is: if you have a library that does SHA-512 can you transform that to SHA-512/256?
Like maybe there could be some sor... |
I am doing a little cryptography research and stuck with question.
Suppose $\bar m$ is a vector of 64-bit numbers. And i want to have an additive homomorphic encryption over them. I choose large (2048 bit) prime $n$, large not prime $s$ and vector $\bar r$ of large random numbers, with size of vector equal to vector $\... |
The definition of Paillier Cryptosystem says that it is a probabilistic asymmetric key algorithm for public key cryptography. Can some body explain why it is called "probabilistic"?
|
I am currently looking into RSA and have some questions. I am interested in theoretical answers, assuming there is infinite time for decryption.
Is it necessary to work out the private-key exponent for decryption? Are there no alternative options?
Can a message encrypted using RSA be decrypted using only the public ... |
I am running FindBugs with findsecbugs plugin to scan java code for security issues. I am getting "Cipher With No Integrity" error for a Cipher function implemented with "PBEWithMD5AndDES". The legend says "The ciphertext produced is susceptible to alteration by an adversary. This mean that the cipher provides no way t... |
In PKCS1's Probabilistic Signature Mode you have the Hash and the MGF Hash. Both appear to be, by default, sha1, with the OpenSSL CLI client, however, I can change it to sha256 with the following:
openssl dgst -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 -out signature.txt -sign privatekey.txt plaint... |
Let's take this PHP code. We use libsodium and libsodium-php.
You have $text, $senderPrivateKey, $recipientPublicKey and a $nonce. The latter was obviously created like this by just using Sodium:
$nonce = \Sodium\randombytes_buf($size);
Now this is the code which adds PKCS#7 padding:
/* determine random amount of PKCS... |
I know how to calculate the comparable symmetric strength of an RSA modulus: calculate the running time for a field sieve. This is how NIST gives approximate symmetric sizes for asymmetric algos in their publications: for RSA you can calculate running time of the field sieve:
$$\exp\left( \left(\sqrt[3]{\frac{64}{9}} +... |
I want to implement this credential system: “Anonymous Credentials Light” (PDF). The implementation would involve some zero-knowledge proof and some exponentiation.
For some basic group computations like $g^x$, do people usually just come up with their own implementation or is there some famous library that provides s... |
Can Elgamal be secure in $\bmod {n^2}$? Meaning instead of using a prime order group to use a group where DCR assumption holds?
|
I have a 128-bit input-block and the corresponding cipher-block given.
Additionally I have the last round-key given.
Is it now possible to get (calculate) the associated cipher-key? I already implemented the normal key-schedule with the rcon to generate the round-keys out of a cipher-key (like on wikipedia: https://en... |
I have two encryption schemes $\Pi_0, \Pi_1$, at least one of them is IND-CPA secure but I don't know which one. The task is to construct a scheme $\Pi$ that is guaranteed to be CPA secure and to provide a proof for this.
Despite reading q1, q2 I still don't understand the best way to construct the scheme and how to fu... |
I'm just trying to wrap my mind around the decision to select the 128-bit Rijndael as the AES cipher, even with 192-bit and 256-bit keys. Even with a 256-bit key, you only get 2^128 possible outputs per 128-bit block, thus kind of rendering the larger key size meaningless (not to mention the weaker key schedules).
Was ... |
I'm stuck with this problem: Assume Alice and Bob are using RSA to communicate each other. Given Bob's public key $(217,7)$, Alice send the ciphertext $c=53$ to Bob through RSA encryption. Now, Eve can read the ciphertext $c$, how can Eve decrypt the ciphertext and read plaintext $m$?
|
So I generated 2 1024 bit prime numbers, I generated N and got a 2048 bit number, does that make my encryption 2048 bit or 1024 bit?
|
I'm trying to contrast key rotation requirements for asymmetric and symmetric ciphers.
In the case of symmetric ciphers, we have the results such as the so called "CBC Theorem" (stated on pg. 24 of https://crypto.stanford.edu/~dabo/cs255/lectures/PRP-PRF.pdf)
The CBC Theorem states that for a "q - query" CPA attacker ... |
I'm trying to generate a secret key to be used for HMAC SHA-256 signature processing. I've seen many sample of keys with variable length from 32 characters to 96 characters.
What is the ironclad rule for this key size?
|
I'm currently working on a proposal for some secure complete system and one of the things currently lacking is the database security.
However I don't want to roll my own crypto there and thereby need a secure, somewhat reviewed / standard way to cryptographically secure the databases.
I had a look at CryptDB for this b... |
The first block $M_0$ is one of 64 possible values, whereas the next six blocks $M_1...M_6$ are chosen randomly. The idea is to publish the SHA-1 hash of $M_0...M_6$, wait for the value of $M_0$ to be announced, and then release the original message $M_0...M_6$ - so as to prove that we can predict $M_0$ beforehand.
But... |
With the upcoming sunsetting of SHA-1 by browsers I was checking signature algorithms for sites I visit. I'm using Firefox 43.0.2 on Windows.
I noticed something interesting when I visited the site Origin Energy site: https://online.originenergy.com.au.
The site's (leaf) certificate uses the SHA-2/SHA-256 signature alg... |
I have been reviewing the documentation for SHA256 and I believe the last two words (64 bits) for each chunk are not used in creating the message schedule.
From Wikipedia...
Extend the first 16 words into the remaining 48 words w[16..63] of the message schedule array:
for i from 16 to 63
s0 := (w[i-15] rightrotate ... |
How do I encrypt a 12 character network adapter mac address so i can get in result with a 20 to 25 cipher text length?
|
I would like to provide access to encrypted data through a cloud service provider, using a pay-as-you-go model. This means that we will sometimes need to revoke a user's access to the data. To restrict a revoked user's access, the CSP will re-encrypt the data and send the new key to valid users only through their mail.... |
I have for a while used Koblitz curve (sect571k1), in ECDH and ECDSA. But I have started wonder if it is the most secure. I prefer security over efficiency. So the curve doesn't have to be the most efficiency curve.
I'm not looking for a curve that is only secure today, and the next few years. The compute power increas... |
I'm using this kind of technique instead of padding of cipher buffer (here goes pseudo-code):
struct {
int size; //size of cipher buffer
byte[32] vector; //random IV (block size is 256 bits)
byte[] buffer; //encrypted buffer
}
Cipher data encrypted using block cipher with CBC chaining using IV spec... |
Consider such authentication protocol:
Alice and Bob share a key.
Bob sends alice a nonce.
Alice encrypts it with shared key and sends to bob.
Now assume Alice was successfully authenticated.
But there is such attack mentioned
Trudy can hijack connection after authentication, if she can send
packets with Alice’s s... |
I'm using openssl with aes-256-cbc encryption to encrypt a file. The password is on the first line of the file and the encryption script automatically reads the first line of the file for encryption. Is this procedure secure? OpenSSL stores the salt at the first 8 bytes of the file.
The file looks like this:
1: randoml... |
What is the best practice to accomplish this? For example, let's have an initial value abc123456 and a seed secret_hash. I want to change the initial value once about every hour to a new value and be able to decrypt any future value back to the original one.
Should I use an external known value, for instance time, in o... |
I have a 256-bit seed; call it P. From P, I need to derive 219 256-bit numbers deterministically.
There's a catch, however: I want to derive them in any order. For example, I might need the 7878th number, followed by the 51st number. For that reason, deriving them with a stream cipher is inappropriate for me. Also, if... |
Here's the Wiener's attack as I understand it.
Suppose $n=pq$ with $q < p < 2q$, and $d < n^{1/4}/3$ where $ed=k\phi(n)+1$ and $e < \phi(n)$.
$$\begin{align*}
n-\phi(n) &=n-(p-1)(q-1)\\
&= n-(n-p-q+1) \\
&= p+q-1 \\
&< 2q+q-1\\
&=3q-1 \\
&< 3\sqrt{n}
\end{align*}$$
and $e<\phi(n)\implies ke < k\phi(n) =ed -1 < ed \impl... |
I have a question for a class of secure communication, but I have no idea about how to proceed in order to answer it. I'll be very grateful to whom replies to me.
Assuming that brute force attack with 80bit keys is infeasible, let's compare the security of the Vigenere cipher with the security of the monoalphabetic cip... |
If I create an RSA of 4096 bits, what would be the range of the length in bytes of the public key in DER format?
Also, will the private key always be exactly 4096 bits (512 bytes)? Does the public key length depend on the actual length of the private key, or the length you specified (4096)?
|
I'm designing an API. To avoid abuse, I need to rate limit the requests somehow, but I don't want to do it per user as it's very easy to create new accounts automatically. I think a proof of work algorithm would do this job well, but I thought I would ask an expert, i.e. this community.
These are the properties I would... |
I know very little about encryption, but I was hoping someone could shed light on this cipher text exchange scheme I worked out in my head this morning:
Bob wants to send Alice a message but doesn't want anyone in the middle to discover what the message is.
We'll call the message $p$ and encode it as a number. This is ... |
I was recently working with some ECC crypto and stumbled across the following phrase on the SafeCurves page:
The rational points of a complete Edwards curve are the pairs (x,y) of
elements of F_p satisfying the equation; there is no extra "point at
infinity".
Normally, if you have a point $G$ on a curve $E$ with ... |
If I am decoding a key by applying shares, is it possible to know when the threshold has been reached, and the secret revealed, without having to be told what the threshold is?
Also, is it possible to determine if a share is a "valid" share (ie originally generated by SSS for a given secret)?
|
As we all know for discussion of Dual_EC_DBRG, the point on an elliptic curve Q can be calculated from P and some (large) integer d
$Q = dP$
And we know that knowledge of Q and P is not sufficient to be able to compute d efficiently.
My understanding
I've been hoping to explain why, and I believe that they answer is th... |
I don't know if I've placed the question right, It is half maths, half programming.
I'm writing Schnorr Ring Signatures on Elliptic Curves in Java and I have a problem. I've found scheme on integers and translated it to elliptic curves.
In point 3 on page 11
$R_s = g^a \prod_{i \neq s}(y_i^{-H(m, R_i)}) \ mod \ p$
and ... |
is there some generally available algorithm which will encrypt a short string and generate two unique keys so that any of the two can be used to decrypt the message again? It doesn't has to be "super secure".
|
Okay so I'm trying to derive a child public key from an EC public key. I've come up with a couple ideas and now I'd like to know which is more secure.
Mp: The master key pair, this includes a private key (denoted Mpri) and an extended public key (denoted Mpub, more on this in a second).
i: Some kind of input from the ... |
How do you encrypt $51$ with public key $(n,e) = (91,23)$
I understand that $c = 51^{23} \bmod 91$. How can I calculate the result on a calculator?
|
I've read that RSA is not meant for encrypting large plaintext because:
(Are these also true for other public-key encryptions like ElGamal?)
It is slow.
Padding makes the ciphertext blocks much longer.
No one uses RSA that way; so its security is not scrutinized.
Instead, a hybrid scheme is used, e.g., samoz's answer... |
Let's say I use RSA encryption, it's 2048 bits and I use a simple character padding scheme, every character is turned into a 3 digit number and strung together, then encrypted. Saying that no message will be below 40 characters, ending up in a 120 digit number, how insecure is this?
Edit: The public exponent is as sma... |
Reading through some manuals, wikis and other documentation I'm learning about Merkle–Damgård construction. I understand why padding beginning with '1', followed by '0's is needed, but I can't understand why we're adding length of input in the end. This length-padding is called Merkle–Damgård strengthening. Could anyon... |
I have some backup files encrypted with EFS, but I lost the EFS certificate--thus I am unable to decrypt the files. I understand that EFS uses the user certificate public key to encrypt the symmetric key (not sure how it's calculated) and then attach it to the file so later using the private key you can decrypt the sym... |
From the wikipedia entry on SHA-256 I'm a bit confused about which operations actually go into the algorithm. From the pseudo code it appears the operations are $\texttt{xor}$, $\texttt{and}$, rotate, shift, and addition. But further down it says that $\texttt{or}$ also goes into the algorithm. This description (p 5-6)... |
I'm trying to use super encryption (also known as “multiple encryption”) with AES in CFB mode with IV and password salting and AES in CTR mode both without padding. I first use AES CFB and then AES in CTR mode. Will my approach compromise security in any way, or is it efficient (in terms of resource consumption, securi... |
The crypto_auth function produces a 256-bit HMAC, with a 512-bit version also available. But the crypto_onetimeauth function (and the Box and SecretBox constructions that use it) only produces a 128-bit authenticator. Is there any particular reason NaCl doesn't include a 128-bit HMAC function?
|
Application uses AES in CBC mode with 128 bit key. In this implementation key is always same and is equal to IV.
Can attacker get the key or decrypt data? If he knows:
First and second blocks of plaintexts;
All blocks of ciphertexts.
The software mentioned above is malicious program, it encrypts all office files on u... |
I am using Android's keystore to generate a key which is protected by fingerprint authentication. This key can be used to encrypt any secrets. In my case, I want to encrypt a user password (which is needed to access the app contents. Usually that's a reasonably strong letter-number-special-characters password.). The en... |
That seems like it would be a useful primitive. Using it in place of a block cipher in the Merkle–Damgård construction would give a variable-length hash, maybe without the tricky business with related keys? Using it to hash a key+nonce+position would give you a stream cipher. Though maybe the collision resistance we ne... |
I'm making a REST application and still a bit confused about this issue. basically, to authenticate incoming requests, I give out userId, issued timestamp, expiry timestamp (normally 3 months after issue) and the signature for client to use for next requests. for every incoming requests, server will use userId, issued... |
Let $n=pq$ be the RSA module and at least one of $p,q$ is a weak prime.It is proved that the number of such $1024$bit $n$ is at least $2^{759}$. With lattices we can factor these $n$ in a second (I implemented it). Are you know the methods that are more powerful than this method?
|
Is it okay to make both the IV for AES-CFB and the salt for PBKDF2 public? Does this action of mine compromise security in any way?
I have an implementation of this cipher and had previously asked a question about this cipher on stack Overflow. One of the users who answered my question told that it is OK to make the b... |
I am reading TPM Main Part 1 Design Principles (PDF) which states:
The creation of all nonce values MUST use the next $n$ bits from the TPM RNG.
I do not know what this means, or how to find out what it means. What is “the next $n$ bits”? There is no other comment or hint on this section which might explain $n$
.
|
In AES algorithm why there are 10 rounds for 128 bits
whats the reason behind it like we have in raid storage technology or something else
|
So I think I understand a good amount of the theory behind elliptic curve cryptography, however I am slightly unclear on how exactly a message in encrypted and then how is it decrypted.
So my questions are
How are messages encrypted and decrypted?
How are the public and private keys determined?
Thanks for the help
|
I am Reading RSA and Public-Key Cryptography by Mollin and I can't make out how El Gamal is different from Diffie Hellman Key Exchange. Any thoughts?
|
I am learning the construction of Davies-Meyer to construct a hash function from block ciphers. The definition that I found is
$$H_i=E_{m_i}(H_{i-1})\oplus H_{i-1}.$$
where $E_k$ is a block cipher with key $k$.
My questions are:
1) Who is $H_0$, is the Initial Value (IV) as any hash function, that is Is that value pub... |
I am looking at TPM Main-Part 1 Design Principles_v1.2_rev116_01032011 and on page 69 of pdf, equivalent to page 57 of the document itself,there is comment on physical presence as follows: "Observe, the reverse logic surrounding the use of TSC_PhysicalPresence command. When the physicalPresenceCMDEnable flag is set and... |
Novice here. Is there a MPC function where no information is leaked even if all parties are not trustworthy ?
|
I am developing a software and I am not sure if it is completely secure.
I have 22 Mb of data to encrypt used multiple times,
random IV (generated using RAND_bytes from OpenSSL lib)
and password which is $key = SHA3_{256}(PBKDF2(salt, password, 256000, SHA2-256))$.
SHA3_256 from Qt QCryptographicHash, PBKDF2 and SHA_25... |
I need a cryptosystem that is additively homomorphic. Paillier preferably, but not neccessarily.
Also, for every ciphertext the private key holder must be able to prove non-interactively that the plaintext was non-negative.
In Paillier it is rather simple to prove that the ciphertext is equal to the plaintext. The encr... |
This is probably a simple question, but I haven't been able to see it stated anywhere. Is it possible to directly encrypt a file (of any length) with some form of EC using the 25519 curve.
I know it's common to exchange a key with EC and then use symmetric encryption (AES) to encrypt a file, however I was curious if i... |
I am reading the TPM Design Principles v1.2 §17 and do not feel I fully understand the example they give on how the counters would work.
Apparently monotonic counters are used to prevent replay attacks. I wonder if there is content somewhere, which would explain how a counter like the internal base counter would work w... |
In the articles about cryptography I see the words Hardware implemented and Software implemented. I'm curious to know what is the difference between them?
In the other words, even in the computer when I write a program to do a crypto algorithm, I finally run it on CPU. So why I couldn't call it hardware implemented?
W... |
I have been reading and thinking about timing attacks on cryptographic systems. The answer to this question mentions the following:
"The way to defend against timing attacks is to make sure the time taken to execute cryptographic operations does not depend on any secret information."
My question is, assuming a model wh... |
Quoting from the Million Dollar Curve website:
By using publicly verifiable randomness produced in February 2016 by many national lotteries from all around the world, we propose to generate a cryptographically secure elliptic curve for the ECDH cryptosystem as an alternative to the NIST P-256 and the Curve25519 curves... |
We are working on AES and want to develop a website which should provide an encryption facility but we are not understanding the difference between key and the block size. More appropriately what does a 128, 192 and 256 bit key mean?
|
You may already have noticed that most smart cards ship with 2048-bit RSA support and 320-bit ECC over GF(p) support. You may have already asked yourself "why exactly 320-bit?". Now I remember having read a while ago (I can't find the reference sorry), that you can use the 2048-bit RSA to somehow hack together 320-bit ... |
Considering the following encryption scheme where RSA is used to encrypt a plaintext m and then we choose a random r and compute: $$A = r + m^e \bmod N$$ and $$B = r^e \bmod N$$ So the ciphertext is a pair: $$(A,B)$$ and to recover m we compute: $$m = (B^d - A)^d \bmod N$$ IMHO This scheme has not randomized encryptio... |
I've been going through DES, and I find that most of the blocks simply Reshuffle the input, which may be termed as "Cross Wiring". This include IP, IP-1, PC-1, PC-2 and even Expansion (although this seems to be more useful than the rest).
Why does DES do it? Is it for a reason, or just for fun maybe?
|
So a vigenere cipher's main weakness is that you can use frequency analysis on each alternated alphabet, and thus crack the cipher with relative ease... But that implies that you know what the frequency of the plaintext is.
So what if you hybridized vigenere cipher with some other algorithm that obscured the frequency?... |
My own understanding (possibly wrong of course) of RSA-OAEP encryption scheme is that it provides plaintext integrity (in addition to confidentiality) due to MGF function which for encryption operation, applies to maskeDB sequence which value directly depends of input M (plaintext) message, and is further checked duri... |
I have a problem, If I have $p = \text{P-192} = 2^{192} - 2^{64} - 1$ with the base $2^{64}$
so, $2^{192} \equiv 2^{64} + 1 \pmod p$ the same that $(p=\text{P-192})$
or
$2^{256} \equiv 2^{128} + 2^{64} \pmod p$
or
$2^{320} \equiv 2^{128} + 2^{64} +1 \pmod p$
Could you help me, please? I don't understand for example li... |
A big drawback of end-to-end encrypted messaging services is that, as soon as you lose your device, you lose all your messages. Your private key is gone after all. I was wondering though, wouldn't it be possible to do the following in a chat app for iOS, using certificate pinning and TLS for all communication with the ... |
I'm a little unclear on how hash based MAC works... So I would like to know, is the security of your hash function as important as the security of the overall cipher? Basically, if you can crack the hash, does this compromise the cipher?
I understand that in most situations it isn't particularly feasible to crack eithe... |
In some virtualized environments, the only source of entropy available is CPU timing jitter. Can one get enough entropy from this source for practical uses? Also, is this secure against local side-channel attacks against unprivileged local attackers?
"enough" in this context means "enough to seed a CSPRNG" (256 bits?... |
I am trying to understand the variant of Encrypt-then-Authenticate (EtA) that is used in IPsec. For this I have looked at this chapter.
What I got so far is that the integrity and confidentiality computations cover different parts of the EPS packet. What I don't understand is what exactly is done and how this is differ... |
Is there any way to generate
cryptographically secure
uniformly distributed
floating point numbers in the interval [0,1)?
For example, in Javascript, there is Math.random(), which yields these (pseudo-random) numbers, yet not cryptographically secure.
There are several algorithms at https://stackoverflow.com/ques... |
How to count number of rational points on elliptic curve over binary field?
|
The Blowfish cipher uses a so called F-function which uses S-Boxes (S[i], i=0,1,2,3) to chiffre an integer x, for which I've seen different versions:
source:
uint32_t F (uint32_t x) {
uint32_t h = S[0][x >> 24] + S[1][x >> 16 & 0xff];
return ( h ^ S[2][x >> 8 & 0xff] ) + S[3][x & 0xff];
}
source:
uint32_t F (... |
Is there an encryption algorithm that will produce a public key and a private key such that the public key cannot be generated using the private key.
For example, if the private key is compromised but the public key is not then messages can only be decrypted and not encrypted.
|
What is the default algorithm used by the MIRACL-Library [1] for elliptic curve cryptography systems to perform scalar-point multiplication with curves of Weierstrass form satisfying the equation : $y^2 \equiv x^3 + a\cdot x + b \pmod p$ defined over a prime Field $\mathbb{F}_p$ ?
I can't find any satisfying informati... |
This question, and fkraiem's answer to it, made me wonder about the security and practicality of using "symmetric RSA" to provide a partially compromise-resistant secure channel.
Specifically, assume that Alice and Bob wish to communicate securely over an untrusted network, so that others cannot read or forge their com... |
I read the $K$-Friedman test to determine the period of a Vigenère ciphertext, and I understand something like this:
$K$-Friedman test tries to find out what period of the cipher by calculating some values of $K(C,C^n)n$, where $C^n$ is the ciphertext with $n$ shifts to the left, thereby determining the most likely val... |
Keccak/SHA-3 is new NIST standard for cryptographic hash functions. However, it is much slower than BLAKE2 in software implementations. Does Keccak have compensating advantages?
|
In Schnorr's digital signature protocol (https://en.wikipedia.org/wiki/Schnorr_signature), the signing process (as described in wikipedia) requires the generation of a random bit $r$. I am wondering how necessary it is for this bit to in fact be randomly generated. For example, what if I generate my ith $r$ as $Q(i)$ ... |
I am writing a (high-school) paper on the public key exponent's (in textbook RSA - no padding is discussed!) significance in terms of time and security. The time part is done; as for the security part, so far I have shown example of various attacks that can take place when the public key is low (e.g. $e$ root attack, H... |
MD5 is considered broken and SHA-1 is closely following, but HMACs built around either are still considered relatively secure. It makes me wonder if MD5 and SHA-1 HMACs can be used as secure hashes.
Settle on some constant $C$ that will serve the role of $K$.
Define a new hash algorithm as $H_C(x)=HMAC(C, x)$.
Could ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.