instruction stringlengths 32 27.2k |
|---|
We first need to show that for each pair of plaintext-ciphertext
letters ( x,y ), there are exactly 12 keys that encrypt x to y . For
each choice of a , the key ( a,y − ax ) encrypts the plaintext letter
x to the ciphertext letter y , since ax
+ ( y − ax ) = y . There are twelve possible choices for a so the... |
Assume a scenario where a symmetric encryption algorithm (for example: AES) wasn't implemented in a way it would safeguard against timing attacks. This symmetric encryption implementation is only used locally to encrypt/decrypt data.
The only time that data is passed via a network (if at all), it is done so as pre-encr... |
Shamir's scheme for implementing an $(n, k)$ sharing of a secret $S$ involves a random polynomial $F$ of degree $k-1$ such that $F (0) = S$. Each of the $n$ shares of $S$ is a pair $(x, F (x))$ for $x$ between $1$ and $n$. Consider a setting with $n$ participants $P_1, P_2, \dots, P_n$, and 2 secrets $S1$, $S2$. Each p... |
I was working with one-time pad, and as I understand , for one time pad to be 100% secure a key shouldn't be repeated. So assuming Alice and Bob have to exchange messages over the network secured over OTP, they both have to have the same key, which should happen by physically meeting and sharing the key on a drive for ... |
From some time I am working with "pen and paper" encrypted text.
Keys are not known, algorithm is not known.
I managed to find simple algorithm and key that seems to be nearly perfect.
Nearly perfect means that using this algorithm and key I can decrypt part of the encryption into meaningful text (~10 consecutive lette... |
Would using the ciphertext of the previous block as key instead of XOR:ing the block and encrypting with the normal key work?
Normally it's done like this:
What if we instead do this:
Seems like it should be more or less the same thing in the end?
|
I've tried to do something very simple here, which is to encrypt a message with a one-time-pad (OTP) and include the next OTP as part of that same encrypted message. i.e. The first message consists of the actual text of the message and then the next OTP added to the end. The length of the OTP should always stay the sam... |
In textbook RSA with no padding schemes, is it possible to forge a ciphertext that decrypts to a known plaintext when the ciphertext is encrypted using the private key and decrypted with the public key?
Specifically, assume the plaintext and public key are known. The private key is unknown. In this scheme, person A enc... |
I am a beginner learning about encryption. The Searchable Symmetric Encryption is better than Deterministic encryption? When I say better I mean smaller leakage.
|
I am using standard encryption AES/CBC.
I wonder if I can invest some time adding my own custom encoding/decoding after the encryption just as an extra security layer.
Does it really add any value in case the public algorithm is broken and the key still not compromised?
Is unknown custom algorithm (encoding/decoding)... |
Here is a hypothetical application of AES-CTR encryption.
Encryption:
Step 1: Generate random key and IV for new object;
Step 2: Use said key and iv to encrypt some data, which is then
stored on a content server;
Step 3: Encrypt key and IV using some secret master key, and store
the wrapped keys in a database table.
... |
Assume Alice wants to communicate with Bob. Bob provides his public parameters $(g,n,y)$ with $y=g^x$ where $x$ is his secret key
Now Alice wants to send $m$ to Bob. She generates a random $r$ and computes $u = g^r$ and $c=my^r$ and sends back to Bob $(u,c)$.
You intercept $(g,n,y)$ and $(u,c)$ and you also know what $... |
I need to generate 1024 pseudo-random bits from a 100 bytes string seed (only valid lowercase chars)
One thing I'm pretty sure would be secure enough would be to repeat this 100 bytes string 20 times and encrypt it (using itself as the key with AES for instance) and then return the first 1024 bits
Does that seems fine?... |
Let $G: \{0, 1\}^n → \{0, 1\}^m$ be a PRG. We construct a function $G': \{0, 1\}^{m + n} → \{0, 1\}^{2m}$ defined as follows
$G'(x || y) = x || (G(y) ⊕ x)$
for all $x ∊ \{0, 1\}^m$ and $y ∊ \{0, 1\}^n$. (The symbol || denotes here the concatenation of binary strings.)
Is $G'$ a PRG?
I believe that it is not, but I co... |
Ok, I have a wordlist of many many links (of the same site with a bit of difference in URL).
I'm certain that the majority of then will return the same result, a error page. But one will return the "correct" page.
The point is:
Is there a automatic way to test all of those links searching for the different one?
|
I have data sample of 1,000,000 bytes generated by a hardware RNG. The device is certified by ENT test suite, NIST SP800-22, DIE HARDER and TestU01.
I have tested my sample by SP800-90B_EntropyAssessment (github.com/usnistgov/SP800-90B_EntropyAssessment). Minimum Entropy Estimate is 7.88237 after which I run Restart Te... |
The same message results in different cipher text every time AES-GCM is applied. If an attacker collects repeated messages over time, will he be able to extract the plain text if enough cipher text is collected?
|
I would like to know if there are some symptoms that let me detect if my integrated circuit is actually subject to a side channel attack.
For example, are the following potential indicators?
Energy consumption becomes too high
Temperature becomes too high
|
Meaning the same key is used for encryption and decryption (symmetric). The same message always results in the same cipher text (deterministic) and has no memory (conetext free) like nounce or intialisation vector (IV).
Which algorithms exist and are recommended?
|
Problem: want to encrypt messages/objects/files using AES-GCM with the same secret key in a safe way, but want to do it in distributed/stateless way, so the IV of previous encryptions with the same key are not known and as I understand AES-GCM is not so secure with many messages if random IV is used.
Would example of t... |
I'm having a hard to finding out how I can detect if protocols are vulnerable to impersonation of Alice/Bob by Eves' replay attack! I have an example here:
$$\begin{array}{lclcl}
\mathsf A & \to & \mathsf B & : & \mathtt{Hello} \\
\mathsf B & \to & \mathsf A & : & B, K_{ab}\{B\} \\
\mathsf A & \to & \mathsf B & : & A... |
so in rabin decryption, we get 4 answers due to the square root and one of them is the correct one although I've seen the correct result multiple times sometimes i.e. 2 out of the 4 square roots. Is this normal?
|
The two main advantages of lattice-based cryptography are
resistance against quantum attacks
Cryptosystems constructed using lattice are worst-case hardness.
Are there are other advantages of lattice-based cryptography over ECC. Can we mention, cryptosystems based on lattices are simple to implement as it simpler ope... |
Both block ciphers and symmetric-key encryption use a secret key to transform plaintext into ciphertext, and do so in a reversible manner. Are they the same? Or does symmetric-key encryption also includes things other than block ciphers?
|
I'm having a hard time understanding the concept of LFSR, polynomials and finite field and how to solve exercises like picture below. Could anyone give me some pointer on where to start?
|
Specifically: Alice and Bob want to know if they like each other, but won't admit it if the other person doesn't reciprocate. (They're teenagers, or physicists.) They don't trust anyone else, so want to do it cryptographically.
So, say A->B=1 if Alice likes Bob, 0 otherwise. And let B->A=1 if Bob likes Alice, and zero ... |
The RFC 5246 defines generic block cipher as follow:
struct {
opaque IV[SecurityParameters.record_iv_length];
block-ciphered struct {
opaque content[TLSCompressed.length];
opaque MAC[SecurityParameters.mac_length];
uint8 padding[GenericBlockCipher.padding_length];
... |
Hi,I am new to cryptography.
I do not understand 5th step could anyone explain me please.
1) Read a plaintext from a file block-by-block with block size of 10 characters. Please note that plaintext file must contain more than 10 lines of text.
2) A permutation of length 10 is chosen to be IP = 10 8 6 4 2 9 7 5 3 1. The... |
I understand the "sudden death" implications of reusing a nonce with ChaCha20-poly1305, but I believe this rule doesn't apply if you are transmitting exactly the same packet.
I'm putting together a small radio protocol where packets can be lost and if an ack isn't received the packet is re-transmitted. In this instance... |
Lets assume for example, that a server is configured to use TLS 1.0 and there are no ciphers enabled for it.
What will be the default behaviour if a client connects to it?
Will the server use any null ciphers by default to complete the TLS handshake?
|
I found some questions and answers about the performance of Fully and Partially homomorphic encryption. I am interested in a comparison in terms of security guarantees (of any kind, formal or informal). I understand that there are various schemes for both and so a comparison between specific schemes is equally useful t... |
I am not sure whether this is common sense, but I really don't know what this $c$ means in an equivalent sign, from Lindell's How to Simulate It:
$$\big\{(S_1(1^n, x, f_1(x,y)), f(x,y))\big\}\stackrel{c}{\equiv}
\big\{(\mathsf{view}^\pi_1(x,y,n),\mathsf{output}^\pi(x,y,n))\big\}_{x,y,n}$$
$$\big\{(S_2(1^n, x, f_2(x,y))... |
I have read that the only difference between enc and dec of a Feistel Cipher is the order of the subkeys. But on the following figure, the harves block are also inverted, no?
I don't understand why it doesn't count as a difference... To me, take the R block or the L block into the XOR has not the same effect.
|
It is mention in the paper "
Fides: Lightweight Authenticated Cipher with Side-Channel Resistance for Constrained Hardware" , the number of active S-boxes of Fides cipher is 22 over 5 rounds but my result shows it is 25((9-3-1-3-9))using the same concept used in midori (same almost MDS matrix) to construct MILP model.
... |
Let's say I have a secure AEAD-scheme like ChaCha20/HMAC and my encrypted blobs need to match a fixed size:
Is it OK to apply some padding to my plaintext to match the block-size?
Can I use any reversible padding or should it provide some special properties?
The required ciphertext properties are:
privacy
integrity
i... |
I understand how work the multiplication but I'm confused if the matrix to use is fixed or variable.
The site where I read how mixcolums work is this https://math.stackexchange.com/questions/248456/matrix-multiplication-in-aes-mixcolumns-step
Thanks in advance for the replies.
|
void encrypt (unsigned long* v, unsigned long* k) {
unsigned long v0=v[0], v1=v[1], sum=0, i; /* set up */
unsigned long delta=0x9e3779b9; /* a key schedule constant */
unsigned long k0=k[0], k1=k[1], k2=k[2], k3=k[3]; /* cache key */
for (i=0; i < 32; i++) { /* ba... |
I have recently learned of dual ciphers, in particular dual ciphers of AES. It seems there are many. Most of my information comes from:(1) Representations and Rijndael Descriptions.
In this paper the authors (which includes one of the designers of AES) discuss $256!$ equivalent ciphers of which $2^{62}$ are useful (4.1... |
I was wondering whether in DES,
if we used more than 16 rounds, the security of the message was increased or actually decreased?
(disregarding the decreased speed of execution / computation.)
Thanks in advance!
|
I had searched a lot but I don't undestand how work the operation on binary (How to solve MixColumns). What I don't undestand is from where he catch 0001 1011 to do the XOR operation.
Can someone explain me? Thanks in advance for the replies.
|
I am working in the secp256k1 elliptical curve, though I suspect this would apply to any elliptical curve. I have a Pedersen Commitment of the $x$ and $y$ coordinates in some discrete log scheme with generators $g$ and $h$. The point described by $x$ and $y$ is equal to $G^n$, where $G$ a public generator and $n$ is a... |
I have three different 1024-bit public keys with common exponent $e$ but different moduli. A message $m$ is encrypted (without padding) using the three keys, which results in three different encrypted messages.
Given the three pairs of public keys $(N_i,e)$ and the encrypted messages $c_i=m^e\bmod N_i$ , how do I decip... |
Is the perfect secrecy of the one time pad dependent upon the xor "randomness preserving" property (xoring a uniformly random string with any string yields a uniformly random string)? I have seen different arguments in different sources.
For example, in this discussion, the first answer derives perfect secrecy without ... |
I recently started looking into security mechanisms used for Car2Car communication according to DSRC/WAVE and ETSI.
What I found so far is that each packet is signed using ECDSA mechanism.
Also each packet either contains the certificate that is used for signing or some hash value identifying that certificate.
This cer... |
In ElGamal scheme we have message $M$; $p$, $g$ and $y=g^x \bmod p$ as public key where $x$ is unknown private key.
Encrypted message $(c,d)$, where $c=g^k \bmod p$ and $d=M \cdot y^k \bmod p$.
Signature $(r,s)$, where $r=g^k \bmod p$ and $s=(M - xr)\cdot k^{-1} \bmod p-1$
If $c=r$ then message encrypted and signed w... |
Assuming we have a Feistel cipher, with let's say 2 rounds i.e:
Plaintext $P=(L_{0},R_{0})$
$L_{1}=R_{0}$
$R_{1}=L_{0}\oplus f_{{K}_{1}}(R_{0})$
$L_{2}=R_{1}$
$R_{2}=L_{1}\oplus f_{{K}_{2}}(R_{1})$
With the keys $K_{1}, K_{2}$
With a known plaintext attack, assume we have some $x$ amount of pairs of $(P_{i}, C_{i})$ fo... |
Let $L = [b_1, \dots, b_k]$ be a list of blocks of a file.
I want to compute the function $f = h(g(b_1), \dots, g(b_k))$ on $N$ untrusted nodes such that:
Anyone can be reasonable convinced (with high probability) of the correctness of the result.
The algorithm is practical (no homomorphic encryption nonsense or simil... |
I started reading "Bitcoin and Cryptocurrency Technologies - Princeton University" (coursera) and in the first chapter it talks about Merkle–Damgård transformations for SHA-256. I was trying to understand it by working out an example, but I keep getting problems.
Here is my work:
Take a compression function that takes... |
I have an RSA Private key file my_private_key.pem with the header -----BEGIN RSA PRIVATE KEY-----. I can parse that with the openssl utility: openssl asn1parse < my_private_key.pem
That shows me a bunch of integers: a 4096 bit integer, a 17 bit integer, another 4096 bit integer, and then five 2048 bit integers.
I under... |
I'm doing some research into the RSA cryptosystem but I just need some clarity on how it worked when it was published in the 70s. Now I know that it works with public keys but did it also work with private keys back then or did it use a shared public key first and then private keys were introduced later?
|
According to my understanding, Digital Signature is a technology to use private key/public key to sign/verify data in order to ensure data authentication, integrity and non-repudiation. Sender signs the data with private key and send the signature with the original data to receiver, and receiver verify the signature to... |
Under the assumption that "secure" encryption exists, secure evaluation of functions represented by Boolean circuits is possible by Yao's garbling scheme [Y1]. My question is whether secure evaluation of functions represented by Boolean formulae is an easier problem (i.e., possible in the information theoretic setting... |
The Fiat-Shamir heuristic may be applied to transform a Sigma-Protocol on R(x,w) into a ZKPoK.
Let's call the prover's first message a and the verifier challenge e.
It is said that given a secure hash function H, one could have e = H(x,a) for Random-Oracle security.
But what happens if only a is hashed? What known atta... |
I have a string secret that I would like to encrypt for storage in a Yubikey's second slot. These slots can be configured to store up to 38 characters that are later "typed" by the USB device acting as a keyboard. This means it can't store raw bytes, but fortunately it's sufficient for my use case for my secret to cons... |
I've been struggling since days to install libsodium on my Debian9/php7.0(with fpm) server ...
When I follow the steps outlined on https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium everything seems to work, however I get this error at PHP startup:
Invalid library (maybe not a PHP library) ... |
For SHA-256, FIPS 180-4 states the following on the constants:
These words represent the first thirty-two bits of the fractional parts of the cube roots of the first sixty-four prime numbers.
If one were to change some small number of those constants, say $n \leq 8$, to suitably "random" values, would this significan... |
I'm trying to understand how GRC password generator can get 512 bit of secret data while encrypting 128-bit of data.
The generator address is located here: https://www.grc.com/passwords.htm
See the "The Techie Details" section at the end of the webpage.
They wrote:
The result of the combination of the 256-bit Rijndael... |
Let's say I have a document. I want to give you a copy, and then I want to prove that I gave you a copy. Ie, I want some kind of digitally signed receipt from you. If you're dishonest, you may receive the document and then refuse to give me a receipt. I would like some sort of cryptographic protocol that provides some ... |
I've been reading details about the Double Ratchet algorithm, and I wanted some clarification regarding the aspect of the DH public keys going out in the plain in the header of every message. Quoting from the specifications of the Double Ratchet:
Every message from either party begins with a header which contains
th... |
I want to set up a very secure-from-MITM-attacks server. I have these algorithms enabled in my nginx and I'm getting an A+ on ssllabs.com but it's complaining that my cipher strength isn't 100% and that my key exchange isn't either. Even if reordering these won't improve it, I still would like to sort them by security ... |
Let's say I have 4 strings - A, B, C & D. I concatenate and hash them in any order: A + B + C + D or A + C + B + D and send it to another party. Let's call this X.
I can also send a hash of A separately to the same party (but cannot send it in plain text). Is there any algorithm that I can use to figure out whether the... |
I don't quite understand why AES CBC was removed in TLS1.3.
From what I know CBC is the most secure Mode of operation for the AES block cipher (if you can say it like that).
It only needs a TRND IV and has not been broken. If you pair it with a decent HMAC I guess It's at least as secure and AES-GCM.
So why is AES-GCM ... |
I have clients sending data to a server. The data is not encrypted, but that's OK. I want to make sure the server only accepts data from authorized clients.
The server knows all of the clients' passwords. The clients generate a fairly random string (the first 6 characters of a UUID, gotten through the Python uuid.uu... |
Let's define "breaking" a hash function $H$ as being threefold (corresponding to the main properties of a cryptographic hash function):
preimage attacks to get $m$ knowing $H(m)$
second-preimage attacks to find some $m'\neq m$ knowing $m$ so that $H(m)=H(m')$
collision attacks to find $m_1,m_2\neq m_1$ for $H(m_1)=H(m... |
The popularity of SHA-256 as a hashing algorithm, along with the fact that it has 2256 buckets to choose from leads me to believe that collisions do exist but are quite rare.
Are there any well-documented SHA-256 collisions? Or any well-known collisions at all? I am curious to know.
I find that showing collisions to pe... |
We have $$e(x) \equiv ax + b \pmod{26}$$ where $a,b \in \{0,1,\dots,25\}$ and $\gcd(a,26) = 1.$
The question is how to find all possible values of $a$ and $b$ for which
$$e(e(e(x))) \equiv x \pmod{26}$$
holds for all $x \in \{0,1,\dots,25\}.$
|
Are there any publicly available stats regarding how often are specific public exponents used for RSA keys?
Presumably, 65537 is the most commonly used of them, but I'd like to get some notion of which other values one should care about when testing for compatibility.
|
I want to implement threshold homomorphic encryption for my project.
(encrypt a message using one public key, and decrypt a ciphertext using distributed secret keys)
I read a paper "Multiparty computation from threshold homomorphic encryption", which describes the way to build threshold homomorphic encryption.
However,... |
In WWII the primary way of encrypting radio broadcasts was to have the broadcaster transmit a signal with noise added from record, while the receiver would have an identical copy of the record subtracting the noise.
Assuming that the noise is totally random, and the record is never replayed. How would one attack it?
Wh... |
Let's say a 1MB file has many many consecutive null-bytes 128-bit blocks. Then, as AES works with blocks, the encrypted file will also have recurrent 128-bit-long patterns of aes_encrypt(000...0) (where 000...0 is a 128-bit long null block).
How isn't this a weakness?
As null-bytes blocks is very frequent in files, we ... |
In Security of Blind Discrete Log Signatures Against Interactive Attacks C.P. Schnorr defines the ROS Problem and claims that a $(l+1)$ attack against his blind signature scheme is equivalent to solving this ROS problem. (As an aside, some years later Wagner found a way to solve the ROS problem for typical groups, so u... |
I'm trying to understand why is this, in my opinion, counter intuitive construction secure. ECDSA is a tuple of two numbers (r, s) whose validity can be verified by public key. However I don't see the reason why the only way to forge the signature is breaking the DLog problem on the EC. I spent many hours thinking abou... |
While studying ring signatures, I obviously stumbled on the Wikipedia article about ring signatures. It includes a piece of Python code to demonstrate "How to leak a secret" ring signatures.
Remarkably, they do not use a symmetric encryption function ($E_k$, as in "How to leak a secret"), but a hash function ($\mathcal... |
I'm looking for articles about finding bugs in security protocols using formal methods so I can test them using tools like ProVerif.
I've searched a lot of references, but most of them seem to be about formal methods themselves and why we should use them, not testing a particular security protocol.
Are there any securi... |
Looking at a reference implementation it shows that the key pair generation simply does: read X bytes from RNG and then derive another value from these X bytes thus producing private key with derived public key.
However nowhere in documentation I see mention of what qualifies as a “good” private key (or in this case R... |
could someone tell me how long the cycle length must be in stream ciphers, so a security exists. how to compare the cycle length to the state space?
I investigate the algorithm spritz and I have the attainability of the states under investigation with key lengths of 1 - 10 and n = 6. now I have the values but I still... |
need to create secure PRNG. can i use ANSI X9.31 generator and modify its entropy rather using DT use something else >?
|
Along CHES 2017 was a Capture the Flag Challenge, aka The WhibOx Contest.
Participants submit C source code with interface
void AES_128_encrypt(unsigned char ciphertext[16], unsigned char plaintext[16]);
that performs AES-128 encryption with some key. Other participants attempt to find that key from the submission. A... |
I'm studying the basics of cryptography and I didn't understand why elliptic curves use fewer bits.
For example, finite-field Diffie-Hellman needs at least 1024 bit and it's a DLP, but elliptic curves need at least 256 bit and it's also a DLP.
What is the actual difference? Can you show mathematically why (with some ... |
Can someone explain why after extended Euclidean algorithm if a negative value is given for d it must be taken from (p-1)*(q-1) whereas if the value is positive it can be taken as is
My calculations are as follows:
p = 17, q = 19, pq (or n) = 323, e = 7
ed = 1(mod lcm(p-1, q-1)) thus ed = 1 % 144
I now try and find d ... |
I want to make a computer program to sign and verify some message using ECDSA.
There are some computer libraries but I'm having trouble using them, as I don't understand ECDSA.
What do I need theoretically?
Is ECDSA the same as other digital signing that I calculate hash of message, encrypt the hash and append it to t... |
I'm implementing a pairing-based signature scheme using Charm Crypto and PBC, and I'm struggling to understand the relationship between the curves proposed for use with pairings and the pairings themselves.
As I understand it, I can choose between various curves (e.g. I would like to use TypeD curves).
I know that ther... |
I heard that the fastest method to crack an AES-128 encryption, or and AES-256 encryption is by brute force, which can take billions of years. But I can't help thinking there's got to be a faster way.
Because the AES encryption scrambles the data contained in a zip file, the password could be found by unscrambling tha... |
I'm looking for a hardware that can generate sha256 hash of the input.
|
In the answer here: Verification of identity by certification authority,
it states that for European eIdentity you must provide your passport or ID card, but that
this practice is quite different for SSL certificates (which
makes up the biggest part) or software signing certificates.
I'm interested in that case. Th... |
While obtaining digital certificate the applicant trusts the certificate authority (or registering authority) as CA is digitally certified (and applicant has CA's public key).
To certify a domain the protocol would go like this:
I generate my public-private keys and send the authority my public key encrypted by its p... |
I'm having difficulties figuring out, what the 'full stop' means in the paper John Almeida - SHADOW NUMBERS PUBLIC KEY ENCRYPTION. Appreciated if someone can elaborate on it or have a list of similar notations explained.
$$B = (Sa . Sb) − 1$$
The 'full stop' inbetween Sa and Sb is what I'm trying to understand here spe... |
Consider the ECDSA protocol, which is applied in different environments e.g. the Bitcoin system (for user addresses, and transaction signing).
What are the greatest threats in terms of algorithms that could solve the underlying discrete log problem for groups over elliptic curves? I found:
General Number Field Sieve
... |
Is there a crytpographic way to assert ownership of an asset (let's say a piece of stone)?
As an example, a number (public key) could be engraved in the stone, and the owner could keep a private key (never shared).
Anyone who wants to claim for ownership would have to decrypt a message, and only the one who has the pri... |
Definition: A matrix A of size $2^n$ is a Hadamard matrix, if has the following form
$$
A=
\left(
\begin{array}{cc}
U & V \\
V & U
\end{array}
\right)_{2^n\times 2^n}\, ,
$$
where $U$ and $V$ are also Hadamard matrices.
Example: A Hadamard matrix A of size $2^2$ is as follows
$$
A= \left( \begin {array}{cccc} a_{{... |
Is hashing the last block in the Merkle-Damgård necessary in preventing collisions? i.e. What if I just outputted $z_B || L$, where $z_i$ is the hash of the last block of the message, L is the length of the message and B is the number of blocks, instead of $H(z_B || L)$?
|
The RSA factoring challenge lists this RSA 2048 value:
25195908475657893494027183240048398571429282126204032027777137836043662020707595556
26401852588078440691829064124951508218929855914917618450280848912007284499268739280728777
67359714183472702618963750149718246911650776133798590957000973304597488084284017974291006
4... |
Nigel Smart's attack solves the discrete logarithm problem in linear time. It requires the curve, however, to be anomalous, i.e. to have a trace of Frobenius equal to one or, equivalently, to be of the same order as the underlying field, $\#E=p$.
Smart's paper is here: http://www.hpl.hp.com/techreports/97/HPL-97-128.ht... |
I have not a very large background in cryptography so I hope these questions are not very dumb. I don't want to reinvent the wheel, I'm just looking for advise on the best practices about how to build the following.
I've seeking and reading for several hours now and didn't find any answer that fulfills my concerns. Th... |
How can one crack a message c_2 encoded by e_2 if one knows e_1, e_2, d_1, and both codes share common modulo n, without using factorization?
Considering textbook RSA
|
My friend forgot the password to his electrum wallet but knows that it's a 6 digit pin. I looked into it and from what I can find electrum uses the sha256(sha256(pin)) to generate the key used to encrypt the private key with AES in CBC mode. What I'm not sure about is whether or not it is feasible to crack this and I w... |
I have a symmetric-key encryption scheme. I think the output from this scheme (MAC + IV + CBC ciphertext) should already be practically indistinguishable from random, but I would like to pad the output to an arbitrary number of bits and have it still look like noise (I will be using the output for steganography). It wo... |
I would like to implement a hash function $H \colon \{0,1\}^* \to \mathbb{Z}_p^*$ such that $p$ is a prime number and $\log_2(p) > 256$. I am wondering if it is a good idea to use the hash function SHA-256.
Since $\log_2(p) > 256$, can I just use the output of SHA-256 and apply the modulo $p$ on it?
I would also like t... |
Is the security of AES algorithm increased by using many s boxes at the same time instead of using only one s box , and the same question for using many MDS instead of only one.
|
For learning purposes, how to get the RSA's parameters (I use standard notation):
$n = p q $, where $p$ and $q$ are prime and $e$, $d$, such that $ed = 1 \ (mod\ \varphi (n)) $ when doing
ssh-keygen -t rsa -b 2048
i.e. how to get those parameters from the output:
----BEGIN PRIVATE KEY----
F2847XAPM...
...
----END PRI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.