instruction stringlengths 32 27.2k |
|---|
A basic ZKPP (Zero Knowledge Password Proof) is based on the server being able to challenge the client, and the client can then prove it knows the password (in such a way that is verifiable to the server) without transmitting the password itself.
However, in order for the server to issue the challenge and verify the re... |
The two text having relation as "\x10\x11" → "\x90\x91" (80+10) will have relation after encryption/decryption also in RC4. Following code clearly describes the problem I am mentioning.
from Crypto.Cipher import ARC4
key = '12345678'
obj1 = ARC4.new(key)
obj2 = ARC4.new(key)
d1= obj1.decrypt('\x01\x02\x03\x04\x05\... |
In general every public key cryptosystem ``has'' a probabilistic polynomial time algorithm $G$ such that $G(1^k)=(\textrm{public key}, \textrm{private key=trapdoor})$; $G$ is called the key generator. Now for the RSA cryptosystem the keys, can be found in the following way:
Bob decides the key length $k$, then $G(1^k)... |
I have been told that one advantage of using a hash function is that it spreads entropy over all input bits. But it also seems to be true that a bad hash algorithm can make things less random. But how do I know if the hash I am using doesn’t make things less random?
Currently, I’m hashing (SHA2) a few extracted bytes I... |
Given
$$c_1x = k_1 + y_1 $$
$$c_2x = k_2 + y_2 $$
$$\vdots $$
$$c_nx = k_n + y_n $$
where the values of $\{c_1 \ldots c_n \}$ and $\{ k_1 \ldots k_n \}$ are known, and $x, \{y_1 \ldots y_n \}$ are unknown. $y_i$ is chosen uniformly at random.
We are working in a field of $GF(p)$, so all $c_i, k_i, x, y_i ∈ \mathbb{Z}_... |
http://en.wikipedia.org/wiki/ISAAC_(cipher)
This question was asked before but the answers seem vague, and I want to know about ISAAC specifically, not ISAAC+.
It seems some cryptanalysis was performed on it and the only seemingly major drawback to security is that some initial rounds may be biased (although on the off... |
I'm studing Shor's algorithm, and I have a question regarding the following step:
$$a^r -1 = (a^{r/2}+1)(a^{r/2}-1)=0 \pmod n$$
What would be the result if ${r/2}$ was -1? This will mean it's going to be like this: $(1/a+1)(1/a-1)$.
Will it also be $= 0 \pmod n$?
|
What is "Perceptual Encryption", and where do we use it?
I came across it whilst reading a paper on ECC in a multimedia context, from which I quote:
Hence, to achieve perceptual encryption, the higher-order biplanes were selected to be encrypted.
In addition to a formal definition, I would appreciate some examples of... |
With block chipers can I assume that
Enc(k,Dec(k,m))=m
Meaning if I decrypt something with a key k and then encrypt the result with the same key k, do I get what I originally had? Using the same BC scheme of course.
I can't right? It's possible that it has some random parts, no?
|
It is often said that RSA encryption of a cryptographic hash with a private key is the same as signing (signature generation). And that verification consists of decryption using a public key.
Is RSA encryption with a private key over a cryptographic hash equivalent to signature generation?
|
I implemented a pseudonymous PKI scheme (by K. Zeng @Springer Link), where all peers can change their public keys including its signature on their own. I am looking for a way to extend it with some authorisation functionality in that way, that an Authorisation Instance can provide specific credentials to a peer. (e.g. ... |
I know the generic difference between a nonce and an IV. I am specifically looking for a clarification on these terms as used in the "Evaluation of Some Blockcipher Modes of Operation" by Phil Rogaway. In that when describing the block cipher modes for e.g. CBC he says the following (table in page 5) --
Confidentialit... |
I would like to map integer values to points on Ed25519, and then back again.
Is there a technique that takes advantage of the specific structure of Ed25519?
|
SHA1's compression function has two distinct parts: one where 16 words are expanded into 80 words, and one where the 80 words are used over 80 rounds. Are there specific names or terms for each of these parts, and if so, what are they?
|
I am reading on the Ed25519 curve, and I am trying to understand a claim. Here is the claim:
Foolproof session keys. Signatures are generated deterministically;
key generation consumes new randomness but new signatures do not. This
is not only a speed feature but also a security feature, directly
relevant to the... |
Does anybody know an efficient mechanism to prove the possession of a digital signature (e.g. RSA) on a certain attribute (message) in zero-knowledge? That is, without revealing the actual signature (against tracking, for privacy) prove that you have one? Thanks a lot in advance!
|
I've recently read a question about the irreducible polynomial behind the subBytes() operation in the Rijndael that has awakened and old curiosity I have:
Why $\,m(x)$ was chosen as $\,x^8+x^4+x^3+x+1$?
In the comments in the referenced question it has been mention that it was the first that fulfilled the task (be irre... |
how can we prove that if there is a secure PRG then P!=NP or in reverse order?(is there any reduction?)
a secure PRG is a pseudo random generator that for every eficient (running in probabilistic polynomial time) statistical test algorithm A , A cannot distinguish PRG from a truly random generator with a non-neglogible... |
Recently I've found the following work on the internet: An ECC-Based Blind Signature Scheme
The paper claims to be an ECDSA blind signature however it seems that their scheme has a flaw in it.
The process they describe is pretty standard:
Requester blinds a message using his key and sends blinded message to signer
The... |
Wikipedia's TLS article says:
The client responds with a ClientKeyExchange message, which may contain a PreMasterSecret, public key, or nothing. (Again, this depends on the selected cipher.) This PreMasterSecret is encrypted using the public key of the server certificate.
The parenthetical remark is interesting. It i... |
Signature algorithms with elliptic curves have smaller output sizes compared to RSA for the same level of security.
What about the processing time to generate a signature ?
I've seen figures giving the advantage to RSA. That seems curious.
Leaving aside the implementation aspects, what could justify (in terms of number... |
Skein is defined for three different internal state sizes: 256 bits, 512 bits, and 1024 bits – with Skein-512 as the “primary proposal”.
Is there any advantage, other than potential memory or speed performance reasons, when picking a state size different from 512? If there is, what would the advantage(s) be?
|
Is the following function a secure PRG?
Given $F$ is a secure PRG and $k$ is choosen random from key space $K$.
$$G(x) = F(k,x) \oplus F(k,x \oplus 1^s)$$
My solution is $x \oplus 1^s = x'$ so $G(x)$ becomes $f \oplus f'$ with $f = F(k,x)$ and $f' = F(k,x')$. Clearly $f$ and $f'$ are PRG, i.e. generate random strings... |
In RSA proof it can be proved that $\mathbb{Z}^*_n$ is closed under multiplication. Can it be also proved that $\mathbb{Z}_n$ is closed under multiplication? If yes, then how?
|
Given the RSA modulus $N$ the fastest method to factor it is of sub-exponent order. But, now if I know the private key $d$ of RSA, does that mean I can factor $N$ efficiently?. It intuitively seems true as I know the public/private key pair. Can someone help me to prove this?
Please provide references so that I can rea... |
Still trying to design a fully binary cryptography container format for my mobile app, I am here asking if container is ever relevant.
Thanks to Apple, I cannot use GPG directly because I can neither call GPG through GPGME (fork(2) is not allowed) nor embed it (license conflicts)
The container format is simple ar(1) fo... |
Continued from Is there a flaw in this ECC blind signature scheme?
The problem
I needed a partially blind signature scheme for one of my projects, but couldn't find one on the internet, so I've made one (I think).
Is there anyone who can verify my results
Actors
Alice (signer, i.e. bank)
Bob (requester, i.e. payer)
Bi... |
From Wikipedia:
(1) Alice → Bob : g^x
(2) Alice ← Bob : g^y, E_K(S_B(g^y, g^x))
(3) Alice → Bob : E_K(S_A(g^x, g^y))
I know there should be something I'm missing, but I cannot think of why E_K(...) is used. Isn't the signature sufficient? Even if there was a MITM, having S_B(...) or S_A(...) isn't very useful. What am... |
I have read the post Why should I use Authenticated Encryption instead of just encryption? When is it safe to not use authenticated encryption?
I assumed hard drive volume encryption or per file encryption that is not transmitted over an insecure network should be considered safe to do without a MAC. Is that right?
The... |
The "new" kind of ransomware invade your computer and crypt all your files using the RSA-2048.
Personally, I have been victim of cryptodefense: 40000 files encrypted...
I'm not going to pay anything to this &? but this is a big loss. I have a lot of files in both form: crypted and uncrypted (backup from 2011...)
Is the... |
Given a secret $K \bmod q$ which is shared among entities $E_1,…,E_n$ using polynomial Shamir's Secret Sharing, how can the inverse of $k$ be shared without revealing $k$ and $k^{-1}$?
|
After reading many papers about group signature schemes, I saw that basically all of them employ the possibility of "signature opening": The Group Manager (GM) can identify any signature made by his group's members. But I would like to completely eradicate that feature and rather revoke group members by their public ke... |
As I understand, when you want to send a confidential message to someone, you encrypt the message with his public key. And he use his private key to decrypt the message.
At the same time, one can use his private key to sign a message, and other people use his public key to verify that it's him who sign it.
How the math... |
Suppose we have a one-way function F(x) that exhibits the property F(a + b) = F(a) + F(b). Such a function could be used as a cryptographic primitive, no?
|
In the ElGamal cryptosystem, I was wondering whether the $m$ (message) should be less than $p$ (large prime). Because on decryption, we are getting $m \bmod p$. For $m \bmod p$ to be equal to $m$, shouldn't $m$ be less than $p$? So what should be the size of $p$? Should it be a very very large prime number if I need to... |
Is it considered bad practice to use the same N and q parameters for all users in an SRP-6A based authentication system?
I know that q MUST be a Sophie Germain prime and N a safe prime, but can they be generated ahead of time and be somewhat fixed / hardcoded in the client and server? Or should I generate a fresh pair ... |
I already found a protocol to find out who is richer (older) between two parties, but Is there any protocol to find the youngest person among 3 parties, without revealing actual ages?
|
How can one model a random oracle hash function which maps $\mathbb{G}_1 \rightarrow \mathbb{G}_2$?
(Assume $\mathbb{G}_1$ and $\mathbb{G}_2 $ to be additive and multiplicative groups of prime order $q$.)
Normally, for a hash $H: \mathbb{G}_1 \rightarrow \mathbb{G}_1$, we would model it as something like as follows
pi... |
Consider the Triple DES encryption calculated as:
$$C= E_{K_1}(D_{K_2}(E_{K_1}(P))).$$
For a chosen plaintext attack, given plaintext $P$, we compute the result of $D_{K_2}(E_{K_1}(P))$ and store it as a table of length $2^{112}$, then decrypt the cipertext $C$ using $2^{56}$ possible $K_1$. I think we also have a mee... |
Quoting part of my homework/assignment:
How many keys are required for secure communication among 1000 person if:
Symmetric key encryption algorithm is used?
Asymmetric key encryption algorithm is used?
My guess:
For symmetric they each need to maintain and transfer their own key, so probably $1000 \times 1000$, a... |
I know that the private and public key in asymmetric cryptography are different and the public is used for encryption while the private for decryption. My question is if they are symmetrical to each other in a mathematical way? They must be because the one is inverting what is done by the other.
|
I just migrated CodesInChaos' C# port of Ed25519(ref10) to Java, and everything works fine. (I.e. I get the same results for key generation, signature and verification.)
Now, I would like to do a Diffie-Hellman key exchange directly on Ed25519. Therefore I am examining the functions for point addition, doubling and mul... |
I could not find any mention on the Internet of a proven/known cryptographically secure keyed rolling hash function (ie rolling MAC). Has the question been studied, is it possible to build one ?
By cryptographically secure I mean properties equivalent to HMAC with a cryptographic hash function :
without knowing the ke... |
Suppose that $N=pq$ where $p$ and $q$ are safe primes. $\mathbb{QR}_N$ is the group of quadratic residues which is a cyclic group with order $\frac{\phi(N)}{4}$. Let $g$ be the generator of $\mathbb{QR}_N$.
The computational Diffie-Hellman problem is defined as : given $U=g^u\in\mathbb{QR}_N$ and $V=g^v\in\mathbb{QR}_N... |
So the other day, I was piqued by a ciphertext that was trivially encoded through substitution. Solvable only because we can use our eyes to determine word boundary word detection, etc. Trawling the net, there didn't seem to be any automated way of doing this, other than of course to generate a key the size of the alph... |
I was reading the paper Fully Homomorphic Encryption over the Integers, and started
wondering if there is a known quantum attack on their main scheme, because
There is an efficient quantum attack on their "even slightly simpler scheme", as follows:
completely factor $x_{\hspace{.025 in}0}$,
for each [product of a ve... |
I am currently using the ElGamalEngine of bouncy castle to implement exponential ElGamal for the purpose of making ElGamal additively homomorphic. To do this i raise the message to be encrypted to the generator g and modulo it with the group parameter p, like this:
private BigInteger g;
private BigInteger p;
public Bi... |
We know there is a man in the middle vulnerability with unauthenticated DH key establishment. And the way to negate that is to use authenticate the keys used. But what if I only verify the signature of one end. Is there any vulnerability then?
EDIT: To be clear, I am not referring to the fact that the authenticated par... |
I have ten piece of ciphered texts. I know that they ciphered with a same-length key. Any idea how I can decrypt the ciphertexts? What kind of algorithms should I use? What are the points of taking care of 'XORing' these texts with each other and space character?
(text ciphered with the asymmetric key)
should we use th... |
I want to:
Encrypt my whole HDD with a keyfile and a password (meaning that both are required to decrypt it),
Be able to back up pieces of the keyfile in several distant locations using Secret Sharing,
Be able to change the password often and easily.
Notes:
The keyfile is made of 4096 random bits and is done using d... |
Let's say that we have a cryptosystem where Forward Secrecy and Man-In-The-Middle attacks are not an issue, purely hypothetically.
Would it be correct for a key exchange with any given public-key algorithm to simply work as follows?
Alice calculates public & private key
Alice sends the public key to Bob (and Eve inter... |
I read about Asymmetric key cryptography like EG-ECC , RSA, ECDH. I understand the concept of mathematics to these algorithms. But I have wondered about the public key for sender and private key for recipient. In other words,
Any other user who wants to send an encrypted message can get the intended recipient's public ... |
In Merkle Signature, it also requires one-time signature to be used once for a message. The signature in Merkle scheme is even longer compared to Lamport one time signature. The verifier also has more work to do.
Hence, what is the advantages of Merkle compared the one-time (Lamport) signature?
|
So far as I can find, every method better at producing hash collisions in cryptographic hashes than generic collision search involves finding some metric for the distance between two messages' hashes and calculating alterations to each that will iteratively reduce that distance.
And further, unless I'm misreading it, n... |
If the public key $(e,n)$ and the private key $(d,n)$ are known, what is the easiest way to find the primes $p$ and $q$?
When $n$ and $\phi(n)$ are given this is easy to solve. But I can't manage it given just $(e,d,n)$.
Thanks for any help.
|
I’ve looked around this site and the web quite a bit, but can’t find a definitive answer on whether or not the secret key $k$ used in the AES crypto-system has to be a prime number? Or can you just use any random values for the $128,192$ or $256$ bit long keys?
As a personal educational exercise, I’m working on my own ... |
If the decrypting key is 448, then what is the key size? Suppose I am encrypting a plain text with a key by choosing some random numbers between 0 to 1000 then how I can calculate the key size?
|
Is it possible to figure out what $arg1 is if I know both $arg2 and $arg3 in addition to $hash?
$hash = hash('sha512', $arg1 . $arg2 . $arg3);
|
I have read numerous times that the RC4 cipher itself is considered broken in TLS. Still many websites are using the TLS_RSA_WITH_RC4_128_SHA configuration even to date.
Now, I know that sometimes different uses of a cipher mitigate different attack scenarios, so my question is straightforward: Is this particular ciphe... |
Recently, I have surveyed a few research papers related to roaming authentication protocol for wireless networks. For example: “Efficient Privacy-Preserving Authentication in Wireless Mobile Networks” by Hyo Jin Jo, Jung Ha Paik, and Dong Hoon Lee and “Secure and Efficient Handover authentication Based on Bilinear Pair... |
Use case: I have a random number generator that can generate random numbers in a range that is limited by a number $x$, say $x$ ranges from $2$ to $2^{(n - 1)} - 1$ exclusive. In this case $n$ is $16$, i.e. we can generate a number from $0$ to $32767$ exclusive. Programmers will directly identify the upper bound to be ... |
I have a little confusion in understanding explanation of SHA256 by FIPS
a, b, c, d, e, f, g, h
are being initialized as (this is what i don't understand)
2 . Initialize the eight working variables, $a,b,c,d,e,f,g,$ and $h$, with the $(i-1)^{st}$ hash value:
$\ \ \ \ a = H_0^{(i-1)}$
$\ \ \ \ b = H_1^{(i-1)}$
$\... |
I was looking the answer to the following question (Timing attack on modular exponentiation), discussing the Private Key Blinding as a countermeasure for timing attacks.
Therefore I'm asking if someone could point me to a reference for the presented algorithm and if there are other alternatives to implement Key Blindin... |
Vigenère's weakness is Kasiski's test and index of coincidence. However, if you put columnar transposition on top of Vigenère, that weakness is gone. The text is now shuffled and you can't search for digrams/trigrams, because they will give you wrong key length pattern.
You also can't solve Columnar Transposition. For... |
I'm looking into "bitcoin like" mining processes. Say a security process uses a hash of data as proof that the data was known at some point in time.
From what I understand, hash functions are pseudorandomly generated based on the initial seed (the raw data).
If the hash function is chaotic, then the seed data should ... |
I am implementing ring signatures as a part of an authorization system. Since the number of users could get high enough to make computation on end-user devices infeasible, I am thinking of "subgrouping" them.
My idea is the following:
There are $n$ users and there is an untrusted third party, the server $S$ which regul... |
On page 21 of the Rivest's Cryptology chapter, he defines a trapdoor predicate as a boolean function for which it is easy to choose an x such that B(x) = v, but hard for an adversary to compute B(x) given x, without the trapdoor information.
He goes on to say that Alice's public key contains a description of B.
What ... |
For our privacy-preserving protocol, an encrypted channel is established. In order to protect our system from man-in-the-middle attacks, a signature-based approach is used. After we've implemented it with RSA, we decided to optimize the protocol a bit by using ECDSA. The result was very surprising: on Android, signing ... |
I've encountered this term many times in the fields of Fully-Homomorphic Encryption and Obfuscation.
I want to learn those subjects and Cryptographic Linear Maps seems to be an obstacle in the way.
Can you help me with that and explain it in simple words (as much as you can)?
|
RSA primes are 100 bit. You know first 80 bits of one of the primes. In this system, come up with an efficient way to decrypt the cipher-text.
This was the question on my quiz. I'm not sure how to go about it. Any hints?
|
I'm a pentester and currently analysing a web application which are using some strange encryption scheme.
The point is: They encrypt using AES-128, generate a (not cryptographic secure) key and use this as encryption key AND initialization vector.
I'm not a crypto expert, but I know that this is bad (aside of the insec... |
While educating my self I'm having hard time to understand what an 128 bit AES key actually means?
Is it a key length or entropy?
Please explain to me trough following example (assuming AES):
Password length in characters (L) = 20 (characters)
Symbols used (N) = 95 (ASCII set)
Entropy = log2 (N^L) = 128 (is this what ... |
Hashcash is a proof-of-work system in which the Sender needs to find $Y$ such as the first (let's say 20) bits of $H(X+Y)$ are zeros where $H$ is a one-way hash function, $X$ is a fixed value and $+$ means concatenation.
The Sender starts with an initial random number $Y$. It then computes the hash of $X+Y$. If the fi... |
I know that the public exponent is always a prime, but what about the private exponent? Is it always a prime too?
|
Given, say, the Blowfish block cipher, which is considered secure but only has a 64-bit block size, can we construct a secure block cipher of 128-bit block size?
Say we run the key through two KDFs, and encrypt the first half of the block with the first key, and the second half of the block with the second key. This se... |
Am not a mathematician.
Every crypto specification I see uses the modulo operation. For example RSA -
If $e$ is the public key and $m$ is the plaintext with a modulus $n$ - the cipher text is $c = m^{e} \bmod n$
Why is this $\bmod\ n$ there? By definition isn't the modulo operation introduces an uncertainty? I mean ... |
Wikipedia claims that the best attack on the surprisingly simple TEA block cipher, that isn't a related-key attack, has a time complexity of $2^{121.5}$.
So despite how unsophisticated the cipher looks, if I use a KDF properly and don't use related keys, TEA is secure?
|
I understand that RSA encryption uses this formula:
C = M^e (mod N)
public key is e and N
N is pq - p and q are private key.
mod N makes above function one-way - ie cannot be reversed. Hence given C, e and N, it is not possible (easily) to find M.
Basic idea is that modulo arithmetic on an exponent is a one way funct... |
For information theoretic security in Shamir's [m,m] secret sharing scheme, do i need both authentic and confidential channels?
Another related query is ;is it true that if the channels are only authentic; then the Shamir's [m,m] secret sharing scheme is only computationally secure?
If confidential channels are build ... |
Is there a known way to reduce the space complexity of quantum collision search (PDF) beyond what is offered by the built-in time-space tradeoff, while keeping the time complexity significantly below what is achieved by the classical Pollard's rho method?
|
I am trying to read up on the math behind DH and ran into the word generator used a lot. I am not sure what it means. Can someone explain?
I see this question where the OP talks about g as the generator. The accepted answer does not make me understand what a generator is. I always thought g is just a large prime in gr... |
I can see many xor and rotation operations in cryptography. I just want to make some algorithms fast. So, I'm looking for a way to combine between xor rotation operations. I don't know if it is possible or not.
R3(A) xor R4(B) = A * B (R3,R4 means left rotate shift by 3 bits and 4 bits)
I'm looking for *. Is there any... |
scrypt takes a salt, and a password plus some cost paramters to generate a key. So say we define it as this:
key = scrypt(password, salt, cost)
I am interested in using it for generating passwords deterministically. E.g. to create a password for amazon or apple I would so something like:
amazonpassword = base64(scrypt... |
Given the sequence 0010001111 (or any other, not homework, but exam practice), how do you use the Berlekamp-Massey algorithm to construct a minimal LFSR?
I have read several definitions of how Berlekamp-Massey works, but I'm missing some simple example that actually demonstrates the algorithm in use.
Trying to use the ... |
For clarification: The Pseudo-Hadamard transformation is a reversible transformation of a bit string that provides cryptographic diffusion.
Splitting a bit string (with bit length of $2n$) into two equally large bit strings $a$ and $b$ with size $n$:
\begin{align}
a' &= a + b & \pmod{2^n}\\
b' &= a + 2b& \pmod{2^n}
\e... |
I am new to cryptography. During my learning I am facing a problem with S-DES. I am confused where P10 to P8 come from, and I’m confused about the processing of this algorithm. Does anyone have any good article/paper/reference which enables me to understand how to solve it easily?
I am reading following example but get... |
I have some encrypted binary data I want to decrypt. I know nothing about it, but I can get it encrypted with as many different (random, unknown) symmetric keys as I want. The keys are long enough to not get repeated. Something like this:
$A_1 = Data ⊕ Key_1\\
A_2 = Data ⊕ Key_2\\
A_3 = Data ⊕ Key_3\\
…\\
A_n = Data ⊕ ... |
In the PDF “Algebraic Construction of 16×16 Binary Matrices of Branch Number 7 with One Fixed Point”, it was given that:
Matrix 1h = 1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
Matrix 2h = 0 0 0 1
1 0 0 1
0 1 0 0
0 0 1 0
Matrix 4h = 0 0 1 0
0... |
Since I'm unfamiliar with cryptography area I haven't been able to find cryptographic hash functions for 32 bit integer keys. It seems all such functions (as I saw here) are designed to digest a stream having hundreds of bytes. What I need is a cryptographic hash function that receives a 32-bit length key, and – prefer... |
When I configure a Yubikey slot as static, it's not documented or obvious how the static password yielded by a press relates to the AES key I set. For example:
me@mine:~$ ykpersonalize -1 -ostatic-ticket -ofixed=cccccccccccc -a00000000000000000000000000000000
Firmware version 2.3.3 Touch level 1795 Progra... |
If – when using AES in CTR mode – you decide to use the setup where you combine the IV and the block count value into a single value, as suggested here, the first 12 bytes are your IV and the last 4 bytes the block counter value. But what exactly do you do with block count value in terms of storage and subsequent decry... |
I am developing a software in which I am using AES for encrypting messages shared in a group. The key is generated by one user, the admin of the group and needs to be shared with other members. How can I share this key with all other members of the group securely?
Are protocols like Needham-Schroeder, Diffie-Hellman a... |
I'm reading Cryptanalysis of the SIMON Family of Block Ciphers. In Section 3.1, it says:
For SIMON, consider an n-bit input difference $\alpha= x\oplus x'$ to $F$ of Hamming weight one. As the operation $\oplus$ is invariant with respect to rotation, say w.l.o.g. that $\alpha= (0...01)$
I understand that the operat... |
Is there any way to hide message length from adversary in symmetric key cryptography?
Suppose we want to hide message length from active and efficient adversaries.
|
I am hoping to employ a signed set membership system which is valid iff each signer's contribution to the set is present. The system should allow for two or more mutually exclusive signed sets to be merged into a new signed set without requiring new signatures. Also, unless the set has a single signer, it should be i... |
I read about elgamal algorithm it work like the follow steps
Bashir chooses a large random prime p and a primitive root α modulo p.
Bashir then chooses a random integer a with 2 ≤ a < p - 1 and computes α^a mod p.
Bashir’s public key is (p,α,α^a) and his private session key is a.
Enciphering stage consists of the fo... |
The XOR operator seems to be a frequently used building block inside many cryptographic primitives. As far as I can see, its most desirable properties seem be that for the XOR of two bits $a\oplus b=c$:
The information is preserved. Either $a$ or $b$ can be recovered from $c$ and the other bit.
The information is hi... |
I've already read this:
Is it feasible to build a stream cipher from a cryptographic hash function?
However, my proposed construction differs…
Suppose the hash generates N bits. These bits are split into two parts:
$S$ bits are kept secret,
$X$ bits are used for the encryption, xor'ing the bytes the usual way
$S + X... |
In theory, does a piece of data exist which, when encrypted (using any method) with a given key, makes some sense when decrypted with the wrong key?
Here, a definition of "some sense" might be something like "when interpreted as ASCII character codes, the data forms a series of mostly correctly spelled English words".... |
Ed25519 signatures consist of $(R, s)$, where $s = r + H(RAM)a$ $mod$ $l$, and $R = rB$. This differs from the Schnorr signature where instead of $R$, the signature contains the hash $h=H(RAM)$. According to the Elligator paper (page 5) "one can reconstruct $(h, s)$ from $(R, s)$ and vice versa".
I see that $(R, s) => ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.