instruction stringlengths 32 27.2k |
|---|
I'm working with a payment provider which uses the following algorithm for signing messages:
The merchant is securely given a secret key k, known to them and the payment provider only.
EDIT: Usually the key is quite long.
The payment is implemented by using a redirect, and the merchant later receives callbacks contai... |
Suppose the vector boolean function be
$$\begin{align}
f:F^n_2 \longrightarrow F_2^n \\
(x_1,\dots ,x_n) \longrightarrow (x_2,\dots x_n,g) \\ \\
g:F^n_2 \longrightarrow F_2 \\
(x_1,\dots ,x_n) \longrightarrow \{0,1\}
\end{align}$$
What should be the condition on the Boolean function $g$ so that $f$ becomes bijective ... |
As defined by Shannon, a cipher is perfectly secure if ciphertext leaks no information about the plain text.
Under this definition, can ciphertext leak something about the key? Are there any ciphers for which this is true?
|
Suppose AES-$128$. There are $4$ operations in AES's encryption, they are SubByte, Shift Row, MixColumns and AddRoundKey.
Question: If I remove one of the following opearations, what will happen to the AES?
SubByte, Shift Row, MixColumns
If Shift Row is removed, then attacker can treat input block ($128$ bits) as $4... |
I read the following paragraph in a book about Elliptic Curve Cryptography, but didn't understand it:
The primary security in ECC is the parameter $n$; where $n$ is Order of point $G$, that is $n$ is the smallest positive integer such that $nG = O$, where $G$ is a base point represented by $G= (x_g, y_g)\ on\ E (F_P)$... |
The Inhomogeneous Short Integer Solution (ISIS) problem is as follows: given an integer $q$, a matrix $A \in \mathbb Z^{n\times m}_q$, a vector $b\in \mathbb Z^n_q$, and a real $\beta$, find an integer vector $e\in \mathbb Z^m$ such that $Ae = b \mod q $ and $||e||_2 \leq \beta$.
Now assume $e_0$ is a solution to the I... |
Propose a symmetric key based crypto-system for implementing a secure email system. This system is based on AES and CCA secure.
Suppose that you have to encrypt a large message and that this message is split
in several small packets and the crypto-system I mentioned before is used to encrypt each one of the packets b... |
Two users A and B decided to share a file of same size and transfer data bit by bit. And at the end of exchange, A will have B's data and B will have A's data.
Assuming, A starts to transfer the first bit, is the protocol considered fair?
If both of them do not know in real world, should trust issue be put into consid... |
I was doing some self-initiated knowledge gathering about digests, signatures and hmacs and I ran across the fact that you can use CBC as a MAC, but if the message size is not fixed; then it is not secure.
In layman's terms why is this so? Lets say that Johnnyboy has sent a message to QueenElizabeth such that a being ... |
I am encrypting files using AES/CBC/PKCSPadding, with 256 bits long keys. So far the first 16 bytes of each encrypted file are the IV.
I would like to store some more information regarding the algorithm used, key length, mode and padding at least.
This will be useful I think for two reasons:
a) I can scan the filesyste... |
In elliptic curves for cryptography, I know $nG=O$, where $G$ is a base point represented by $G=(x_g,y_g)\ on\ E(F_P)$, where $n$ is Order of point $G$.
For example, $P(0,6)$ is a primitive point on the elliptic curve $y^2\equiv x^3+2x+2 \pmod{17}$.
I ask about points on elliptic curve. How many numbers point that is ... |
Okay so I have two options for how I would derive two keys for AES encryption and HMAC they are as follows:
Run BCrypt on a users passphrase and then use the bouncy castle implementation of HKDF in java to extend the key from 31-bytes to 64-bytes before then splitting the result into two 32-byte keys.
Run Bcrypt twice... |
Out of curiosity why we can't implement AES 512 key size?
Please explain somehow i can understand! I'm not an expert.
|
Suppose a hash function based on Merkle-Damguard construction. Its compression function is given as $H_i=E_{m_i}(H_{i-1})$, where $E_{m_i}()$ denotes the encryption of an ideal block cipher with $n$-bit block size. What is the lowest complexity to find an preimage of this hash function?
Answer: By applying meet-in-the-... |
Can it be proven that attacker can obtain the full message if he knows some plain-ciphertext pairs?
|
ECDSA has the undesirable property that if a key pair reuses a nonce in a signing operation, the cryptosystem experiences catastrophic failure in the form of private key leakage. I've heard this referred to as "sudden death" cryptography. Of course the PS3 misuse of ECDSA is probably the most widely publicised incident... |
I have to randomly generate a number $u$ such that $u \in J(N)-Q(N)$
where $J(N)$ denotes the set of elements less than $N$, whose Jacobi symbol value is equal to 1; and $Q(N)$ denotes the set of quadratic residues in $J(N)$ .
What is the best time-efficient way to generate it ?
I am thinking to generate like this:
1) ... |
Here's the problem: I have a transport stream that I have been requested to encrypt between the transmitter and receiver. The data size is at most 8 bytes so it seems I can only use ECB as I only have a single block - the most I can do is pad to 8 bytes if its less, which I intend to do with random data (the receiver c... |
I am searching for a secure algorithm to encrypt base62 (or any other base) data for ids in urls.
It should feature:
No blocksize etc, limiting the length of the message to a factor of n
If you have the decryted and the encrypted message you should not be able to guess the key
An avalanche effect
Any size of charset, ... |
the main question of this message is how to get the true ciphertext from S/MIME file?
I created RSA keys and encrypted a message with S/MIME as follow :
1) generate private key : openssl genrsa -out maCle.pem 1024
2) create certificate(public key) : openssl req -new -x509 -key privkey.pem -out certif.pem -days 1095
3... |
The weakness of double DES, E (k1, E(k2, M)) is that Meet-in-the-middle attack is possible. When performing Meet-in-the-middle attack, we first need to build the table with the first column all the possible keys and the second column all the encryption with these keys, then second step is sorting the second column, why... |
Please, I would like to find some hints or solution to my following problem, I would appreciate your assistance to walk with me throughout the solution
Given fully homomorphic encryption (FHE) scheme(gen, enc, dec, eval), design
a secure computation protocol so that two players, Alice and Bob, can jointly and securely... |
I have been trying to solve the next problem:
let pi be a perfect secrecy cryptosystem with specific plaintext probability distribution.
How to prove pi will have perfect secrecy for all other possible plaintext probability distributions?
|
how OpenSSL RSA work ?
I generate public (n,e) and private key (n,d) then I encypted a file by :
openssl rsautl -encrypt -in plaintextFile -inkey privkey.pem -out cipher00
let's note the result C
and I tried to decrypt it by doing C^d (modulo n) but it doesn't work.
I think this is because OpenSSL adds some random val... |
First of all, this is not a beginner's question since I already know a good deal about encryption and brute-force attacks. This is also no question on how to code programs for brute-force attacks since I already know that too and as you can see below I have already coded such a tool. This is more of a set of questions ... |
Suppose $n$ actors each hold a plaintext $p_i$. We wish to find $\sum p_i$, without leaking any information about individual $p_i$. Any actor (or any link in the network) could be controlled by an active adversary. More precisely, these protocols can be proved secure against a polynomial time bounded adversary who can ... |
Let (Gen1,H1) and (Gen2,H2) be two hash functions. Define (Gen,H) so that Gen runs Gen1 and Gen2 to obtain keys s1 and s2, respectively. Then define Hs1,s2(x)=Hs1(x)||Hs2(x).
a) Prove that if at least one of (Gen1,H1) and (Gen2,H2) aris collision resisistant, then (Gen,H) is collision resistant.
b) Determine whether a... |
I'm looking for encryption scheme with the following properties:
There's a sequence of keys that can be used to decrypt the message
Strictly only one key from the sequence is required to decrypt the message
Keys need to be used in the order that is defined by keys sequence
Once used, the key can't be used again to dec... |
In DSA, one needs to generate two primes $p$ and $q$ such that $q$ is $256$-bit and $p$ is $3072$-bit and $p-1$ is a multiple of $q$.
Question: How to generate such $p$ and $q$.
Attempt: First, use a random number generator to generate $256$-bit number, say $q$. Then test whether it is a prime. If it is not, generate ... |
My understanding of Rabin
We have $p$ and $q$ which are distinct primes congruent to $3 \pmod 4$. Then we have $n = pq$.
Encryption is done as $e(m) = m^2 \pmod n$, where $m$ is our message.
Decryption is done by evaluating $d(c) = \sqrt{m} \pmod n$, where $c$ is our ciphertext. This can be accomplished by determinin... |
I have the following function:
rsaSha512Sign(arg1, arg2) - arg1 is the private key PEM,
arg2 is the data to sign using SHA-512 with RSA.
Returns the signature as a Base64 String.
With no additional documentation or source code available.
I assumed the description above meant to first hash with SHA-512, then apply... |
Having a little trouble getting Nessie vectors working with the Bouncy Castle SerpentEngine. Do the Nessie vectors require a mode or some pre-processing?
Nessie Serpent 128, set 1, vector 0 reads:
key=80000000000000000000000000000000
plain=00000000000000000000000000000000
cipher=264E5481EFF42A4606ABDA06C0BFDA3D
http:/... |
(Cryptography: encrypting files before storage in the cloud):
The project consists of a software implementation of a method to pre-process a file before storing it on a cloud storage server so that the server cannot read the file content but a desired peer can. More precisely, you need to build a triple of algorithms:
... |
I just picked up cryptography and have some questions on RSA cryptosystem:
Say there are two public keys (n, e1), (n, e2), e1 is coprime to e2. They share the same n. Is it possible to find the plaintext if both of them encrypt the same message if I have both 2 public keys and 2 ciphertexts?
Usually, we use two primes... |
Can an attacker construct a DH group, large enough to be considered secure (say, a modulus of 2048-bits), such that the group appears safe, but the attacker is able to solve the DLP in the group easily?
A lot of applications of DH either use a well known modulus, such as from RFC 3526, or generate it themselves, but I'... |
Can someone explain why an interactive assumption is not falsifiable? Maybe I'm misunderstanding what the statement means, but isn't even a non-interactive assumption interactive, but just with a zero amount of interaction?
There is no context here, just this isolated paragraph in the intro of a paper:
Due to a series... |
I am working on Ciphertext-Policy Attribute based Encryption (CP-ABE) and I need to understand how a secret key looks like.
For example, assume that the universe of attributes is defined to be {A,B,C,D} and user 1 receives a secret key (SK) to attributes {A,B} such that: A="NY" and B="Computer". My question is: Does SK... |
Looking for the number of characters that can be encrypted using the The elliptic curve ElGamal cryptosystem of each block, I found these lines. But I cannot understand them:
Actually in our case we need to divide into an even number of blocks. If we think in a
character as a number < 256 (its ASCII code) and we emp... |
From what I understand, an elliptic contains a set points satisfying the equation
$y^2=x^3 + ax + b$
together with the point at infity.
It seems clear how multiplication with a scalar and a point works, and how point addition works. Discussions about cryptographic applications usually jump right to curves defined over ... |
I'm learning RSA in one of my classes and we were given a problem:
$p = 5$, $q = 11$
I have done the following steps:
$n = 5 \cdot 11 = 55$
$\phi = (5-1)\cdot(11-1) = 40$
I know that to find $e$ we have to find an integer co-prime with $\phi$, where $\phi$ is $40$ and $\gcd(e,40) = 1$.
Is there an algorithm I can... |
There are many ARX ciphers, however most use fixed rotations.
I know data-dependent compared to fixed rotations are:
patented (expired)
harder to implement constant time
more expensive in hardware
harder to analyse
attacker can control rotation to some degree
Do data-dependent rotations have any advantage over fixed ... |
I use AES-CBC and HMAC-SHA256 to encrypt a text file. Will the output be larger in size than the input or will it be the same size?
Is it more secure secure if the size of the output is larger?
|
If it use AES-CBC and HMAC-SHA256 for message send online, and someone try to replay attack on this message. Can the attack be successful? what will be happen when attacking?
|
if use AES-cbc,HMAC-SHA256, and there is some txt needed to be enc, and I divide this txt into small packages with variable length, then enc them. some of these package can be less than 128bit. Is this still secure? will it cause any problem?
|
I have to encrypt big files. Say their size ranges from 500mb to several of gigabytes.
I would like to use AES/GCM/NoPadding as provided by Java 1.8 since that gives me automatic authentication and encryption.
I would like to use the handy Cipher Input/Output Stream cause I can chain it with GZip I/O Streams to compres... |
First I need to mention that I can't use BouncyCastle to implement this solution.
I have to encrypt files into the file system. Those files are not going to be tranfered over the wire to any other location. They are only going to be stored in the server for later use by an application installed there. The file system m... |
Context
I recently came across a video on the net showing the process of key exchange in Diffie Hellmann.
Alice and Bob want to communicate. Eve is the (wo)man in the middle.
This video is the basis of my question
http://youtu.be/YEBfamv-_do?t=6m22s
Question
Alice sends the modulo and the prefix to bob. Eve gets that.
... |
In 1992, cypherpunks was created as a mailing list for activists advocating for cryptography.
Arguably, the cypherpunks mailing list was the foundation for the movement and the centre of it all.
However, the original list is dead. All I really know of is the moderated cryptography list.
Where have all the modern cyphe... |
What are the currently recommended modes of encryption for large disks? Basic requirements would seem to be that you can update an encrypted sector independently of others, which rules out most standard modes of operation except CTR. For example are there any problems with taking the counter to be the current block num... |
On my site, users can download files which are stored on public hosting, so I need to encrypt them. A downloaded file is divided into blocks of 1 kB and I want encrypt them individually, using the same key. I have read that the best option for performing the encryption is AES, but I don't know which mode should I use.
... |
We define the polynomials $r, f_1,f_2,s \in R[x]$. Where $r$ is a random degree 1 polynomial and $s$ is a random polynomial such that: $degree(s)=degree(f_1)=degree(f_2)$, let $R$ be $\mathbb{Z}_p$ where $p$ is a large prime number.
My question: " How to To prove: Given $\ r\cdot f_1 +f_2 \cdot (s+1)$ one who knows on... |
I'm trying to find a proof-of-work algorithm with the following properties:
If A(1) is a proof of work with Difficulty(A(1))=n (requires n basic operations on average), then one can find a proof of work A(2)=F(A(1)) with Difficulty(A(2))=Difficulty(A(1))+n by performing approximately n operations.
The size of A(i) is ... |
I am in need of a really simple limited PRNG, that either exists or can easily be created in virtually any language on any platform. It takes only the initial seed, and is only expected to generate a small amount of output in its lifetime, normally 32-64 bytes but potentially more with very low probability. It will n... |
I would like to take some additively homomorphic cryptosystem - don't care much which one for now - and encrypt a series of numbers with it. I would then like to (in public) take these numbers, add them together, decrypt the sum and convince everyone that I did it correctly.
This may seem pointless because I myself enc... |
I need to use a cryptographically secure pseudo random number generator in my client running Javascript and in my server running Java.
Is there a well-known implementation of a good CSPRNG in both Java and Javascript?
If not, is there a pseudo-code description of a good CSPRNG I can implement myself in Java and Javasc... |
In late 1997, the history of public-key cryptography was turned around with the announcement (then extended) that
public-key cryptography was theorized in a 1970 note [1] by James Henry Ellis: The Possibility of Secure Non-Secret Digital Encryption;
a feasible realization of that, similar to RSA, was described in a 19... |
When I was read about the elliptic curve cryptography I found some definition about domain parameter of elliptic curve like the follow. But I did not understand something
$p$: prime number.
$a, b$: field elements, they specify the equation of the elliptic curve $ E$ over $F_P$,
$y^2 ≡ x^3+a • x+b $
$G$: A base point... |
I'm writing a thesis focused on Maurer's provably-secure stream cipher. Long story short, this cipher works by expanding a short key into a long keystream and then XORring this keystream with the plaintext in order to obtain the ciphertext (and vicecersa).
Take this definition of a binary-additive stream cipher: a ciph... |
A gradual fair exchange (layman term) is a form of fair exchange protocol where Alice will transfer 1 bit to Bob then Bob will transfer 1 bit to Alice. The flaw with this protocol is that the party which starts first may lose out as after Alice transfer her final bit to Bob , Bob may choose not to transfer his final bi... |
I am trying to implement Floyd's cycle finding algorithm for finding a leading 40-bit hash collision in the SHA-1 algorithm. However, my code will not find a repetition even with 800,000,000 hashes. Can I get some help on this issue?
Here is my code for reference.
REMOVED
Note: I want to understand Floyd's cycle findi... |
Let $n$ be an RSA-prime and we know prime factorization of $n(=pq)$.
The hash function is the current context maps from a given user identity(id) to a positive integer less than $n$, whose jacobi symbol value is equal to 1.
Assume $id$ is any positive integer i.e., $id\in \mathbb{Z}^+$.
$H : id -> J(n)$
where $J(n)=\{x... |
When we use Keytool to generate a Keystore to store Private/Public keys, what Java actually stores inside the Keystore file ?
I have observed that Keytool asks for the keypass and alias to generate the key, the alias can be used to retrieve any key from the keystore given that correct keypass is provided.
So, what actu... |
A sender wants to transmit an ultra secret code $M$ which could be either 'go', 'stop' or 'wait'. This could be any selection of code words really and adopted for any use such as transmitting short commands or short status messages. The code list could also be specific or relevant to a current mission/objective. A limi... |
Informally, a "Gap problem" arises when solving the computational (or search) version using an oracle for the decisional version. This definition of Gap Problem was introduced by Okamoto and Pointcheval in this paper, originally related to Diffie-Hellman problems.
For example, the Gap Diffie-Hellman Problem (GDH) is t... |
I have:
N = /*500 decimal numbers*/
E1 = 3740453
E2 = 4226171
M^E1 = /*500 decimal numbers*/
M^E2 = /*500 decimal numbers*/
I must use RSA common modulus attack on it.
Using gmpy2.gcdext() i have:
a = 624366
b = -552607
So E1*a+E2*b == 1 is True.
Now i need to know M. For this i must to do follow things:
M = ((M^... |
I am currently studying the Diffie-Hellman protocol. In my lecture notes I have a generator $g=2$ and I'm in group $Z_{13}^*$ . There I calculate a remainder cycle from 1 to 12 with $r =g^i \mod 13 \forall i [0,12]$
I do not quite understand the relation between the generator and the group. This is my $Z_{13}^*$:
How... |
Are there any working cloud/internet solutions/products that operates on encrypted data such as systems using homomorphic encryption, secure multiparty computation, electronic voting, private information retrieval?
|
I have heard that hashing the message M prevents an existential forgery attack. I was wondering how.
|
Are there any real world products in which private information retrieval techniques are used?(a data hosting server oblivious of which data item was fetched from it?)If not what are the major barriers for its implementation?
|
Through repeated DH attempts, could Alice and Bob build a large random key for use as a one-time pad? My intuition is that this protocol would be as hard as breaking DH (discrete logarithm).
|
Assume out of a set of ElGamal signatures, I've discovered that two have the same y i.e. $signature_{1}$ on $m_{1}$ = $(y,s_{1})$ and $signature_{2}$ on $m_{2}$ = $(y,s_{2})$.
The public keys for $signature_{1}$ and $signature_{2}$ and messages $m_{1}$ and $m_{2}$ are available.
How can I recover the secret keys from ... |
I tried to find online for the correctness of El-Gamal, but I couldn't find any good resource that will teach me how to show the correctness of El-Gamal, could any body show me how is it done?
|
$f : \{0, 1\}^4 → \{0, 1\}^4$
Given a function $f_k(x) := f (x ⊕ k) ⊕ k$, what is the inverse function $f_k^{-1}$?
I could not figure out how this would be done. Thanks.
|
A verifier wants to ensure, with only little exchange of data with other systems, that a large block of data $M$ that the verifier holds is also available to some other system(s). It is not an objective to keep $M$ secret or ensure that the other systems hold $M$ in some specified form (it is fine that $M$ is stored co... |
Good day.
While reversing a malware I stumbled upon a function producing 16 byte hash. I tried to determine which one is that by checking every function from wiki. Nothing fits. So, there are two ways: a less known, or just custom algorithm.
Can somebody point me out where from can I get a more comprehensive list if ha... |
I am using Java to write AES-256 to encrypt various files with different extension, the problem is, where am I suppose to store the file extension so the if the data is decrypted, the file extension would be restored ?
For example,
If I encrypt a "test.pdf" file, I will first read it as a byte array and then encrypt it... |
This is the setup:
I have both public and private keys of one "instance" of RSA. And I have only the public key of another RSA cryptosystem, but this system has the same modulus as the first one. I need to decrypt a message encrypted with second cryptosystem. I tried to go with approach explained in this book (6th page... |
I came to know of semiprimes recently. The simplest explanation of semiprimes is you take any two prime numbers and you multiply them, say 3*11 = 33 in which case 33 would be a semiprime. The numbers may grow bigger but the idea is same.
Hypothetically (or maybe in reality as well), you could use a good large semiprime... |
OpenSSL supports rc4 with 128-bit keys and rc4 with 40-bit keys. It does not support rc4 with 256-bit keys.
My question is... is it possible to modify the state of the pseudo-random generation algorithm (PRGA), given a 128-bit key, to match the initial state a PRGA with a 256-bit key?
|
Is there any way to share an encrypted file with a group?
In the other words, can I encrypt a file with a public key so that each person in a group decrypt it with his/her private key?
Is there any way that I have a public key and some different private key for it?
I want to find a way to encrypt a file with a public k... |
I am currently trying to learn more about Elliptical curve crypthography and have finally started to get things working and undestanding the different pieces.
I've written a small project in C# and are currently testing it using really big numbers (the .NET BigInteger class). So far I've implemented the key generation ... |
what is the meaning of this notation ??
AES{Yi, (Yi XOR Ki | nonce1)}
https://datatracker.ietf.org/doc/html/draft-bhattacharyya-core-coap-lite-auth-00
|
The definition I have is:
Two probability ensembles $X = \{X_n\}_{n \in \mathbf{N}}$ and $X = \{Y_n\}_{n \in \mathbf{N}}$ are computationally indistinguishable if for every probabilistic polynomial-time algorithm $D$, every positive polynomial $p(\cdot)$,
and all sufficiently large $n$ we have
$$
|P(D(X_n, 1^n) = 1) - ... |
Suppose, I suspect that the probability of occurrence of a particular bit as $0$ is $.558$. Since, it is not $.5$, so this is possibly a bias. Now, my question is:
What is the minimum number of independent trials I need to confirm my result?
I mean, observing this scenario for, say 100 times, must not be convincing. ... |
Symmetric encryption: Does using the same key over and over again introduce a vulnerability?
Meaning, if I transmit a different piece of plaintext encrypted with the same key every day, will an attacker eventually be able to deduce the key? (In what lengths of time?)
|
I want to implement one project in multi party homomorphic encryption using paillier. Can you suggest any application for implementation.
|
If p and q are two 1024-bit prime numbers, would the maximum length in bits of product $n=pq$ be ${1024}^2$ or $2^{1024}$?
I think it is ${1048576}={1024}^2$?
Also, would the least significant bit of $n$ be a $0$ or a $1$? I am assuming it would be $0$? Any explanation of what determines significance would be great
|
What does $Z_q^n$ mean in this notation?
References: on the 2nd paragraph of page: http://en.wikipedia.org/wiki/Learning_with_errors
|
I'm trying to understand RSA encryption (as a beginner in cryptography).
go on this wiki page http://en.wikipedia.org/wiki/Optimal_asymmetric_encryption_padding
scroll down to the 2 numbered points: "OAEP satisfies the following two goals:"
The 2nd point says "Prevent partial decryption of ciphertexts".
Say that an ... |
Is the Vigenère Cryptosystem malleable, and how can we prove that it is (or it is not) malleable?
|
Is it possible to find a collision in Merkle–Damgård just by omitting the extra one bit that is appended to each input without having a collision in compression function?
|
There are published techniques for cracking LCGs, but to my eye those techniques seem very brittle — very minor changes can add nonlinearity that renders techniques like the LLL algorithm unusable. Or, am I mistaken, are these variations still easy to crack?
Background
One thing that perplexes me somewhat about the c... |
I am implementing a one-way accumulator using MD5 hash, wondering wheather it has quasi commutative property or not.
|
If you have a string S, then the string can be composed of four things:
cleartext
'random' data
encrypted data
compressed or otherwise non-encrypted, but modified, cleartext
If you want to see if the string is an encrypted message, (3), then you might construct a test for 'randomness', say the test is $T_0$. You'd th... |
I recently got into learning Elliptical curve cryptography and are currently building a project in C#.
Everything is working well so far, I can encode and decode points, and thanks to this forum I can do point addition and doubling really fast. Now I want to take the next step and start using really big numbers, so fa... |
The embedded device is a low-power 8-bit microcontroller (memory usage is constrained to about 10kb code, 1kb ram). As the device is battery-powered and manual service should be minimal, more powerful processors are not an option.
Throughput is very limited, so performance is not too much of an issue.
The system we cam... |
Having a DSA/ECDSA signature which is supposed to be DER encoded as an ASN.1 sequence of $r$ and $s$ (as described in the RFC), and being given some bytes which are "some valid DER encoded ASN.1" || "some extra bytes" – is the correct behavior to error out, or would it be more correct to proceed to attempt to verify ju... |
I read a lot of stuffs about entropy/randomness. But what if a random generator (either digits or strings) once output a "human" patern ?
I know it is very unlikely to happen, but if a random code pin generator generates a "1 2 3 4 " pin code, what would we say ? It would be generated by a random generator (or conside... |
I'm currently reversing an AES implementation for disk encryption. The odd thing I'm stumbled about is a key schedule where the encryption round keys are not the same as the decryption round keys (in "reversed order"). Altough the first 4 bytes, i.e. the first round key for the encryption, and the last 4 bytes, i.e. th... |
I am writing a java program to encrypt a message using 256-bit AES encryption, but I am getting illegal key size error, I have read that I have to use some JCE Unlimited Strength Jurisdiction Policy Files to encrypt/decrypt message with key of 256-bit or longer, but I do not understand why there is a limit on using a k... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.