instruction stringlengths 32 27.2k |
|---|
What if I will use 96-bit integer counter starting from 0 as IV for AES256-GCM cipher. Is it safe? Is there any other ways to ensure uniqueness of IV for GCM cipher?
|
As I understand it, homomorphic encryption can be used to keep data confidential while still allowing computations over the data. From another question, I found out that one can also verify the integrity of the computation, (by which I mean one can verify that a returned value is indeed the result of the requested comp... |
GCM specification defines the initial counter value $Y_0$ for encryption/decryption operations as follows:
$$
Y_0=\begin{cases}
IV||0^{31}1 &\text{if len}(IV)=96\\
GHASH(H,\{\},IV)& \text{otherwise}
\end{cases}
$$
I don't understand why hashing with $GHASH$ is used for $len(IV)<96$. Suppose I am using 64-bit determinis... |
Is it possible to prevent length extension attacks without using any other hash algorithm than SHA-1?
|
Is there any conformance tests/sequences to validate AES-GCM & GHASH() implementation?
Details: I'm implementing AES-GSM, that's just for better understanding of that stuff, nothing more. Well I need to validate somehow my result. There is 'openssl' and some python libraries to do encryption but they allow to check onl... |
So let's say you're trying to do SHA3-224.
If you're on a 64-bit machine you'd presumably use KECCAK-$f$[1600]. In-so-far as I understand it'd have the following parameters:
Rate: 448 (2*224)
Capacity: 1152 (1600 - rate)
Rounds: 24
Rotation constants: described in https://keccak.team/keccak_specs_summary.html (last t... |
I ran uuidgen 10k times and noticed that the 13th digit is always 4.
Why is that?
|
Often in analyzing systems, the emulation of Replay Attack becomes important. Are systems that protected against CCA attacks also immune against replay attack, or it is a different criterion?
Thanks
|
For an implementation of ECDSA, I'm considering the risks of publishing public keys together with multiple signatures.
From what Google tells me, a common pitfall is the use of the same random value K for multiple signatures.
My question is; are there any other known risks, or common mistakes, regarding the publishing ... |
Is it possible to add a line to a file which is encrypted symmetrically or asymmetrically (private key refers to readkey below, public key refers to append key then) without decrypting it?
I was thinking about s.th. like:
msg1="hello"
msg2="world"
appendkey=...
readkey=...
file=touch(...)
addLine(msg1, file, appendkey)... |
I am implementing SRP on an embedded platform. It has crypto acceleration and I am using its built in modular exponentiation function, however it doesn't seem to be able to handle an exponent over 32 bytes long. I have an exponent i need to use which is 64 bytes long.
Is there a way to break this exponentiation into ... |
I'm writing an application, which can be used on multiple clients, and share data on a server. To make sure the data never leaves the clients unencrypted, the application should offer encryption with AES-GCM and ChaCha20-Poly1305. Both of them need a nonce of 96bits, and it is recommended to use a counter, to make sure... |
I'm well aware of what NIST and PCI say about the usage of 3DES and its deprecation/disallowance and I also know that AES is the actual recommended standard for software and hardware encryptions.
I'm seeing many companies still choosing 3DES when they could simply go with the most obvious choice: AES. Why do you think ... |
I'm using PBKDF2, and this is my current call.
key = pbkdf2-hmac-sha256(iterations = 100_000, secret = password ++ salt)
I recently learnt that the function I'm calling also takes an optional salt field, and passing the salt instead of appending it gives different answers. Is what I'm currently doing insecure? I don't... |
I would like to have some explanations about Non Interactive Zero Knowledge Proof. I saw with an example how to use the Fiat-Shamir transformation on Schnorr identification scheme to get a NIZK and I understood how it works in the random oracle model.
What I don't understand is how does a NIKZ work in the common refere... |
Alice and Bob publicly choose the messages $M_A$ and $M_B$ and independently sign them (Alice privately signs $M_A$, Bob signs $M_B$).
Now Alice and Bob are looking for a protocol that allows them to:
Make sure the other party's signature is valid (in a malicious adversary model)
Only reveal their own signature if the... |
I have found these notions recently in an article. What is fixed randomness ? What is unfixed randomness ?
Link of the article : http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.431.9034&rep=rep1&type=pdf
Page 8, part 4.1, Encrypt() algorithm.
Thank you!
|
I am unable to convince myself that RFC5649 is secure when storing multiple keys with the same KEK. My point is: RFC5649 uses AES-ECB, therefore the usual weakness of this method applies, namely an observer can deduce equalities among sections of the wrapped keys.
However, the sizes of the wrapped content make it less ... |
I'm trying to understand the implementation of the following function:
Please note questions in comments.
int curve25519_donna(u8 *mypublic, const u8 *secret, const u8 *basepoint) {
limb bp[5], x[5], z[5], zmone[5]; // why 5 elements in each?
uint8_t e[32];
int i;
for (i = 0;i < 32;++i) e[i] = secret[i];
e[0] &= 248;
e... |
I read a ton of articles about the Enigma machine. And the one thing that I can't get is when the first rotor stars rotating.
Some articles says the rotor rotates after the first letter of message has been encrypted. So if the first rotor is set to 'A', the first input would go through 'A', the second - through 'B', et... |
Is it possible to calculate the minimum and maximum value of the private exponent for an RSA key, for example for a 1024 key size? In other words, what is the range of values in which the private exponent can occur?
|
Can SHA 256 be modified to make it vulnerable to length extension attack both by appending text to the front and adding text to the end?
|
What are the reasons that FHE is so slow? Is it possible to make the FHE algorithm so fast that it can be used in practice (say, the practical FHE algorithm should be slower no more than 10 times compared to conventional calculations)?
Or there is some fundamental limitation and any FHE implementations will always be m... |
When learning about cryptography and hashing, I remember seeing a concept where you could hash a number of values (ID's for example) and then validate against the hash, not storing the original IDs. Upon researching this further, I cannot find any concrete examples.
I am wondering if I misunderstood the concept when o... |
My studies in cryptography have been quite detailed so far, however, one area that hasn't been explained to me is how S-Boxes are typically designed. Typically, the S-boxes are provided "as is" by the developers of the algorithm, but I am looking for information on what type of considerations cryptographers evaluate wh... |
I'm reading Rivest's How To Leak A Secret and am on the part where they describe their signature scheme ("Generating a ring signature").
Why is computing $C_{k, v}(y_1, ..., y_r) = v$ easy? The computation seems to be "linear" or single-threaded, i.e. of the form $E_k(y_r \oplus E_k(y_{r-1} \oplus E_k(...E_k(y_1 \oplus... |
I have a primitive $A$ which is impossible to prove under some hardness assumption in a black-box way. Now, if another primitive $B$ is stronger than $A$ - in other words $B$ implies $A$ - will it imply that $B$ is also impossible to prove under the same hardness assumption in a black-box way?
|
If the AES S-Box is replaced with a linear or affine transformation, for instance the identity mapping $\sigma(x)=x$, does the cipher become entirely affine and hence trivially weak?
|
From what I've researched, SHA's hex encoded string contains the characters [a-fA-F0-9]. If we represent it in Base64, it can contain [a-zA-Z0-9+/].
So the number of possible hash permutations are 22^64 and 59^64 respectively.
My question is, while we have infinite permutations for the input text, if the output hash is... |
At a first look, one could use the elliptic curve discrete logarithm problem to grant for the onewayness of $H(x)=x*G$ (where $G$ is the generator point of the cyclic subgroup).
Additionally, $H(x)$ is homomorphic since $H(x+y)=H(x)+H(y)$, which could prove to be a useful property for a hash function in some applicatio... |
GNU libc uses the following pseudo-random number generator: $$(\mathit{state} \times 1,103,515,245) + 12,345 \pmod {2^{31}}$$ where state is the result of the previous call to the generator.
My questions are:
What are PRNGs using this algorithm - possibly using different numerical
constants - called?
Assume that this ... |
In the multi-party communication(MPC), if partyA has the coordinate(x1 y1) and partyB has the coordiante(x2,y2), how two parties can securely compute Arctan((y1-y2)/(x1-x2)) without revealing their coordinates to each other?
|
Let's say my server has a non-constant-time compare function for checking if the visitor has a valid session id. The time it takes for the comparator to run would be very insignificant, usually within 1 millisecond (I've tried to compare two strings that are both 1000 characters long). Not to mention the variance in ti... |
The Setup
I'm making a password manager for fun. It stores a random encryption key, encrypted with a key derived from the master password, and then it stores the data, which is a list of (site, username, password) triples, encrypted with the encryption key. Here, encryption means calling libsodium's secretbox, which is... |
For a hackathon I am designing an information exchange system for healthcare. Healthcare data is stored on unsecured systems. I want to assure confidentiality, integrity and authenticity of this data nonetheless. To allow multiple people to access the same data, I want to use a system like openPGP (without the email/HT... |
I've just made my own implementation of Diffie Hellman in nodejs (its for a project of mine). However the shared keys are integers, I want to use those integers as a key to encrypt data. This is an example output:
Publicly Shared Variables:
Publicly Shared Prime: 9811
Publicly Shared Base: 844
Private Var... |
We are having our P2PE Solution validated against the PCI P2PE standard. We currently use a TDEA 2-key based BDK, and IPEK in both the encryption and decryption environments. ANSI X9.24-1 (2009) states that the BDK can be either 2-key or 3-key and the QSA is insisting that the BDK must be TDEA 3-key as per Appendix C... |
Edit for clarity: Does the "standard" test for initialization of the Linux non-blocking entropy pool, by attempting to read 1 byte from /dev/random, ignore seeding of /dev/urandom from file at boot, resulting in unnecessary hanging of any code that employs the "standard" test?
This article describes the Linux kernel as... |
Consider the trivial Broadcast Encryption Scheme for video conferencing, where each user shares a long-lived key with the broadcaster, and the session key used to encrypt a multicast message (or stream) is sent to each participant encrypted under their long-lived key.
How well does it handle users joining or leaving a ... |
We are working on some tooling. It has a networking kernel.
We would like to think that jitter built into the kernel would help with timing attacks?
Is this true?
|
It seems a lot of crypto-systems that are based on elliptic curves are susceptible to quantum computing attacks.
Hence, what forms of ECC cryptosystems are quantum secure, and how can we prove that?
Is there any good place to start with ECC (before moving on to different adaptations of ECC)? I have seen some resources... |
I want to build a fully open-source open-everything protocol/service for massively-distributed shared storage (P2P). I came up with a suggestion for a proof-of-retrievability scheme, but I would like some comments on it so I figured Crypto.SE would be a good place to start. I am aware the idea is really simple and mayb... |
In one time pad, if $$\text{cipherText1} \oplus \text{cipherText2} = \text{plainText1} \oplus \text{plainText2}$$ then is it possible to find out key by 2 cipherText and plainText's X-or?
|
What is the exact difference between the key update and re-keying? Following the discussions here, I understood that the key update is the process of deriving the new session key from old key. In the case of re-keying, the new key is independent of old key. My questions are as follows:
Can key-update protect future me... |
I heard that random masking method requires a random number whose length is as long as a message to be sent, but I’m not sure that. So, I'd like to ask about that.
1. Boolean masking : $ x_i \oplus r_i$
Assume that a message is $ (x_7, x_6, \cdots , x_0)$ where $x_i$=0 or 1. Then, a random value of 8 bits is required!... |
As I know CBC does not provide integrity for the message, thus HMAC is used to provide integrity for CBC message. Also, I hear about CBC-MAC which can provide integrity and confidentiality. Which one is better CBC-MAC or CBC with HMAC?
And when do I need to use CBC and HMAC?
|
I tried to change my implementation of pairing in curves $y^2 = x^3 + 1$ to use curves of the type $y^2 = x^3 + x$ but it didn't work.
I thought the only thing I had to change in my code was the irreducible polynomial and the transformation of points for the pairing. So I changed my polynomial from $x^2 + x + 1$ to $x... |
I understand what a linear operation is and what a non-linear operation is, but I would like an explanation of specifically how a non-linear operation on input data mitigates differential crytanalysis attacks. Please note that I am asking this question in the context of developing a cipher rather than simply understand... |
I am implementing the following the algorithm instructions as shown in 1 (section IV, B).
When trying to verify the share given the commits, $a_jG$ verifier $i$ checks whether $f(i)G=\sum_{j=0}^{t} (x_i)^ja_jG$.
The phrasing of the verification is unclear to me, on the left side of the equation there is a scalar on the... |
I would like to provision services from a Software as a Service (SaaS) provider. This is multitenant environment (multiple companies will be using a single instance of the application, with a single database, running on the same hardware and same OS).
Our company has a requirement to encrypt our data at rest (e.g. file... |
As far as I know there are two padding mechanisms, which are PKCS 5 and 7. Which one should be used for CBC?
|
I want to provide confidentiality and integrity for a protocol. I don't want to encrypt the entire protocol message. I do not want to encrypt the header and timestamp of the protocol message, but I want to have the integrity for the entire protocol message. Thus I do the following:
1- encrypt the message except for th... |
Based on this, it looks like something slightly wrong. What would need to be adjusted at the transmitter side to allow the receiver to decrypt the message/data?
|
The 6502 is the CPU in a Tamagotchi (which can be hacked to run custom code). SHA-1 is the default hash used for TOTP (the algorithm used by two-factor authentication tokens and apps). Hopefully you now understand why I'm asking this.
(given this context, this would be a couple dozen bytes of input, and less than a sec... |
Can someone give me an example of an attack on a message exchange using this encryption scheme, that uses the homomorphic property?
In my opinion, Existential forgery under directed message attack uses malleability. Can someone explain it in more detail?
|
I am trying to understand how to apply a multi-trapdoor commitment described by Gennaro and what makes them secure against a concurrent MiM attack.
There are two ways to construct a multi-trapdoor commitment scheme: one based on the strong RSA assumption and one based on the Strong Diffie-Hellman assumption.
For the p... |
There have been comparisons between RSA and ECDH with regards to the number of qubits required to break the algorithm with a specific key size. But how many qubits are required to break "classical" Diffie-Hellman (DH) over a multiplicative (finite, cyclic) group?
This would for instance be interesting for stored DHE T... |
I ran and timed an implementation of the Weil pairing on three set of parameters. One with an order of 512 bits, one with 256 bits and the last with 161 bits.
I took the Miller's algorithm to compute the Weil pairing. The algorithm that I used for the multiplication of 2 points is the double-and-add. Both algorithms ha... |
Is there any hash function where both $\text{hash}(m\|k)$ and $\text{hash}(k\|m)$ are vulnerable to length extension, but $\text{hash}(m)$ is itself secure?
|
XOR already provides perfect security in theory but it's hard to apply it in practice due to strict requirements. I was thinking about whether simple addition/subtraction in integer format would not be more practical to use while also providing perfect secrecy.
Ex:
"9" will be the plaintext and "1" will be the secret... |
I'm currently trying to learn how rainbow tables work for a personal project of mine, but I am a little bit confused on how passphrases can be found. Here are the steps that seem do this, from the sources I have looked up online:
Take words, in this case passphrases, and hash them using a hash function
Reduce the hash... |
I want to implement AES-128 in my IoT network which consists of a Master device which runs Linux on it and slave devices which are 8-bit micro-controllers that periodically transmit data packets to the master.
I read about the AES/Rijndael algorithm and liked it.
The only questions I have are:-
What should I set my IV... |
I know that there are approximately 2^88 different permutations of 26 characters. The stream cipher A5/1, which generates a binary keystream using three irregularly clocked LFSR, and has a 64-bit key.
If we consider 1 000 characters of English text encrypted using either
a substitution cipher or encoded in ASCII and... |
I am giving a presentation in my college where hill cipher is a part of the presentation. I just wanted to know, how is the hill cipher key matrix is exchanged securely in order to decrypt the message?
|
I am testing my sequence for randomness using Dieharder with a command like dieharder -a -g 202 -f in.txt >>result.txt
my in.txt looks like
#==================================================================
# generator mt19937 seed = 316179543
#==================================================================
type:... |
We have SampleLeft function in lattice trapdoors as
Algorithm $\textbf{SampleLeft}(A,M_1,T_A,u,\sigma)$:
$\textbf{Input}$: a rank $n$ matrix $A$ in $\mathbb{Z}^{n×m}_q$ and a matrix $M_1$ in $\mathbb{Z}^{n×m_1}_q$ , a “short” basis $T_A$ of $\Lambda^{\perp}_q(A)$ and a vector $u \in \mathbb{Z}^n_q$, a gaussian paramet... |
Is Fully Homomorphic Encryption or Partially Homomorphic Encryption or Garbled Circuits used in practice? Or is an alternative used instead (I don't mean encryption just for storage here)?
|
The Wikipedia article for the AES S-Box gives an alternate equation for the affine part of the S-Box transformation:
$$b_{out} = (b_{in} \times 31_d) \operatorname{mod} 257_d \oplus 99_d$$
It is not very clear in the article, but it turns out from the paper (as cited in the article) that the multiplication is to be car... |
Typically, CBC-MAC is a secure MAC for fixed length message if the construction uses a pseudorandom function. However, for a secure MAC, we can use a keyed function that is not necessarily pseudorandom. For example, the generated tag of this secure MAC can be the output of a pseudorandom function (F) appended by a stri... |
Is it secure to use Salsa20/ChaCha as the key schedule for a 512-bit block cipher using a public permutation in Even-Mansour construction?
|
I'm working through Boneh and Shoup's "Graduate Course in Applied Cryptography", and have just finished reading the chapter on stream ciphers and PRGs.
The first exercise for this chapter introduces the notion of semantic security of a cipher for random plaintext messages. Formally, for a cipher $\mathcal{E}=(E, D)$ de... |
I would like to publish on github a full set of ansible playbooks.
Some files contains sensitive data, so I have 'vaulted' them, encrypted.
You can find the format description here and some relevant usage documentation here and there.
I am surprised that the same string can be encrypted in more than one way.
realtebo@... |
Here is the question I am dealing with. I have some sort of a solution but I need more specific results. If someone can help I'd appreciate:
Given 3 maximum length (max period) LFSR's of lengths L1,L2,L3 which are clocked simultaneously and L1,L2,L3 are pairwise relatively prime. The output sequence is the output of ... |
I used RSA to provide confidentiality for a protocol. As I know the public key of RSA has two values: $e$ and $n$. Of these two, $e$ usually has value 65537.
When the public key is sent, does the sender need to send $e$ and $n$ or just $n$?
|
Let $E = (E,D)$ be a Shannon cipher defined over $(K,M, C)$. Consider a
probabilistic experiment in which $k$ is a random variable uniformly distributed over $K$. Then $E$ is perfectly secure if and only if for
every predicate $Φ$ on $C$, for all $m_0,m_1 2M$, we have
$Pr[Φ(E(k,m_0))] = Pr[Φ(E(k,m_1))]$
I dont understa... |
The Linear Complexity of a sequence is defined as the length of the shortest LFSR that produces this sequence. It also corresponds to the degree of the minimal polynomial ( i.e. the smallest reccurence produce the sequence) of the sequence.
Now consider the sequence {0,1} the degree of the minimal polynomial is equal t... |
I need to provide confidentiality for a protocol. The protocol message size is between 100 bytes to 500 bytes. Do I need to use asymmetric encryption or hybrid cryptography?
|
Given $g,h\in\mathbb Z_p$ where $g$ generates $\mathbb Z_p^\star$ Discrete logarithm problem is to find $z$ such that $g^z\equiv h\bmod p$ holds.
Take the problem given $g,g',h$ where $g^z\equiv h\bmod p$ holds at some $z$ find $h'$ such that $g'^{z}\equiv h'\bmod p$ holds.
If we know $y$ such that $g^y\equiv g'\bmod p... |
Say I have Alice and Bob:
Alice has $XA$, $YA = g^{XA} \bmod P$, $RA$ (random number)
Bob has $XB$, $YB = g^{XB} \bmod P$, $RB$ (random number)
Assume they have exchanged their certificates and they perform the following exchange.
\begin{align}
A\to B&:y_B^{RA}\\
B\to A&:y_A^{RB}
\end{align}
The shared key is $Z_{AB}=... |
As I know the symmetric encryption algorithms are faster than asymmetric encryption algorithms. But when I test GCM AES-128 and Curve25519 encryption time, I find Curve25519 is faster than GCM AES-128.
Is that normal?
Is GCM AES-128 slow?
By the way, I use these python libraries for the comparison:
PyNaCl for Curve255... |
Consider the quantum key establishment protocol. Assume
that bit values, emitter basis, and receiver lter orientation are selected independently
and uniformly at random (i.e., 50% chance for each of the bit values/
bases/orientations).
1)What is the joint entropy of the emitter bit value and receiver bit
value?
My... |
I am wondering if the inversion of multiplication of polynomials is equally hard as the discrete logarithm problem used for key exchange. Or are there algorithms that weaken such an usage. I understand that it is somewhat easy to factorize if one omits the division by an irreducible polynomial.
I cannot find any compar... |
How viable is lattice-based cryptography in a "practical" setting?
It has been said that lattice-based cryptography would be a "post-quantum" cryptography scheme, but is it feasibly implementable?
|
An encryption algorithm is "malleable" if it is possible to transform a ciphertext into another ciphertext which decrypts to a related plaintext. That is, given an encryption of a plaintext m, it is possible to generate another ciphertext which decrypts to f(m), for a known function f, without necessarily knowing or le... |
Homomorphic encryption is a form of encryption that allows computation on cipher-texts, generating an encrypted result which, when decrypted, matches the result of the operations as if they had been performed on the plaintext. The purpose of homomorphic encryption is to allow computation on encrypted data.
I understand... |
The finite field $GF(256)$ is usually implemented $mod$ 0x11b to keep the numbers inside that field.
I understand that 0x11b was picked as it is the smallest irreducible polynomial that is greater than any number of $GF(256)$. This is sufficient for multiplication as any element of the field can be reached by multiplyi... |
Let (s) be a sequence of length n. What are the expected linear complexities of (s) and $(s)^{\infty}$ (meaning that the periodic version of s)?
I have no idea of the answer to this question? What does it mean when it say: "expected linear complexity"? Does anyone have any ideas on this issue?
Note that: for sequences ... |
The Garbled Circuit (GC) is now over thirty years old, and many optimization methodologies have been proposed, including point-and-permute, row-reduction, free-XOR, fixed-key blockcipher, half-and.
But, after Googling papers and forums, I can't find any concrete algorithmic descriptions which includes all of these opt... |
Consider following LFS register (where + denotes addition modulo 2)
I have found the output sequence as 1,0,1,1.
I know that The K(s) of a string s is defined as the length of the shortest computer program that generates s and given a non-negative integer c,s incompressible if K(S)>= |s|- c.
My question is:
Is the ou... |
As I understand it, all ARM processors based on the 32/64-bit ARMv8-A architecture (and more recent iterations) support hardware-accelerated AES instructions.
Under Linux, the feature flags in /proc/cpuinfo are supposed to include aes for ARM processors which support these instruction (also pmull{2}, sha1, sha2 for oth... |
This is a garage made encryption scheme provided as cryptanalysis practice during 34C3 CTF.
The challenge is done under the following assumptions
All Mersenne twister instances are MT19937 64bit version
All calculations are mod $2^{64}$
Vector here means a Matrix of dimentions $N\times1$ not to be confused with vector... |
From view-source:https://web.archive.org/web/19990224060310if_/http://www.cl.cam.ac.uk:80/PGP/pgpdoc1/pgpdoc1_29.html:
When I was in college in the early seventies, I devised what I
believed was a brilliant encryption scheme. A simple pseudorandom
number stream was added to the plaintext stream to create
cipher... |
I want to have a source of randomness for which:
no one but me can predict the next number in the sequence.
I know the entire sequence in advance, but I have no way of manipulating it once the first number in the sequence has been shared with others and everyone can verify that this is the case.
it's okay for this seq... |
I don't exactly know what I'm searching for but the scenario is at follows. Alice and Bob want to get married. According to the law, they have to make a set of medical investigations. Bob must show his medical results to Alice and Alice must show Bob her medical results. After that, they both need to go to a doctor tha... |
All of the AON transforms I've read about involve generating a key, which increases the message by a few bytes. Is there an AON transform that preserves the message size while still having avalanche properties?
|
Say you have a message and you run it through an all-or-nothing transform. A transform that requires every single block in the correct order in order to recover any data. Each block is indistinguishable from random noise. Now shuffle them using a seeded crypto RNG.
Say the transform gives you at least 34 blocks (whic... |
Is it safe to re-use my username and password as information for the 2nd-factor?
For instance:
the first factor is the username and password;
the second factor is $H(H(username) \oplus H(password \| SK))$ where $SK$ is the private key.
Would this scheme be secure?
|
Regarding GCM, NIST specifies the following:
The total number of invocations of the authenticated encryption function shall not exceed $2^{32}$, including all IV lengths and all instances of the authenticated encryption function with the given key.
In another thread on this forum, @Lery suggests deriving session keys... |
Is there an asymmetric algorithm where it is not possible to extract a public key from private key? So far any algorithms I tried (dsa, rsa, ecdsa, ed25519) successfully recover their public keys from private ones with 'ssh-keygen -y -f private.key'.
|
From my understanding, random oracles (hash functions) are used in the Fiat-Shamir heuristic to generate non-interactive ZKPs. I think I have a good grasp of how interactive ZKPs in this scheme work, but I am still struggling to understand how proofs can become non-interactive, from a high-level perspective.
In the Ali... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.