instruction stringlengths 32 27.2k |
|---|
One of the requirements for a function to be a PRP is
For any $K \in \{0,1\}^s$, $F$ is a bijection from $\{0,1\}^n \rightarrow \{0,1\}^n$.
Taken from Wikipedia
Does this have to be explicitly said? Is it even possible for this not to be true for a deterministic, invertible function where the input and output domai... |
I tried a number of different inputs and keys and checked their respective hamming distances after each round. It seems PRESENT has an ideal or near ideal hamming distance (31 to 33) after only a few rounds. Indeed, some of the later rounds have worse hamming distances, e.g. 38 to 41. So why is it necessary to have so ... |
Which encryption algorithms could be used for the following scenario?
A user stores a file encrypted by someone else
Then the user is asked to re-encrypt the file with a new secret
The user stays unaware about the clear text every moment
To achieve that the user can be provided with a kind of "diff" secret, I suppose... |
In SEC 2: Recommended Elliptic Curve Domain Parameters two types of finite fields are utilized - $\mathbb{F}_p$ and $\mathbb{F}_{2^m}$. In the case of sect193r1, $\mathbb{F}_{2^m}$ is the finite field, where $m = 193$ and is defined by $f(x) = x^{193}+x^{15}+1$
In SEC 1: Elliptic Curve Cryptography, the following ASN.1... |
ASN.1 encoding for elliptic curve cryptography is recommended by Certicom, as explained at a related question, covering curves over prime fields and binary extension fields.
I'm looking for known recommendations for encoding curves defined over prime extension fields that are suitable for pairing. At best, generally ac... |
I heard about the problem choosing between ECDH vs. RSA.
But as far as I know, RSA can encrypt the key and sign it.
So for ECDH to replace it it has to do both.
But which elliptic curve is used for that?
|
i was thinked about problem of Cyrpto.
At first glance, it looks like a simple classic password problem, but there are a lot of difficulties to think about the way the two encryption schemes are mixed.
The process is as follows.
First, create a substitution table for 26 alphabets.
Second, we select two key values for t... |
I am doing an example on Weil pairings, and for that purpose I follow the thesis of Alex Edward Aftuck, The Weil Pairing on Elliptic Curves and Its Cryptographic Applications.
By following his thesis, on page #39 he selects 4 points on the elliptic curve $Y^2=X^3+2X^2-3X$ and calculates six divisors from it
as shown ... |
How is it possible to write timing-safe code in JVM-languages (Java, Scala, Clojure...)?
Is it possible to make libraries like BouncyCastle safe against timing-attacks?
I know that even in C it is very hard to get those things right – and in C you can take a look at the resulting assembly-code and at least predict how ... |
I am trying to understand the definition of zero knowledge for non interactive zero knowledge (signature of knowledge). Sometimes I find multi-theorem zero knowledge, sometimes I find single-theorem. What's the difference ?
My main task is to show that a Zero Knowledge Signature of Knowledge which is zero knowledge (fo... |
I am currently reading Cryptography Engineering by Bruce Schneier and Niels Ferguson. There is this chapter about MACs and they recommend HMAC-SHA-256, but with the side note that SHA-3 will be most likely be recommended in the future.
I wanted to google what MACs are currently recommended but couldn't find satisfying ... |
This question has been asked by another already but I can't comment on that.
There is a question in a book:
Find the output of initial permutation box when input given in hexadecimal as:
$\texttt{0x0002 0000 0000 0001}$
How does this input have two 1s at bits 15 and 64?
How do I look into the initial permutation tabl... |
It's well known that AES cryptography algorithm uses Galois Field $GF(2^8)$ multiplication to process the step MixColumn, and each column of the 4x4 matrix on encrypting should multiply the polynomial $3X^3 + X^2 + X + 2$ which is usually notated as an array $\{\tt 0x03, 0x01, 0x01, 0x02\}$, while on decrypting, the ma... |
I've been reading papers on variable sized block cipher constructions based on fixed-length block ciphers, and they tend to focus on increasing the block size. They either gloss over or speak too generally about decreasing the block size. (Or I'm just not getting it, which is possible)
On the Construction of Variable-I... |
Software library without hardware based source of entropy will provide enough security to generate digital certificates. However Hardware security Modules provide hardware based source of entropy and apis to generate certificates along with other crypto operations. But buying HSM just for making certificates will be ki... |
This is a very basic question, but I cannot get it right. I'm working on a basic asymmetric encryption example.
So $(m^e)^d \equiv m \pmod n$
(at least with the premise of m < n, I suppose)
If I choose:
m = 14 (my message)
n = 19
e = 3
d = 13 -- because $3 \cdot 13 ≡ 1 \pmod{19}$
Then I encrypt
$14^3 ≡ 8 \pmod {1... |
I am currently working on a project that requires me to use the HElib library that implements the BGV homomorphic encryption scheme described in this paper. I need to be able to tune the parameters correctly so I am trying to understand the underlying concepts. However, I find the mathematical notation in the paper qui... |
I understand how public/private key cryptography works, and I understand how one-way hashing algorithms work.
I have read through this explanation of how digital signatures work, but something still isn't clear to me. Can someone please help me understand how the receiver of a message that has been digitally signed can... |
Let's assume that for encryption with AES in CBC mode we have $IV\in \{0\}^{113}||\{0,1\}^{15}$.
I know that if we can predict next IV with 100% probability there is attack that completely breaks encryption. Then if we randomly choose IV as prediction, we have $\frac{1}{2^{15}}$ probability of correctly guessing next ... |
So I recently discovered the --s2k mode in gpg.
Sadly it is not very well-documented. I mean, what is s2k even supposed to mean?
Could someone explain to me the purpose and detailed function of s2k?
Is --s2k-cipher-algo even necessary in a symmetric encryption scenario where you define the cipher separately?
What e... |
I have a Rijndael function that I've implemented as a JavaScript port of a C reference implementation in a technical specification for the MILENAGE algorithm (ETSI TS 135 206 V14.0.0 (2017-04)). My JavaScript port works fine, as verified by successful authentication of actual SIM cards.
Instead of using something imple... |
This is more a game theory question, I think that this Forum is the best for this question.
Please also correct me at the following text if I write something wrong. I understand the consensus algorythm (delegated byzantine fault tolerance (dbft)) of Antshares or NEO like this:
Nodes have a voting power and they can vot... |
The wikipedia.org article on Finite field arithmetic provides an example of multiplying $83$ and $206$ in $\mathbb{F}_{2^8}$ with $x^8+x^4+x^3+x+1$ as the reducing polynomial (in fact it is the reducing polynomial for AES). Quoting it:
Multiplying $83$ and $206$, whilst ignoring the carries, yields $16,254$ or (in bina... |
I am trying to find the inverse of a polynomial $3x^3+x^2+x+2$ over the field $GF(2^8)$ with polynomial $(x^4-1 )$
Here is what I did,
$$ \dfrac{(x^4-1)}{3x^3+x^2+x+2}$$
$$ (x^4-1) = (171x+199)(3x^3+x^2+x+2)+ (142x^2+227x+115)$$
$$ \dfrac{(3x^3+x^2+x+2)}{(142x^2+227x+115)}$$
But I can not divide further because 1... |
Given a family of pseudo-random functions
$$\{F_K:\{0,1\}^m\mapsto \{0,1\}^m | K \in \{0,1\}^t \}.$$
I want to understand how the elements behave.
Lets say we take some $F_{K_1}$ and evaluate at $x=(0,\dots,0)\in\{0,1\}^m$, is it true that the evaluation of $F_{K_1}$ at $x$ always yields the same result? Why property d... |
I know that if there are $n$ functions $M_1, M_2, \cdots, M_n$ computed on disjoint subsets of the private database whose privacy guarantees are $\epsilon_1, \cdots ,\epsilon_n$ differential privacy, respectively, then any function $g$ of them: $g(M_1, \dots,M_n)$ is $$(\max_i \epsilon_i)$$differentially private.
This ... |
Is it possible to find the hash algorithm used for a password given that you have the clear-text password and its hash?
The algorithm in question hashes the string 'password' to 'da0feea11db421a7be1173895497e71f', and there is no salt used.
|
I was wondering what will happen if I use the Shamir Secret Sharing scheme with $P$ not being a prime, let's say it is $255$. An adversary which holds $k'$ shares ($k'<$ threshold $k$ ) can attack the scheme and find the secret $S$? If he can attack the scheme, how the attack works?
|
I am trying to implement ECIES (using BouncyCastle and FlexiProvider) across mobile app and server communication whereby the mobile app will encrypt a data and server will decrypt the same. Now how should I pass the public key of ECIES to the mobile app for encryption.
|
I've been trying for a while to access the game information in Smite. That's how I can predict/know what will be released the next update. I have no harmful intentions. Just curious and it's fun.
Smite is created with Unreal Engine 3. In the Cooked folder there is a file called "TgGame.upk". That is where the game info... |
I've been reading up on Argon2 (and, to a lesser extent, other recent password hashers). I'm trying to understand why it won the competition versus the other finalists, like Catena, Lyra2, Makwa or Yescrypt.
Unfortunately, I don't see much technical discussion on the competition's website. It does link to the mailing l... |
Kerckhoffs's principle: A cryptosystem should be secure even if everything about the system, except the key, is public knowledge.
Yet the following are three exceptions:-
NSA Suite A cryptographic algorithms. There is an answer here that implies that the Suite B algorithms are broken therefore can be published so ... |
I am currently working on a project where I want to implement Argon2. The problem is that I dont really know a lot about it. Internet research is not really helpful, because Argon2 is only 2 years old so all that really exists are scientific papers and that GitHub page.
But before I carry on developing with argon2 I ne... |
I have a hash that I know is MD5(MD5(SHA1(SHA1(MD5($pass))))), which I want to decrypt. However I have yet to find any tools which can decrypt this.
Right now my best idea is to write a python script which check the MD5 hash of all possible MD5 hashes against MD5(MD5(SHA1(SHA1(MD5(\$pass))))) to find MD5(SHA1(SHA1(MD5(... |
Suppose we have a DB with n records on it, one of the fields is numeric and considered sensitive (e.g. ID number). If we use tokenization for said field, could we query all records between x and y?
So far the only option I have seen depicted was preserving head and tail as it is and just tokenizing the middle part. I ... |
My friends want to communicate with me using “about.riot.im”, I tried to research them and the protocols they claim to use and I only found their own websites promoting it, so the whole thing seems sketchy to me.
Matrix provides state-of-the-art end-to-end encryption as a
first-class citizen using the Olm and Megol... |
Specifically talking about SHA-256 here and its involvement in Bitcoin, this was a question someone asked me which I didn't know the answer to. Yes, I am aware that SHA-256 can only have a hash from $0$ to $2^{256} -1$, so it is fine for this to be the range for our y. I am asking within the range, is there a guarantee... |
Why it is highly recommended to use a nonce once and only once in SSL/TLS? Same question with key streams in stream ciphers? What sort of attack(s) could take place if ever a nonce/key stream is used more than once? During the SSL/TLS handshake, is the client nonce/server nonce session related or connection related ?
|
On the paper Annihilation Attacks for Multilinear Maps: Cryptanalysis of Indistinguishability Obfuscation over GGH13, authors present, in section 2, an abstract model to analyze security of $i\mathcal{O}$ and current multilinear maps candidates.
In this model, there are two queries that an attacker may do, but I'm now ... |
What are the practical problems of using zero knowledge proofs, for instance in the field of authentication?
|
I am currently working with GnuPG on a new project of mine. It would be very useful to know two things for that, which are not described in the manual:
What is the maximum input size of a symmetric key in GnuPG?
What key derivation function does GnuPG use?
|
So because I am currently working on a Project in which I will use Argon2 I need some answers to questions about the options of Argon2.
I didn't find anything about them.
What exactly does the parallelism option do?
What exactly does the memory option do?
What exactly does the Iterations option do? How does it work? ... |
This term is used in the book Foundations of Cryptography on pg 20 with regard to defining deterministic oracles, but is not previously defined and I can't seem to find a definition online easily.
|
The book Foundations of Cryptography states:
It was understood that problems related to breaking a 1-1 cryptographic mapping could not be NP-complete and, more important, that NP-hardness of the breaking task was poor evidence for cryptographic security.
But I thought the whole point of complexity theory was to deter... |
I have some problems to understand the storage of my private key when a CA generates my key pair. Let's assume the CA creates my key pair, issues the certificate with my public key and signs it with the corresponding private key. So MY private key is first stored at the CA and after issuing of my certificate I will get... |
I should start by saying this question has little to no practical application. It is purely recreational. I am not trying to solve a specific problem, beyond "I wonder…"
If I had an initial input (say 64 bytes long, all in hex) and I had a desired output, is there an efficient way (read: not brute force) to find IV va... |
Is it possible to prove that I have half a key to decrypt file, to someone who has other half, without disclosing my part?
Or better yet, could you suggest a place where I can read about solved and unsolvable practical cryptographic problems like this one?
|
I am quite comfortable about the 128 bits block size mix column operation, the maths behind it and how to implement it.
However, what about the 192 and 256 bits block size? I can't find any paper describing it.
Do you simply do two times the operation? For 192 one full time and one with half the bits being set to 0 as... |
I have a hard time understanding the purpose of ADATA in GCM algorithm. Is ADATA the plaintext itself we would like to encrypt or is it some random data as for the IV ? Otherwise from what I have understood so far, is that one cannot get the GMAC (i.e. Tag) of some plaintext unless he does encrypt it where the cipherte... |
I was thinking about creating a proof of concept for the following type of website login system.
Instead of passwords being used, on account creation, a public GnuPG key is uploaded to the server, and that serves as the main form of authentication for a users account. To login, the user would give their username. The l... |
I'm looking to protect sensitive data from deletion by hosting it on Amazon Glacier.
I'd like to secure that data against possible hacks of Amazon by encrypting it, and I'd like for the data to be secure even if vulnerabilities are found in one of the algorithms that I'm using.
I'm thinking of encrypting the data with ... |
I am currently reading about lattice cryptography and am interested in the cryptosystems based on the LWE problem. I understand the reductions from lattice problems to dLWE. Then we base our belief in the cryptosystem (say Regev or dual Regev PKC) on dLWE. But this is however asymptotic. From what I understand, the way... |
What happens if you use a password longer then the hash of the KDF?
For example in GPG symmetric a password which is 200 characters .
On AES-256 ( I don't know the maximum length of the KDF output).
|
I know it should be impossible (or at least infeasible hard) to extract a ECDSA Private Key from a given Public Key (discrete logarithm problem). But I'm not deep enough into ECC to find an answer to this question:
is it possible/easier to find the private key if the corresponding public key is Zero? (like "0x000...00... |
To generate every possible hash would be ... impractical.
To work backwards from any given hash is also incredibly labor intensive.
Of the two, which is less impossible? Why?
|
This summer I have made a website for my school's NHS program and integrated it with google scripts to automate tasks such as accessing how many hours users have and to allow members to view how many volunteer hours they themselves have earned. The next step I want to take is to automate the sign-in process for each st... |
Is it safe to use ECDH for challenge-response authentication, with server key being ephemeral?
The goal is that server does not store sensitive data (hashes) and allow clients to use additional security if needed (for example generate and store their key in a smartcard and skip key derivation).
Client derives private ... |
If we take every possible hash ($16^{64}$) and rehash it, the amount of possible outcomes for any given rehash is 1 out of $16^{64}$. So, all possible rehashes is equal to all possible unique hashes.
Assuming each rehash provided a unique hash, with no collisions, doesn't this imply any input larger or smaller than 64... |
I'm a pure mathematics student(currently in a Msc program) looking to get into cryptography. I imagine most "regular" introductory books on cryptography would avoid being too heavy on mathematical details due to the target audience. So I'd like to ask, if someone is perhaps able to recommend good books that provide an ... |
It sort of looks like to me that there is a kind of risk mitigation in the architecture of block cyphers vs the xor cypher.
In XOR, the risk is entirely in the random number generator. The XOR operator by itself is perfect, it provides perfect forward secrecy, so if used with perfect random numbers, so the risk is enti... |
I was wondering what the "accepted" way is to describe an adversary who:
is in possession of a quantum computer with which they can efficiently run quantum algorithms such as Grover's or Shor's algorithm.
Is polynomially bounded with regard to solving problems for which no quantum algorithms exist (e.g. finding hash c... |
I'm trying to understand the Bitcoin protocol, and sometimes see instructions like this:
The TransactionId is defined by SHA256(SHA256(txbytes))
or
The hash of the public key is generated by performing a SHA256 hash on the public key, and then performing a RIPEMD160 hash on the result, with Big Endian notation. The ... |
What is the public-key format for ECDSA as in FIPS 186-4, and where is it formally defined?
In particular, are there variants beyond Cartesian coordinates? Is that a pair of bitstrings, or a pair of integers, and with exactly what ASN.1 decoration (if any)? Would the point at infinity have a valid representation (I kno... |
Is there a way (different than projective closure) to obtain inversion free elliptic curve addition formulas ?
|
There were several questions here regarding how surjective SHA-1/2 is, how many values don't have a pre-image from a fixed size input. I and others answered when modelling the relevant hash function as a random function.
The question is can we venture if common hash functions are likely to collide more or less often t... |
As I understood AES GCM mode of operation gets good performance result because parallel execution of both encryption and hashing part.
Why AES and SHA-2 computation cannot be pipelined ?
|
In TLS 1.3, it seems that nonces for AEAD are constructed by XORing the recorded sequence number with the server/client_write_IV (which is generated during the handshake). Thus, nonces are random-looking and cannot be reused as the sequence number monotonically increases.
Why not just use the sequence number? Is there ... |
Given a stream cipher such as Chacha20, which uses a 64-bit nonce, it would be unsafe to use a random nonce because of the risk of accidental repetition (which if used twice with the same key would be disastrous). In environments where using a simple counter is not an option, consider the following construction:
stati... |
I have often read that using RSA for encrypting bigger size plaintext is not good solution.
What I understand is that using RSA encrytion is best for small plaintext and most effective if it is smaller than 'bit size' of RSA. For instance, if I use RSA with a 2048 bit size then the plaintext that I can encrypt must be ... |
Is it mathematically possible to always be able to get the encryption algorithm used to encrypt a certain item (file, number, text, ...etc.) by knowing the decryption algorithm that will be used to decrypt that item, the encryption key (i.e. private key), and (of course) the encrypted item itself? I.e. are all encrypti... |
Is it generally okay to substitute “like for like” in cryptographic protocols?
For example, many lattice protocols use SHAKE and SHA3 for various purposes. However, both of those are relatively slow in software.
If I substitute Blake2X and Blake2b for these respectively, will the resulting (incompatible) protocol stil... |
Hi weve been given the following question in one of our classes but have not been taught anything about it and is worded strangely. It is to show how the LWE problem works by showing how small errors can have a big impact on the result using the two equations below.
$$
\begin{bmatrix}100 & 99 \\101 & 100 \end{bmatrix}\... |
For every PPT distinguisher A there exists a negligible function $neg(·)$ such that for all $\lambda$
$|\Pr[A(1^\lambda, g,g_1^a,g_1^b,g_1^{ab}) = 1] - \Pr[A(1^\lambda, g,g_1^a,g_1^b,g_1^z) = 1]| \leq \textsf{negl}(\lambda)$
where $g$ is a generator of group $G$ of order $p$ where $p$ is a prime of length approximately... |
I stumbled upon the Q&A “Advantages of HS1-SIV over ChaCha20-Poly1305-SIV?” which mentions “HChaCha20” in the question.
Trying to look it up via the usual research sources, I failed to find an according paper handling HChaCha20. The only places where it seems to be mentioned and implemented are some github projects (li... |
I am a Computer Science student and interested to learn Cryptography to be a researcher in this field. I heard that Number Theory is useful for Cryptography since there are some Crypto systems based on it. I really like Number Theory and have started reading Elementary Number Theory by Burton. So far I have been readin... |
Salsa12 is in eStream portfolio. How many random bits one can generate in Salsa12 using single key? Is it $512\times 2^{128}$?
|
So last night my father gave me my birthday challenge. He made a website and asked me to get admin access there. I don't have any XSS knowledge, so I started with SQL Injection. I tried using SqlMap but couldn't understand anything.
I looked for something on HackForums and a guy there gave me something called SQLi Dump... |
I need some help to understand the Ciphers being used by my web server running TLS v1.2.
What I understand is that my web server is configured to use only the listed methods of encryption. I suspect that it is telling the clients that it uses TLs v1.2, but my questions are:
How is DHE, ECDHE being used with RSA?
How i... |
EdDSA (and ed25519) signatures require a scalar multiplication. Currently, I do this directly in Twisted Edwards space. (The code can be found in my crypto library.) My research and my tests suggest it would be quite a bit faster to do that multiplication in Montgomery space instead. This would mean 4 steps:
Conve... |
If I would like to exploit a used key by side-channel attack, one that measures electromagnetic fields, how many runs of the AES-128 do I need to spy on for a successful exploit?
I can't use any programs or software on that device. AES is software implemented. And I try (theoretically!) to spy in a distance of X meters... |
I want to assure integrity and authenticity in data sent trough a TLS channel.
What are the best techniques? For integrity a hash (sha, bcrypt,...) should do the job right?
And for authenticity? Should i use MAC?
Or is it the best way to use HMAC and achieve both integrity and authenticity?
Thanks for your time!
|
I was implementing Fuzzy Extractor on two close (noisy data). It's straight forward to use it to reconcile two close sets as per implementation given in https://www.cs.bu.edu/~reyzin/code/fuzzy.html, given contents of set are decimal number because:
1. It compares sets, hence position of numbers in set does not matter... |
In An Introduction to Mathematical Cryptography Jeffrey Hoffstein et al. claim that "It turns out that if $r_1$ is too small, then there are easy attacks, so we must insist that $r_1>2^n$." Here $r_1$ is the first element of the superincreasing series used in the Merkle-Hellman cryptosystem before it is disguised with ... |
As far as I understand, nonces must not be reused because their reuse allows public key encryption to be broken.
If I use NaCl's crypto_box http://nacl.cr.yp.to/box.html to encrypt two different plaintexts with the same secret key and nonce, can an observer of these messages recover the secret key and nonce?
If so, how... |
I am currently reading the ETSI white paper Quantum Safe Cryptography and Security
On page 24 one finds the following statement:
Lattice problems also benefit from something called worst-case to average-case reduction, which means that all keys are as hard to break in the easiest case as in the worst case when setting... |
OWPs are bijective OWFs, so every OWP is a OWF, but not the other way around.
However, I'm wondering what the relationship between the existence of both types of functions is. Obviously if one assumes OWPs to exist, OWFs will also exist.
But: Does the existence of OWFs imply the existence of OWPs?
|
Às the title already indicates, I would like to know: Are MACs vulnerable to birthday attacks?
|
I am trying to implement an algorithm where the first step is to select "good" bits using the NIST test suite. In particular, I have $k$ streams with $n$ bits each. The original paper Toward Sensor-Based Random Number Generation for Mobile and IoT Devices (PDF) states
For a given bit to be ‘good’, it must pass at leas... |
The title sounds way too adventurous for what it actually is. I am currently building a system which features some encryption. There is already a system in place, which is built after that scheme if somebody is interested in more context: https://stackoverflow.com/a/44925718/5395110.
As a next step I have to plan user ... |
In the Internet-of-Things world there are certain applications that produce very low volume communications. For example reading a water meter once every hour comes to mind. If the reading could be encoded as a 32 bit unsigned integer and adding a 24 bit serial number this device would transmit only about 614 KBytes of ... |
I've just been reading the Why should I make my cipher public? question and answers on this site.
I understand Kerckhoffs's principle, but I'm unsure exactly how this applies to Enigma - i.e. where the delineation is between algorithm and key.
(I feel I should know, but I haven't quite gotten there.) Here's what I thin... |
Section 2 of this paper (page 5 in the PDF) gives a protocol for a zero-knowledge proof to prove Alice has $x$ for $y = a^x \mod p$ to Bob without revealing the value of $x$. The protocol is as follows.
Alice sends Bob $y$, along with the public parameters $a$ and $p$. ($p$ is prime)
Repeat $T$ times:
Alice picks a ... |
I don't think this question addresses what I want to ask. I was taught that the Merkle Damgard scheme worked as in this picture:
Here I assume that we are inserting a pad in filling the last block of the message. Probably, we set a new block if all blocks are full. This is a particular case for SHA1 but I don't think i... |
Does Truecrypt's hash function weaken the security of a chosen cipher cascade?
Considering I want to choose a cipher cascade of 3 ciphers for long term security (50+ years) for my archived data on blu-ray disk. Truecrypt allows me to choose only 1 hash algorithm, but up to 3 cipher algorithms.
Doesn't that make the ha... |
I'm trying to follow this tutorial and wonder how the author get the list of points in the elliptic curve. For example, why when you input x=1 you'll get y=7 in point (1,7) and (1,16)?
on intuitive level, I'll do:
x=1, 1^3+1+1 mod 23
= 3mod23 = 3 so why we get (1,7) & (1,16).
|
Can you please help with the following?
Let $C_1= g^r h_1^x h_2^y$, $C_2 = a^z$ and $C_3=(g^{r'}h_1^x h_2^y)^z$.
Basically, $C_1$ is a commitment on the values $x, y$ and $C_3$ is another, blinded commitment on the same values. $C_2$ is a commitment to the blinding factor $z$ of $C_3$.
We would like to prove in ZK th... |
Suppose that Alice runs a paid archival service.
Bob wants to download a well-known plaintext M with hash H(M) from Alice by sending her the hash.
Alice does not want to send M to Bob without Bob paying and Bob does not want to pay unless Alice sends him the real thing.
Thus, Alice encrypts M with some temporary key K... |
What I want to do is deterministically derive a secure key from an RSA private key, such that the RSA private key cannot be derived from the secure key.
The first approach that came to mind was simply using the private key (or some fixed part of it) as the seed for a PRNG.
Since the output of AES is random, another ide... |
In RFC 2409 and RFC 2412 Diffie-Hellman groups 3 and 4 were defined.
These are groups over elliptic curves based on Galois Fields with and elements respectively.
I know that these sizes are considered as too small for modern cryptography.
But anyway, there is very little info about these groups on the internet. Are ... |
If a variable length CBC-MAC is used with a block cipher (a.k.a. pseudorandom permutation), does there exist a block cipher such that implementation of this CBC-MAC may be used as a cryptographic hash function, provided that k is fixed?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.