instruction stringlengths 32 27.2k |
|---|
I was reading upon Biham and Shamir's paper and a fact has been presented over there:
if $ P_1 = \bar P_2$ and I choose a key $K_1 = \bar K_2$ then in that case
$$T_1 = DES(P_1, K_1)$$
$$T_2 = DES(P_2, K_2)$$
then $T_1 = \bar T_2$ . Does this hold for only that particular combination of S-box or it will be same for an... |
I need to implement a simple approach on a Linux system to encrypt/decrypt data and I would appreciate any feedback from you. Basically, I need to change a bit the behavior of the functions read/write.
I've checked some options such as EncFS, but they only perform encryption/decryption at file level (decrypt/encrypt t... |
So I have been doing for the last couple of days comparison between Feistel cipher and Substitution-permutation network. Now I can say I know a lot about them and their similarities and differences but there is still one more thing I would like to know and I can't find it anywhere.
The thing is I don’t know how many ro... |
I have been thinking about digitally signed documents (Word files and PDF files) and can not get over the fact about - how can I securely know when the file was signed?
Scenario:
If the date of the signature is saved in the file that I am signing. The voucher for the date is me. However, if someone steals my private ke... |
Is there a way to generate n strings with the same MD5 hash?
|
With AES-CTR the computation time to encrypt a message of lengh $n$ blocks is $n$ computations of the block cipher.
What is the running time to encrypt a message of $n$ bits using a stream cipher, like Salsa, Snow, trivium or any other stream cipher? How can I (generally) calculate a stream cipher computation cost?
|
I have been reading on the polynomial representation of the AES Sbox in the PDF “Essential Algebraic Structure Within the AES” by Murphy and Robshaw (www.isg.rhul.ac.uk/~sean/crypto.pdf) on page 7, that the affine transformation can be represented as $f(a) = \sum^7_{k=0} \lambda_ka^{2^k}$ where $(\lambda_0, \lambda_1, ... |
Why is AES considered to be secure when encrypting large files since the algorithm is a block cipher?
I mean, if the file is larger than the block size, the file will be broken down to fit the blocks. Then the same key is used to encrypt each block of the file. And as I know it, using the same key to encrypt multiple m... |
I had a small discussion with my friend on combining two encryption algorithms based on 64-bit keys.
Say I have a plain text of 64 bits which I want to encrypt. My Key size is 128 bits. I will use the standard DES algorithm with the first 64 bits of the key to encrypt plaintext. With the remaining 64 bits of key, I wil... |
I was playing with the Vernam cipher on some online converter.
But when I tried to encrypt my message string with numbers, it remained unchanged.
Moreover, it was ignoring numbers and was encrypting as some alphabet appears in the key.
So, can we use numbers as a pad in the Vernam cipher - why or why not?
|
For example "Google Internet Authority G2"?. I thought it was another way of specifying Class 2 (for organizations, for which proof of identity is required) but then see certificates such as "VeriSign Class 3 Public Primary CA - G2".
It couldn't be something so simple such as Generation 2 could it? Hope someone who wok... |
Programming in Java.
I have an RSA key-pair, a document, and a signature created with the Java Signature class, using SHA512WithRSA. In order to verify the signature, of course, I need to provide the
public key,
signature,
document.
Is it possible to verify the owner of the signature, using only:
public key
signatur... |
What is the name of an algorithm that hashes its result as an embed of larger set of data that results back to the hash?
For instance where $f(x)$ is the hashed result and $x$ is the dataset, and $f(x)=foobar, \\
x={\dots foobar \dots}$
Differently stated: I'm interested in a hashing algorithm that generates a hash co... |
So, I have been assigned an assignment where I had to solve a Vigenere cipher.
Following along with this webpage I managed to get all the way to the chi-squared step. But, that is the problem. Upon trying to code this, I found my results to be unfavorable. In fact, all of my results for the chi-squared probability test... |
So I'm currently doing the Dan Boneh online Crypto course.
In the last problem set there was a question on AACS for DVDs and wondered if a similar method could be used for music.
Have the music industry ever attempted something along these lines?
What are the limitations?
Are there any crypto-systems in the early stag... |
DNSSEC, ECDHE, RSA, even SSH and all other important specifications, protocols that we rely on and advise people to use them, they use Public key infrastructure.
Question: Why do we still use, advise PKI if it's a fact (not just theory) that quantum computing will break PKI in less then 10-20 years?
|
$ openssl version
OpenSSL 1.0.1 14 Mar 2012
$
$ openssl ciphers
ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:SRP-DSS-AES-256-CBC-SHA:SRP-RSA-AES-256-CBC-SHA:SRP-AES-256-CBC-SHA:DHE-DSS-AES256-GCM-SHA384:DHE-RS... |
I am trying to implement the Fluhrer, Mantin and Shamir attack, one of the ways to break WEP. I seem to have hit on a problem. I have no idea whether or not it is a programming error, or if I don't understand the practical part of the attack properly.
Can I get some verification that I understand how to use it correctl... |
Recently, I'm reading Non-Interactive Key Exchange, in the section 4.2(Towards a factoring-based scheme in the standard model,Page 10), the authors uses
$$t\gets ChamH_{hk}(Z||ID;r);\\
Y\gets u_0u_1^tu_2^{t^2};X=Y^x$$
this way, I don't understand why the authors use the chameleon hash function like this, who can tel... |
I am studying DES for my Cryptoexam .As far as I understood , the initial plaintext is permuted and then the left half is called L0 and Right half is called R0.
After that for each round the process is as follows
L(i) = R (i-1)
R(i) = L(i-1) XOR f(R(i-1), K(i))
This relation holds till the last round
i..e L(16) = R(1... |
Does NTRU provide Perfect Forward Secrecy if the world would use it in an HTTPS connection?
|
I know that PBKDF2 is very useful for generating strong keys. I'm trying to know is there any additional contribution of the given password to produce even stronger keys.
Which key is more secure:
A password: "123456" (length 6) is entered into PBKDF2 ---> Produced key
A password: "XK6f+d" (length 6) is entered... |
Recently I watched the movie 'The Prestige' again but this time the cipher diary impressed me very well. I like to create my own cipher for my diary because I have some time to kill everyday after deactivating facebook.
So If I create my own substitution table like 'Vigenère_cipher', and use a different key for every... |
I saw this answer at this site about decoding a 3-rotor Engima machine's settings:
How cryptographically secure was the original WW2 Enigma machine, from a modern viewpoint?
And did some math for the decoding method in the highest ranked answer:
$2^{20}$ * $2^{19}$ * $2^{9}$ * ("run Index of coincidence as statistical ... |
"Create a random key for CCPA2 scheme, encrypt m, send it along with a
PK encryption of the symmetric key. "
Say in the process, the KDF is HMAC, then:
get a random key (128-bit)
C1 = encrypt the message "Hello World" using AES
C2 = is a tuple of E_pk(random_key), and HMAC(random_key, random_key2)
then send C1 ||... |
As mentioned in wikipedia there are many Partial Homomorphic Encryption(PHE) scheme like RSA, Elgamal, Pailler etc.
Pailler encryption scheme seems to be probabilistic
Are there any other PHE schemes that are probabilistic in nature ?
|
I have heard good things about the emerging "FIDO U2F" standard. I am especially interested in having a JavaScript API for cryptographic functions that I can access through a plug-in in a browser.
However, so far all my efforts to obtaining a physical hardware token supporting the FIDO U2F specs for testing were withou... |
The common way to store passwords in web applications is this form:
$$hash(password||salt)$$
Does it make sense to store them in the following form instead:?
$$hash_1(hash_2(...hash_n(password||salt)))$$
Where $n$ is the order of a $10^9$.
The main advantage of this method is the difficulty in decrypting passwords usin... |
Is appending the hash of the plaintext to the end of an encrypted message sufficient to ensure integrity?
My reasoning is that the attacker doesn't know all the plaintext, so by having a hash, the attacker will be able to change the message, but will be unable to recalculate the hash.
Are there any flaws in my reasonin... |
This week my professor in class taught us the definition of perfect secrecy. He said that for any ciphertext the probability that it might have come from any message in the message space should be equal.
$\Pr_{k\leftarrow Gen}[Enc_k(m)=c]=\Pr_{k\leftarrow Gen}[Enc_k(m')=c]$
He then said to think of the possibility wher... |
I'm a cryptography novice, but I think that the world needs to move towards an "encrypt everything" mentality as much as possible. As a result, I've been thinking a lot about ways to build a web app that stores all data on the server in a way that the server can't decrypt the data even if it wanted to.
Here's my think... |
I am implementing an ECDSA NIST test vectors verification application. The test vectors are taken from http://csrc.nist.gov/groups/STM/cavp/#09.
One of the test vectors is given below:
P-192 SHA1
Msg = 608079423f12421de616b7493ebe551cf4d65b92
d = e14f37b3d1374ff8b03f41b9b3fdd2f0ebccf275d660d7f3
Qx = 07008ea40b0... |
I'm trying to interoperate with a web service by reverse-engineering it. Currently, when sending a POST request, it encrypts the form data one-by-one with a 'RSA' function. But it's rather weird as everywhere else i've tried to use these values have given me errors. It's using this library: https://code.google.com/p/pa... |
Suppose we are aiming to solve the discrete logarithm problem $\alpha^x=\beta$ in some cyclic group $G=<\alpha>$. Then we are looking for a (uniformly) random sequence of elements of the form $\alpha^{a_{i}}\beta^{b_{i}}$, $i=0,1,2,...$ so that we can invoke the 'Birthday Paradox'. Pollard suggested a function which ap... |
We all know that in a public key cryptosystem, given a public key it is extremely hard to compute private key from it.
Is it the same case in reverse?
Given a private key, how easy is it to compute public key out of it?
It would be great to have answers with respect to an algorithm like RSA.
|
I have a public key in the following (format-neutral; the type is specified by the DER bytes) format:
$ cat pubkey.der | openssl asn1parse -inform der -i
0:d=0 hl=4 l= 290 cons: SEQUENCE
4:d=1 hl=2 l= 13 cons: SEQUENCE
6:d=2 hl=2 l= 9 prim: OBJECT :rsaEncryption
17:d=2 hl=2 l= 0 pr... |
As a social experiment (not a money-making scheme), I'm interested in developing a crazy cryptocurrency which, by its very design, will become worthless and untradable after a certain point. Ideally, this would be a fixed date like "January 1st 2020," but it could also be after a predictable event occurs, such as after... |
I was reading up on keystream when I came upon the definition of it:
A keystream is a stream of random or pseudorandom characters that are combined with a plaintext message to produce an encrypted message (the ciphertext).
The "characters" in the keystream can be bits, bytes, numbers or actual characters like A-Z depe... |
I've bee learning about Rabin's cryptosystem, and I already know that Rabin's cryptosystem is vulnerable to a chosen-ciphertext attack, but I was wondering, is it also vulnerable against known-plaintext attacks? I think it's not, but I'm not sure. I would appreciate if someone could clear this up for me.
|
So I understand the two concepts:
(Strong) collision resistance: it is infeasible to find a pair $x \neq x'$ such that $h(x) = h(x')$
Weak collision resistance / 2nd-preimage resistance: for all $x \in D$ it is infeasible to find $x' \neq x$ such that $h(x)=h(x')$
But I'm confused as to how to negate the two. This is... |
I'm reading the salsa20 spec (sorry for the newbie question, i'm really a newbie here). Every paragraph ends with : "this operation is invertible", I suppose the whole salsa20 algorithm is.
If I use salsa20 in bloc cipher CTR mode, this property does not seems mandatory to me, am I right?
As such, any cryptographicall... |
In the Bouncy Castle libraries, the GCM cipher implementation has an interesting property that does not seem described in the GCM papers (neither the NIST or the original paper):
Some AAD was sent after the cipher started. We determine the difference b/w the hash value we actually used when the cipher started (S_atPre... |
I'm digging into the several algorithms for building (Minimal) Perfect Hash Functions. It seems that the recent works provide quite a few very efficient algorithms.
However, I'm wondering how a (M)PHF behaves in case of unsuccessful searches and what level of privacy can guarantee:
What happens if a user computes the ... |
I'm really in trouble! I'm trying to understand how the T-tables in AES encryption work. But I don't know if I get the point.
What I understood is that they are used to reduce the whole computation of the iteration of AES just looking at the T-boxes and the XOR operation.
Now, what I got is that:
State ... |
I want implement some ideas from an article that is about making secure biometric templates using fuzzy commitment and fuzzy vault. I need to implement just the fuzzy commitment (fuzzy commitment is a biometric cryptosystem).
This schema is explained in mentioned paper in page 6. I implemented fuzzy commitment encoding... |
Is there an existing format out there that not only encrypts data but also protects against loss of data much like the QR codes can lose up to 33% of it's bits and the message is still recoverable.
I don't want to say encryption with RAID 5 but I guess it's the same concept.
|
I've been taking a crypto course online. I have a good idea how PRG's and Stream Ciphers work, but I'd love to get some input to help visualize what is actually happening. I understand a seed is used, then expanded into a keyspace. Is this correct?
So: $G: \{0,1\}^s \to \{0,1\}^n , n \verb|>>| s$
From what I understan... |
I am asking for help in finding a signature algorithm with the following property:
Given a message m and a private key prikey, the result of signing m with prikey is unique (which is stricter than deterministic). In another word, there is only one signature (or finding another one using prikey is securely hard) that c... |
In general, we execute key-mixing, substitution and permutation sequentially in a single round in a n-round SPN, but if we execute n-round key-mixing firstly, n-round substitution secondly and n-round permutation finally, how is the security of this modified SPN?
|
VKO GOST R 34.10-2001 was described in RFC4357 Page 7
But the description is very poor. Here it is:
This algorithm creates a key encryption key (KEK) using 64 bit UKM, the sender's private key, and the recipient's public key (or the reverse of the latter pair).
Let $K(x,y,UKM) = ((UKM*x)(mod q)) . (y.P)$ (512 bit),... |
I have a peculiar requirement for preserving the shared log files. For example I have 1000 records which belong to different organizations as listed below and all the logs are present in a single CSV file.
1-100 records --> ORG-A;
101-200 records --> ORG-B;
.
.
901-1000 records --> ORG-Z;
In the initial set 1-100 rec... |
I'm searching a definition of "generic attack" in context of cryptography or more specific in context of "hash functions". I searched some books and the web but I did not found any definition for it only the usage like "generic birthday attack".
Does someone have a definition for that or knows where I get one?
|
If I'm encrypting very short/small data - like an int or a long (32 or 64 bits), does it make any sense to authenticate the ciphertext, when using an "online" mode of operation (like EAX)?
Essentially, guessing the plain text would (assuming no weaknesses in either the encryption or the authentication) be easier than ... |
I'm researching on the SHA-1 algorithm and looking for reasons why it has fallen prey to differential cryptanalysis. I have read the research papers by Merc Stevens and Wang both of which describe how to attack and reduce the complexity of the attack on sha1 but none provide a way to reduce its vulnerability. Please he... |
Is it possible (how difficult) to find more than one valid RSA signatures for a given message m (after padded) and a public key e (with the private key d known). Apparently signing m with d gives one valid signature. My question is how difficult to find another one. Thanks.
|
See here for the man-in-the-middle attack on Diffie-Hellman that I'm concerned about: What is Diffie-Hellman?
How do we combat this? I have two questions:
Is one solution for both Alice and Bob just using a certificate authority, then they can each look up the other's certificate and know the secret key without really... |
Practical techniques for searchable encryption proposed by Song et al. [1] have a false positive rate of $l/2^m$ where $l$ is left half of encrypted bits and $m$ is right half and $l+m=n$ where $n$ is number of bits of the word being encrypted. For getting clarity on these bits please refer the figure 3 in page 6. (pap... |
Basically CP-ABE (or attribute based encryption) allows end-users to encrypt the data with desired access control structure. I was investigating the how to do keyword-search on encrypted data given the user has appropriate keys (may be like trap-door/delegation keys).
Interestingly the paper "Multi-user Attribute Base... |
I ran several benchmarks using openssl on 2 different computers and I got a surprising result.
for the Nist 192 bit curve the benchmark result is
>openssl speed ecdsap192
sign verify sign/s verify/s
192 bit ecdsa (nistp192) 0.0001s 0.0003s 11980.6 3481.6
for the Nist 224 bit... |
Symmetric key encryption schemes have well defined modes of operations for achieving deterministic (ECB) or Randomized (CBC, OFB, CTR ) etc. and other applications of the same. But are they defined for public key encryption schemes also ? i could not find on google.
Also are they applicable for PKE schemes ?
|
In many articles i have found directly the calculation of prime elliptic curve. How can i calculate this prime $p$ ? For example if I consider NIST P-256, $ p = 2^{256}-2^{224}+2^{192}+2^{96}-1$. Why ? Is there a formula ? Thanks for your support.
|
I need to do digital signing of my request data which will be sent to the server. My server sends distinct private keys to her clients after authentication and expects all responses to be digitally signed with those keys for next x days. In order to represent a private key instance in iOS it expects a .p12 file with a ... |
Doing malware research (simple crypto locker) I found out that it uses AES-128 with weak key - every one of the sixteen bytes is represented by (a-z,A-Z,0-9). Thus simple brute-force attack should iterate through $62^{16}$, that is approximately $2^{96}$ keys. I have a file before encryption and after.
Is it feasible ... |
I have seen in few places (mostly papers) talking about plain cascade and XOR cascade. I know what is cascade cipher is but I am not clear about what these are. Can anyone help to understand using simple words to define what is a XOR cascade? (how XOR is involved in cascade cipher?)
|
The notion of plaintext-awareness is well-known for asymmetric encryption, but the notion seems to make sense for symmetric encryption as well. Is this a known concept?
|
I’m reading “The Security of Multiple Encryption in the Ideal Cipher Model” and I’m having a hard time understanding something. How do I calculate the bounds of cascade cipher from the following formula (where $k$ determines keysize and $n$ is the blocksize)?
$\exp\left(k+\min\left\{\frac{k(ℓ′−2)}{2}, \frac{n(ℓ′−2)}... |
Groth-Sahai framework enables us to commit to QE, MSME, PP equations. Now, is the equation below committable in GS framework?
A bilinear map $e: G_1 \times G_2 \rightarrow G_T$. $g_1 \in G_1$ and $g_2 \in G_2$ are the generators of the corresponding groups. $K \in G_1$ and $\tau \in G_T$ are constants. $x,y \in Z_p$ ar... |
We all know there are five properties of Security. They are:
Confidentiality
Availability
Authorization
Integrity and
Provenance
As Security and Cryptography are co-related these properties also applicable to Cryptography as well (are't they?). I can understand how a Cryptographic algorithms (e.g. AES) maintain ... |
Would a DES algorithm that uses all 64 bits for the key instead of just the 56 bits be more secure? I have been thinking about it but those 8 bits used for parity are very useful and but including them in the key could potentially make it more easily cracked.
From Wikipedia, it stated that the 56 bit key was cracked in... |
I'd like to use a curve that's not included in the Bouncy Castle EC named curves spec, specifically E-521.
According to the BC javadocs, you need a few values in order to do this: q, a, and b for the curve, then G and n for the parameter spec.
import org.bouncycastle.math.ec.ECCurve;
import org.bouncycastle.jce.spec.EC... |
I was reading a paper on the "elephant diffuser" used in BitLocker and it got me wondering how other systems (e.g. TrueCrypt before it shutdown) solved the problem the elephant diffuser was meant to solve; namely that there isn't enough space on a disk block to store an IV. Where is the IV stored in other systems or d... |
Is elliptic curve point multiplication semantically secure? I'd like to know if there are some sets of elliptic curve parameters (e.g. NIST curves) that are proved to be semantically secure or that are not disproved.
By "elliptic curve point multiplication is semantically secure", I mean the following:
Suppose an ellip... |
I was thinking of this since yesterday. Imagine, a secret is split into its respective shares (using any secret sharing scheme) with threshold $t$ and total $n$. Can we find out given any random string if it is a valid share of the secret ?
Of course without brute force approach, i.e splitting the secret into its sha... |
I was learning about the finding the key length reading the following web site...
http://practicalcryptography.com/cryptanalysis/stochastic-searching/cryptanalysis-vigenere-cipher/
and I really don't understand some part of the example shown in the web.
They assume the key length is 2 and extract the two sequence 1,3,5... |
I would like a data structure supporting two operations: $\mathsf{set}(k,v)$ and $\mathsf{get}(k)$, with the following properties:
$k$ can be any number between $0$ and something impressively large, like $2^{256}-1$.
If there is some $v$ such that $\mathsf{set}(k,v)$ has been called then $\mathsf{get}(k)$ returns the ... |
in $GF(2^8)$ the AES affine transformation is defined as
\begin{equation*}
b( x ) = ( x^7 + x^6 + x^2 + x ) + a ( x )( x^7 + x^6 + x^5 + x^4 + 1) mod (x^8 + 1)
\end{equation*}
where the polynom $( x^7 + x^6 + x^2 + x )$ represents the constant term and $( x^7 + x^6 + x^5 + x^4 + 1) mod (x^8 + 1)$ is the matrix, which i... |
Is there any consensus (i.e. are there any research results) on the benefits and drawbacks of various padding schemes?
Generally there seem to be two kinds of them:
random paddings, like ISO10126 that pad with random data
fixed paddings, like PKCS5/7 and X.923 that pad with 0s or some fixed pattern
Is there any reaso... |
I would like to know what is the real purpose of using a modulus in the equivalent of a Vernam cipher:
Data $d$, large number $M$.
Assume the key length is $\lambda$ bits. Then $M$ could be $2^\lambda$.
$k$ is picked from $\{0,1\}^\lambda$ using a pseudo random function (PRF)
Encryption: $C = k + d \pmod{M}$
Decryption... |
I'm interested in trying to hand-negotiate an SSL/TLS session. Similar to how one would use telnet to port 80 and type GET / HTTP/1.1. I know there's a lot of steps involved, and I'm aware of the structure that should be used (per RFC 5246). I know eventually I'd have to start doing my own crypto, (which I suppose I co... |
Please consider the following scenario:
The user A and B use their keys, K1 and K2 respectively. Each client have a vector of elements. Each client separately permutes his vector using his key and outsources it to the untrusted server. This permutation prevents the server from learning the correct index of each element... |
I wonder what encryption scheme is used in high-precision encrypted GPS streams (the so-called “P(Y) code”). If there's a master key needed, then it has to be in every device. Yet the master key doesn't seem to have ever leaked (unlike like game consoles or Apple devices).
So what could explain why military-precision c... |
Short version: When generating a prime number of N bits, should I draw random numbers from the range $[0 , 2^n]$, or $[2^{(n-1)} , 2^n]$?
Context: I'm trying to implement a toy-version of RSA as a hobby, with a Miller-Rabin test to generate primes. Initially, my function to generate the keys had the following signature... |
Is it possible to construct a zero knowledge proof that one encrypted number is larger (or not) than another encrypted number without releasing the values of either numbers?
|
Matthew Green states in the Practical Kleptography presentation (video, at about 12:15) that Hash_DRBG (from SP800-90A) as originally proposed by NSA had potentially exploitable flaws or bugs and that NIST fixed it.
I've been unable to find how. This VCAT report only states that it was contributed by NSA and NIST "prov... |
I recently noticed that OpenDKIM on my mail server is objecting to DKIM signatures from a client, saying their key is insecure. It may be that that's due to lack of secure DNS (confirmation anyone?) but I also noticed that the signing algorithm is shown as a=rsa-sha1, and with the move to “Deprecate SHA-1” in other con... |
In Fully Homomorphic Encryption scheme represented here Fully Homomorphic Encryption over the Integers
In the Evaluate process (see section “3.1 The Construction” of the paper):
$$Evaluate(pk, C, c1, \dots , ct):$$
Now…
If I want to do some operations on an encrypted data, should I convert that operation to a binary c... |
I would like to know the domains or specific applications where using AES-CBC is not advised due to any drawbacks like sequential encryption of AES-CBC ?
|
Many browsers and Internet companies have recently claimed that SSL Certificates with a signature algorithm of SHA1 will imminently no longer be considered secure. Most notably, Google and Google Chrome.
Yet I've read that since the SSL/TLS negotiation and Cipher Suite don't make use of plain SHA1 (or even MD5), and i... |
Signing
Let $y = g^x$, which is your public/private keypair.
Let $r = g^v$, for random $v$
Let $c = H(M)$
Let $z = (v + cx) \bmod q$
The signature is the pair $(r,z)$
Verifying
$g^z = ry^c \bmod p$
We further assume that the signer takes care not to sign the same message twice (that's his job in my application), an... |
In the paper Fully Homomorphic Encryption over the Integers in the introduction:
How do I calculate $r$ and $q$ of this equation in the picture?
$r \approx 2^{\sqrt{\eta}}$ and $q \approx 2^{\eta^3}$
what is the meaning of symbol like $\eta$ in the picture?
$p\in [2^{\eta-1},2^\eta)$
and how calculate it?
|
I'm trying to implement an RSA module in a FPGA. I choose to use Montgomery multiplication. I've found a document where the Montgomery Multiplication is pretty clear. I don't understand only a step.
The algorithm is…
$S[0] = 0\\
for\ i\ to\ (k-1)\ loop\\
\ \ \ \ q_{i} = ( S[i]_0 + A_{i} \times{B_{0}} ) \bmod{2}\\
\ ... |
Can somebody explain in simple words. real life example light help and limitations of these schemes etc.
|
I need to store encrypted files on a hard disk. The actual code side is not important for me now (I plan to use C# and AES-GCM encryption from Bouncy Castle library, please tell me if you think that's a bad idea!), but I'm having trouble designing the actual high-level algorithm.
How do I deal with user changing passw... |
The ciphertext given is:
ejitp spawa qleji taiul rtwll rflrl laoat wsqqj atgac kthls iraoa twlpl qjatw jufrh lhuts qataq itats aittk stqfj cae
I've done frequency analysis on the text. That yielded the following results:
A(15), B(0), C(2), D(0), E(3), F(3), G(1), H(3), I(6), J(6), K(2), L(11), M(0),
N(0), O(2), P(3)... |
In many encryption schemes in Charm the random group message is used instead of a text-message:
msg = group.random(GT)
For example, in CP-ABE scheme, random message is used:
cpabe = CPabe_BSW07(group)
msg = group.random(GT)
attributes = ['ONE', 'TWO', 'THREE']
See link for scheme details: http://jhuisi.github.io/ch... |
A Brute Force Attack obviously involves attempting to decrypt ciphertext (with the associated plaintext being known) using all possible encryption keys.
Aside from attempting all possible encryption keys in sequence, have there been, or is there any alternative methods of performing a brute-force attack?
I'm aware of... |
I am trying to understand the FIDO U2F Raw Message Format, especially the format in which a user public key should be provided.
The documentation says the following:
A user public key [65 bytes]. This is the (uncompressed) x,y-representation of a curve point on the P-256 NIST elliptic curve.
I have parsed the followi... |
The text below has been taken from the below paper Groth-Sahai Paper. The relevant part is highlighted in red.
What does this group-dependent language mean in this context? From the definition of a language we know that it means a set of strings. In this case, what are all the strings forming the language?
|
One of the main rules of the OTP is, that a key should never ever be reused.
But if we use some commutative operation (XOR for example) for generating the cipher text, then I don't see any difference between the message and the key, so can we also say that a message should never be reused?
With other words - even if we... |
I have two X.509 certificates in DER format.
A:
3082013C3081E4A003020102020A47901280001155957352300A06082A8648CE3D0403023017311530130603550403130C476E756262792050696C6F74301E170D3132303831343138323933325A170D3133303831343138323933325A3031312F302D0603550403132650696C6F74476E756262792D302E342E312D343739303132383030303131... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.