instruction stringlengths 32 27.2k |
|---|
I want to implement AES algorithm,instead of 128 bit key encryption I wanted to do it for 256.But I’m stuck at point creating scheduling for 256 key generation.
Can anyone help in this.
|
Message authentication is ensured by using HMAC, which can be thought of as a symmetric-key construction.
Source authentication in multicast communications can be guaranteed using TESLA, which is again based on symmetric-key principles (although it basically works because of asymmetries in time).
However, neither HMAC... |
In Brakerski and Vaikuntanathan's homomorphic encryption scheme, the relinearization function turns a 3-element cipher back to a 2-element cipher by using a set of public homomorphism keys (https://eprint.iacr.org/2011/405.pdf, see section titled "An Optimization to Reduce Ciphertext Size").
I do not understand the po... |
Quantum computers will seal the fate of conventional encryption techniques. Of these, the hardest hit will be the RSA algorithm used by 99 percent of all applications the encryption standard for any secure transfer and storage of communication data or software updates. What are some solutions to the inevitable?
|
It doesn't take a lot of time on the crypto StackExchange to realise the sentiment around MD5 hash functions is poor.
My questions are:
If it's such a bad idea to make use of MD5 hash functions why do big websites (such as the ubuntu.com) still make use of the hash function to verify the integrity of the file ... |
In April 2017, Jacob Henning asked "What are the chances that AES-256 encryption is cracked?" and part of his question was how best the transmitted data, now in his web database, a.k.a. "data at rest" might be protected.
Hence my question:
What is the best way to protect data on a server after it has been "safely" tran... |
I have an encryption scheme which masks the message m by multiplying it with a secret random group element i.e $g^r \cdot m$. I should allow decryption and get $g^r$ if I have a valid secret key; otherewise I will only reveal $(g^L)^r$, where $L \in Z_n$ and $g^L$ is known to the adversary.
Is this secure? If yes, how ... |
Telegram recently updated its symmetric-key encryption scheme MTProto, which seems to fix some known vulnerabilities. Nevertheless, I still do not understand why they roll their own crypto. What properties/advantages do they gain from their homemade MTProto encryption scheme beyond those already provided by the standar... |
I there a way to calculate two similar pseudorandom periodic sequences by exchanging some sort of initial value and generator polynomial?
Like a linear-feedback shift register but with a finite field of numbers and each number occurring only once in the sequence?
|
Reading through Katz & Lindell's Intro to Modern Crypto, I came across these notions which were introduced in quick succession without much differentiation between them.
How do Indistinguishability(IND) and Non-Malleability(NM) differ? Which is the stronger notion of the two, in which (if any) scenario are they equival... |
I want to know whether there is any additively homomorphic schemes that can make a non-interactive range proof.
For example, I have a pair of public and private key pairs $(K_p,K_v)$ that satisfying a additively homomorphic schemes $E$, and I want to prove that the plaintext of $C=E_{K_p}(m)$ belongs to $[a,b]$, where... |
I got the idea from Eve Online's BPCs (Blueprint Copy). The in-game explanation is that the license to manufacture a copy of a starship is limited to X times, and afterwards the BPC is automatically corrupted.
I understand that the resulting plaintext can be copied after decryption any number of times, rendering the li... |
I know some works have been done in the context of cirrcuit privacy on homomorphic encryption, where from an output ciphertext it does not allow
someone to distinguish what function is computed.
I wonder the need of this functionality. If we use a cloud server to delegate some tasks over encrypted data, then the clou... |
So I have this protocol for the hamiltonian cycle:
repeat t times:
Peggy chooses a random permutation $\pi$ on $V$, and computes $G_1=\pi(G)$
For each of the $\frac{|V|(|V|-1)}{2}$ possible edges of $G_1$ Peggy computes a different commitment and sends the commitnet to Victor. ($\forall v_1,v_2\in \pi(V)$ if $(v_1,v_2... |
I have an encryption scheme $Enc(pk, m)$ which outputs ciphertext of the form $c_1 = (pk)^r, c_2 = g^r \cdot m$; where $pk$ is the public key of the form $g^a$, $a$ being the corresponding secret key.
Is this secure?
|
In many cases why going through the security proofs I have seen that some does it using a blackbox reduction to some known hardness assumption DDH and others do it using a hybrid argument by arguing the indistinguishability between the hybrids is equivalent to adversary's advantage in the DDH game.
What I don't unders... |
I don't understand how the AddRoundKey function works, because the following example is from the cipher authors. I`m trying to add 76 and 7d, and my result is f3.
Could someone explain this?
8F 20 3E 06 5F C3 54 45 B5 FE B9 AC A7 A0 C6 76 +
86 2F 1F 65 3B 77 5B A1 D0 5C BC 2F 38 E2 D8 7D =
16 50 5E 6B 9B 3A B1 E6 86 ... |
When I study symmetric encryption, it is quite straightforward to understand the following: in the presence of eavesdropper, simply using a PRG $G(k)$ and XORing multiple messages won't provide indistinguishability in the similar fashion as for a single message.
But what happens for multiple distinct messages? Will a ... |
recently I heard the term "transcipher" during a discussion (seems something related to double encryption using two different keys), but I was not able to find any information about such a term in the internet. Is it an actual cryptography term? if so, what does it mean?
|
Just for the sake of learning, I'm attempting to write an ECDSA implementation in Java.
I have what I believe is a correct implementation for point addition and doubling, but I'm not sure how to implement point multiplication - Every online description I've found says to use an algorithm like this:
public static Point ... |
It is sometimes required while proving the security of a protocol in the malicious setting that the simulator is able to extract the witness set of the adversary, who tends to be the prover of possessing some knowledge, in the ZKP step of the protocol.
I was having issues understanding how the simulator would be able ... |
Consider a simple, 1-round Feistel network.
Because the ciphertext is essentially $(L_1,R_1)$, if one knows the plaintext $(L_0,R_0)$, the only unknown left is $K$.
However round functions in Feistel networks are not necessarily invertible. For example, one could in principle use a cryptographic hash as a round functio... |
I have learned new crypto words, so I rewrote the question:
I have quite random 32-byte hash which I want to use as a seed for generation of 10 pseudo-random positive numbers up to some maximum number, the generation must be reproducible. I would prefer, if those 10 numbers would differ from each other.
There is an exa... |
This is a ciphertext :
§ƒÜì ©©”Ѫÿƒ_G¢4Ø{i§çÞ“./
when I put this ciphertext here in this site :
http://www.charactercountonline.com/
some others 4 weird characters were shown : one character after the / and two characters between the ì and the © and one character between ¢ and 4
what are those characters ?
do they belo... |
What is the main difference between CFB and CFB8 modes in 3DES? Is it only a change in block size from standard 8 byte to 1 byte when doing 3des and XOR? I cant find any pseudocode for this CFB8 mode? any pointers?
|
OSPF features the use of Auth Crypto Sequence Number however, from reading the RFC it would appear the sequence number is not being used as a nonce.
In addition, a non-decreasing sequence number is included in
each OSPF protocol packet to protect against replay attacks.
This provides long term protection; however, it ... |
I have two numbers $x_1$ and $x_2$, and there are two Paillier homomorphic encryption (public, private) key pairs $(p_1,r_1)$ and $(p_2, r_2)$. I only know $p_1, r_1$ and $p_2$. Suppose $C_1=E_{p_1}(x_1)$ and $C_2=E_{p_2}(x_2)$, here $E$ means Paillier homomorphic encryption.
How can I prove $x_1$ equals $x_2$ when I o... |
I have 32-byte Keccak hashes and I have some maximum number, for example 500, how to uniformly convert those hashes to pseudo-random positive numbers up to that maximum?
I mean I have for example 100 quite random hashes and I want to distribute them so the result would be something like 80 numbers hit once, 19 twice a... |
The order of the base point, $l$, is 2^252 + 27742317777372353535851937790883648493
However, the base point group is nested within other large groups, the largest of which is of size $8l$.
There are also nested small subgroups, the largest of which is a small subgroup of size $8$.
Is it therefore correct to say that th... |
I do not understand the format used in Shoup's "Using Hash Functions as a Hedge against Chosen Ciphertext Attack (page 8 of the PDF) for universal one way hash functions (UOWH). What are $k$, $u_1$ and $u_2$ in $\operatorname{UOWH}(k; u_1, u_2)$?
|
Regarding this article about a signature recovery
However, with the signature and the message that was signed, and the knowledge of the curve, it is possible to generate two public keys
So we can derive 2 public keys for each signature and message
I try work with python library https://github.com/ludbb/secp256k1-py.
... |
Let $G=\langle g \rangle$ be a cyclic group of prime order $Q$. Let $H_1:\{0,1\}^*\to G$ be a hash function. Is the following a family of PRF for $s \in \mathbb{Z}_Q^*$?
$$f_s(x)=(H_1(x))^s$$
Or equivalently, let $H_2:\{0,1\}^*\to \mathbb{Z}^*_Q$ be a hash function,
$$f_s(x)=(g^{H_2(x)})^s$$
Intuitively it is in ROM, b... |
I have been reading this paper by Abdalla, et al. But there's something I don't get about the security proof (Theorem 3.2) for the basic IP scheme from DDH--how are they simulating the mpk's using $g^a$?
I understand that for each basis vector they are sampling secret keys, and for $x_1 - x_0$ they are implicitly sett... |
An anonymous key exchange protocol $P$ is pair of probabilistic machines $(A,B)$ that sends messages to each other and at the end, both $A$ and $B$ will share the same key $k$.
The attacker can see the protocol transcript $T_P$ of $P$, that is, the sequence of messages exchanged between the parties in one execution of ... |
Must Bob and Alice establish a 'connection' before a symmetric or asymmetric encryption scheme is secure? If so, is there ever some expected plaintext whose decryption authenticates the users?
In addition, could anyone recommend a good introductory book or paper on cryptography for a beginner like me?
|
So after SSL handshake the master secret is used to securely transfer data encrypted using symmetric cryptography. My question is simple: after SSL handshake, when the server (for example my bank) sends to me message encrypted symmetrically, is the message body (when my computer decrypts it) signed by server's public k... |
I want to find an algorithm to get a private/public key pair where one coordinate of the public key has some specific prefix (for example: 20 leading zeroes).
In the secp256k1 case (the Bitcoin curve), G. Maxwell has found a public key with coordinate
x = 00000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c6... |
I'm generating permutations with a generalized Feistel network which will output integer values $r_j$ in a specified range $[0,period]$ pseudo-randomly, according to the counter input, which will then cycle after having reached each of them all exactly once.
Rather than splitting the counter into two equally sized bitv... |
Let $\Bbb{G}$ be a cyclic group of prime order $q$ generated by $g \in G$.
Let $G$ be a PRG defined over $(\Bbb{Z}_q^2, \Bbb{G}^3)$ such that:
$G(a, b) = (g^{a}, g^{b}, g^{ab})$
How can I show that $G$ is a secure PRG assuming DDH (decisional Diffie-Hellman) holds in $G$?
After reading this, I'm confused to prove $G$... |
Suppose DL is hard in $G=\langle g \rangle$. For a uniformly random group element $r \in G$ (suppose $r=g^a$), is it hard to find $s$ given $r^s$ and $r$? Does the computational assumption have a well established name?
I can show it at least as hard as DDH, because if $\mathcal{A}$ can find $x$ given $g^y$ and $g^{xy}$... |
I'm not much familiar with cryptography, so please guide me in the right direction on the following question:
Let's say I have some data (array of bytes) $D$. I want to convert it into $N$ pieces (arrays of bytes) in such a way that
if someone knows at least $m$ of those pieces ($m \le N$) then it should possible to r... |
Most cryptographically protected protocols use TLS these days. This applies to mail protocols, HTTP and many others. The newly designed QUIC has also adopted TLS as its cryptography layer.
However, SSH is different: it has its own cryptography layer.
Why does SSH have a non-TLS cryptography layer? Are there any benefit... |
I have an idea for a peer-to-peer network that will require every connected peer to verify many symmetric signatures per second. In bitcoin, it's the same - every peer independently verifies signatures of every transaction. How many signatures, which sign some message (ECDSA or RSA or whatever is fast and secure) can m... |
I feel like I am missing some information regarding salting. How does one choose the salt? If you reuse the same salt for all passwords, can it just be figured out and then used in conjunction with normal brute-forcing. And what are the common ways to generate the salt?
|
Are there any post-quantum, forward-secure, hybrid, optionally authenticated key exchange protocols? Specifically, I am looking for one that can be deployed in a hybrid with X25519 + EdDSA.
|
Assuming $k$ is the key (128 bit) and $m$ is the message (128 bit), how can I use the block cipher $blockenc(k,m)$ to make a stream cipher which can produce quintillion pseudo-random bits?
|
The web pages of BearSSL have the following performance numbers:
Poly1305 1730.92 MB/s, amd64, ctmulq
AES-128 CTR 92.38 MB/s, amd64, ct64
It seems that constant-time Poly1305 is over an order of magnitude faster than AES-128 in the counter mode, without any special CPU instruction support in either.
My understanding ... |
Any suggestions for A Proof-of-Work algorithm in literature so that the time required for solving it is linear with the puzzle difficulty ??
|
I'm new to cryptography, and I'm trying to understand the concept of rekeying. What is the motivation (necessity) behind rekeying? What is the detailed mechanism for generating new session keys for an encrypted established connection?
Clear explanations of basic concepts would be very helpful, as would links to good v... |
I couldn't find this explained in another question, but is there an actual reason as to why Jacobian coordinates are used for elliptic curves? Do they provide some sort of advantage in terms of performance? Or are they easier to use for security proofs?
|
I want to implement non-interactive Bit Commitment scheme for messages of arbitrary length.
And I am curious, what is the reason of using Pedersen Commitment scheme over Salted Hash (in other words HMAC).
Example is coin flipping protocol from Wikipedia:
Alice "calls" the coin flip but only tells Bob a commitment to ... |
I am looking for such an cipher algorithm that is based on asymmetric cryptography where the order of encrypting is irrelevant.
For example:
There is a message "x", Bob encrypt that message with his key and passes result "zz" to Alice. Alice encrypt that message with her key and receives: "xyz".
There is a message "x".... |
I have read the Wikipedia article that states Dunkelman, Keller and Shamir managed in 2010 to mount a related-key attack in a pretty decent time (2hrs) with a Core 2 Duo.
Why was Kasumi breakable in 2G (A5/3), but not in 3G?
|
Consider the following setting: We have a sender $\textbf{A}$ and a receiver $\textbf{B}$. The sender $\textbf{A}$ a wants to send a message $M$ through a channel where each message to $\textbf{B}$ can be up to 8 bytes. Due to the limited size each message can have Truncated Timestamping (TTS) is used.
I am asking mys... |
Is Cipher based message authentication (CMAC) susceptible to block reordering (just like CBC)?
|
Hash functions such as SHA are considered as non-algebraic statements. How can one construct a NIZK proof to show that the output of a hash is computed correctly in an efficient manner.
|
I have modified SRA algorithm to suit my problem and I'm wondering if it is still safe to use.
Main question is if RSA Encryption key that contains even number is a safe one way function?
In RSA algorithm: encrypted message is (message)^e1 % N
As far as I understand when I select e1 as even number, multiplicative inve... |
I have studied PBKDF2 for the application of hashing passwords, and frankly I don't understand the justification for the complexity of PBKDF2 over iterative hashing with a cryptographic hash function.
Here is an example: (obviously if you want a longer/shorter hash, choose a longer/shorter digest)
|| - concatenation op... |
I'm reading about various hardware random number generators which - among others - implement the following approaches:
Analog-to-digital converter noise
Johnson–Nyquist noise
Reverse biased semiconductor junction
Avalanche diode with optional atmospheric noise
Edit: Modular entropy multiplication
What are the practic... |
Is there any algorithm for generating the same ciphertext from different plaintexts, depending on the key used? This seems similar to Honey Encryption, but I don't need to have every key give realistic data. I want to specify a set of keys and corresponding plaintext.
For example, "hey" encrypted with key1 and "bye" en... |
The verification algorithm for ECDSA is:
$P=e\times G$,
$(r,y)=k\times G$, and
$s=(z+re)\times k^{-1} \bmod n$,
where $P$ is the public curve point, $G$ is the generator point, $e$ is the private key, $n$ is the order of $G$, $z$ is the message hash and $k\in [1,n-1]$.
$u = z\times s^{-1}$ and
$v = r\times s^{-1} \... |
I am studying the Elliptic Curve Diffie-Hellman (ECDH) on Bluetooth 4.2.
There are some questions about the PK..
Where do these public and private keys come from?
Who defines them?
and Will it be changed ?
if it can be changed, How to do certification ?
|
Let $E$ be an elliptic curve defined over $\mathrm{GF}(q)$, where $q=p^r$. Let $G$ be a cyclic group of points of $E$. Then how we can map points of $G$ into $\mathbb{Z}_q$ using a hash function.
|
If I have two different MD5 password hashes with two different salts (the salts are known), is there any way to cryptographically deduce if the two passwords match? Other than brute force password cracking, that is.
|
I have some troubles in understanding the q-SDH problem. The discrete logarithm problem states the following.
Given a point P of order on an elliptic curve and a point Q on the same curve. It is hard to find a such that $0 \leq a \leq p-1 $ and $Q = aP$.
The q-SDH problem states the following:
Let $g_1$ be a generator ... |
Is the private key required once the certificate is hashed and signed? After a certificate is generated, public key is shared within the certificate itself. Is the private key used for any other purpose within the handshake or certificate validation?
|
The Montgomery Powering Ladder performs an exponentiation with the operations square and multiply (called double and add in the case of elliptic curves). To my knowledge the order and kind of operations involved are independent from the exponent, which prevents side channel attacks if the exponent is a secret key.
But ... |
What's the industry standard for an efficient finding large Sophie Germain primes?
As a part of request handling in my application, I need to generate Paillier key.
My current approach is to generate a pseudorandom probably prime number q backed up by Miller-Rabin test, then setting p = 2q + 1 and checking if p is als... |
We would like to encode ECDSA Public Key specifically keys generated using the ed25519 for storage .
What is the best and less error prone method , for now we think about using Hex strings or Base64 are there other encoding schemes that can be used ?
|
This might sound pointless at first, but I want to know if it's computationally feasible to generate the same resulting session key in 2 different DH key exchanges. The purpose would be for a man-in-the-middle attack where both of the unsuspecting target users check to make sure they're using the same session key.
The... |
Lets suppose my messages are composed like this: unique_message_nonce + encrypted_message + mac
Because I don't have an AEAD-scheme, I can encrypt and authenticate my message in two ways:
Use authenticated-encryption for message:
let key = KDF(key: master_key, info: "Key:" + unique_message_nonce)
let nonce = KDF(key: ... |
Assume I am the attacker. I want to break the plaintext by performing the padding oracle attack on AES CBC mode. I know the following information:
The ciphertext c
The length (bytes) of plaintext n
The AES padding uses PKCS#7
The 128-bit (16-byte) IV
How to break the plaintext p?
|
I'm trying to implement hashing on both client and server Sides for my web/mobile Application.
On the client side, I implemented the slow hashing algorithm (bcrypt)
On the server side, I tried to use a fast hashing algorithm (MD5)
Here's what I did:
The user enters the password in my app.
The password is hashed on t... |
I want to attack a hardware AES. It is with a 128bit in its key. However, according to the documentation I have 11 rounds in this AES.
I don't understand why I have 11 rounds? What is the role of the 11th round?
Let's suppose that I want t attack the 10th round, must I compute the 10th ciphertext? (I mean that my 11th... |
I am a beginner, I can understand the basics of ECC and elliptic curve, I can't find where I missed to understand. But I have a great doubt in ECDH regarding below. Could any of you please clarify for me? I will ask with the help of an example.
Example:
Let $G=(1,3)$ be the generator point with order $n=18$ for an ell... |
I have the following requirements:
64 bits (8 bytes) of data ($D$) that requires confidentiality and integrity;
the data itself is a nonce, never need to authenticate/encrypt the same value twice (e.g. a counter);
I can only use AES cipher (128-bits key);
I can have a maximum of 128 bits as output (one block).
Given ... |
I have noticed when the RSA public key is 2048 bit, SHA-256 bit used for signatures. When the key is 3072 bit, SHA-384 bit used. When the key is 4096 bit, SHA-512 bit used.
I have tried the following commands.
openssl genrsa -out my.key 2048
openssl req -new -sha512 -key my.key -out my.csr
It worked without any error... |
What are the weaknesses in a block cipher that uses modular addition, rotations with fixed amounts, and XOR? Can substitution boxes or permutation boxes be replicated with these three operations? Would the weaknesses in an ARX block cipher be present in an ARX stream cipher?
|
I would have expected this info to be easier to Google Scholar for, but alas I'm asking here.
Partial answers:
NTRU key size (confused)
the public key consists of one ring, and so it takes up $11 \times 439 = 4829$ bits, which compresses to 604 bytes.
what are the NTRU keysize and application in industry?
For instan... |
In the literature on attacks against hash functions, I frequently come across algorithms requiring $2^n$ work described as being preimage or collision "attacks" on a hash function with only marginally more than $n$ bits of output$^1$.
Have I grievously misunderstood the terminology here?
If the result of the attack is ... |
For large values of $q$, we know that there are worst-case lattice problems which reduce to the average-case short integer solution (SIS) problem. Does this means that for $q=2$, the SIS problem is NOT hard-on-average?
|
I have this situation where a PC is connected, via RS-232, to a certain hardware module that controls industial machinery.
The hardware is supposed to receive commands to turn on or off these machines, and the same command may need to be sent multiple times in a span of a single minute. Now, I am very new to cryptograp... |
It seems that AES is non homomorphic. I am seeking a public key non homomorphic encryption that has been proved to be such or at least is accepted as non homomorphic. The internet search leads to those that are homomorphic. Any lead?
|
Would the following code to test MAC equality leak timing information ?
bool equal(unsigned char *a, unsigned char *b, int len) {
unsigned char c = 0;
for (int i = 0; i < len; i++) {
c |= a[i] ^ b[i];
}
return c == 0;
}
More precisely, does the last expression c == 0leak timing
information ?
... |
If some 64-bit message block (e.g. $M = \text{“12345678”}$) was encoded in DES using one key and the encoded message had the same value (i.e. $E_k(M) = \text{“12345678”}$), would it be possible to determine the DES key based on that?
|
P.71 of Cryptography Engineeering states "Any weakness in CTR encryption mode immediately implies a chosen plaintext attack on the block cipher." It seems to me that "any weakness" is vague. I'm not quite getting what the author has in mind. Can someone please elaborate?
EDIT:
The purpose of the statement seems to be t... |
Section 3.4.3 "The MixColumns Step"(page 39) of "The Design of Rijndael", it states
The columns of the state are considered as polynomials over
$\operatorname{GF}(2^8)$ and multiplied modulo $x^4 + 1$ with a fixed polynomial $c(x)$.
The polynomial $c(x)$ is given by
$c(x) = \mathtt{03} \cdot x^3 + \mathtt{01} \cdo... |
I would like to understand the typical size of a lookup table for software implementations of a cryptographic scheme.
What size is considered reasonable?
What make them (in)efficient?
Are there heuristics to determine (without implementing anything) if a table will become interesting?
|
2.2 Prove that, by redefining the key space, we may assume that $\text{Enc}$ is deterministic without changing $\text{Pr}[\text{Enc}_k(m)=c]$ for any $m, c$.
After banging my head against this problem for a few hours, I honestly don't see a modification of the key space that gives the desired result. For all $k,m,$ a... |
I've been troubled by this, given any random number as the number of times we'll multiply a point by itself, will we always be guaranteed to land on the curve again? Is there a case where we'll have a miss?
Also, is the question to above not always true unless we are in finite fields defined by specific curves? Is this... |
From what I understand, in order for a curve to be safe, it would appear that $n$ being the order of the cyclic subgroup of the curve, is a prime. Also, it is the theoretical upper-bound on the number of private keys the curve can issue, thus it should be a good candidate for being the limit on the size of the field.
H... |
Section 4.1.1 "Finite Field Multiplication"(page 53) of "The Design of Rijndael", it states
How the equation 4.1 has been formed and transformed into equation 4.2?
In section 2.1.6 "Polynomials and Bytes"(page 15), equation 2.27 and 2.28, highest power of x is 7, whereas in above equations 4.1 and 4.2, it is 8. How... |
Is it possible to reverse Diffie-Hellman key exchange to get the private key of one of the parties, given a large prime number 'p' .
|
My question is about practical limit for brute force attacks. As I know 3DES with 56 bits key length can be broken via brute force. I also heard the same news about 64 bit key length (correct me if I am wrong).
My question is about the minimal length of the key that can be considered as a non breakable by classical co... |
To my understanding a state is a $4 \times 4$ byte array used to store the plaintext. That equates to $128$ bits of data.
To encrypt more than $128$ bits of data do I need to setup multiple of these states in order to encrypt all the data and perform the algorithm on those states? Or is there another method?
|
While (trying) to go over the reductions from approx. SVP on ideal lattices to search ring-LWE, [1] and [2], for $K = \mathbb{Q}(\zeta)$ where $\zeta$ is an abstract root of a cyclotomic polynomial, the ring-LWE error distribution $\psi$ is defined over $K_\mathbb{R} = K \otimes_{\mathbb{Q}} \mathbb{R} \cong \mathbb{R}... |
From https://wiki.openssl.org/index.php/Manual:Enc(1):
When a password is being specified using one of the other options, the IV is generated from this password.
Why does OpenSSL do this? My expectation would be that an unique IV is generated and encoded in the output message every time you invoke OpenSSL. When decry... |
All cryptographic algorithms I know of that satisfy Kerckhoffs's principle rely upon secure random number generation. Assuming the existence of a 'numerical oracle' capable of perfectly predicting the outcome of any random number generator, is a Kerckhoff-compliant algorithm possible?
|
We have a message denoted $M$. Let us suppose that we have a collision-resistant hash function $h_0$ with output length $n$. We then consider two other independent (different) hash functions $h_1$ and $h_2$, with output length $n/2$. For instance, we can choose SHA-256 for $h_0$, and SHA-256 with a truncated output (12... |
[#not_a_crypto_expert]
rather than forming the question by the techniques I'll describe the use case:
I'm persisting blocks of sensitive binary data in a remote store, the communication is secure (lets assume), but the store may not be.
The data needs to be sent and stay encrypted on the remote store - it doesn't get... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.