instruction stringlengths 32 27.2k |
|---|
thanks for looking at my question, i have been getting several different answers to this question so i thought i might ask it here, when i create a random generated keyfile in veracrypt, does the size of the file mean anything? for example, does a larger file mean it's more secure?
when you generate a random key file ... |
Suppose I have a message in the form of:
$m = \text{prefix} \mathbin\| \text{secret} \mathbin\| \text{padding}$
We have:
$e=3$
$n$
$n_\text{padding}$ (length of the random padding, <$1/4$ of $m$)
$\text{prefix}$, which is small, only 5 bytes
Is there a way to recover the message with these parameters? I thought about... |
in Salsa20, the Key is 128 or 256 bits, the Nonce is 64 bits. the pair (k,r) should never be reused. Does it means, if the key is fixed, the encryption can only run 2^64 times? if the key is not fixed, after running 2^192 or 2^320 times, the pair must be used repeatedly. If I use the this stream cipher in a busy networ... |
After reading these papers on Post-Compromise Security:
Post Compromise Security
Asynchronous Ratcheting Trees
My understanding is the following: it is possible for a key-agreement protocol to offer post-compromise security if the protocol offers a key update process and if the adversary is passive.
Therefore, can... |
As I understood brute force attack is measured in number of keys which in turns give time required based on speed of computer
It is quite interesting find out how effective an arbitrary computer is and estimate to total time required to try all number of keys in a given key space.
Are there any tools available to pra... |
The authentication is often done by an HMAC in modern cryptosystems. What does MDC do exactly in OpenPGP and is it a software hack or an algorithmic authentication?
Also, how to force GnuPG to stop on error when the MDC is not checked? Right now it issues a warning and decryptes. That was a basis for a recent attack.
|
I am not a mathematician/cryptographer, so I could not take much advantage of this other question, and it seems (?) to have more requirements than me (SAC).
I say simple, because I need it to be have a fast implementation and also because security is irrelevant in my use case.
However, a low collision probability is a... |
For my first ever project in Python, I wanted to code a cipher to encrypt simple messages ( no spaces or lower case to avoid that extra hassle for now ).
My idea was to either:
Choose a letter of the alphabet at random to assign to a letter of the message using lists ( without duplicates ) or
Shuffle the alphabet and ... |
When compared to sorted merkle tree and rsa accumulator, which one is the best? Rsa accumulator has constant proof and it adds/deletes at constant cost. What is the verification cost for rsa accumulator? I think rsa accumulator's adding operation is better than sorted merkle tree. Is that correct?
|
Most parts of public key cryptography has established standards which are in turn used in a large amount of real world applications. There is PKCS#1 for RSA based encryption and signatures and there is DSS for ECC based signatures.
But for some reason, I never came across a proper standardised form of a ECC based encry... |
Apart form the following, what are the other properties of a good cryptographic Substitution box or the S-Box:
Changing one input bit should change about half of the output bits.
Each output bit should depend on every input bit.
|
I would like to understand the mechanism behind wpa/wpa2 algorithm. Is there any script that can put this theory:(Key = PBKDF2(HMAC−SHA1, passphrase, ssid, 4096, 256)) into action to test it ? I made a capture of my own router with all necessary details,
should this default Wifi password be the Key in this equation?
... |
Homomorphic encryption allows computation of (arithmetic or boolean) operations on ciphertext with the result being another ciphertext.
In that case...
client A encrypts p_in
A sends encrypted data c_in to the computer C
C performs a set of known (from perspective of C) operations f_p(c_in) = c_out
A is able to decry... |
I think that the stream ciphers SNOW 3G and AES are used in 4G (LTE). But I can't find which cipher is used in 5G networks and how encryption is done. Is there any official documentation?
|
There's a great cryptography based ctf site that I've been going through. There's this one question around RSA that has been puzzling me for over a week now.
Please don't tell me the answer, I'm only looking for guidance. I really want to work it out myself, but I'm not sure where to start.
Problem Statement
You're giv... |
In the applied cryptography book by Boneh and Shoup, Chapter 6 on MACs, it is stated that one can modify SUF-CMA game by removing verify oracle access to the adversary. Therefore, the two versions are equivalent(within some factor in the advantage).
However, I am a bit confused by this no-verify version of the game. I ... |
Given a cryptographic hashing function, with say a $256$ bit-length, I want to calculate the probability that out of $n$ hashes we have at least $k$ hashes that collide in the first $32$-bit (assuming the $n$ hashes are uniformly distributed over all $2^{32}$ possible prefixes). Assume $k$ and $n$ are very high, somet... |
I was wondering about the following as an alternative to secret sharing(shamir): Assuming that in order to gain access to some theoretical system, we'd be saving secrets on the system and we will monitor all the access attempts, in the following way: Every participant will get a different "secret", and the system will ... |
I wrote a cryptographic function that encrypts a plaintext by using a series of SHA-512 hashes that are used to encrypt the data via a simple byte-to-byte XOR. In order to prevent various attacks, I implemented CBC by hashing the current hash value and the previously enciphered block together. That resulting hash is th... |
I have tried to look online in various sites and texts and tried to use several youtube tutorials but I still cannot grasp it correctly.
could someone please help me understand a simple case including mathematics so I could better understand it?
For simplicity's sake, there are 3 trust levels: 1, 2, 3. to recover S you... |
I'm trying to determine if our digital signature generation code will work without change using a European Qualified Digital Certificate in place of the RSA signing certificate that we normally use.
It seems like the structure of the qualified certificate is the same as any other signing certificate, but has special ru... |
I am new to cryptography, I found the below Example on a nice website, but I am not able to understand the most of the terms used (H:Hash, K:Random number,E=?, Kinv=?,Rx=?=RY?,R=Private key?,D?,S? same in verification). Please help me with the Nomenclature/representation/what is what, of the example ill try to figure o... |
I want to be able to verify the authenticity of a QR code text without internet connection.
Let's say I have a peanut butter store, and I have an online store too. After purchasing at my online store the customer will be given a QR code. They print that QR code and bring it to my actual store, which doesn't have intern... |
I'm designing a micro-services system where each service manages some set of entities (User, Account, e.g).
I want to be able to verify the authenticity of entity identifiers (e.g User-Id and Account-Id), to make sure the identifier was actually produced by service and not some random data a user produced.
For example,... |
Why doesn't TLS provide end-to-end encryption?
This question is somewhat related to this, this and this. If you want to talk to someone, say, through facebook, the TLS connection ends in the facebook server and they may be able to read it, before re-encrypting and sending it to the intended recipient. This seems a li... |
I've seen a lot of preimage and collision attacks on SHA-256 that target the first few rounds. So far, the best attacks break preimage resistance for the first 52 rounds out of 64 rounds.
However, I've never seen an attack that targets the last few rounds of SHA-256. Is it possible to launch a preimage attack on the l... |
When talking about elliptic curve over finite fields in ECC, we often assume that the elliptic curve can be written in the Weierstrass form
$$y^2=x^3+Ax+B, \quad A,B\in \mathbb{F}_q$$.
where $\mathbb{F}_q$ is a field of characteristic not $2$ and $3$. (For example, Schoof's algorithm to compute $\#E(\mathbb{F}_q)$ ass... |
I've been told that Poly1305AES is a great choice of MAC for constrained (embedded) environments. I'd checked out DJB's writing on it briefly, and have to say that I found its simplicity likeable, performance convincing & security proofs rigorous enough.
But also, libsodium author has told me today that his library won... |
I have a chatting application like Slack/Discord.
In this chat application there chat groups and messages sent by users need to be encrypted in the database.
I do not need features like E2E encryption, I only need to encrypt these data for legal purposes & database issues like SQL injection.
I plan to use a simple symm... |
Assume that user A sends to user B a message, unencrypted, and signs it with an Elgamal signature.
Can some adversary, call it C, who eavesdrops, learn the private key if user A signed both messages using the same random variable k? if so, how?
to sign the message, as far as i understood, a large prime p along with pr... |
I am given the following problem.
Consider SHA-256 to be a random oracle in a practical application.
Construct an (almost) random oracle $\{0,1\}^*→\{0,1\}^{3000}$ based on SHA-256.
Does it mean that the input is any length of zeros and ones and that is should hash to a value which is 3000 digits of zeros and ones?... |
I would like to know if this the right way to use the one time pad based on this table
Now, my idea is to use the same Ascii #2 to again if the message is longer, I know this is bad practice, what I found this is the only solution if the key is short.
Also, I read that better if I XOR the (#1 + #2), but I see it is us... |
SHA-256 uses the following bitwise functions during the hash algorithm:
$$\begin{align*}
\Sigma_0^{\{256\}}(x)&=\operatorname{ROTR}^{ 2}(x)\oplus\operatorname{ROTR}^{13}(x)\oplus\operatorname{ROTR}^{22}(x)\\
\Sigma_1^{\{256\}}(x)&=\operatorname{ROTR}^{ 6}(x)\oplus\operatorname{ROTR}^{11}(x)\oplus\operatorname{ROTR}^{25... |
I have been studying how ElGamal is a public-key algorithm built on top of the Diffie-Hellman key exchange but I got confused. How exactly could an attacker break the Diffie-Hellman protocol (i.e. compute $g^{ab} \bmod p$ efficiently given $p, \space g, \space g^a \bmod p$, and $g^b \bmod p$) if they can efficiently fi... |
I was working on encrypting a few files on my computer and I was using OAEP for padding with RSA. I noticed that it was taking a long time to encrypt some of my files with a small block size, so I tried to encrypt the same files with a much larger block size and it finished encrypting incredibly fast. I was thinking th... |
I have a confusion in a concept under cryptography context. What is the major difference between an encrypted hash and digital signed hash?
I have used PKI Encryption i.e. public / private key based encryption.
I calculated the hash and encrypted it with the private key of sender. Now, the receiver can unlock the hash ... |
How can I show, that RSA with OWP is IND-CPA secure by using H function , a random oracle model.
The Encryption goes like: $\text{Encryption_H_PK}(M)\gets(C_1,C_2)\gets(f(x),H(x)\oplus M)$
Decryption goes like: $M\gets H(x)\oplus C_2$
|
I am trying to construct a proof that a scheme is not CPA-secure. In IND-CPA experiment, can the adversary generate a key(that may not be real secret key) and compute Enc(key, message)? Does the adversary knows the encryption scheme in IND-CPA experiment?
I need this as I want to prove that if a scheme B1 is not CPA-s... |
Suppose that the adversary is able to recover the key of Trivium cipher. But the associated IV is unknown to him. Will he be able to decrypt the ciphertexts without any complexity?
|
Let's say I give you the sha256 hash of my password, which I'll call X.
Now, the sha256 algorithm is a one-way function, meaning you can give it some input and get an output, but you can't get the input out of only the output. The algorithm is public, so we know how it calculates the digest of some message.
But let's... |
Does the Boolean XOR function represent a valid way to verify the integrity of a message ?
|
I'm about to release the new version of my open source project: Bloom (encrypted Notes, Calendar, Contacts, Files…) which will feature end-to-end encryption.
I've published the cryptographic details online and I am looking for feedback by the community before launching it:
https://gitlab.com/bloom42/bloom/-/wikis/secur... |
Here's a task I've been struggling with:
Say I have an encrypted message $c$, and a desired plaintext $m$. How can I define a valid private RSA Key $(d,N)$, so that $c^d \bmod N = m$
Note that the key needs to be valid!
My approach was to write the modulo equation as
$y \times N + m = x \times N + c^d$ so I get $c^d-m... |
I have two questions about RSA encryption to confirm:
Assume use RSA 2048-bit key pair, what is the secure encryption mode? Are ECB / OAEPWithSHA-256AndMGF1Padding and ECB / OAEPWithSHA-1AndMGF1Padding secure modes?
For example, we know the maximim length of plaintext to be encrypted is limited by key length.
RSA wa... |
Can anyone answer me, if I can embed a message when I convert it to ASCII value to points on Elliptic curve $E(Fp)$ , by multiplied the ASCII value with a base point B?
For example, I have $E(F_{31}): y^2=x^3+x+3 \bmod 31$, a base point $B=(1,6)$ and the order of the the elliptic curve is $N= 41.$
To convert the text ... |
I am designing an app that allows (among other things...) users to divide a secret into 2 shards and was planning to use Shamir Secret Sharing (SSS) to do so.
However, I want to allow users of my app (who may not be coders...) to double-check--without having to audit my code--that my implementation of SSS is not flawe... |
A simple symmetric encryption algorithm can be written as follows:
Input message M and 64 bit key $K$
Divide M into 64 bit size blocks $B_1...B_n$
Get first block $B_1$ and perform bit-wise $\oplus$ with K
to produce encrypted block $E_1$
Repeat
Get next block $B_i$ and perform bit-wise $\oplus$ with
$E_{i-1}$ to ... |
There is a 128-bit AES key $m$, and it's encrypted by 1024-bit RSA modulus $n$ as $$c = (m\mathbin\| m\mathbin\|\ldots\mathbin\|m)^e \bmod n.$$
There are eight $m$ in $m\mathbin\| m\mathbin\|\ldots\mathbin\|m$.
Is there any way to find a message $m$?
The key is repeated 8 times, but I can't utilize this information to ... |
Hello can someone help me to understand this :
One way to reduce this problem is to increase the size of the cipher alphabet. Rather than considering our cipher alphabet to be just the 26 letters, each with a single keyable transformation to ciphertext, we could instead use pairs of those same letters, and have at le... |
Can you efficiently construct an RSA public/private key pair with $8k$-bit public modulus such that $C=\left\lfloor\pi\,2^{8k-2}\right\rfloor$ deciphers per RSA-OAEP to your name as a bytestring in ASCII or UTF-8?
The decryption must be per RSAES-OAEP of PKCS#1v2.2, SHA-256 hash, no label, MGF1 with SHA-256, and sucess... |
I want to perform a collision attack using hash function of my student number and another possible student number with same hash value. How can I perform this? is there any online tools that can help me to find same hash value
For example
My student number is s3412347; Sha-1: 6b9e8b6fd49df67a7a770c28072e8b807cd2070e
P... |
Regev's reduction shows that LWE is quantumly at least as hard as CVP with an approximation factor of $n/\alpha$ for $0<\alpha<1$. But I just watched this talk which said that if $\sqrt{n/\log n}$-CVP is shown to be NP-hard, then the polynomial hierarchy collapses.
This seems to imply that, if the polynomial hierarchy ... |
I'm trying to validate if an IoT device is authentic or it's a fraud. The problem is I only have 17 bytes to do that verification.
What if I let the IoT device sign the message with the private key and the client will check in a server if that message was signed with the correct private key like the RSA algorithm.
But ... |
I want to use Pohlig-Hellman and BSGS to solve the discrete log of an Elliptic Curve which has a composite order generator.
The tricky part is, one of the composite factor groups is large (99bits), so I want to exclude it from the Pohlig-Hellman/BSGS.
Is it possible in SageMath to apply the discrete_log() function to a... |
I have been recently reading about lattice-based cryptography.
I read that a key aspect of such protocols rely on added Gaussian noise on lattices, and which therefore require highly efficient and constant-time Gaussian samplers, which appears to need non-trivial algorithms. For what I got this is still something that ... |
I'd like to ask you to review security of the following communication scheme:
network is strictly P2P, based on DHT (peer discovery)
root user can create a virtual private network (network private and public keys)
peers belong to private networks
if peer wants to join the virtual network, they need to pass their publi... |
I'd like to generate a passphrase derived from a hash fingerprint. The passphrase consists of short and human-pronounceable words from a phonetically-distinct wordlist. The derivation is a one-way function and it is acceptable for this application to lower the security against collision attacks/reduce the keyspace.
For... |
My idea of the OTP is to generate from 50 letters (5 words, each 10 letters) a new pad of 2000 random letters, then attach user email to the pad end (to make it unique). The keywords and the pad will be based on the Ascii table from 33 to 125. The term of use is to make the message size the same of pad size, so the pad... |
I could not understand how multiplication is carried out in the BGW protocol for 3 parties. Reference: https://crypto.stanford.edu/pbc/notes/crypto/bgw.html
I've understood that in multiplication, we calculate $r(x) = p(x)q(x)$ but this means that $r(x)$ is a polynomial of degree $2t$. How is this polynomial redistribu... |
Which of these population tracking protocols is better from a cryptography point of view?
Pan-European Privacy-Preserving Proximity Tracing (PEPP-PT)
Decentralized Privacy-Preserving Proximity Tracing (DP-3T)
I have read a paper discussing some of the security concerns, but it does not go into much detail about the c... |
The title basically says it. We have a 16 by 16 s-box, $256$ entries total. And the first value is the multiplicative inverse of $257$, so
$1 \times k \bmod 257, \space k = 1$.
$2 \times k \bmod 257, \space k = 129$.
$3 \times k \bmod 257, \space k = 86$
$\ldots$
Would this be secure? and if the value is higher then... |
I have a plain text string "I-like-drawwing", and this string has a SHA512 value, assume the SHA512 is "aabbcc".
Then I show SHA512 "aabbcc" to my friend and say:
"this is SHA512 for my string,
and my string ended with 'ing',
I bet $20 that you don’t know my string".
I don't want loose, so I must find another string ... |
I’m just getting started on learning cryptography and here is a problem from exercises about which I'm totally confused:
This is a 32-bit feedback shift register to encrypt some message. The register shifts circularly by 4 bits. Before each shift the S-box takes the last 4 bits and feeds the 4-bit output back into the... |
In this paper Patarin says that:
"for every $\epsilon > 0$, when $m \ll 2^{n(1 - \epsilon)}$ ... for 7 rounds or more it is secure against all adaptive chosen plaintext attacks" where m is the number of queries that the adversary can evaluate.
What concretely is meant by $m \ll 2^{n(1 - \epsilon)}$?
For instance, to ha... |
I was reading a paper of some years ago about a cryptography and a phrase got my attention.
We want to ensure a security level of at least $2^{80}$
I know that $2^{80}$ was used as rule of thumb rule, that's probably why they wrote that sentence.
But reading this I think that $2^{100}$ may also be too low.
Considerin... |
Someone can help me to resolve this questions from the book of Dan Boneh (University of Standford)
|
I'm seeing the fundamental function in open source code for Rijndael MixColumns implementation. (Picture below)
If i translate the 8'h1b correctly, it is represent the polynomial of $x^4+x^3+x+1$.
However looking at the wikipedia explanation, the multiplied modulo is $x^4+1$.
May i know how to link them together? Anyth... |
This paper by Patarin presents an attack (section 9) on balanced Feistel networks with $k$ rounds, where the input is a bit-string is of length $2n$. (Since it is balanced, this means each PRF takes as input a bit-string of length $n$).
In this attack, the adversary is able to distinguish a $k$-round Feistel network p... |
The RSA private key contains 2 primes (of about 4096 bits each), and I only know their product (called modulus) and the modular inverse (called coefficient).
How do I recover the RSA primes from the modulus and the coefficient, i.e. how do I implement get_primes below?
def get_modulus_and_coefficient(prime1, prime2):
... |
For example:
Assuming someone has found a second preimage for SHA-256. In other words, for SHA256(M1)=H, someone has found M2 which SHA256(M2)=H
Now, is it possible to generate k-way second preimages faster than brute force? To illustrate my point:
For SHA256(M1)=SHA256(M2)=H, is there a way to find:
SHA256(M1)=SHA25... |
I'm trying to understand the Bleichenbacher 1998 attack, but I am having trouble wrapping my head around the bounds-part.
So as far as I understand, the idea is the following:
We have a ciphertext $c = m^e \bmod n$ and we are trying to find the message $m$. So we want to make use of the fact that: $s^e \cdot c \bmod n ... |
i am wondering how to break DH(small nonprime number).
Let's say we don't know:
$a$: Alice's private key
$b$: Bob's private key
And we know:
$N$: nonprime number
$p$,$q$: $N = p * q$ ($p$ and $q$ are prime number)
$g$: the base
$A$: Alice's public key A = pow(g, a, N)
$B$: Bob's public key B = pow(g, b, N)
Now we wa... |
From my understanding, TLS 1.0 can use CBC to encrypt data. To do so, it creates one initialization vector (IV), and then uses the previous ciphertext block as the IV for the next record. I made this diagram to depict my understanding about TLS 1.0:
In the diagram above, the red arrow opens up TLS 1.0 to the BEAST att... |
Zero width character's can be used to hide text in plain sight.I am building a system where user's can provide their secret message , cover message and a password (key) which I would encrypt and give an output back with only the cover message which has encrypted secret message embedded as zero width characters invisibl... |
This is a very basic and practical question. Since I started reading cryptography recently, these things keep bugging me.
What are the things that an adversary is usually aware of before planning an attack?
Let's say an adversary plans an attack on a server of a big company.
Does he know what encryption scheme/model i... |
I created a random integer array of 32 bytes to use as my private key for secp256k1 curve.
const uint8_t secret[] = {0xb2,0x9a,0xc6,0xbd,0xc7,0x3d,0xc4,0xe1,
0x85,0xa7,0x3c,0x96,0xf8,0x1c,0x58,0x43,
0xe2,0xbf,0x2d,0x68,0xe5,0x6f,0xf6,0xae,
0x... |
We consider the Diffie–Hellman key exchange scheme with certificates. We have a system with the three users Alice, Bob and Charley. The Diffie–Hellman algorithm uses p = 61 and α = 18. The three secret keys are a = 11, b = 22 and c = 33. The three IDs are ID(A)=1, ID(B)=2 and ID(C)=3.
For signature generation, the E... |
I am confused by how game-based proofs fit in the provable security paradigm. I understand reductions in the style of proving secrecy of RSA reducing it to integer factorization. However, when proving indistinguishability properties with game-based proofs, I cannot identify the underlying hard mathematical problem of t... |
Encryption process for any outgoing packet to the specified "remote IP":
-original payload P is encrypted (the bytes after the IP header) using RC4 with the preestablished key KEY to obtain encrypted payload C=RC4(P, KEY)
-The encrypted payload C is concatenated with the 16 byte output of MD5(C|KEY), and the IP header ... |
I am working on BFV scheme and trying to create a very simple Python implementation. I am following the paper by Fan and Vercauteren. Most of the operations are easy to implement but I am having difficulty implementing homomorphic multiplication operation.
In the page 10 of the paper, the computation of $c_0$, $c_1$ an... |
i have been recently learning about different types of hashing and the encryption/decryption methods of such hashes. Im currently trying to find the preimage of this hash i have been given as a homework question.
user2222:$6$l4w8Hnu1/ZHGGd.p$BHENd1yKnjRcW.KcAtqcOY096A6HtQBFaWGaXkQ0TofWRy.bngwrVTlLlzdwOLRvHtesGPIrY4LGSU... |
I have some trouble understanding the linearization of the degree 2t polynomial generated by multiplication in BGW. It would be great if someone could decode this linearization in simple terms from a 2t degree polynomial to a t degree polynomial.
I've understood that in multiplication, we calculate r(x) = p(x)q(x) but... |
I was trying to understand AES (Rijndael) from a very mathematical perspective. I'm quite new to abstract algebra and Galois Fields. I understood that we are considering a byte (8 bits) as a polynomial in $GF(2^{8}) $ where the coefficients are either $0$ or $1$ i.e. they are elements of {0, 1} and all operations are ... |
If the same nonce is used across different messages under the same private key, the private key can be easily revealed.
However, let's consider another scenario.
Two private keys, x1 and x2, are used with the same pair of nonces, k1 and k2. Thus, for each pair of signature (r,s) and hash message h, we get:
$$ s_1=k_1^{... |
What I am looking for is a function that meets the following criteria:
For each possible input (assume integers from [0, 255]), there must be trillions of possible outputs so as to prevent preimage attacks and is hence probabilistic.
The function must be a one-way hash, so given an output the input cannot be deduced.
... |
I'm reading about hash functions at the moment, and in the book I'm reading there's a section on multicollisions. Specifically, using a 2-collision to find $2^N$ collisions in $N2^N$ time.
If, theoretically, a collision was found which was valid for cryptocurrency mining (however many 0s on the end), couldn't one find ... |
Introduction
I know how to do Cramer-Shoup with cyclic groups. But how do I do it in elliptic curve cryptography (ECC)?
Cramer-Shoup with cyclic groups
Following was taken from Wikipedia: https://en.wikipedia.org/wiki/Cramer%E2%80%93Shoup_cryptosystem
Key Generation
Alice generates an efficient description of a cyclic... |
I am trying to understand how they use the random oracle to solve the CDH. For example, in the security proof on page 7 of the following paper; A Lightweight Message Authentication Scheme for Smart Grid
Communications, Fouda et al. 2001. The authors used a random oracle to break the security of an authenticated DH prot... |
I have seen that there is a similar question here but none that really answers the question. I understand that if I choose the encryption exponent $e$ not coprime with $\varphi(n)$ then there is not a unique way to decrypt a message.
What I am wondering is what is the mathematical reason behind this? It seems to me tha... |
As an exercise I'm given an RSA to attack. I have the module ($n$), the public exponent ($e$) and a single ciphertext ($c$).
For this particular case, $n$ is VERY big (5 thousand digits more or less), but the public exponent is small ($e=7$).
I know that, as $m \ll n$, this can cause no use of the module operation ($m^... |
For practical reasons, I'd like people to be able to post clearsigned messages with their public key fingerprints (8E570D9F7F70256595769E49F9BC5BCAD7E18635) for the system to check. However, the libraries I see all seem to require a full public key certificate to do verification. Is there a way to do it with just finge... |
I've recently been looking at ProtonMail, an email service which provides transparent end to end encryption between users with PGP. In order for the encryption to be transparent, ProtonMail manages all of the public and private keys.
When sending an email from a ProtonMail account to another ProtonMail account, the Pro... |
In pure differential privacy, the parameter $\epsilon$ represents the desired privacy loss. The smaller the $\epsilon$ is, the more privacy we can obtain. What happens when we want the privacy loss $\epsilon = 0$. Does that mean we need to keep the data permanently private and we do not answer any queries from outsid... |
I am working on a project that is dealing with personal data.
The task is to find a method such that when user makes a query into multiple institutions, the result will contain already scattered/dispersed data.
I'll try to give an example:
The user asks data from institution A and institution B. User sends
the query: ... |
With its public and private key(s), Wireguard looks a bit like PGP. But it is used for encryption of network packets and not normal text messages. I'm on a system with Wireguard already installed and don't want to install more programs than necessary.
How, can I use a public Wireguard key to encrypt a text message whi... |
I see that all cryptosystems are work on finite field. But i consider that have any cryptosystem that works on real number (do not consider the round step and it also can be an estimate cipher)
|
Let's say I'm making a digital signature like this:
hash = hash(message)
digital signature = encrypt_with_private_key(hash)
where the private key is Alice's private key from a secure public-key cryptosystem.
And I'm making a MAC like this:
MAC = hash(message + some_secret_key)
And I then send both of these to my frie... |
with the information provided - what would be the best solution - something like document management program like IBM Filenet ? or trusted timestamping?
If I want to store electronic contracts for clients over a long period of time. I need to make sure that those files are not readable by anyone other than the client u... |
Simplified Question
Does it make sense from a security / cryptographic standpoint to encrypt a text in the following way:
create only one AES key K_Azure
create new random key K_Text1
encrypt Text1 with K_Text1
encrypt K_Text1 with K_Azure
store [ E(K_Text1), E(Text1) ] in the same storage
store K_Auzre somewhere else... |
I have an application that needs to combine two cascaded (symmetric) encryption keys using the Pohlig-Hellman cipher.
For example:
The system needs two keys for encryption $c = E_a(E_b(x))$ while it only needs one key for decryption $D_{a\otimes b}(c)=x$. The system may NOT need to consider Known Plaintext Attack or C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.