instruction stringlengths 33 27.2k |
|---|
I have a question about RSA key generation.
This is a simple RSA algorithm:
Choose p = 3 and q = 11
Compute n = p * q = 3 * 11 = 33
Compute ?(n) = (p - 1) * (q - 1) = 2 * 10 = 20
Choose e such that 1 < e < ?(n) and e and n are co-prime. Let e = 7
Compute a value for d such that (d * e) % ?(n) = 1. d=3
Public key is (e,... |
Currently I am working on a public key certificate. I got a question: Why is a public key certificate needed for TLS/SSL? Wouldn't TLS/SSL itself is enough? What is the role of the certificate?
|
I have problems interpreting the NIST (sts-2.1.2) suite results. After running the statistics with 100 samples (each sample of 1000000 byte length) a new prng i got this result:
------------------------------------------------------------------------------
RESULTS FOR THE UNIFORMITY OF P-VALUES AND THE PROPORTION OF P... |
Is there any particular reason why NTRUEncrypt lacks a formal security proof? That is, a demonstration that it achieves certain security notion (e.g. IND-CPA). I know there is a provable-secure variant from Stehlé and Steinfeld, but my question is regarding the original NTRU proposal.
|
Let $\mathcal{M}$ be our message space and $\mathcal{K}$ our key space. Now, let $\mathrm{E} : \mathcal{K} \times \mathcal{M} \to \mathcal{M}$ be a block cipher. Define the block cipher $\mathrm{EX}((k_1, k_2, k_3), m) := k_1 \oplus \mathrm{E}(k_2, m \oplus k_3)$, where $m \in \mathcal{M}$, $k_2 \in \mathcal{K}$, and $... |
I've thought up a way to represent the transformation of S-Box in DES by ANF. Let
$x_i\;(1\le i\le 6)$ be the input of an S-Box,
$y_i\;(1\le i\le 4)$ be the output, for example, then
$$y_1= 1\oplus x_1\oplus\dots\oplus x_1x_5\oplus\dots\oplus x_3x_4x_5x_6\oplus\cdots$$
Here the "$\oplus$" is "xor" operation and the ope... |
I am looking for - or considering the design of a new - encryption algorithm that does not use variable keys, such that it is easy for a computer to encrypt and decrypt any message regardless of its source, yet it is possible but impractical for a human using their brain and a pencil and paper to decrypt for any non-tr... |
I need a small clarification that why openssl using SHA1 in ECC when I am using secp384r1 curve, but in rfc they are saying we should use SHA2.
Thing here is am using nanoECC in my DTLS, nanoECC using SHA384 for secp384r1 but openssl is using SHA1. So which one to use, if openssl is wrong then how to set openssl to use... |
I'm trying to understand the "Invalid-curve attacks against ladders" section of SafeCurves Twist Security page and I have difficulties to apply it to short Weierstrass curves.
That section claims that in order to thwart invalid curve attacks an efficient technique is to use a single coordinate ladder to compute the sca... |
This page on Twist security mentions a combined attack and a twist rho attack, applicable in particular to NIST P-224 curve with cost $2^{58.4}$ something, with no mention precise definition of protocols concerned by the attack(s), beyond:
Some of the ECDLP security requirements for the twist are overkill for DH on th... |
I am trying to make a pseudo-random number generator so that I can use it in a synchronous stream cipher for encrypting plain text. I want it to generate numbers which are as random as possible.
What are good elements that my algorithm must have in order to do so?
This is for an interschool science competition.
|
What does it mean and what is it used for, I have been hearing this term a lot lately.
From the context I've heard it talked about it seems to be connected with zero knowledge?
|
I read in the answer here that when encrypting twice the plain text with same key could result in plain text as shown below
$encrypt_{key}((encrypt_{key}(plain)) = plain $
Which block-cipher algorithms are they? What is this property called in general? Is it considered weak?
Edit 1 : the question is about block ciphers... |
I have just started learning cryptography and I am trying to make sense of the direct sum on some binary numbers.
I am trying to find a column of a state space after a Mixcolumns operation has been performed.
For example, to find $c_0$, I have
$c_0=((02)\cdot10000100)\oplus((03)\cdot(10000001))\oplus10000001\oplus00... |
How bad is the following strategy for a password manager on a local machine?
The user wants to sign up for somesite.com where he needs a password.
The user has previously generated a secret key K which he remembers and isn't stored anywhere. Now using a good hash function the site's URL somesite.com is hashed together ... |
Say I have a database column that is defined as VARCHAR(255) that stores names.
I can assume that names can be up to 255 chars.
I need a public key encryption so that I can replace names with their ciphertexts. However the DB structure cannot be changed. In other words I need a public key encryption method that ensure... |
Good afternoon! I got some mismatches while counting Round Keys at non bitsliced version of Serpent. I have used official AES submission outputs (file ecb_iv.txt).
AES submission package test vector:
Key: 0000000000000000000000000000000100112233445566778899aabbccddeeff
First K0{w0,w1,w2,w3}
Rewriting key to ordinary fo... |
Assume that we are given an element $g\in \mathbb{F}_{p^n}^*$ and $g$ does not belong to any of the smaller subfields contained in $\mathbb{F}_{p^n}$. If the degree of $g$ is some number $q$, how much is the time it takes to solve the DLOG problem in the group generated by $g$ dependent on $n$? I.e. if the order of the... |
In continuation to this question about length of primes , I am in doubt about the restriction on length of primes itself .
In Paillier cryptosystem , equal length of primes are used .
My doubt is whether this restriction is to ensure the following condition only
$$\gcd(pq,(p-1)(q-1))=1$$
or , there are another securit... |
I've just been reading about a new drop-in replacement for the RC4 stream cipher, but why develop new stream ciphers when AES can be made into a stream with a little XORing?
|
I am trying to find a comparison of how different pairing-friendly elliptic curves perform (in terms of security) in real world applications;
I am using PBC library, and it has type A curves and type D curves (also , i am having hard time understanding how pairing types depend on underlying curve types, and which of th... |
According to this:
http://www.cims.nyu.edu/~regev/teaching/lattices_fall_2004/ln/rsa.pdf
One can calculate the message m, if there was no padding scheme involved.
My question: is it possible to find m if the $n_a n_b n_c$ moduli are unknown?
Also: if one can see the encrypted version of a known plaintext, can one find ... |
I don't consider myself to be an expert in this field, so forgive me if there is an obvious answer. I am having a tough time finding an algorithm that can sign data and output a 32-byte signature, that is in common use. Specifically, I'd like to find an algorithm that frequently available in many security APIs that a... |
In RSA signature scheme, it is a common practice to 'sign' the hash value of the message so that the length can be fit.
Question: If we have $s=m^d \bmod n$ where $d$ satisfies $ed \equiv 1 \pmod{n}$ and we also know $s$ and $m$, is this still considered secure?
|
i read something about Diffie Hellman. What i don't understand: Alice selects a randomly generated Number, calculates X = g^x mod p and sends X to Bob.
If she calculates g^x, she needs to calcluate g+g+g+g+g... until she has calced to g^x. Than she calculates it mod p and sends the Result to Bob.
If Eve listens, she n... |
I am taking a codes and cryptography course and the following is a questions on a past exam that I could not and still can't solve:
Suppose that $E_k$ denotes the function that encrypts a message $M$ with AES where $K$ is the 128-bit key. Suppose that a cryptographer discovers a function $F$
so that $E_k(M) = F_{k_1}(F... |
my cryptography professor gave us this problem for extra credit a while back and I attempted it but I didn't get it correct. I have gone back to it, but I'm even more lost now than I was the first time (HEADS UP: my professor gave us some long numbers to work with)
Let N=
217480967426598493570186980401996167920452820... |
In Bishop's Introduction to computer security, on page 118, we see the following:
Definition 8–2. A cryptographic checksum function (also called a strong hash function or a strong one-way function) $h: A → B$ is a function that has the following properties:
For any $x ∈ A$, $h(x)$ is easy to compute.
For any $y∈B$,it... |
What type of cipher could give ciphertext where for example random ASCII chars between say F-z (symbols and numerals inclusive), but with only a few spaces? Frequency of chars shows some similarities to alphabetic frequency and is 200 chars in length.
I've been reading up on ciphers and have not come across any common ... |
Looking for the simplest code in C. Need a set of functions that will first generate a public/private 64-bit key pair, and then the function to code/decode a given 64-bit block, no built-in checksum or anything more advanced is needed.
|
Public key certificate is a digitally signed document which verifies the sender is indeed the person. May I know how can the receiver tell the sender is indeed the person solely based on information on the public key certificate? What are contained in the certificate? Does a public key certificate contain the same info... |
I was having a discussion with a colleague yesterday whose education and experience exceeded mine. He said something yesterday that sounded incorrect to me intuitively, but I don't have the knowledge to contradict it.
He claimed that the only reason a secure cryptographic hash is better at detecting tampering or corru... |
I have read about long message attacks on some cryptographic hash functions. However, I don't quite understand what is being referred to as a "long message".
Also, do long message attacks only apply for such "long" messages or can they also be used (any exceptions?) with "normal" messages? ("Normal" as opposed to "lon... |
My cryptology professor gave us this problem on a past homework assignment and I only managed to get one of the 3 parts correct. Needless to say, I want to know how to do the other two parts as well. The question is as follows:
Consider the following DES-like encryption system that operates on 16-bit strings.
The sy... |
Consider I have two ciphertext $c_1$ and $c_2$ encrypted using RSA encryption. By definition if I multiply them I'd get $c_1.c_2 \ modN$. My question is what would happen if $c_1.c_2 >N$. Can we still decrypt it and obtain the product of two plaintext?
|
The Congress of ThéOùÇa enacted that civilian use of any public-key encryption system is authorized on the territory of ThéOùÇa, subject to meeting certain security requirements published by the Ministry of Defense. The essence of these is:
..must operate per the internationally recognized RSAES-OAEP algorithm and rel... |
I'd like to implement something like a write-once public/private encrypted shared secret (no better quick description for the lack of terminology knowledge). I guess, I'm trying to implement HSM.
The scheme goes as follows:
given a secret (e.g. 512 characters long string)
generate a public & private key pair
encrypt t... |
I want to implement Mental Poker in JavaScript as a toy program and lead in to a larger serious project so I did my research and found Massey-Omura cryptosystem and the Shamir three-pass protocol however I couldn't find any implementations of them, and the information on how to do SRA is scant. Would anyone be able to ... |
Suppose a server uses TLS to protect communication between us and the server.
I observe that in the TLS handshake protocol, password is not mentioned anywhere.
Then why do we need to have a password? What is its purpose?
|
I realize servers such as Google, Yahoo, which use RSA has 2048 bits public key. After comparing those keys, I realize that the public keys share a common property, that is first 9 bytes and last 5 bytes are always the same. Since those public keys have 270 bytes altogether, this means there are only 256 useful bytes,... |
I know Python is a powerful programming language but is it secure for cryptography? I mean is it possible to reverse engineer the program (written in python) and discover the algorithm of cryptography or other things?
|
Can someone explain this to me?
For example how M chanes to 0c?
Changing plaintext to state:
|
I am making an encryptor software for a stream cipher with my own PRNG as a project for an inter school science competition. How can I make one so that after it generates the pseudo random nos. it can recognise each character and make the shifts. Can any one explain this either in Python or in a pseudo code algorithm.
... |
S-box has to satisfy different design criteria. How to calculate non-linearity , propagation criteria for an AES S-box?
|
I ask about represent message in Menezes–Vanstone elliptic curve cryptography I now encrypt function as follow
$C_1 = (M_1 * K_1) mod\ P$
$C_2=(M2 * k_2) mod\ P$
My question is about how much the size of $M_1$ and $M 2$, if we assume we are working on the 256 curve.
Does the size of $M_1$ is one character and $M_2$ i... |
I am building a system to collect a unique identifier (MAC addresses from 802.11 probe requests). The system will have several collection points over a large area, submitting to a central database. I want to do traffic analysis without allowing a known MAC address to be mapped to the points where it was seen.
My goals:... |
Why is the complexity of pre-image resistance $2$ raised to the power of $n$?
I have been looking in everything lecture about pre-image resistance, but I still didn't know the answer.
|
I've got an API spec that specifies NRPAD and FPAD as possible padding schemes. I see these being used together with the Korean SEED algorithm. The SEED specification however is void of any padding mode description as is the API.
Can anybody tell where these padding schemes are defined, and how they operate?
|
Is Paillier cryptosystem commutative?
If not, how can we construct an oblivious decryption protocol based on Paillier?
|
From here, there are $14$ bytes specifying the file format of the key. I am still quite confused about the format bytes. For example, the following public key
30 82 01 0a 02 82 01 01 00 8e a3 d1 c7 9c 86 05 52 3d 70 9a 5b 24 8a 6e ab 8f 5d 8d 9a 44 5f 25 78 c7 ba bd 3a a6 e1 36 b8 55 88 18 d7 ea e8 14 2c 68 8f e7 fe 94... |
I got this question on a previous exam and I got it wrong. I've gone back through it several times since then, but I can't seem to get it. I would really like to know how to do it, so if someone could give me a step by step walk through (answers included), I would really appreciate it! Thanks! The question is the follo... |
General consensus is that DH_anon (and ECDH_anon) ciphersuites should be disabled since they offer no way to verify if the server is the one you intend to communicate with. However, I have never run into a client that supports DH or ECDH_anon. Could an attacker really leverage this to pull off a successful attack (with... |
In a PDF related to AES algorithm for mix column stage is written:
The multiplication mentioned above is performed over a Galois Field.
The mathematics behind this is beyond the scope of this paper. This
section will instead concentrate on the implementation of the
multiplication which can be done quite easily w... |
Say I have a key, an iv and an AES/GCM/NoPadding encoded string and I want to split this information between three people such that only jointly can they reveal the secret.
Is it safe to just split all this data to three equal chunks and provide to each party in a format "1/3 of key-1/3 of pass-1/3 of iv"? Under "saf... |
I have an encryption service in which the user decides the length and the type of key, so I would like to build a tool that educates the user on the brute force times for the key they created if using machines like: "A normal PC", "The most expensive graphics card on the market", "The Tianhe-2". There will also be the... |
XCBC paper says all three keys should be independent. It doesn't say they must always be different. However it seems this is necessary to differentiate padded message and message without padding.
Lets say we derive all three keys so that key 2 and key 3 might be the identical (randomly). Is it secure?
|
I had to make my own PRNG for a stream cipher for an inter-school science project. So I thought of cubing the seed instead of squaring it (like in the middle square method). And to prevent prediction of the next number, the digits in the cube had to be jumbled using a seed-dependent algorithm which the users had to imp... |
ECBC-MAC: $E_{k_2}(CBC-MAC_{k_1}(m))$
If we use same key for encryption (CTR or CFB) and k2 (end tag encryption) in ECBC-MAC in encrypt-than-MAC sheme, is it secure?
|
If $f:\{0,1\}^n \to \{0, 1\}^n$ is a one-way function, $G:\{0, 1\}^n \to \{0, 1\}^m$ is a pseudorandom generator, and $U_m$ is the uniform distribution over $m$-bit strings. Is the joint distribution $(f(X), G(X))$ computationally indistinguishable from $(f(X), U_m)$, for uniformly chosen $X$?
|
Given that computers can be easily compromised, there is a need for a hand cipher that can withstand computer attack. Clearly the traditional hand ciphers fail.
One time pads work. They also have the important property of being able to burn used keys and thus prevent decrypting old messages if keys are revealed. But... |
I am working on RC4 encryption/ decryption algorithm based on the following:
A wants to send M to B, for that A did:
H = Hash (K||M)
C = Ek (M||H)
A sent ciphertext C to B. (I have completed until this part)
Upon receiving of ciphertext B calculate:
M||H = Dk (C)
Now, how do we obtain M as I need to verify if H' = Ha... |
Where can we find the cryptosystems used to generate public key certificate? Are the cryptosystems under the signature algorithm and signature hash algorithm? Do I need to analyze the packets trasmitted between my computer and the server? For example, ciphersuite.
Suppose the following ciphersuites are transmitted from... |
I'll like to know if SEAL 3.0 (cf http://web.cs.ucdavis.edu/~rogaway/papers/seal.pdf) is broken. I stumbled on Bernstein's website that claimed that SEAL 3.0 has been broken. (cf http://cr.yp.to/streamciphers/attacks.html)
However, I'm unable to find any papers or proofs that it has indeed been broken. I was hoping to ... |
In the context of interactive proof systems, we often see the term "sound" used. What is the sense of this word?
|
I am referring to this paper by David Brumley and Dan Boneh: Remote Timing Attacks are Practical (In proceedings of the 12th Usenix Security Symposium, 2003).
In this paper on page 4, Brumley specifies the following steps :
Step 1. Calculate guess, $g$.
Step 2. Calculate $U_g = g\cdot R^{-1}\bmod N$
Step 3. Send $U_g$... |
I´m stuck in my homework and since its homework, I would rather get some hints than full solution. The problem goes:
factorize n = 88416763 in case that you know that the square roots of
51733469 (mod 88416763)
are 50224876, 38191887, 22222, 88394541.
|
The NIST standard FIPS 186-4 describes an implementation of the Lucas primality test in section C.3.3.
I can follow the algorithm but I am puzzled by step 6.2:
$V_{temp}=\frac{V_{i+1}^2+DU_{i+1}^2}{2} \bmod C$
Where does this expression come from?
I do understand this is the step that computes $V_{2n}$ from $V_n$ and $... |
So, a fair die throw is really random, not pseudo. So, would a RNG implemented as the result of a die throw in a physics engine (say, Newton, Havok, Nvidia's PhysX) be regarded as both cryptographically secure and really random (Not a PRNG, but a real RNG)?
|
Or better yet, is encrypting a block with 2 AES-128 keys just as secure as encrypting a block with 1 AES-256 key? By the way, I've only recently been learning cryptography stuff; I've made working prototypes in python for both RSA and AES and am familiar with (basically) how they work in general; just not the complex m... |
I have just undergone a one semester course in cryptography. I was introduced to multiple theoretical aspects, the way several algorithms work, the methods and their stability and so on. Due to time constraint, not much of problem solving was done. I want to understand more of cryptography through practical problems. H... |
I was asked this by my professor and I didn't understand the reasoning behind it. If Alice has a the key pair $(p_a, n_a)$ and Bob has the key pair $(p_b, n_b)$, why do $n_a$ and $n_b$ have to be relatively prime?
|
I have an application in which I need to create up to J randomly shuffled-copies of an array of length N. Then I will have millions or even billions of iterations such that, in each iteration, I will have to fetch the value of K << N entries of the J permuted copies of the original array. The K entries that need to be ... |
So I need to to illustrate Davies-Meyer hash function for a message “123” with 1-byte blocks. I can use the extended ASCII representation where each character is represented as a byte. And I can pick the initial value of hash H0 as all zeros.
So far I've padded the message, but now I'm stuck and don't understand where ... |
I am having problems with proving if the one-way function (https://crypto.stackexchange.com/tags/one-way-function/info) is hard to invert or not.
$2^\sqrt {m} $ one-way function $ f: \{0, 1\}^{2m} \to \{0,1\}^{2m} $
and $ g(x) = f(0...0^m || x_1, x_2, \ldots, x_m) $ $ g: \{0, 1\}^{m} \to \{0,1\}^{2m} $ (the || means... |
Alice has a value $a$ and she signs it using her secret key $d_1$ as: $s_1 = (r_1 * g^a)^{d_1} \bmod p$, and Bob has a value $b$ and he signs it using his secret key $d_2$ as: $s_2 = (r_2 * g^b)^{d_2} \bmod p$, where $r_1, r_2$ are uniformly random values and $p$ is a prime number. Both send their values ($a$, $b$) and... |
I have a MD5 hash which is obtained by hashing certain strings appended by a pipe character ( | ). (I know the values of these) A secret key is added as a suffix to this (I don't know the secret key). My question is, is it possible to crack the secret key if the resulting hash and the hash without the secret key is kno... |
I am not a hardcore cryptographer so this might be a really stupid question. I am looking through some papers in homomorphic encryption and discovered they describe computation as "circuits", why do they use this particular term? Isn't algorithm a more suitable word? Do "circuits" have some special meaning in cryptogra... |
In this scheme, a 256 bit key is split into two 128 bit sub-keys. Message blocks are 256 bits and are also split into two sub-blocks. Before encryption, each sub-block is xor'd with it's partner and then xor'd with the opposite sub-key, in order to link the entire key to both blocks.
From the example below:
sub_aes_key... |
So the Davies-Meyer Hash Function is: Hi = Hi−1 ⊕ exi (Hi−1)
Say I pick H0 = 1110 0011
And the message x1 = "5" or "0000 0101"
Is this the correct way to compute H1?
H1 = 1110 0011 ⊕ (0000 0101 ⊕ 1110 0011)
H1 = 1110 0011 ⊕ (1110 0110)
H1 = 0000 0101
I must be doing something wrong because the hash function always come... |
I have this message in Hex:
9887702584b28e6c71b7bb997e7195bf817a3884bf98353889fa9f7d34c7bc8a7625c7ae837425cbfa9e7b258eb6cb73308ea8876c7195bf88703f93b69239718eaecb623094fa9b673e85bb897928c798997c2586b3853222c7b88e6625c7b18e6525c7a98e762382aec535058fb398353894fa89703286af98707188bccb613982fa98703295bf886c7194af99673e92b4... |
A Smart Card is a kind of secure device, with limited storage capacity and
computational resource.
If we use a Pseudo-Random Number Generator to generate random numbers in a Smart Card, then is there any problem?
|
Is there any tool available that can test whether a simple substitution cipher is working.
I will put my scenario in detail. Lets say I built a simple substitution cipher that maps 8 bit data to 16 bit encrypted cipher using an 8 bit key. I need to verify whether the substitution cipher is actually unique for all possi... |
I need to know, please:
(1) Is there anyway to pick uniformly at random permutation polynomial in a field of prime order?
(2) Are there many permutation polynomials in a field?
(3) In a finite field of q elements how many bijective polynomials exist whose degree are smaller than d ?
***Indeed has the permutation poly... |
I've been exploring Zero Knowledge Proofs and while the classic cave example by Jean-Jacques Quisquater makes sense, I find the discrete log example problematic.
Since the Verifier is given p, g and y, where p is a large prime, g the generator and y = g x mod p. The value x is secret. My problem is that that there is l... |
The PKCS#1 standard defines multiple padding schemes for signature generation/verification (EMSA-PSS and EMSA-PKCS1-v1_5), and encryption/decryption (EME-OAEP and the less safe EME-PKCS1-v1_5).
Which attacks are possible on signature generation/verification and encryption/decryption if no padding mechanisms are applie... |
For my crypto assignment, I'm asked to enter a prime P and generate Q such that Q|P-1
Can anyone guide me what is Q|P-1?
|
Why is it more efficient to compute a message digest (message & signature) rather than sign the message directly?
|
In non-authenticated DH, p and g are made as public record. p needs to be a large prime number and g should be smaller than p. Why does g need to be smaller than p?
|
As a beginner in cryptography, I do not know anything about different pairing types more than their names. So far, I know these names: Ate pairing, tate pairing, eta pairing, and r-ate pairing.
I am curious whether I should care which type of pairing I am using in my implementations? Do they affect performance or secur... |
I have a prime $p = 7$ and was tasked to select a random value in $\mathbb Z_p^*$ in my signature scheme.
What does the full range of $\mathbb Z_p^*$ contain in this case?
Is it $\{0...7\}$ or $\{0...6\}$ or $\{1...6\}$ or $\{1...7\}$?
|
I can't seem to verify the signature scheme described below.
Key Generation
Public Key:
$$y_1=g^{a_1}y^{a_2} \pmod p$$
$$y_2=g^{b_1}y^{b_2} \pmod p$$
$g$ denotes a generator of $Z_p^*$ and $y$ is a random element from $Z_p^*$. The private key is $(a_1,a_2,b_1,b_2)$.
Signing
$$\sigma_1=a_1m+b_1 \pmod q$$
$$\sigma_2... |
I understand the implication of the Fermat-Euler theorem and how it applies to RSA and the detailed explanation by user Ninefingers at What is the relation between RSA & Fermat's little theorem? is very useful.
However, the Fermat-Euler Theorem states that $a$ and $n$ should be relatively prime to satisfy the following... |
Consider the following scenario:
Suppose A and B have set up their RSA public keys, namely $(e_a, n)$
and $(e_b, n)$, where the n-value is the same. Also, it happens that
the $\gcd (e_a, e_b) = 1$. Suppose C wants to send both A and B a
message $M$ that is coprime with $n$. Thus, C encrypts $M$ using A and
B's... |
I've written implementations of Salsa20 and ChaCha that accept 384 and 448 bit keys. It was fairly trivial to implement, the 'sigma' constant is replaced with key material, and the counter, (which was initialized at 0), rotates and can be initialized at any value. So along with the 64 bit vector, the entire 512 bit sta... |
Given public key encryption scheme $(\mathit{gen}; \mathit{enc}; \mathit{dec})$, we now construct a new scheme $(\mathit{Gen}; \mathit{Enc}; \mathit{Dec})$ as follows:
The key generation algorithm $\mathit{Gen}$ is the same as $\mathit{gen}$.
Each ciphertext for a message consists of three ciphertexts that independent... |
I am trying to find out if the SSH protocol preserves integrity of the transferred data in the following scenario:
The SSH client is running on a virtual machine, at some point in the middle of the connection a snapshot is made of the virtual machine and another copy of the client is brought up in some location.
I am a... |
I have a function that derives two sub-keys from one passphrase using PBKDF2 one which is used as a encryption key the other for HMAC generation, because these two sub-keys will need to be regenerated when the user wishes to decrypt there file so the salt used and the number of iterations must be available to the clien... |
what is the source of nonce in SALSA20 algorithm.
basically who provides the value of nonce in SALSA20 algorithm
|
Are modified implementations of standard cryptographic algorithms better that the standard versions?
Since the algorithm is not standard, is it harder to break? Is it safer?
|
I've been thinking of ways to store credit cards securely, I thought of this:
Take the users credit card info
Put the card info in a standard format
"Full Name/Card Num/Security Num/Expiry Date"
Then encrypt the data using a 512 bit private key:
Then I'll have something like this:
0c72233aeb2de52bce867baf54a93dd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.