instruction stringlengths 32 27.2k |
|---|
As we know, the most used digital scheme in Blockchain is ECDSA. For now, more and more blockchain projects, I've noticed, are considering substituting EdDSA and BLS signature scheme as the new one. Could anyone offer a bird-view about their respective pros and cons if applied in the Blockchain industry?
|
When studying RSA, and proving simple concepts to myself, I went and understood groups and rings, but I failed to understand Lagrange's theorem.
I did understand how from invertible finite groups I could derive Euler's theorem and Fermat's little theorem, etc. But one point remained...
When extracting the invertibles f... |
I am working on some programs that require the users to store their passwords in my databases.
However, due to the fact that I am not sure whether salt should be stored in databases due to my approach:
(1. I am able to create a random string with the help of ASCII table)
(2. I am able to create a unique ID like a rando... |
RFC 4106 specifies about nonce. It contains a salt of size 4 octets and an iv of size 8 octets. Further, RFC specifies that salt is assigned at the beginning of the security associations which is established through Internet Key Exchange (IKE) and salt value is constant. But all most all of the implementations and desc... |
Given $g^a$ in $Z_p$, it is hard to get the solution $a$. Everyone says yes, I wonder why it is hard. Could anyone give a specific mathematical way to show it is indeed hard?
|
I want to generate a 16,8 perfectly nonlinear S-box for an encryption algorithm I am working on. I don't have a background in math, and I'm an undergrad, so a lot of the math involved is very confusing.
I want the perfectly nonlinear S-box to have 16 bits of input and 8 bits of output.
I have been reading Kaisa Nyberg'... |
Assume we have Group G in which the adaptive root assumption holds.
This assumption states that if we choose an element $w$ and after that, if we receive a prime value $l$ it is hard to find the $u$ such that: $u^l = w$
Now suppose I want to prove that I know a $l\text{-}th$ root of an element $w$ without revealing it... |
During WW1 the German ambassador in Washington, von Bernstorff, blamed their numerous transmissions of the same messages as the cause for the successful decoding done by the British. I don't see the reasoning unless the same messages were sent in different codes, but why would the Germans do that? Bernstorff said:
The... |
I am currently working with the NXP NTAG 424 chips, which feature AES-128 encryption.
In the end, one will be able to read an NDEF message; for example, with a smartphone, the backend server will then verify whether the message was delivered.
However, NXP often implies that the UID should not be communicated in the cl... |
If we take two password strings of different length and attempt to bruteforce match them, it is obvious that the longer one will take longer to crack on average. However if we assume that when selecting a password our maximum password length is given ,does it really matter how long the actually selected password is, if... |
When a program is decrypting a message encrypted by CBC mode, what does it find out, whether the last bytes of the last block is part of the padding or part of the plaintext?
Example: Use CBC mode with 4 Byte blocksize and encrypt the following two messages:
m1 = ABCDEF
m2 = ABCDEF22
M1 gets padding and will be "ABCDE... |
I got introduced to the ADFGVX cipher, and it seems very tedious to decipher such ciphertexts. If I do not have access to the key square and the keyword, and I am just given the ciphertext and a string of numbers, how do you decipher it? The columnar transposition is another thing that makes it even more difficult to b... |
After numerous attempts from myself and all of you guys, I finally came to understand RSA. I can now prove it and understand how I got there. But I still have some very few polishing questions.
1) We generate the keys by doing ed = 1 mod Phi. So when mathematically stating the equation, we know, that M^ed = M Mod N. We... |
It got me confused these days when I encountered the notions of zero-knowledge proofs (ZKP) and zero-knowledge proofs of knowledge (ZKPoK). As far as I know, the two terms are not the same, but all the ZKP systems I know so far also happen to be ZKPoK systems.
Can anyone tell me if there is any non-trivial example of ... |
I am coding a java based implementation of the NTRU public-key cryptosystem. I can comprehend the majority of the algorithms involved in the encryption and decryption process well enough, but the key generation process is giving me serious trouble.
I'll briefly go over some basics of the cryptosystem for those that are... |
I read SafeCurves it indicates Secp256k1 is not SafeCurve by their standards but bitcoin and ETH use it in their blockchain.
I researched more and figured out that using Secp256k1 ECDSA(singing algorithm not encrypting)
is safe and has no problem, since those laking standards are not important in ECDSA but are in ECIES... |
As student I've been asked the following question:
Consider the specific prime $p=17$. Determine the single element generators (by hand or by Java program) of $F^*_{17}$. Recall $F^*_{17}$ is the multiplicative group of size $16 = 17−1$ formed by removing $0$ from the field $F^*_{17}$.
Can anyone explain what the ste... |
I'm experimenting with Microsoft SEAL 3.4.5. I've a simple addition, which I run within a for-loop.
for( int i = 0; i < count; i = i + 1 ) {
outfile << i + 1 << ",";
evaluator.add_inplace(current_encrypted, add_encrypted);
outfile << decryptor.invariant_noise_budget(current_encrypted) << ",";
decryptor.... |
Is a cryptosystem perfectly secure if there are at least as many keys as there are plaintexts?
My guess is yes but I am not sure, new to cyptosystems
|
I'm trying to learn about bulletproofs for my master "Enhancing Privacy in E-voting Systems", but the original paper was too hard for me. I also tried to look at this, but it was also too difficult. So, is there and article or a video or blog that explains bulletproofs on a beginner's level?
edit: i found this it is ea... |
Show that if there exists MPC for all same-output n-party functionalities then there exists MPC
for all diff-output functionalities.
|
A few weeks ago I asked about a new symmetric cryptosystem discovered as consequence of some new mathematics work (link here). As per suggestion of commenters, I spoke with a cryptography professor, a computer security expert, and also continued to discuss with different math professors. We have since established the ... |
I thought I understood big-O notation relatively well, but now I'm not sure. In particular, I've seen several posts like this discussing how the discrete logarithm problem is (probably) hard since our best algorithms are exponential in terms of number of bits.
If I understand correctly, to find an $x$ given an integer ... |
My understanding of duplex construction is usually initialized with the key at the beginning of the mode, but I have noticed that TinyJambu (in addition to key intilization) is using key in each processing call (keyed permutation) as shown in figure.
my questions :
Is there a particular advantage of keyed permutati... |
In their paper On the (In)security of the Fiat-Shamir Paradigm, Goldwasser and Tauman show that the Fiat-Shamir heuristic does not work with any hash function. From the paper:
The most important question however remained open: are the digital signatures produced by the Fiat-Shamir methodology secure? In this paper, we... |
So let's say that there are two messages, $x_1$ and $x_2$, which hash to the same output. In other words, these two messages collide with each other:
$$\operatorname{SHA256}(x_1)=\operatorname{SHA256}(x_2)$$
Questions:
Now, let's say I append identical prefixes and/or suffixes to both $x_1$ and $x_2$:
$$\operatorname... |
I can encrypt my files with a symmetric encryption algorithm like AES, or with an asymmetric encryption algorithm like RSA or ECC (I encrypt my files with my own public key). No communication is involved in this scenario. The latter, which one may call asymmetric self encryption, might seem an unusual choice in situati... |
I'd like to authenticate my users without storing their password, even in a derived form with scrypt/pbkdf or other derivation methods.
I'm exploring the idea of encrypting a random payload with AES GCM, and storing it alongside its IV and tag. Then, authentication would simply be a matter of decrypting that payload wi... |
I'm studying possible attacks on CMAC and I've found the NISTSP800-38B document where a list of possible attacks are defined.
However I have some doubts on possible attacks using forged messages. For example:
Considering a key of 128bit and a message of 128bit, is it possible to recover the key (e.g. if the message is... |
this question arised because I'm working with Windows' CNG library and it has 4 functions for RSA:
BCryptEncrypt (private key, message)
BCryptDecrypt (public key, message)
BCryptSignHash (private key, hashed message)
BCryptVerifySignature (public key, signature, hashed message)
So I was wondering, is there any differ... |
I'm trying to understand the DER-encoded signatures for the secp256k1 (ECDSA) curve better, so I have the following data array: 000102030405060708090a, which is a hex-encoded version of an array containing the numbers 0 to 10.
Also, I have the signed it with the following private key: fabb33890c65b059996546344a7e8c5ad... |
I want to be able to have a private user key (system generated) which, if destroyed, effectively renders all user data unrecoverable. This key would be used across the entire system to protect the user's data. Instead of having to implement and maintain integrations across all systems to delete a user's sensitive data... |
In DES, I'm given the following exercise.
- How can I find out which part of the plaintext each ciphertext message corresponds to, and which mode they were each encrypted with?
|
A lot of good information on Kerbero's encryption methods discussed here, but I there is a second question that arises. Does use of SHA-1 in the overall algorithm weaken Kerberos? If so, will security scanners potentially block certain Kerberos tickets that use it?
|
I was trying to understand the Bleichenbacher attack. I went through the paper of Bleichenbacher to understand it a bit more. However, I tried to get some test vectors to simulate this attack locally but couldn't find any.
Can someone please help me in getting smaller test vectors so that I can do some hands-on testing... |
I'm working on a solution where JWE is needed between an Android app and a backend written in Node.JS, using node-jose. I've been struggling a lot since it seems there is no out of the box compatibility between Android - if you want to use the HW backed keystore - and any node JWE library when it comes to the RSA key, ... |
I'm reading Jean-Philippe Aumasson's book Serious Cryptography to learn more about cryptography. On page 37, the author gives an example of Cryptocat's off-by-one error in its PRNG implementation in 2013, as shown below:
Cryptocat.random = function() {
var x, o = '';
while (o.length < 16) {
x = state... |
I'm studying cryptography for my university course, but some doubts arose from reading a book.
In this book the author says:
"Now we present another equivalent definition of perfect secrecy. This is base on an experiment involving an adversary $\mathcal{A}$ and formalizes $\mathcal{A}$'s inability to distinguish the en... |
I have to generate a signature for concatenation of multiple independent values say A | B | C. Two options are :
concatenate all attributes and generate the hash. Then Sign hash.
$$ signature = Sign\big(Hash(A\mathbin\| B \mathbin\| C)\big)$$
Use hash of previous value along with current value to generate the hash. ... |
I am looking at the primal attack against schemes in the second round of the NIST Post-Quantum Standardization Project. The cost of primal attack usually comes from an estimate described in NewHope which says that the error vector $e$ can be found if
$$\sqrt{\beta}\sigma\leq \delta^{2\beta-d-1}\text{Vol}(\Lambda)^{1/d}... |
The random oracle model seems to be criticized a lot as lacking practical relevance, making wrong predictions, being programmable, etc. However, I have never heard such criticism about the ideal cipher model even though the random oracle and the ideal cipher are equivalent. Therefore, the random oracle model and the id... |
If I correctly understand RFC 6979, there is an error in the ref implementation section 3.2.
In the step H2, RFC specification says
2. While tlen < qlen, do the following:
V = HMAC_K(V)
T = T || V
but in Java implementation in the RFC appendix, we found the comparison with rolen
That does... |
In DH key exchange, first, both parties need to agree on a generator $g$ and prime $p$. After that each party computes its key (party A: $g^a \bmod p$) and (party B: $g^b \bmod p$), then they exchange these values to compute the shared secret. Can you please clarify which of these numbers should be random for each sess... |
I am very interested in pursuing a research where I can show an application of Hamiltonian cycles in Cayley graphs of some group such as reflection groups to the field of cryptography.
But currently I can't figure out where the existence of such a cycle will become important in cryptography and how to develop any usefu... |
The NIST and TLS standards for Diffie-Hellman key exchange over a finite field all work in a subgroup of ${\mathbb Z}_p^*$ having prime order $q$, where $p = 2q+1$. On the other hand, DSA has a larger cofactor, i.e., it works in a subgroup of ${\mathbb Z}_p^*$ having prime order $q$, where $p = rq+1$ and $r \gg 2$. The... |
I am on the verge to understanding RSA, but suddenly a question popped into mind. When we are calculating $U(N)$ i.e $U(PQ)$, we are taking invertible elements that are co-prime to $N$. For example, $U(5\times2)$ becomes $\{1,3,7,9\}$. We are ultimately never using the inverses in $U(N)$ in either key generation or enc... |
In a traditional Ceasar Cipher, you pick a specific offset such as "plus three" so that to encrypt each character of a message you count three letters up from the input and to decrypt you count three letters down from the input. For example, "APPLE" would become "DSSOH" where D is A+3, S is P+3, and so on.
I saw a vari... |
I am new to the field of cryptography and security so spare me with this question. What is the general idea of duality and homomorphism of an encryption algorithm? And how one may prove those two properties of a real-world encryption algorithm (e.g:- say for RSA encryption).
|
Lets prime factorize $30$:
$$30 = 3 \cdot 10 = 3 \cdot 2 \cdot 5$$
We see that the number $30$ is a product of $3$ primes. But in RSA, when factorizing huge numbers, we always seem to only get two primes. Why is this??
|
According to this article HTTPS and RSA is the same thing: https://tiptopsecurity.com/how-does-https-work-rsa-encryption-explained/
From other sources I learn that they are both asymmetric encryption methods.
What is the difference between the two?
|
I am trying to understand how E0 Bluetooth algorithm exactly works. I know that $y_t$ is the sum of $x_1$ to $x_4$ and can take values $0, 1, 2, 3, 4$. Also $S_{t+1}$ = $(y_t + c_t)/2$ and can be $\{0,1,2,3\}$. But I don't understand what $z^{-1}$ and $T_{1,2}$ means.
According to the Bluetooth core specification:
$T... |
Since antiquity (and, for ceremonial purposes, up to the present day), physical documents have had seals affixed. In principle, these seals enable anyone, if he knows what he's looking for, to judge the authenticity of a document without consulting the authority that issued it. (In practice, there are ways of producing... |
Say I have a shuffled list that was shuffled in Python using random.shuffle(). The shuffling was performed using a seeded random number generator. Is there a way I can get the original list back, i.e. un-shuffle the list?
eg list1=[1,4,2,5] after seeding random and shuffling list2=[5,2,1,4] is there a way to get back l... |
Given $N(=pq)$, but not its factorization. Somehow you manage to know, that $k$ divides $\phi(N)$. Is it possible to come up with an integer $N^{*}$, for which $\phi(N^{*})=\phi(N)/k$, without factoring $N$?
|
The questions https://security.stackexchange.com/questions/1696/if-someone-breaks-encryption-how-do-they-know-theyre-successful and https://security.stackexchange.com/questions/119887/how-to-know-if-a-file-is-decrypted-or-not on Information Security SE both ask how someone can verify whether they've successfully decryp... |
I used histogram attack on image with embedded text ASCII(LSB-method) and found the chi square value. All observed frequencies more than expected frequencies, that is tipical for empty image, and have almost the same difference. Also the p-value is too big, though the data is embedded. Why do we observe this phenomen... |
I have a couple of questions on ZK-SNARK:
Based on what I understand, a ZK-SNARK is an "Argument of knowledge". That means that it should be equivalent to Sigma Protocols like Fiat-Shamir and Pederson committments, RSA Accumulators, and even attribute-based encryption, correct?
I've read in a few places, like Prof. Bi... |
I am reading the paper - "RAPPOR: Randomized Aggregatable Privacy-Preserving Ordinal Response".
I don't understand how the averaging attack works.
I searched for "average attack" but couldn't find a related explanation.
Can someone explain it to me?
Thank you!
|
lets suppose we have the public keys $(n,e_1)$ and $(n,e_2)$, such that $\gcd(e_1,e_2)=d>1$, and the same message encrypted with these two keys.
I'm trying to see if common modulus attack on RSA can be adapted to these problem where $e_1$ and $e_2$ are not coprime, but I always get stuck at some point where I should c... |
I'm designing a circuit that uses many $GF(2^{10})$ inverters. Normally for this sort of thing I use lookup tables. (Itoh-Tsujii is not efficient for these smaller fields.) This application is for an ASIC so the 1024-deep ROM will be optimized by the synthesizer. However, I recalled that when I built an AES encrypt... |
I know that if $(n,e)$ is the public key in RSA and we also know $d$ the private key, then there is a probabilistic algorithm to factor $n$.
I'm reading the proof from Fact 1 on here.
I understand the proof until it says
"A straightforward argument shows that if $g$ is chosen at random from $\mathbb{Z}^*_N$ then with ... |
I am trying to understand what is the cost of non-membership verification for a universal accumulator?
More specifically, how can I compute it?
Whether using an accumulator is more efficient than the Merkle Hash tree?
|
In the original paper of Pollard's Monte Carlo Methods for Index Computation (mod p):
When the epact is reached, i.e. $$x_i = x_{2i}.$$ then the following equation is formed
$$q^m \equiv r^n \pmod p,$$ where where $m=a_e- a_{2e} \pmod{p - 1}$ and $n = b_{2e} - b_e \pmod{p - 1}$.
with ext-GCD, the Bézout's identity ca... |
I recently discovered shamirs secret sharing scheme. Pretty interesting stuff. I noticed that a common case is to split a secret which is used to encrypt/decrypt something else. For example Vault is sealed with a master key that is split using shamirs scheme.
I thought it might be interesting to split a whole file into... |
When searching by using the Merkle tree, the time complexity is $\mathcal O(\log n)$ but I don't understand how space complexity is $\mathcal O(n)$. In my opinion, it should be also $\mathcal O(\log n)$. Can somebody explain it to me?
|
I'm reversing a cryptographic algorithm. This is part of the encryption function translated to python (starting from assembly code):
cleartext = [ 0x24,0x11,0x33,0x63,0xbc,0x59,0x07,0x5b,0x96,0x4b,0x07,0x15,0x2d,0x23,0x4b,0x70 ]
clearlen = 16
# Init the dictionary
cdict = [ 0 ] * 256
for i in range(256):
cdict[i] = ... |
The problem I'd like to solve looks like this:
There are two plaintexts which differ in length and letters, but contain a few common strings. The first few words and the last few words are the same, and there are some common words in the middle as well (sometimes in the same order). The two texts have pretty much the o... |
I want to use AES-CBC for secure firmware upgrades on a microcontroller, with AES-CMAC for checking the integrity of the firmware image. The AES-CMAC algorithm needs a AES-128 encryption funtion. For the firmware upgrade, I need decryption only. Thus, I'd like to replace the AES-128 encryption by AES-128 decryption to ... |
I'm building an encrypted logging application. Log entries are encrypted with AES-256-GCM, using password-derived keys with PBKDF2.
The application must support log rotation, and I would like to make each log entry "self sufficient". This would allow me to discard previous logs that have already been processed/are too ... |
Suppose I want to encrypt data, send it over the network, and decrypt it on the receiver side.
I know the elegant way to do this is by using a symmetric key to encrypt the data and an asymmetric key to send the symmetric key to the receiver so he can decrypt the data.
But I just read about another way which is to use a... |
If you are encrypting some secrets (database passwords, access tokens, etc).
When it comes to key rotation, you'll need to store those encrypted values twice, for a short period of time (under the old and new keys).
Could the encrypted secrets be stored in two files named after the hash of their keys? maybe sha256?
Or ... |
Here is the quote from P. Rogaway,The security of DESX
"the effective key length of DESX with respect
to key search is at least 55 + 63 - lg(m) bits"
where m is the number of chosen plaintext/ciphertext pairs.
So how can I attack DES-X with roughly $2^{64}$ DES operations assume we have unlimited storage?
I know t... |
In the official documentation for the Noise Framework there is a section with an overview of the identity hiding for each pattern. The numbering of properties there, obviously, from weaker properties to strong ones, and the last property is:
An active attacker who pretends to be the initiator and records a single pro... |
Which security feature is more important in security protocols being used in different applications? Forward Secrecy or Backward Secrecy
|
Suppose a totalitarian government (in the name of anti-terrorism / protection of intellectual property):
has outlawed encryption itself - encryption is only approved for cases where the state has reviewed the design and made sure it can decrypt/inspect the message, and made any unapproved encryption a criminal offense... |
Why the ChaCha20 - IETF algorithm that generates 512 bit keystream per 32 bit counter (that gets incremented), considers "the input words" that form the internal state as little endian ? What will happen if it was considered "big endian" ?
Moreover, we read the byte strings for key, nonce, etc in such a way that we get... |
What is the name of the mode in which we simply change the tweak for each block without the need for complex chaining modes? Is this mode secure?
Are there any other recommended modes for native tweakable block cipher like Threefish?
|
This question is theoretical, but will help with my understanding.
All of my passwords are securely generated using 64 random letters (both uppercase and lowercase) and numbers.
Using the argon2i password hashing algorithm, if I supply this long random password for both the message and the salt, will it still remain re... |
If I use a hash function to construct the commitment scheme, can I say it is perfectly hiding?
$m$ is the message
$r$ is a random value
In commit stage,
$$ c = C(m, r)$$
In reveal stage, by revealing $r$ and verify
$$c = C(m, r)$$
Because there is $m'$ and $r'$ exist for $$C(m, r) = C(m', r')$$
So it is perfectly hi... |
Imagine an $n$ bit to $n$ bit hash function defined as follows: Let $K$ and $K'$ be two random predetermined $n\times n$ matrices. Then the hash function $h$ of an $n$ bit number $a$ would be:
$$h(a)=K\cdot a\oplus K'\cdot \bar{a}$$
Note that addition in matrix multiplication is done on one bit, so it's equivalent to ... |
Some literature about lattices set $\mathbb{Z}_{q}$ in $[-\frac{q}{2}, \frac{q}{2})\cap \mathbb{Z}$ but not $[0,q-1]$ such as "lattice signatures without trapdoors" and "lattice based blind signatures", I don't know the reason. Thank you for explain the reason for me if you know it.
|
Here is my use case:
I need to keep encrypted data in Hadoop. The data is encrypted with symmetric key that is being changed every half a year.
When data is retrieved it should be decrypted.
Lets say that data from 1/1/19 until 6/30/19 is encrypted with key1, and data from 7/1/19 until 12/31/19 is encrypted with key2... |
I have a double-SHA-256 of some text $$ h_2 = \operatorname{SHA256}(\operatorname{SHA256}(m)).$$ I don't need the plain text ($m$), but somehow I need to get first $$h_1 = \operatorname{SHA256}(m).$$
Can I have it ($h_1$) by keep hashing the second one ($h_2$)?
$$ h_1 = \operatorname{SHA256}(\operatorname{SHA256}(...\o... |
Perform DES encryption on the first 64-bit plaintext only, what are these 0's and 1's? Do they mean that I need to use this value 111101 to derive $K$?
I want to know how to use initial permutation to derive $K$ using permuted choice 1 and permute choice 2.
|
I'm supposed make some reductions but don't even know where to start. Any help would or explanation on how to do this would be much appreciated.
|
So I have been reading this book called "Implementing SSL/TLS using Cryptography and PKI" While going through it, this snippet of code got me baffled
static void compute_key_schedule (
const unsigned char *key, int key_length, unsigned char w[ ][ 4 ] ) {
int i; int key_words = key_length >> 2;
unsign... |
I want to implement it on the intelligent contract and then do the development,because use paillier i cant genereate 1024bits key,so i try to find if there is exit a public key encryption system based on elliptic curve with the property of multiplication and addition homomorphism。
|
Is there a way to prove that two ElGamal ciphertexts encrypt the same message with different public keys without knowing the private keys?
The prover is the producer of both ciphertexts.
|
I try to generate other S_BOX for AES but I don't realize how to choose additive constants for S_BOX from decryption if for encryption it is 0x63 why is 0X05 used for decryption?
|
I'm new to blind signatures, trying to understand security notions of it: blindness and one-more unforgeability.
I found out that in the security game for blindness property, the adversary $\mathcal{A}$ interacts with two users (each with messages $m_0$ and $m_1$). Without knowing who signed first, $\mathcal{A}$ gets a... |
I'm creating an implementation of the DCT Steganography algorithm in Java and I'm having a slight problem. When I embed a message into a cover-image, I am doing so by initially obtaining the DC Coefficients of that image for a particular 8*8 block and then replacing the last coefficient equal to either a 0 or 1 dependi... |
I heard that one can predict the output from Math.Random() of JavaScript, but another day I had an idea to combine Math.random() with Math.floor() to make it harder to predict, but a week ago I saw one user claimed that he can predict even if I used Math.floor() and that only takes 14 sample values to do that.
How is ... |
Just a quick question about DCT Steganography. Do you embed the data before or after you send the 8*8 block through the quantization table?
|
I have a question from Stinson: 7.14. The question states:
Suppose that $p > 3$ is an odd prime, and $a,b$ is an element of $\mathbb Z_p$. Further, suppose that the equation $x^3 + ax + b$ is congruent to $0$ ($\mod p$) has 3 distinct roots in $\mathbb Z_p$. Prove that the corresponding elliptic curve group $(E, +)$ i... |
I was watching this class about AES in this LINK and I was trying to grasp the concept of prime fields, which is a finite field with prime order $p$.
The non-prime field part (order is $p^n$) is where it gets harder for me. The teacher jumps into "extension fields", and does not explain the link between it and non-prim... |
In a CL-based or CKS-based anonymous credential system, how can a verifier $V$ prove that a credential holder $H$ has presented it a credential that has been issued by an issuer $I$ without identifying $H$? I could not come up with a simple solution using the anonymous credential.
I think that an additional mechanism ... |
When using RSA-PKCS#1v1.5 to sign and verify a message-digest, is there a compulsory relation between the sizes of message-digest and the key/signature ?
For example, If I use key/signature length of 3072 bits, do I have to use message-digest of 384 bits (like SHA-384), or 256 bits (SHA-256) is sufficient ?
|
I am building an app in which I would like to encrypt user data and support offline login.
From this answer about using passwords for encryption:
Best practice is to use a PBKDF to generate a 'key encryption key' (KEK), then a full entropy random key is used to encrypt the data, and the KEK is used to encrypt that key... |
I am studying the Schnorr Protocol, and I just come up a case.
For example, I am a Prover and have a secret $x$. By using the Schnorr Protocol, I create $h=g^x \bmod p$ and save $h$ to a public place.
When a Verifier needs to prove to the Prover,
Prover sends a commitment to verifier $c = g^r \bmod p$ where $r$ is a r... |
I am wondering if there is any reason to regularly update cryptographic keys, that are used for authentication purposes in a real-time system.
A key should be updated if it is weak, broken, compromised, or leaked. Another valid reason would be a weak authentication scheme. For instance, CBS-MAC is prone to message for... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.