instruction stringlengths 32 27.2k |
|---|
Do peer to peer networks like Gnutella, Bittorrent have any encryption system to secure the users privacy or encrypt the file/data being shared? Elaborate please.
|
when you look at the encryption websites use you will see that there is alot of diversity, some use 256 bit keys some do not, some use DHE-RSA some ECDHE some use sha 256 some sha1, but my question is, what would currently make the strongest https connection in terms of asymmetric symmetric and hashing algorithms used... |
I have this question in which I m struggling. I have read in many sites about encrypt-then-mac etc.
If the confidentiality for transmission is needed, discuss the feature for the order of encryption and encode by error correcting code (ECC), i.e., 1) encryption-then-encode, 2) encode-then-encryption.
|
The following for-loop iterates over all possible keys for an M3 Enigma for three selected rotors:
for start_pos_left in A..Z:
for start_pos_middle in A..Z:
for ring_middle in 1..26:
for start_pos_right in A..Z:
for ring_right in 1..26:
For the middle and right-most rotors we ne... |
I create two files, my.cer and my.pem ( include certificate and private key), I encrypt a file with my.cer, I use openssl smime -encrypt command. When decrypting data, it needs my.pem.
I think 3DES is symmetric cryptography so it should just need my.cer. Please explain.
|
I'm curious on the following question: let $\mathbb{F}_{2^n}$ be a finite field which is an extension of $\mathbb{F}_2$ with order of $n$, is there an encoding scheme $e:=\mathbb{F}_{2^n}\rightarrow \mathcal{C}$ for some domain $\mathcal{C}$ and satisfies linear homomorphic, i.e. $$\forall x_1,x_2\in \mathbb{F}_{2^n}, ... |
Some describe as $H:F_{q}\times G_{2}\rightarrow \{0,1\}^{n}$.Some describe as $H:\{0,1\}^{*}\times\{0,1\}^{*}\rightarrow F_{q}$.
What is the meaning of product function? what kind of operation does it refer to?
|
In the EEA2 option for encryption in LTE the AES-128 algorithm is mechanized. There, the nonce used in the CTR Mode is a 128-bit value. The first 64-bits are covered by a COUNTER, a BEARER, a DIRECTION, and a LENGTH parameter. LENGTH parameter is supposed to control the output of the KEYSTREAM length (not changing the ... |
How was the constant matrix in AES MixColumns constructed?
\begin{bmatrix}
02 & 03 & 01 & 01 \\
01 & 02 & 03 & 01 \\
01 & 01 & 02 & 03 \\
03 & 01 & 01 & 02 \\
\end{bmatrix}
How can I construct in $GF(2^4)$ an invertible matrix for the MixColumns step?
|
I have designed an ECC engine in silicon that handles any curve in the form of $$y^2 = [ax^3 + bx^2 +cx + d] \mod(P)$$
The shared secret is then passed to symmetric encryption engine, which happens to be Simon. The system is asynchronous and simulates great, but there's an occasion situation where I can have a key und... |
Currently I have a 2048-bit PGP key. Suppose I create a new 4096-bit key. Can I add that old key as a subkey of this new one?
|
What is the common secret that is established used for? What types of interactions are now possible?
|
I want to add some custom header to encrypted file to identify my encryption,consider safe and reliable.like pseudo format extension or file size.Is there any algorithm or tool to make it?
|
I've recompiled my operating system ("LionBSD" based on FreeBSD) to use Argon2i as the default password hashing algorithm in crypt/libcrypt.
I'm wondering what the recommended number of iterations would be?
As an example, OpenBSD uses 8 iterations of bcrypt by default.
|
I'm a n00b to cryptography. I've been searching through oracle's java docs, ssl labs, googling and more googling attempting to find an up to date list of cipher suites considered secure for the latest updates of Java SE 6 (I know its old), Java SE 7 and Java SE 8. I've found plenty of outdated info which is not useful... |
I've just studied about the error correction schemes and encryption.
First rule when using EDC/ECC is to first encrypt and then calculate them, and the major motivation we were told is that "EDC/ECC Then Encrypt causes KPA attacks on GSM protocols to be Ciphertext Only Attacks, because it adds much redundancy to the pl... |
The PBKDF2 construction from PKCS #5 v2 has the convenient feature that it can be implemented using only standard interchangeable cryptographic primitives. Specifically, it only requires the availability of a suitable PRF, typically implemented using a standard cryptographic hash function via HMAC (another high level ... |
I am wanting to encrypt a message with a pre shared key that uses AES GCM from the OpenSSL library to do so.
I generate my key for the AES crypto via hashing my pre shared key with a salt using the PKCS5_PBKDF2_HMAC_SHA1 function which gives me a key of 32 bytes.
Once this is done I generate a crypto secure pseudo rand... |
If I get a key pair from RSA algorithm, can I make Private-Key public, and keep Public-Key secret without breaking the security of encryption and signature?
|
Suppose $p_0$ and $q_0$ are known prime numbers and define $p_i$ and $q_i$ as follows:
$$p_{i+1} = next\_prime(p_i^2 + q_i^2), \qquad i \ge 0$$ and
$$q_{i+1} = next\_prime(2p_iq_i), \qquad i \ge 0$$ and
$$N_{i+1} = p_{i+1}q_{i+1}, \qquad i \ge 0$$
I want to know is there efficient algorithm to factor $N_{i}$? What happ... |
This code has appeared in some online course material.
I understand the $(5, 4, 3)$ refers to (length, num codewords, distance) but no explanation of the $Z_2^5$ notation is given:
One $(5,4,3)$ code in $Z_2^5$ is given as below:
$C_3 = \pmatrix{0, 0, 0, 0, 0\\0,1,1,0,1\\1,0,1,1,0\\1,1,0,1,1}$
|
Fips 180-4 defines under 5.3.6 how to calculate initial hash values for SHA512/$t$ for a given value $t$.
Can someone explain me how the t actually affects the outcome of the procedure (which, as far as I understand, just calculates the eight 64-bit words XOR with a5a5a5a5a5a5a5a5)? Furthermore I don't understand how t... |
So, I got how finding the private key is equivalent to resolving the SVP. I also understood that the LLL algorithm can only be used in small dimensions. Now, I wonder what is the most efficient attack one could do? Does it have to be comprehensive like the meet-in-the-middle one? Is it possible to use the LLL to speed ... |
I try to understand how the tripartite Diffie-Hellman key exchange works.
I read Joux's paper for this: https://www.semanticscholar.org/paper/A-One-Round-Protocol-for-Tripartite-Diffie-Hellman-Joux/845e96c20e5a5ff3b03f4caf72c3cb817a7fa542/pdf
However on page 388 he states the following equality which I don't see why it... |
The RFC https://www.rfc-editor.org/rfc/rfc4106#page-5 states that, under AES-GCM IPsec, each packet is expanded by 8 bytes for the IV and up to 16 bytes for the ICV. Why? Since we already have a Sequence Number (4 or, in the case of ESN, 8 bytes), can't we just use that as an implicit IV? This saves 8 bytes per packet... |
we have learned Diffie-Hellman, RSA and DSA (Digital Signature Algorithm) in university.
Because DH is vulnerable of Man-in-the-Middle we had the task to program the DH combined with RSA to protect it against MitM. Now I have seen an earlier exam, in which the prof asked to construct a procedure with DSA to protect DH ... |
I know how to forge vanilla Textbook RSA message signatures (easy).
I've learnt that by adding a good redundancy to the message, it cannot be forged anymore.
How can one add redundancy so that the message could be recovered from the signature (RSA with message recovery), and cannot be forged (meaning the redundancy fun... |
I've been studying Ring-LWE based crytposystems such as the one in this paper, but I can't seem to find/come up with a proof of correctness for this particular scheme.
The encryption goes as follows:
given a message $m \in R_2 $ and sampling a secret key $s$ from a distribution $\chi$, one samples $a$ from $R_q$ and $e... |
I use putty gen to generate RSA key, I choose length of key is 2048 bit, it generate public key:
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA10prz5/FvHX7cx5aowiF+eO8uQuKTYSU0rA0x5yNPD5yTI0HGmEBTnhia4iOhOzwg0BevOZR1SClBpCRTZViym2Z+ohAGt65mWq+2LLhRf3MNpcM6Ttm8IXFxRiVR9iALk9cPsXu6zz4x7RT9vZG7rE1+KbeeSn1gacpCeudsEYCDOrgenH78hNXCLc... |
Please forgive my ignorance here as I'm far from a math major and I've never looked into cryptography before so if this seems stupid - it probably is. There is a question in a quiz I'm attempting that is just doing my head in. If you are wondering - I'm not doing this course for credit or receiving any certification fo... |
Apologies if this should be in the Mathematics stack exchange, I just ask it here because the context is cryptography. Here is the question that I seemingly cannot get correct:
Consider the Vigenere cipher over the lowercase English alphabet,
where the key can have length 1 or length 2, each with 50%
probability. ... |
Been having a great deal of difficulty understanding the use of simulators to prove security of ABE schemes so I though I would start from the first ABE paper (Fuzzy Identity Based Encryption) to try and understand it better.
From my understanding of the use of simulators, the idea is to show that a simulator can be cr... |
In my application, I am trying to prevent counterfeit widgets from being used on our gadgets; think HP ink-cartridges. I will be doing such with UHF RFID tags embedded in the widgets.
Unfortunately, the environment in which the gadgets are used does not allow me to keep a database of every widget in existence. I am op... |
We already know that D-WAVE's "quantum computers" can't really run the Shor's algorithm, because the way they're built doesn't qualify them as universal quantum computers.
Now researchers actually found out that so-called analog quantum computers can be scaled much better and quicker (for now) than normal, digital ones... |
As per my understanding, LWE is quantum secure because there is no known quantum algorithm to solve LWE in polynomial time. Due to the reductions given by Regev et al., if there is any algorithm that solves LWE in polynomial time, it will imply that one can solve worst-case lattice problems easily.
My question is: if s... |
I was reading "A Convenient Method for Securely Managing Passwords, Halderman et al., 2005". In short, the authors say to do the following:
cache = very_long_key_derivation_function(salt,master_password)
save the cache on disk
password_for_site_a = short_key_derivation_function(salt,site_a|master_password|cache)
passwo... |
I want to find an example of a basis of a lattice of dimension $n$ such that LLL algorithm can't find the shortest vector of the lattice, and such that the shortest vector of this lattice, say $b=c_1b_1+\cdots+c_nb_n$, has small $c_i$, i.e., $c_i \in \{-r,\ldots,r\}$ with small $r$.
Note that $b_i \in \mathbb{Z}^n$ an... |
I'm reading about LoRaWAN (specification). This network protocol has a particular way to encrypt data, detailed in the part 4.3.3.1. Here is a recap of how the encryption work, as I understood it.
First, a sequence A with blocks with a size of 16 bytes each A1..An is created. The length of A depends of the length of th... |
Short Version of the Question:
I would like to remove any predictable information from an encrypted private keys binary representation. Does anyone have a hint where the binary format for encrypted GnuPG private keys (.gpg) is documented?
Longer Explanatory Version of the Question:
Hey guys,
basically I'm trying to wr... |
I know that Diffie-Hellman is used to create keys in a secure way over an insecure channel. But there is one thing which I cannot understand: I see that a lot of sites use ECC or RSA alongside DH.
But why would you need to implement ECC or RSA if you already have a shared secret or key with each other? Can't you alread... |
I'm studying for my exam and came across this question below.
I don't understand how to get $d$. I get $C$ is a code of length $n$.
Containing $M$ code-words with a distance $d$.
$(n,M,d)$
But how do I get $d$ below?
Give one (5,4,d) code in … as below …
Z^(5) base 2.
C={
0,0,0,1,0
0,1,1,0,1
1,0,1,1,0
1,... |
Can anyone help me with the following problem.
Given a prime exponent $e$ and a prime number $n$, find $b$, where $b^e \equiv 1 \bmod n \land b > 1$. For example, $b^5 \equiv 1 \bmod 11$ how to find $b$ ?
Can anyone describe me the steps please.
|
I'm working on a solution where an iPad should connect to a server software running on a laptop using TLS with a self-signed certificate that was automatically generated on the laptop during the installation of the software there. I need to make sure there is no man-in-the-middle attack, so the obvious solution would b... |
Disclaimer: I'm pretty new to cryptography and I don't have a strong mathematical background. I apologize in advance if I missed something blatantly obvious.
I participated in a security CTF this weekend and I was unable to solve one of the problems. It's been three days now and I still take a crack at it whenever I h... |
In hybrid encrytion, I still see that some site's use RSA in their https connection, so now I wonder, why do they not use ECC instead of RSA, ECC requires less computational power and encrypt's and decrypt's faster (atleast that's what I read). I know that there have been smiliar question's about this but none of these... |
To what extent depend cryptographic protocols on cryptographic primitives? Are there cryptographic protocols that can only be implemented with certain cryptographic primitives?
If the answer is yes, could you give an example of a protocol depending on a primitive?
|
Literature has different ways of specifying complexity of an MPC protocol:
computation complexity that measures the number of (assumed primitive) operations performed by all the parties;
communication complexity, which measures the number of bits communicated between parties during the protocol;
round complexity th... |
First, let me clarify what I mean with a Key Derivation Function (KDF). I'm interested in KDFs that take an $n$-bit symmetric master key and some diversification data of arbitrary length as input and produce an $n$-bit symmetric key as output that can be used in subsequent cryptographic operations.
It seems to me that ... |
In many cryptographic games, the adversary doesn't seem to be parameterized by the security parameter.‡ Are such games equivalent to variants in which the adversary is parameterized by the security parameter?‡‡
‡ E.g., Bellare et al.'s IND-CPA (Crypto'98) defines: $(pk,sk) \leftarrow K(1^k)$; $(x_0,x_1,s) \leftarrow A_... |
Consider Elliptic curve with p = 59, A = 1, B= 0, P = (25,30) and Q=(35,31).
So I tried to solve this using MOV attack.
The torsion point for them E[5] is R(-25,30i) where is sqroot -1
Chosen two points (40,54) and (48+55i,28+51i)
So calculated weil pairing e(P,R) which is (46+i56) and e(Q,R) is (42+i19)
Now my problem... |
For example, imagine a message that is a mix of Japanese and English words; Japanese in unicode, English in ASCII. Japanese doesn't use spaces between words.
The sentence structures, anything abstract, and verbs would have to be in Japanese. Anything directly translatable such as colors, transportation machines, proper... |
When it comes to implementing cryptographic algorithms, there seems to be a big focus on the difficulty of doing so without introducing the potential for side channel attacks and the knowledge required.
Along with that seems to go the assumption that such code needs to be very carefully written and reviewed but I haven... |
$H:\{0,1\}^{*} \rightarrow Z_{p}^{*}$
$H:\{0,1\}^{*} \rightarrow Z_{p}$
$H:\{0,1\}^{*} \rightarrow G_{1}^{*}$
$H:\{0,1\}^{*} \rightarrow G_{1}$
Difference meaning of $Z_{p}^{*}, Z_{p},G_{1}^{*},G_{1}$ ??
|
Consider the following bit sequence:
00100000110
Using Berlekamp-Massey algorithm we can find the following minimal degree polynomial:
$P(x)=x^6 + x^5 + x^4 + 1$
Now, is there a way to find all polynomials up to a given degree 8 that can generate the same bit sequence?
|
I would like to know the difference between the random oracle model and
the non-programmable random oracle model. What is the difference?
|
I'm considering using a key-derivation scheme for generating multiple keys from the same user secret. It is important that given all but one of these derived keys, it is not feasible to calculate the last one. Tunable difficulty would be a big plus.
Is there such a function, or set of functions, that are safe to use i... |
I am always wondering about the seemingly odd syntax $1^n$ which designates the security strength of a cryptographic algorithm.
Who invented this (odd) syntax and what was the reason for inventing it?
|
Alice has a single bit of information, b, that she wants to send to Bob (over an unalterable but possibly-monitored channel) but in such a way that without the cooperation of Bob she cannot prove to anyone else (Eve) besides Bob after-the-fact that she sent b and not 1-b.
Is this possible? I am thinking perhaps not, b... |
Take for example the popular AES algorithm where we have a combination of substitution, shift row, mix column, and add key steps involved in encrypting plain test.
All of the mathematical operations within the s-boxes, shift row, and mix column should be known to the attacker, correct? I understand they could be hard t... |
I'm new to cryptography, and I was making an experiment a few minutes ago, but I want to have some deeper knowledge about RSA public and private keys.
I have a set of keys
One begins with
-----BEGIN RSA PRIVATE KEY-----
MIIBOgIBAAJBAOlnH1jZ2YLfWuYMop1a4N9jsUPK......
-----END RSA PRIVATE KEY-----
and another with
----... |
The concept of Oblivious RAM (ORAM) was first introduced by Oded Goldreich and Rafail Ostrovsky in 1996. However, in the past 5-10 years there has been a surge in the amount of research that looks into various realizations, optimizations and implementations of ORAM. My questions are two-fold:
Although ORAM was introdu... |
Recently, plenty of researchers are looking at designing efficient data-oblivious algorithms. Roughly speaking, an algorithm is said to be data-oblivious if its data access patterns are independednt of the input i.e. the data access pattern of the algorithm does not leak any information about the input of the algorithm... |
When trying to understand how “modes of operation” are applied when using block ciphers like DES, I noticed I must be missing something. Maybe I simply misunderstood or mixed up things somewhere.
How are (keeping the DES example) Feistel structure properties achieved, when a mode of operation such as ECB is used?
|
Could cache-timing channels (such as exist for certain
block ciphers) somehow be made use of in order to extract memory-access pattern information if both the attacker and user are NOT in a shared compute cluster?
Sub-questions:
If not, how can an attacker do so if they both share one physical machine?
Is scrypt's mem... |
CCM specifies (Section 1.7) that no plaintext data should be released before the MAC is verified.
Why is this recommendation given and what attacks are possible against CCM if data is treated like a streaming operation and decrypted data is released before the MAC is verified?
Is this recommendation given because of us... |
In Feistel-Network, there would be a wire-crossing at the end (for the next round). Which insufficiency would occur, if the wire crossing would be omitted?
|
I am doing an independent study class for computer forensics, I have to carve the images I've been given. After using scalpel I get a .wav file and .asf file both files play the same songs, and they generate the same md5 hash values. Is this because they are the same file just with .wav and .asf at the end or I am poss... |
I'm a newbie to encryption. If I create a number 'n' as a product of two prime numbers 'p' and 'q' with the following specifications:
'p' is a fully random prime with 300 decimal digits in length.
'q' is a fully random prime with 400 decimal digits in length.
My question is: If I make 'n' public, will anyone be able to... |
ROM is considered to be collision resistant. Does ROM assume there is an infinite set of outputs, or assume the output set is always larger than the input set? Because by the pigeonhole principle, ROM is guaranteed a collision given a large enough set of input, even when the output is generated randomly.
|
I want to know if there is a way to build a Hash Function in a such way?
$\mathcal{H}:{\left\{ {0,1} \right\}^*} \to \mathbb{Z}_{N}^{\ast}$, $N=pq$ and where $p,q$ are primes.
|
I am implementing Role-based access control by referencing the paper Enforcing Role-Based Access Control for Secure Data Storage in the Cloud. In page 6, they have mentioned to choose hash functions $H_1$ and $H_2$ during the setup
$$ H_1 : \{0, 1\}^∗ → Z^∗_p, H_2 : G_T →Z^∗_p $$
where $G_T$ be a cyclic multiplicative ... |
I am new to ECC. I am confused about what the embedding degree in an elliptic curve group represents and what is the impact of its values on the curve and security (small values or large values?)
What does the following mean:
The elliptic curve group used has a 160-bit group order, the base field size is 512-bit, the ... |
What is the maximum number of zeros, which are appended at the input- padding in messages? How large must the message be for this?
|
I've come across a bunch of "strange" hash function notations, such as the following ones and now I don't know how to choose / instantiate them.
Can you please explain me what this notation means and how I can actually instantiate such a hash function?
The notation in question:
$$H_1:\mathcal M \rightarrow \mathbb F_p$... |
I'm trying to figure out homomorphic encryption and would like to multiply two paillier encrypted numbers.
Like so:
[a].[b]=[a+b]
To try this I got this Paillier.java and tried the following:
BigInteger Paillier p = new Paillier (2048);
BigIntegera=p.encrypt(BigInteger.valueOf(12345));
BigInteger b=p.encrypt(BigInte... |
In ECRSA cryptosystem, I want to know the feasible attacks. For illustrations we have two prime $p$ and $q$ such that $p \equiv 2 \pmod 3$, $q \equiv 2 \pmod 3$ and generate key pair as follows:
$$n = pq, \quad \lambda = \operatorname{lcm}(p+1,q+1), \quad d = e^{-1} \pmod \lambda $$
Now $(n, e)$ is public and $(n, d)$ ... |
The OTP (one-time pad) gives us perfect secrecy. This is the very best confidentiality available in this universe. (Although it does require large keys, which is beside the point of this question).
The problem is such encryption does not attain integrity. So my question is, is there such a thing as perfect integrity?
|
I am implementing Role-based access control by referencing the paper Enforcing Role-Based Access Control for Secure Data Storage in the Cloud. In page 6, they have mentioned to choose hash functions $H_1$ and $H_2$ during the setup
$$H1 : \{0, 1\}^∗ \rightarrow Z^∗_p,$$
$$H2 : G_T \rightarrow Z^∗_p$$
where $G_T$ be a c... |
Crypto is hard. Thank you for helping me learn.
My encryption scheme currently looks like this:
Salt is stored out in the open
Secret is the user's password, known only to them
EncKey||AuthKey = PBKDF2(Secret, Salt, n) where n = lots
My encrypted payload consists of IV||Ciphertext||HMAC
IV = secure random bytes, uniq... |
Are there any symmetric authentication systems based on the hardness of an NP-complete problem? I understand that it doesn't really matter, since NP-completeness is about the worst case, and in crypto we care about the average case, but I still feel it's somewhat interesting...
|
I'm trying to learn homomorphism so the problem may also be in my code (which I will include).
I want to compute $a - b$ where $a$ is bigger then $b$. In order to do this I tried to compute $\frac{a}{b}$. However when I decrypt this I get garbage. Or ciphertext $c$ is not in $\mathbb{Z}^{*}_{n^2}$.
Now because the pr... |
Why is symmetric lightweight cryptography only about block ciphers and not about stream ciphers?
AFAIK stream cipher implementations cost at least three times less than block cipher ones?
|
When you use scrypt to hash a string, it will generate something like:
SCRYPT:4096:8:1:8zCQhTI8y2pdrFeIj2WYBJIbaLiePLOuXdbevG7XDV4qgUuiGPCXPFjh1aEmXQ/5u+SlCvz0KkcoOJtUWBkytfkCs2OZep60W+Nagv0gixqkcMn/PxoIqnOGIzyDWntEdsQKjYBHDYK5Va5VDHqoQxJeIm+yq3lJ4/y5dnL55RA=:zABi6opzkXwG627OUrk4KNUCiajY1xdM+PVmSC+VJS8=
The first part... |
I was trying to understand the internal structure of AES (Advanced Encryption Standard)
The Standard order of steps within a round:
Substitute Bytes
Shift Rows
Mix Columns
Add Round Key
Substitute Bytes, Shift Rows & Mix Columns satisfies the two most important properties required for a secure cipher i.e confusion an... |
Are there any public key cryptographic systems whose hardness assumptions don't involve number theoretic problems?
|
A5/2 could be attacked with cipher-text only, using the Error Correction Code, in order to retrieve the session key.
For the purpose of simplicity suppose that the error correction code copy the plaintext 4 time.
e.g., for $=1010101$ we will encrypt the following bits: $1010101 \space 1010101 \space 1010101 \space 101... |
Visiting this site: http://lcamtuf.coredump.cx/oldtcp/tcpseq.html#phase
I found graphical representations of random-generated sequence numbers, but I can't figure out how to interprete the plots.
Taking as example OpenBSD:
and the Windows NT4 SP3 distribution:
I can't understand why the ISN guessing attack feasibilit... |
I have to make a detailed diagram of the 4 way handshake and formulas for its functions so I need to know the exact process behind it. Like precisely what functions are used in it?
I have been trying to search this for days but all I can find is very "on the surface" level of information. For example it says that the P... |
Is the following stream encrypted or corrupted? I was on a call and then this happened:
http://vocaroo.com/i/s0PlF2s8ULAU
|
We consider a finite field $\mathbb{F}_p$, where $p$ is a large prime e.g. 256-bit.
We have $b$ a fixed element of the field. We encode it as $b'=b||h(b)$, where $h(.)$ is a cryptographic hash function. Assume the output of $h(.)$ is of size 160-bit.
We encode that way to distinguish the element $b'$ from a random elem... |
I am designing an unkeyed hash based on the SIMON cipher. This is a follow up to “this” question. A quick summary: I have an ECC engine and the SIMON cipher in hardware, and it’s in an extremely power constrained environment. I want a hash generator for two reasons: 1) the ECC shared secret, and 2) if I want to ver... |
If the RNG of a HSM is said to be compliant to FIPS 140-2 (approved DRBG - SP 800-90 CTR mode) does also imply that it is compliant to FIPS 186-2 ?
|
I’ve seen that the question has been asked already but this is still confusing to me.
In a digital signature, Alice sends a message M and the hash(M) which is signed by her private key. Bob recomputes hash(M) (that he retrieves with Alice’s public key) and ensures that he finds the same hash value as Alice.
Therefore... |
First my apologies if this isn't the right forum for this but here's my problem :
I have a black box that takes an input file and produces an output file.
I want to sell this black box to a customer but I want to meter/limit the number of files the customer can use with this box. A counter would not be fair to the cus... |
If we have to determine a file is encrypted or not, can we use Shannon's entropy algorithm on the file?
As discussed here, the entropy (in bits per byte) being closer to 0 is considered as more orderly and being closer to 8 is considered more random.
Intuitively this might be generating false positives a lot. Can any... |
From a definition stand point, can a hashing algorithm have more than one input, ex: $H(m_1, m_2, m_3)$?
If not why are algorithms like bcrypt, scrypt and pbkdf2 referred to as password hashing algorithms?
|
I recently came across OPE and Order-Revealing Encryption (ORE), but I didn't exactly got the idea why they are important. What's exactly important about them? Are they actually used in practice? My recent interest is leakage-resilient cryptography, and I saw there are some papers on leakage in OPE and ORE, but why is ... |
Long ago I created a simple program which obfuscated a file by taking the first byte, then XORing it with the second, taking the (original) 2nd byte and X-ORing with the 3rd, etc, down the line. The file size is unchanged, and I could invoke the same program to undo the obfuscation. No key or password was required. It ... |
I am trying to verify a Triple DES Key Component generated by PC Crypto.
The key portion is:
E6F1081FEA4C402CC192B65DE367EC3E
and the KCV value that should be returned is:
212CF915
In theory, it should be calculated as: encryption of binary 0's with the key portion with 3DES.
I have been trying the following link,... |
I am researching post quantum cryptography and I've stumbled upon this article which presents a PKC with an np-complete (SAT) trapdoor.
I was wondering if someone could help me understand the way the encryption works. From what I understand the cipher text is a formula which consist of a bit (the message) which is then... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.