instruction stringlengths 32 27.2k |
|---|
For unknown group order such as RSA groups $ G %$, it takes $T$ sequential steps to compute the below function (time-lock puzzle).
$$ y = g^{2^T} mod N$$
This paper states that if $ /Phi(N) $ (Group order) is known, it takes only two exponentiation to compute $y$.
$$ e = 2^T mod |G| $$
$$ y = g^e $$
I am not sure I und... |
I am trying to build a simulated enigma machine.I am basing it off of this one https://www.101computing.net/enigma-machine-emulator/
I have setup the 3 rotors and I am having trouble understanding the rings and rotations. For example I have set the rotors to III,II,I with the 3rd rotors having a ring setting of AAB. If... |
I realize this depends on my implementation and the implementation of the libraries I use. I am asking about my process assuming that the encryption libraries and my code are not flawed/compromised, the user's password is secure and the machine is not compromised.
The goal here is to protect the confidentiality of the ... |
In key agreement (or key exchange) protocols, is used signature for authentication. Suppose that key exchange protocols execute on elliptic curve. The initiator of protocol must sends signature of his message with main message. What happen if the curve used in key agreement protocol also used in signature inside of pro... |
My question is very basic one. Suppose $a_0, a_1, a_2, a_3, a_4, b_0, b_1, b_2, b_3, b_4$ are $10$ uniform random variables from $\{0,1\}$ independent of each other. Now there are expressions of the form
$a_4b_4 + a_3(b_0 + b_2+1) + b_3(a_0 + a_2 +1) + a_1(b_2 + b_4) + b_1(a_2 +a_4)$
$a_2b_0 + a_1b_1 + (a_0 + a_2 +1)b... |
There is a proof sketch in Introduction to modern cryptography that a three-round feistel network using pseudorandom round functions is a secure pseudorandom permutation PRP Πk against probabilistic polynomial time adversaries which have access to Πk. Now my confusion is to turn the proof sketch into a formal security... |
Is there any concrete group in which one CDH is exponentially easier (even it's still hard) than DLog.
|
Given the following information:
"curve": "P-256",
"qx": "729C51D177EBE2079A0FB7B0B3C2145159CF81EC61960E642A1744719AA9F913",
"qy": "8C36BCF51475016E614F8C7E0CB1B37C7EA65B4ECCF809852C9B2D0E438710BD"
The above coordinates are supposedly valid as per the test vector expected results:
"testPassed": true
I need to determine... |
I've been trying to get a grasp of how the Signal protocol works. According to the spec, DH is done on four keys: IK_A, SPK_B, EK_A and IK_B:
If the bundle does not contain a one-time prekey, she calculates:
DH1 = DH(IK_A, SPK_B)
DH2 = DH(EK_A, IK_B)
DH3 = DH(EK_A, SPK_B)
SK = KDF(DH1 || DH2 || DH3)
G... |
I want to find the curve points that intersects an arbirtary line,
not just tangent line or a line through curve points.
An example:
p = 1303
b = 7
input : arbitrary points : (1, 1),(2, 2)
output : curve points : (319,319),(356,356),(629,629)
(319,319) 319^3+7 ≡ 319^2 ≡ 127 (mod p)
(356,356) 356^3+7 ≡ 356^2 ≡ 345 (mo... |
A message, m is encrypted using a private key d.
p = prime()
q = prime()
e = 65537
c = pow(m, e, n)
PHI = (p-1)*(q-1)
d = mod_inverse(e, PHI)
Assume all these values are known to the attacker, except for the message (m) and ciphertext (c).
Is it possible to find an alternate value for d such that:
c ^ d_alternative %... |
As my survey, most of(I am not sure if it is "all") the constructions of VRF are instantiated with the use of pairing. Can we construct a VRF without using pairing?
|
I am creating a simple Sign up and Sign in form using PHP. At the sign up, I create hash using password_hash() function and then store it in the DB. At the time of Sign in, initially what I did was created a new hash using password_hash() function again and then compared it with the stored Password hash.
This failed al... |
I am trying to figure out how to complete RSA manually. I am trying to encode a simple block message (Mi). I used CrypTool to determine the encryption. When I "manually" computed the plaintext, I obtained a different number than what CrypTool provided. Can someone guide me? Am I doing the manual encryption for RSA... |
I am attempting to manually encrypt a plaintext message (message = MI) using RSA.
I receive an answer of: 33,264 and 21,164.
When I enter the same plaintext into CrypTool to confirm that my calculations were correct, I receive a different answer:
What am I doing incorrect? How can I obtain the same result as CrypTool... |
Let $n, q, \sigma$ be the polynomial degree($x^n+1$), coefficient modulo, and the standard derivation, respectively. I often see some parameters such as
For RLWE, we can use the CRT to decompose the $\text{RLWE}_{q}$ to some $\text{RLWE}_{q_i}$ for $1\leq i\leq l$, where $q = q_1 q_2\cdots q_l$, then when we consider ... |
While reading about mining in crypto currency, I found that it requires some leading bits of a hash function output to be 0. This boils down to preimage resistance of the hash function, hence done with exhaustive search.
My question, say I have an ideal hash function that gives 128 bit output and I want leading 4 bits ... |
Question
I seek a quantitatively better proof of theorem 13.11 in Katz and Lindell's Introduction to Modern Cryptography (3rd edition) (or nearly equivalently, theorem 19.1 in Dan Boneh and Victor Shoup's freely available A Graduate Course in Applied Cryptography). The proof is about the Schnorr identification scheme f... |
While reading the paper
2020 - Non-Malleable Codes for Bounded Polynomial Depth Tampering by Dana Dachman-Soled and Ilan Komargodski and Rafael Pass
I stumbled upon the case in which it was necessary to state whether the authors were assuming uniform or non-uniform attackers. For what I know, non uniform PPT are basi... |
In practical applications, elliptic curves over $F_p$ seem to be more popular than those over $F_{2^n}$. Is it because operations over prime fields are faster than those over $F_{2^n}$ for the same security level?
Maybe it is my imagination. I just see many more open projects using elliptic curves over $F_p$ but not as... |
The Oracle database has a feature known as "Native Network Encryption".
It is a protocol described as a 4-step procedure.
Step 1 : Negotiate parameters for following steps
Step 2 : Exchange a symmetric key via Diffie-Hellman
Step 3 : A step described as an "Authentication fold-in"
Step 4 : Ciphered communications usin... |
Assume there is an RSA public key $(e,n)$ such that factarization of $n$ is unknown to both prover and verifier parties. We also have a prime order group $G$ and a generator $g$ for the group. For $m\in QR_n$, is there a zero-knowledge proof protocol to prove that $C_1=m^e$ and $C_2=g^m$, for public values $(C_1, C_2, ... |
I have been reading some papers to find a 'faster' way to compare two integers without revealing their real values. But I think I'm a bit lost in those papers due to my limited knowledge in cryptography. There are some papers comparing the efficiency of HE based/ GC based/ OT based protocols, for example https://eprint... |
I am currently implementing some QKD protocols using Qiskit and I came up with the following question: After the protocol is finished, a true random password is generated using 0s and 1s, however, and here my question, do these passwords need to be converted to another base? Maybe hexadecimal? Or are they used as they ... |
Lets say Alice has a list of values, and Bob sends Alice a Merkle root that he claims is for this list of values. The Merkle tree construction algorithm is mutually known of course.
Alice can then pick arbitrary values from the list and ask Bob for their Merkle proof.
Lets say Alice wants to avoid constructing the whol... |
I want to find an encryption algorithm which provides the functionality described below.
Given a key (a vector Vkey) and a data (an image), use this key to encrypt the image; the encrypted image can not be identified afer encryption.
When decrypt, if:
use a key = Vkey to decrypt, the decoded image is the same as origi... |
As I am going through the “Fast Multiparty Threshold ECDSA with Fast Trustless Setup” paper by Gennaro & Goldfeder, 2018, I am stumbled by the key generation protocol (Sect. 4.1, p.10):
In Phase 1, they create a (commitment, decommitment) pair using a commitment scheme. Earlier in the paper, they mention that “in prac... |
The problem I'm trying to solve:
Identifying the cheater in (3,5)-Shamir's secret sharing when we can see only the 3 shares that were given to the system in the secret reconstruction process, and we can inquire the 3 people who inserted the shares into the system(they don't know what the other people inserted).
Also, w... |
The Efficient Verifiable Delay Function paper suggested that there are two ways to construct the group. One of them requires a trusted setup in the sense that whoever constructs the RSA unknown group order needs to destroy the factors otherwise fake proofs of exponentiations can be constructed.
Another way is using a c... |
Imagine a scenario:
Alice and Bob want to use a platform where they log in using email and password. The platform can be accessed on desktop and mobile devices.
Alice would like to store encrypted information in a database or send encrypted files to an S3 server
Bob will be able to fetch this encrypted information (da... |
So if we look here, it shows that libsodium uses three 3 different algorithms for this, which sounds weird to me, cause nothing indicates that anything besides Curve25519 is used in those specific functions (the boxes specifically take private and public keys and nothing indicates there is any key generation for XSalsa... |
We are building out data masking framework mainly to mask PIIs. Our scale is pretty large, and masking will be done at ingest time, so we want the masking to be done in a very performant manner. Some of the constraints we have are that we would like the masking to be deterministic and reversible. I have looked at AES e... |
I am developing an application which stores user's private Identity key (ed 25519) on user's hard drive without any security.
What are the best practices / standards to save private key on hard drive, so even if the filesystem is hacked, keys are secure.
|
I have to verify that the user has registered and is currently logged out without identifying the user. Essentially, I am looking for privacy-oriented authorization mechanisms which prevent simultaneous user sessions.
|
I realise that s boxes are able to make the transformations done in AES non-linear. However I am unsure how this makes AES secure.
For instance if we had no s box then it is possible to calculate the key from a set of linear equations:
$C^1=Ax+k$
$C^2=AC^1+k$
...
$y=AC^n+k$
Where A is the linear transformation, k is th... |
Is there an encryption function that preserves the properties of the numbers that are inputted into it?
For example, is there an encryption function that, when two numbers are inputted into this function, e.g., 2 and 4, and those numbers are encrypted using the same encryption key, the raw encrypted output of 2 is alwa... |
We have DCRA and ECSQRT assumptions.
ECSQRT: Square roots in elliptic curve groups over Z/nZ
Definition: Let E(Z/nZ) be the elliptic curve group over Z/nZ. Given a point Q ∈ E(Z/nZ). Compute all points P ∈ E(Z/nZ) such that 2P = Q.
DCRA : DCR: Decisional Composite Residuosity problem
Definition: Given a composite n a... |
So suppose you are doing this locally (so no network noise), and know the exact specifics of your processor too. Is it feasible to figure out the private key (while having access to the public-key) generated by libsodium based on the time it takes to generate a key-pair?
What about other algorithms, how feasible is thi... |
How easy would it be to crack a AES-256 encrypted file, that is protected by a passphrase?
I understand that the trying to brute force a AES-256 encryption key would be on the unfeasible side, even with quantum computing. But what if that encryption key was instead generated from a passphrase? How easy would it then be... |
I am just getting into cryptography and currently learning by trying to implement some crypto algorithms.
Currently implementing the Shamir secret sharing algorithm, what I have noticed is that finite fields keep coming up.
I just don't understand why they are relevant yet.
One thing I see is that they can make sure th... |
First I just want to apologize for my lack of knowledge in this system.
The professor kind of gave us an exercise to solve before even going through the lessons. I tired to look at videos online but what I only know how to use a 64 bit initial key.
initial 56-bit hexadecimal key: 'B092EBA02E3798'
Give the key K16 (on t... |
If a company uses Domain Keys Identified Mail ("sender adds a special signature which includes author name / date signed by RSA Private Key. Receiver verifies the signature by looking up the public key of the sender and ensures that the email's sender name and the date in the regular email header matches the signed nam... |
I found only the abstract and tables of this paper
https://dl.acm.org/doi/abs/10.1145/3409501.3409513
From the abstract
In this paper, the researchers proved that the modified SHA256 is viable to length extension, brute-force and dictionary attacks. Randomness tests also showed uniform random distribution of the hashes... |
I was wondering about the difference between an authenticated dictionary and a key value commitment scheme like KVac.
Are they the same thing or they have different model or definitions?
Thanks
|
I know it's almost impossible to do, SHA256 is a one-way function that can't be easily reversed, just like there are operations that have no reverse, take:
$f(x) = x+5$ , it's easy to see that if you want to revert that you just take the output and subtract 5, you'll get the original input, the reverse would then be $f... |
I apologize in advance for my question. I am trying to make my own simple Secp256k1 calculator, just addition and subtraction, and one thing keeps confusing me. When I add 2 points, and I know what result of addition should be a bigger number than $n$, and as far as I understand, the result should be 0, because it is t... |
We all know that TEE can utilize almost all of the CPU's performance, so its time spent encrypting files using RSA256 is less than that of REE.
But why isn't decryption?
Why does it take more time to decrypt the same file with 256 bit RSA in TEE than in REE?
|
I am successfully working on Shamir's secret sharing scheme for few months. But the only issue I am facing is the calculation of theoretical time complexity.
Since I am from algorithmic background, I am unaware of the time complexities of the cryptographic operations. Although I found a question that discuss about runn... |
First, we consider those hash functions that can actually provide 256-bit pre-image security, and not something like SHAKE128<l=256bits> where the sponge parameters provides only a security capacity of 128-bit.
We know that cryptanalysis doesn't have just a time dimension - it also has a space dimension, i.e. the amoun... |
non-interactive secure computation (NISC) (introduced by this paper, followed by others) is a variant of secure 2PC/MPC defined as the following setting:
Alice publishes an encrypted version of f(*, y), such that Bob or anyone else who knows some x can construct a message m that reveals f(x, y) to Alice (without requir... |
I have been researching SHA algorithms extensively, specifically SHA1, SHA2-256, SHA2-512, SHA3-256, and SHA3-512, and have found many instances of successful collision attacks as well as methods.
In my list are the following:
Brute Force attacks
Birthday attacks
Yuval's Birthday attack (improved birthday attack with... |
Can you explain it in detail ?
|
Referring to https://eprint.iacr.org/2007/168.pdf, is it true that the auxiliary input random oracle model strengthens the RO model captures the fact that an attacker may know (eg. have hardcoded) a fixed amount of collisions and/or preimages?
|
I remember reading, a few years ago, that you couldn't prohibit encryption without prohibiting signing, as you can always make a public key encryption algorithm from a signing algorithm.
(It might be that you can always make a signing algorithm from a public key encryption algorithm.)
Furthermore I remember than this o... |
Performing an ECDH calculation with an invalid public key can leak information about your own private key. With Weierstrass curves, it's important to verify that the peer's public key is actually a point on the curve, and not the point at infinity. (See “Validation of Elliptic Curve Public Keys” by Antipa et al. §3, al... |
Would it be possible to generate an agreed upon public key that has no corresponding private key (maybe by using the latest few block hashes of a blockchain) and then send cryptocurrency to that account to provably make your tokens inaccessible?
If so, this would be a really easy way to implement cross-chain exchange o... |
Background
I am interested in lattice-based cryptography. Recently I got familiar with the NTRU cryptosystem and found out that it can be extended onto hypercomplex numbers, like Quaternions (QTRU) or Octonions (OTRU).
I wanted to prepare a short presentation on how the procedure works so I have first implemented the o... |
Private Information Retrieval (PIR) protocols have been studied for years. The following question only regards to the single server scenario.
Assume there are $N$ items in total on the server side, according to the security definition, it seems that all $N$ items should be "touched" (either in terms of communication or... |
I am using CryptoJS AES 256 encryption:
CryptoJS.AES.encrypt(realData, generateKey(passphrase), {iv: iv});
The secret is generated through:
function generateKey(passphrase) {
const salt = CryptoJS.lib.WordArray.random(128 / 8);
const key256Bits = CryptoJS.PBKDF2(passphrase, salt, {
keySize: 256 / 32,
itera... |
There is a concept of attackers gaining some information before attacking a system and those attackers being called non-uniform attackers. How do the security proofs for cryptographic primitives in the case of uniform attackers and non-uniform attackers differ?
This question is in reference to this paper.
|
In the paper [LPR12], I've learned that ideal lattices are ideals in algebraic number fields. However, I can't understand why we define the dual lattice of an ideal lattice with $\operatorname{Tr}$:
$$
{L}^{\vee}=\{x \in K: \operatorname{Tr}(x {L}) \subseteq \mathbb{Z}\}
$$
In detail, I mean, for any algebraic number f... |
We are looking to perform all the calculations for a Schnorr signature, more precisely EC-FSDSA, (BIP340-Schnorr), inside a secure element, to the exception of the Hash operation that is not supported and must be performed outside of the secure element.
Assuming the signature is the following:
d=private key
R = k.G = Q... |
I'm working on a challenge at school on Internet, to learn programming and all security issue: "An api request is protected by checksum" and we have to bypass this. The checksum format is really weird; I've never something like it before. I think it convert all the string in an array of bytes, after that I don't know.
... |
I'm working on a project that needs an OTP based on counter value and needs some advice.
Suppose we encrypt the counter value C in this way and let's say our sending packet is P = AES(key,C). If counter value C is leaked, will this cause a security problem? I tried to find some papers regarding this but failed.
Thank y... |
I'm learning about Ed25519. It depends on a bunch of magic values: The finite field of order $2^{255}-19$, the specific elliptic curve over that field, a specific point on that curve. This is in contrast to Diffie-Hellman or RSA.
Why is that? And conversely, why doesn't DH fix the prime number & the generator, or RSA f... |
Secure permutation can be used in Sponge and Duplex constructions to build hash functions and encryption. To potentially use them in public-key cryptography, some arithmetic properties is desired.
Can modular exponentiation with a public index be considered a secure permutation? What public attacks are available? Are t... |
I know that the standard DH and ECDH key exchange algorithms require the client and server to agree on a large prime number and a generator (in the DH algorithm) or a curve and a point (in the ECDH algorithm), but if I inspect the SSH packets there is no sign of these shared seeds. How do they get them then?
I checked ... |
This set membership proof is used in P2P networks, when one party possesses a private value, and the other party possesses a set. They would have to broadcast some data associated with the value and set through the network, and any third party is able to confirm that the value belongs to the set. No parties should be a... |
Consider two sets:
The "big set" contains all integers between $0$ and $2^{160}$ exactly once.
The "small set" contains all integers between $0$ and $2^{32}$ exactly once.
Given that the number of members in the "big set" is greater than those in the "small set", there can't be an injective function $f(n_b) = n_s$ mapp... |
Imagine a situation where there are many high-value public keys around, using the same Elliptic Curve group, say $k$ in the millions public keys¹. Can an adversary reasonably find one of the matching private key at much lower cost that finding the private key for a particular one?
What's the best feasible² method? What... |
I have a query please , I want to know how to generate random numbers using ANSI_X9.31 algorithm for RSA Algorithm please .
Thank u
|
Attacker has to win following game by distinguishing that output was updated by a certain function or not?
Attacker queries an oracle for the output.
Oracle generates fresh 4 random bytes $a$, $b$, $c$, and $d$ and one random bit $x$.
if $x=0$, Oracle outputs values of $a$, $b$, $c$, and $d$.
if $x=1$, it first upd... |
Recently, I have an idea to construct an public-key encryption scheme which contains five algorithms:
Setup($1^k$): generate public parameters $pp$ and a master key $mk$.
KeyGen($pp$): take $pp$ as input and generate public key $pk$ and secret key $sk$.
Encryption($msg, pk$): take $msg, pk$ as inputs, output ciphertex... |
The UC framework [Can00 (version of 2020-02-11)] defines security (defn 9) as for all adversaries there exists a simulator such that for all environments the environment output is indistinguishable in the ideal and real model.
$\forall A \exists S \forall E$:
$$EXEC_{\varphi,S,E} \approx EXEC_{\pi,A,E}$$
where $EXEC_{\... |
How do you find RSA encryption key e when RSA modulus is n = 55 = 5 x 11 and your decryption is d = 37? Is this possible for large values of n say of the order of 1024 bits?
|
My first objective is to implement AES-GCM in PowerShell 5.1 since there is not an implementation that not use external dll libraries.
According to the GCM schema of encryption:
the E_k block should correspond to a 128-bit block and the input is encrypted by AES with a specific key K.
If at the beginning I want to foc... |
I was wondering if someone could help explain md5 collision abit better. I found this resource: https://www.mscs.dal.ca/~selinger/md5collision/ where they provided an example of where two cipher texts have the same md5. I tried to confirm that their example was correct but when I input their examples into a md5 calcula... |
I aim to find the answer to what is $X$ on an EC over a finite field where $A + X = B$ and $A$ and $B$ are known. I’m currently learning with secp256k1 so the simplified equation for the curve is $y^2 = x^3 + 7$. I am trying to figure this out so I can write the formula in python.
|
I am in the process of creating a flutter application that will include direct messaging. You can message 1 person or a group of people. I want this to all be encrypted for privacy.
The method I was thinking about is to do a hybrid RSA, AES system. On signup, a RSA key pair would be generated and the public key would b... |
Given two values $g^{a_1}, g^{a_2}$ where $a_1, a_2 \in \mathbb{Z}_q$ and $g$ is a generator of group $\mathbb{G}$ of order $q$. Discrete logarithm is assumed to be hard in $\mathbb{G}$.
Is there a way to find the value $g^x$ such that $x = a_1 + a_2 \text{ mod } p$ with p < q. We also know, $a_1, a_2 < p$. Here $p,q$ ... |
I wanna create the safe Twisted Edward curve. As far as I know, The number of curve points must be $\#E=8r$ that $r$ is big prime number. Also the number of points of quadratic twist of this curve must be $\#E'=4r'$ that $r'$ is big prime number. I search the value of $d$ for $-x^2+y^2=1+dx^2y^2$ that satisfices these ... |
Suppose I am given a Decision problem(DP) which is proven to be NP-hard. Is there a generic method/process to construct a cryptosystem based on the DP?
Thanks.
|
Is there an algorithm that allows proofing that an input x1 was used as 1 out of N inputs to create an output hash y, without knowing the other inputs?
I.e. if there are 5 users providing an input hash for example, can we create an output hash that allows each individual user to verify his input was part of the inputs ... |
Let's say I have 3 items (A, B, C). Is there some sort of hash algorithm such that if I send (A, B, C) to another person, they can give me back the same hash and the same items or a subset of those items (for example (A, C)), and I can validate that they didn't give me extra/invalid items (for example (A, D))?
I apolog... |
Let $x$ be a random element from $QR_n$, the quadratic residue group over Blum integer n (where $n=p*q$ and $p$ and $q$ are safe primes), and $g$ a generator of $QR_n$. Are the following computationally indistinguishable?
$$(x^2 \mod n, g^x)
(r^2 \mod n, g^x)$$
The intuition is that it's hard to compute $x$ from $x^2... |
What's the required key usage/extended key usage for signing documents, eg.PDF, Word, PowerPoint, Excel, etc...
I am going to create a self-signed certificate that is needed to sign those documents. I wonder which key usage is required as there are many types that I can choose.
Note: I just need a self-signed certifica... |
Given a Hash Function H, how are the properties such as collision resistance, target collision resistance, one wayness, and non-malleability proved? I have read about hash function and stating that it is collision-resistant but how are they formally proved? If a hash function satisfies all the properties will it act as... |
In FIPS 140-2 Part 2:Interfaces and Port in the security policy of product told :
1- "the output data path is provided by the data interfaces and is logically disconnected
from processes performing key generation or zeroization. No key information will be output through the data output interface when the module zeroize... |
I don't quite understand why a smaller quotient between modulus $q$ and the noise's standard deviation implies better security against known attacks.
|
Does the key sizes specified in Australia's ASD Approved Cryptographic Algorithms impact operational performance?
The larger the key size the slower the operational performance. Is it true?
The set of ASD Approved Cryptographic Algorithms can be found below:
Diffie-Hellman (DH) for agreeing on encryption session keys
... |
Suppose user A encrypts some data using his public key and stores the data publicly. Later user A would like to transfer that same data to user B publicly by encrypting it using user B's public key.
What is the best way to verify that the same data was transferred to user B without knowing the data, user A, and user B'... |
In SIDH, either party chooses its secret point $R_A = [m_A]P_A+[n_A]Q_A \in E[\ell_A^{e_A}]$, $R_B = [m_B]P_B+[n_B]Q_B \in E[\ell_B^{e_B}]$ from two different sets $E[\ell_A^{e_A}]$ and $E[\ell_B^{e_B}]$. What is the issue if the two points are chosen from the same set ($E[\ell_A^{e_A}]$ or $E[\ell_B^{e_B}]$)?
|
I'm curious about the relation between the Discrete Logarithm and Decisional Diffie-Hellman. Is it safe to have an assumption like the following to link the two?
Given uniformly and independently chosen g^x and g^y, if there is an efficient algorithm that can distinguish g^(xy) and random g^r with non-negligible probab... |
I'm trying to obtain a random, unpredictable quite long number (± 20-25 digits) using Javascript (created by user's client) as fast and light as possible. Is this solution reliable, robust and secure enough?
When the online page is opened, the 13-digit timestamp is stored. A timer determines the number of milliseconds ... |
Hey I'm wondering if the following scheme is secure or not , I tried reductions and some tries to prove that it not must be secure but I feel completely stuck .
More details:
It's just any reduction that came to my mind (up to my knowledge) required knowing $k$ . I tried to use the 'classic' technique of trying to simu... |
If a cryptographic protocol has a computational security parameter and a statistical security parameter, does this mean it is only computationally secure instead of information-theoretically secure?
I am wondering because this answer says that statistical indistinguishability is when the adversary is computationally un... |
My naive understanding of proof-of-work algorithms is that they are essentially a p=np type problem where it's easy to check a solution, but difficult to produce a solution.
I have recently read that some cryptocurrencies are based on algorithms that are designed to be resistant to ASIC mining - they're built to live o... |
What are keyed hash functions?
Why are they needed? I have never used a hash function which specifies the key so not getting the significance.
The key need not be secret. Why is it so?
|
I am using Paillier scheme to encrypt a message however, I have divided the words into alphabets and then convert each alphabet to ASCII code encrypting the final result. It works fine, but I want to encrypt each word. It this possible?
As by encrypting each alphabet the size of encrypted file increases 10 times.
|
if a cryptographic protocol has a computational security parameter and a statistical security parameter, does this mean it is only computationally secure instead of information-theoretically secure?
I am wondering because this answer says that statistical indistinguishability is when the adversary is computationally un... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.