instruction stringlengths 32 27.2k |
|---|
The NIST has a "SP 800-38D: Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC". This guideline is a base for AES-GCM from definition to security considerations. ( all bolds are mine)
In section 8.2.1 Deterministic Construction IV
In the deterministic construction, the IV is the con... |
In discrete logarithm based schemes on finite field we have a prime number $q$ that divides $p-1$ and $q$ is to specify a subgroup with the order $q$. But why do we do that? Why do not we work on the group with the order $p$ and need a subgroup with order $q$.
This is for security reasons (discrete logarithm calculatio... |
I am having a struggle calculating (ii) and (iii), Can anybody help me with the calculation?
RSA blind signature algorithm:
Given two prime numbers: $p=11$ and $q=3$
The message to be signed is: $M=6$
The public key is: $e=7$
(i) List all the possible candidates of the blinding factor $R$.
$n=33$
$\phi(33)=20$
$\{1,2,... |
I am analysing an authentication protocol. In this protocol AES-GCM is used to encrypt part of the messages.
Regarding the authentication protocol, I made the following observations:
The plaintext that is being encrypted is always the same. It may be assumed that the plaintext is known by the adversary.
Deterministic ... |
I noticed that people use a random number in the RSA-OAEP padding scheme to avoid deterministic encryption. But in pkcs#7 people just use the padding size rather than some random bits. Doesn't it make AES deterministic?
|
Let $\textbf{a}=\left[10, 32, 57, 81\right]$ and $x=\{0, 1, 2, 3\}$.
Then multilinear extension of vector $\textbf{a}$ is the polynomial, $f_\textbf{a}(x_2, x_1) = 10(1-x_2)(1-x_1) + 32(1-x_2)x_1 + 57x_2(1-x_1) + 81x_2x_1$, where
$x_2$ and $x_1$ is the second and first bit of $x$ respectively.
Thus,
$$ x = 0, f_\textbf... |
Assume that bits $A$ and $B$ each have .5 bits of entropy per bit.
The two-bit result of the concatenation $A‖B$ has 1 bit of entropy total, and it retains the entropy density of .5 bits of entropy per bit.
How many bits of entropy would the single-bit result of the exclusive-OR of $A$ and $B$, namely $A⊕B$, have per b... |
What will be the mac size of AES CBC-MAC if there are suppose 10 blocks in the AES CBC-MAC?
Will it always be 128 bits MAC size for no matter how many numbers of blocks?
|
does aes-cbc-mac guarantees integrity, authenticity and confidentiality?
does aes-cmac guarantees integrity, authenticity and confidentiality?
because I only know that aes-ccm guarantees all i.e. integrity , authenticity and confidentiality..
|
I know that HMAC supports or guarantees both authentication and integrity, but does it also provide confidentiality?
|
I am new in cryptography. I need to compute a hash of a string value represented as follows:
$name||i$ where $i$ is an integer.
I use the following pseudocode:
message = []byte(name||i)
hashize = 1536
// Using SHA256 full-domain-hash with 1536 bits
hashed = fdh.Sum(crypto.SHA256, hashize, message)
Print(hashed)
Here t... |
While reading about AES-GCM, I discovered there is a multiplication over $\operatorname{GF}(2^{128}$). My question is about its cryptographic properties, such as:
Take a random element $X$ from $\operatorname{GF}(2^{128}$) (which is not $0$ or $1$). Multiply it with a constant $Y$ (say, the plaintext, which is defined... |
This question follows-up from this question/comment.
Suppose, you are given $X \odot Y$, where $X~(\neq 0) \in \operatorname{GF}(2^{128})$ is random, $Y~(\neq 0) \in \operatorname{GF}(2^{128})$ is random, and $\odot$ is a multiplication over $\operatorname{GF}(2^{128}$) with some modulus. As explained in this answer, t... |
PALISADE offers a pool of Homomorphic Encryption schemes and it is stated that "PALISADE is a general lattice cryptography library ...". My question is rather simple: are all homomorphic encryption schemes based on lattice-based cryptography?
|
I'm looking for differentials in my kind of toy encryption scheme. I can't find any.
Let's consider linear congruential generator:
$X_{k+1} = a \cdot X_{k} \mod 2^{128}$
Such that $a$ is some number which for every 128-bit input $X_{k}$ from $0$ to $2^{128}-1$ will give us different output $X_{k+1}$ from $0$ to $2^{128... |
As far as i understand, a encryption system is forward secure if new session keys are generated for each session, which is also part of what wikipedia says about forward secrecy:
By generating a unique session key for every session a user initiates, the compromise of a single session key will not affect any data other... |
How can we exhibit an AES-GCM ciphertext, including IV and 128-bit authentication tag, and distinct keys $K_0$ and $K_1$, so that decryption succeeds for both keys?
What degree of control do we have on the respective plaintexts obtained by such decryption? Can that extend to the point that this nightmare (referring pag... |
I am reading https://en.wikipedia.org/wiki/Curve25519 and it states
Also in 2018, RFC 8446 was published as the new Transport Layer
Security v1.3 standard. It requires mandatory support for X25519,
Ed25519, X448, and Ed448 algorithms.[24]
I understand from various answers on this site that the ECDSA is a different al... |
My misunderstanding is all about the parity attack mentioned in "Cryptography Engineering by Ferguson, Schneier and Kohno".
Most modern block ciphers have a 128-bit block size, but they operate on 32-bit words. They build the encryption function from many 32-bit operations.This has proved to be a very successful metho... |
Let $p,q$ be odd primes, $n:=pq$ and $a,x \in \mathbb{Z}/n\mathbb{Z}$ be quadratic residues such that $x^2 \equiv a \pmod n$. I have understood the proof that calculating the least significant bit of $x$ is computationally as hard as deciding the Quadratic Residuosity Problem and I am aware of the fact that it is even ... |
I have seen Curve25519 and X25519, Curve448 and X448. I've seen a small note in this answer
(Historical note: Originally, X25519 was called Curve25519, but now Curve25519 just means the elliptic curve and X25519 means the cryptosystem.)
Is it a standard to say CurveABC is the Elliptic Curve and XABC is the cryptosys... |
I want to encrypt 1000s of old files on old hard drives before uploading them to the cloud. I'm planning to use AES-GCM with only one or a few keys. (I'm using Apple's CryptoKit library which provides this algorithm and a few others.) It would be convenient to encrypt and store the files individually, so I could downlo... |
I don't quite know how to even ask the question for what I have in mind; but succinctly, I'm looking for some publicly implemented cryptosystem where messages for a user with id U can be sent to U using nothing but a single system-wide public key and knowledge of U.
I have an unusual situation where I've been asked to ... |
In a cryptographic application, two types of (pseudo)random bit streams are needed:
a stream $A= a_{1}a_{2}a_{3}\ldots$ in which $\Pr[a_{i}=0]=\Pr[a_{i}=1]= 1/2\ \forall i$ and
a stream $B= b_{1}b_{2}b_{3}\ldots$ in which $\Pr[b_{i}=0]=2/3; \Pr[b_{i}=1]=1/3\ \forall i$.
Propose the following constructions:
Given a g... |
In TLS 1.2, say a session ticket is created for the current session (Session Tickets RFC 5077), and the current session uses the Encrypt-then-MAC extension RFC 7366 (I.E. both client and server offered the extension in their Hello).
When resuming a session with that session ticket, is the use of Encrypt-then-MAC implie... |
Imagine Alice has trained a machine learning model. She wants other people like Bob to be able to use her model for prediction, but she doesn't want them to know the actual model. She wants the model to be private.
Is there anyway to predict with a previously trained model without knowing the model itself?
|
I am looking for a cryptographic hash function optimized for speed on short inputs, in order to implement a pseudorandom generator with expansion factor 2 (e.g. takes 16 bytes of input and outputs 32 pseudorandom bytes).
Here are some natural candidates I tried:
SHA256: good baseline
Blake2: designed for speed on larg... |
In RSA, given only $(n,e)$, where $n =pq$ and $e$ is the public exponent, it is hard to find $p$ and $q$. It also seems hard to find $d$. So we came up the RSA conjecture that is RSA defines a trapdoor one-way permutation. Namely, given, $N,e$ defining $f,x \mapsto f(x)$ is easy; $y \mapsto f^{-1}(y)$ is hard; but $f^... |
The SafeCurves project provides a Sage script to verify the SafeCurves criteria for given curves, https://safecurves.cr.yp.to/verify.html
According to the description, the script works simply as:
$ sage verify.sage curves/nistp256/, where curves/nistp256/ is a folder containing the following files:
p: the field prime,... |
I have implemented Ed25519 for a constrained-memory system, and I want to provide a Shared Secret functionality. The recommended method is to use X25519 for this; but then I would have to implement point multiplication over the Montgomery curve Curve25519, which I don't really have room for.
Would there be any downside... |
$g^{ab} \pmod{p} = B^a \pmod{p}$ where all variables are known except $a$. In this case, I have an equivalent value for $a'*b'$, but this is not the same as the real values of $a*b$ due to the modulus.
Everything else including the generator, the prime, $B$ public, the shared secret (or value of both sides of the equat... |
Given (N, e , d+p, c). Is it possible to get m?
details:
p = getPrime(1024)
q = getPrime(1024)
N = p * q
phin = (p - 1) * (q - 1)
e = 0x10001
d = gmpy2.invert(e, phin)
print d + p
print pow(m, e, N)
print N
#1340388460996257535052425761052956928500894308052330734613495368533777673972430632773487658806112416306264533725... |
You allocate a 1MB array. Salt the password (this is the only time the salt is used other than being stored at the end) and hash the password with SHA256 8 times. Place 31,250 copies (125,000 was an error) of the first hash to fill the array, so it cannot be de-allocated or used for anything else until the process i... |
I have two separate system (client) and (server). I am having a problem which is to encrypt a message from the client and decrypt at the server. In order to do that, I am required to transmit my key along with the message through UDP packets. However, is there any possible ways to ensure the key is transmitted securely... |
Where can I find NIST's reasoning to eliminate NewHope from the 3rd round of the post-quantum competition? I see all the lattice KEMs finalists are based on modules.
Is being a ring-based KEM contributed to their elimination?
In this case, is there any recent development in cryptanalysis on ideal lattices that can pos... |
I’m applying for a mortgage loan and I recently made a large deposit into my bank account from crypto stored on a ledger hardware wallet . I sent the funds to Coinbase where I converted to usd and withdrew into my bank account.
The mortgage lender is giving me trouble about providing proper documentation. I mined most... |
Let $f$ be a function that takes a database $D$ as input and returns a real number. Assume that $f$ has sensitivity 1: for any databases $D_1$ and $D_2$ differing in a single record, $|f(D_1)-f(D_2)|\le1$.
To protect the results of this function with $(\varepsilon,\delta)$-differential privacy (DP), one can add noise t... |
I know that
$$mac=\operatorname{SHA1}(secret\mathbin\|message)$$
is prone to length extension attacks, but what about:
$$mac=\operatorname{SHA1}(\operatorname{SHA1}(secret\mathbin\|message))?$$
In order for someone to do a length extension attack of that, won't they either have to bruteforce the secret or bruteforce th... |
The Linux kernel has an entropy source and it estimates its amount of bits in the device /proc/sys/kernel/random/entropy_avail. How can I verify that this number makes sense? I did the following experiment. The system in question is:
# uname -rvmpio
4.15.0-1050-aws #52-Ubuntu SMP Thu Sep 12 19:56:00 UTC 2019 x86_64 ... |
Computational Diffie Hellman problem wants to know $g^{ab}$ given $g^a$, $g^b$ and $g$ while the discrete logarithm problem wants to know $x$ from $g^x$ and $g$.
The latter resolvable in polynomial-time implies the former as well but a converse result is not known.
What are the consequences to cryptography if Diffie-He... |
I am looking for a comprehensive list of the IOC values of any or all classical ciphers. I can't find a list, only pieces. Each cipher has an average IOC value, and I was wondering if there was a comprehensive list of these values for every classical cipher available. Can anyone share a list of these IOC values?
|
In ECDSA, with knowledge of private key, can we make signatures with partially chosen content?
Detailing that: In ECDSA (with secp256r1 curve and SHA-256 hash), assume we know the private key, the message, and can choose the per-signature random. It that helps, assume we can choose the private key, and some of the mess... |
Will the signature algorithm be ECDSA and key (i) ECC key or (ii) ECDHE and ECDSA keys?
|
I am using the following chacha20poly1305 Rust library to encrypt some data in a desktop application. The user provides the key, which never leaves their device, to locally encrypt some data, and then the encrypted data is sent to a server for backup purposes.
This library requires a nonce in order to encrypt the data,... |
I've read and I discovered that it's not possible to derive the public key from the public address because of the hashing algorithm.... But is/are there any alternate way/ways that it can be calculated that the restriction may probably be time complexity like brute forcing for the private key in ECDSA? What I actually ... |
I have one honestly question: How can we are so confident with the use of the common hash algorithms (nowadays there are so many pages with cracking tools: crackstation, gpuhash, etc) ?
Are we lost with our goverments behind us?
Does anybody got some new idea of one new possible secure algorithm?
Why if someone got an ... |
I have to present an ieee paper at my college, and I picked up a topic based on KP-ABE encryption and the paper doesn't have the size of plaintext, key and ciphertext in it
|
If hash function is collision-resistant, then its associated HMAC is always unforgeable. But suppose that a hash function is only second-preimage resistant, not necessarily collision-resistant. Then my question is, its associated HMAC always unforgeable?
|
I was actually wondering... How long would it take to crack/brute force a 32 bit key/encryption and a 16 bit key/encryptions respectively on a 4GHZ and a 2GHZ PC. I know that a 32 bit integer has 4,294,967,296 combinations while a 16 bit number has exactly 65,536 combinations but I don't know how long It'll take. and w... |
There are many limits on key size. As far as I know 56 bit in USA and 40 bits in India without license. On the other hand much higher 128 bit or 1024 or 4096 bit for banking and other purposes. So what will one do (I am not starting any banking business or something, just asking in case a man wants to make a secure ap... |
I've been messing around with SEAL library for a few days and I've got a following question.
I've got a bunch of datapoints [x_1, ..., x_n], n < poly_mod_deg of type 'double' and I use batch encoding and CKKS sceheme to calculate
their average and variance. Calculating average works fine and I like the result, but I wo... |
As of Linux 5.1 the /dev/random no longer uses the blocking pool. There is a talk about the change on the page Removing the Linux /dev/random blocking pool
I believe that Linux's blocking pool has outlived its usefulness. Linux's CRNG generates output that is good enough to use even for key generation. The blocking po... |
I have been searching but can't seem to find any proper articles that explain the real world use cases of Message Authentication Code. Can someone please shine some light on this?
|
Is changecipherspec a part of handshake message in transport layer security (tls) 1.2 because according to rfc5246"ChangeCipherSpec messages, alerts, and any other record types are not handshake messages and are not included in the hash computations. Also, HelloRequest messages are omitted from handshake hashes."
|
I know that TEA has its weaknesses, but is easy to implement. My question is whether it would be suitable for my use case: The main reason for using encryption is not so much secrecy, but authentication and protection against interference.
I have a number (max 20-30) of GPS trackers, which send their location by radio... |
In my algorith execution time depends on the size of the key. It is a linear relationship (probably). The larger the key, the longer the algorithm takes to run. I have a code in Python so far.
For example for 3-bit round keys it runs 1 sec and for 128-bit round keys it runs 4 sec (for some number of inputs).
Is this a ... |
I am wondering if there exist some special rings $R$ that gives us, under the canonical embedding, some special lattices, like the root lattices, Barnes-Wall lattices, Leech lattices, ...
In more details, is there some rings $R$ such that $\sigma(R)=D_n, \, A_n, \, BW^n ...$?
|
I am looking for a secret sharing scheme that is robust against noise, the shares are going to be noisy. We do not want to reconstruct the secret perfectly and a noisy reconstruction with a bound on noise is good enough.
Assume we are using $(n,k)$ Shamir's scheme to distribute a secret among $n$ parties so that we nee... |
I listened to a talk on NIZK a while ago and vaguely remembered the speaker mentioned something like - A scheme that is statistically sound and computationally ZK in common reference string model could become computationally sound and statistically ZK in common random string model.
I couldn’t remember the exact talk an... |
There's this rather popular open source project (I'd rather not name it before possible responsible disclosure) that computes a P256 ECDH shared secret (256 bits) and uses only first half of it, rams it through a KDF, and uses the result as a 128-bit AES key.
I'm wondering if that's problematic regarding its security s... |
I'm looking to learn more about FIPS compliance.
I noted that it seems FIPS 140-2, is a holistic article, that then cites sub articles like FIPS 197...
It's tricky to ascertain the full picture. Is there a document anyone knows of that will specify:
Approved symmetric ciphers
Approved elliptic curves
Approved signatur... |
I am doing a crypto challenge for breaking a Vigenere style repeating XOR encryption (https://cryptopals.com/sets/1/challenges/6).
I have looked at similar questions asked here, mainly this one: Finding a keylength in a repeating key XOR cipher But I am still unabe to determine whats the best way to find the length of ... |
I understand that many cryptographic algorithms depend on the difficulty of large prime factorization.
Will a list of all prime numbers upto certain number of bits make it easy for an attacker to compromise such algorithms?
|
I cannot find a rigorous definition of what the "proof of possession" attribute means. Different webpages seem to give conflicting definitions:
Some of them say that it means, literally, proving that you possess a value (a key or a password):
https://www.w3.org/2012/webcrypto/webcrypto-next-workshop/papers/webcrypto2... |
I recently read about "functional encryption" which seems interesting, although I didn't understand yet how it works ... but is it possible to combine it or adapt it with homomorphic encryption in the context of neural networks particularly.
Suppose you have a neural network that you run over some data encrypted homomo... |
On paper, it sounds *very* good to me:
secure
fast (in my tests it's somewhat slower than ECB (but without most of the weaknesses, more on that below) but faster than every other alternative I tested, which were ECB, CTR, CBC, OFB, CFB written in order of performance (link to benchmark code) )
simple to understand
doe... |
The central part of the RSASSA-PSS signature scheme of PKCS#1 is the EMSA-PSS encoding operation, described in section 9.1 of the standard.
This encoding method makes use of a padding (titled Padding1) which is simply eight zero-bytes (0x00). The concatenation of this padding, the hash of the message and the randomly c... |
I am searching for some new research areas in ECC for my masters' project. My professor suggested me to go for Image Encryption using ECC. But I am clueless as to what are the new directions possible in such an area.
|
I am mainly looking for security on 2-key $\operatorname{3DES}$ implementation where $K_1=K_3$.
How hard or easy is it to crack $\operatorname{3DES}$ when $K_1=K_3$?
|
I've been trying to solve this question from Forouzan's book ("Cryptography And Network Security") and haven't been able to wrap my head around how to solve it.
The plaintext “letusmeetnow” and the corresponding ciphertext
“HBCDFNOPIKLB” are given. You know that the algorithm is a Hill
cipher, but you don’t know the s... |
Suppose you have a function $f$ that takes a dataset $D$ as input and returns an output in $\mathbb{R}^d$.
If this function has $L^2$-sensitivity $\Delta$, then the analytical Gaussian mechanism (Theorem 8 in this paper) says that if you add Gaussian noise of variance $\sigma^2$ to each coordinate of result, with:
$$ \... |
Can machine learning be used to improve encryption algorithms e.g.image encryption algorithms that use ECC ?
|
My question is this: Are there any crypto hash implementations beyond 512 bits of output?
Could you give me the link?
Thank you so much for your time.
Greetings.
|
I understand that non-extractable keys are secure because they cannot be exported. But I think many people would WANT to export their keys at some point if they don't want to risk losing everything.
For example, if you stored all your app data encrypted using a WebCrypto non-extractable key and can't export the key, th... |
What encryption schemes support this workflow?
Vendor encrypts and publishes information for the client
Client generates public and private key
Vendor encrypts private information
Vendor publishes that
ENCRYPT(PRIVATE_INFORMATION, CLIENT_PUBLIC_KEY) --> Publish
Client re-encrypts for benefit of a third party
Client... |
In public-key encryption, if the decryption algorithm is
$$\text{Dec}(k_i,\text{Enc}(K_i,p))=p$$
where $k_i$ = receiver's private key and $K_i$ = receiver's public key
what would be the algorithm for encryption? Would it be
$$\text{Enc}(K_i,\text{Dec}(k_i,c))=c$$
Just looking for some clarification.
|
In anonymous credentials schemes, it is possible to anonymously prove knowledge of a signature. Proposals for anonymous credentials with attributes also include a method for proving statements about the signed attributes in zero-knowledge, i.e. proving to a third party verifier that the signed values are the opening of... |
Let $f_a : S \to R$ is a family of functions indexed by $a\in P$.
Consider the assumption that $(a, f_a(x))$ is indistinguishable from uniform, over the distribution of $a\leftarrow U$ (uniform) and $x\leftarrow D$ (some efficiently sampleable distribution).
Is this assumption equivalent to, for all but a negligible fr... |
This from Cryptography course from Coursera:
Key wrapping or encapsulation using a KEK can be accomplished using
either symmetric or asymmetric cipher
For my information KEK solves the key distribution issues with symmetric keys, so only the involved party can decrypt the cypher with their private key, but doesn't us... |
The CTR mode, with its CPA security, is one of the malleable block cipher mode of operations. An attacker can simply modify the bits of the ciphertext stream in their advance. This is due to the lack of integrity and that can be easily prevented with an HMAC. With Encrypt-then-MAC $$(c,IV) = \operatorname{AES-CTR}(IV,m... |
When you know the Salsa20's keystream, how do you know the next keystream?
In other words, can I infer the next keystream when I don't know the Key and IV of Salsa20, but the keystream is 0x100000?
If you have any related attack papers, please recommend it.
Or, I'd like to ask for some search keywords.
|
Is it possible for one party to encrypt some data and have another party (unknown to the first party) view that original data if a certain condition is met?
I cannot find any information about this despite numerous searches. I might have the terminology wrong, or perhaps... it is impossible!
I read about zk-SNARKS, a... |
I'm trying to create a sort of Time-based One Time Password (TOTP) where machines are involved (not humans). In this kind of TOTP the step is 15 minutes between one code to the next one and both server and client share the same 256 bit secret key (k).
The message (m) is the current unix timestamp that is known by an at... |
In an one-time pad scheme, $s \oplus m$ is uniformly random for any $m \in \{ 0,1 \}^\ell$ if $s$ is uniform in $\{ 0,1 \}^\ell$. By the security of PRF, it seems to be secure to replace the truly uniform string $s$ with the output $F_k(r)$ of a PRF $F: \{ 0,1 \}^\kappa \times \{ 0,1 \}^\ell \rightarrow \{ 0,1 \}^\ell$... |
My understanding is that there exists no strong pseudorandom permutation for which the Davies-Meyer construction is known to yield a provably collision-resistant hash function. Were I mean provably in the sense of invoking no assumptions like the ideal cipher model.
But my question is, does there exist a universal con... |
Consider we have a protocol, where multiple algorithms of it are run by an adversary.
When we want to define a game for that protocol (or its security properties), I have seen that an adversary is defined as $A=(A_1,A_2,...A_n)$. Then each of them (e.g. $A_1$) calls a certain algorithm and outputs something (in other w... |
I have a senario like
" I want to save a email (like foo@bar.com) encrypted in Database (For example as 'asdjasjdna') after that I want to check when User enter this email and compare in database.
Till now findings :
I can't lookup in database using that email directly
I can't convert incoming email to existing encr... |
I have a pen pal that I discuss with. In our latest discussion it was proposed to write a short message that is ciphered and have the other one find what it is, given some clues.
I would like to ask if its possible to have the same ciphertext that when decrypted with key "his_name" gives a result and if decrypted with ... |
Is there any functional or strong security difference beyond speed between
AES-GCM-SIV with implicit fixed public IV and no additional data
AES-CTR (or AES-OFB) with 128-bit IV computed per HMAC-SHA-512 on the message, included at start of ciphertext, and checked on decryption
when used with a key of the same length,... |
One more type means one-more DL, one-more DHP, etc. I find many papers do the EUF-CMA security proof in this way. Is it necessary? What is the difference between proof based on one-more type assumption and one based on non-one-more type assumption? Is the one based on one-more type assumption stronger?
|
A variant of RSA cryptosystem is given as following:
$$N=p*q$$
$$ed=1 \space \space mod \space \space (p^r-1)(q^r-1)$$
$$c= m^e \space \space mod \space \space N $$
$$m= c^d \space \space mod \space \space N $$
where $r$ is an a small integer and $p , q$ are primes , $e$ is public exponent , $d$ is private exponent
Tri... |
I'd like to know what are quantifiers in game-based security definitions (in cryptography)
Some relevant examples and sources are also much appreciated.
Edit: for example, in a formal definition, we say for any security parameters, any function $F$, etc. My question is what should be included in these quantifiers (sha... |
I'm struggling while trying to resolve this exercise. I already read all questions about PRG and PRF here and some proofs around the internet but none of them helped me.
let's consider a function $C$ as follow: there exists a polynomial $p$ for every $n$ in natural numbers, $C(1^n)$ is a sequence $\langle s_1,...s_m\ra... |
Today I learned that for BTC, the probability of a hash being valid is approximately 1/(D*2^32), whereas D denotes to the difficulty. I was wondering if this is also the case for other cryptocurrencies or if this is something specific to BTC or the SHA-256 hash algorithm? If it is different for other cryptocurrencies, ... |
I am trying to implement AES encryption on my own (128 bit key and ECB mode for now) and I can't seem to get expected results.
From what I understand about AES algorithm is that it divides message in 16 byte blocks and transforms those blocks, yielding encrypted 16 byte block.
However, when I tried using an online AES ... |
I am writing an application using JSON Web Encryption with ECDH using the X25519 Curve. The RFC says that ECHD-ES derived secret is run through a Concat KDF.
Given that many cryptographers seem to be bashing JWT and the JOSE standard for having too many options to shoot yourself in the foot I want to make sure I am not... |
Advanced Encryption Standard has a ShiftRows() operation that cyclically shifts last three rows of 16 byte block as shown here. This process is explained here in further detail.
But same documentation provides test vectors which have confused me a bit:
round[ 1].s_box 63cab7040953d051cd60e0e7ba70e18c
round[ 1].s_row... |
I am wondering if there are any readily available solutions for the following problem:
I have a ring-topology network with several devices connected to it, some malicious, some legitimate. I want to authenticate / establish a shared key between two legitimate devices, without the malicious ones finding out the key. The... |
2015's Argon2 publication suggests that cryptocurrency hashing like password hashing on backend servers should not be subject to side-channel attack:
Argon2d is optimized for settings where the adversary does not get
regular access to system memory or CPU, i.e. he can not run
side-channel attacks based on the timing i... |
Do black box secret sharing schemes [DF90, DF94] have any advantages over the better-known secret sharing schemes like Shamir’s [Sham79]?
[DF90]: Threshold cryptosystems, by Desmedt, Yvo and Frankel, Yair, in CRYPTO' 89, 1990
[DF94]: Homomorphic Zero-Knowledge Threshold Schemes over any Finite Abelian Group, by Desmedt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.