instruction stringlengths 32 27.2k |
|---|
I want to know if it’s possible to use a SMPC (Secure Multi-Party Computation) to have $N$ entities compute the outcome of a known mathematical operation with two or more secret inputs, where each secret input is only known by one entity in the $N$-sized group.
I’m asking, because I want to define a protocol where two ... |
I am new in cryptography. I want to determine the complexity of revealing a random bit permutation which is used as block cipher for plaintexts (bitstrings of length n). An adversary catches different ciphertexts (the permuted bitstrings of length n) and he also knows the set of possible plaintexts. If he tries all pos... |
I'm studying FHE over the Integer which is https://eprint.iacr.org/2009/616.pdf
In the remark 3.4, it says that the fresh ciphertexts have noise at most $2^{\rho'+2}$.
I don't know why that statement is true.
In my guess, the value $2^{\rho'+2}$ came from $m+2r$. But it cannot be strict proof of the statement.
Can anyb... |
I am wondering if using Skein or the Keccak hash algorithm in this construction (as a stream cipher) is secure:
$H$ = Keccak or Skein hash with a 256 bit output
$K$ = The main 256 bit random key, pre-shared between sender and receiver
$K_M$ = A secondary 256 bit random key for creating the MAC, pre-shared between send... |
From what I understand:
TrueCrypt takes the password as message
Add salt
calculates a digest
use digest for encryption
From what I understand. A good hash function
has Second pre-image resistance .i.e. It is difficult to find $m_2$ such that $m_1\neq m_2$ and $hash(m_1) = hash(m_2)$ .i.e. it is difficult to find a s... |
Will applying a 16 byte bit block cipher such as AES over a 256 byte block to in the following way result in a much stronger cipher:-
Apply block cipher with first key digest to each 16 byte group.
Then interleave the bytes. I.E. Place the bytes horizontally into a 2D (16 times 16) byte array and then remove the byte... |
I need to use ECDSA as the signing algorithm and SHA256 for hashing the message. I'm running into troubles verifying the signature calculated on two different platform (one is BouncyCastle, another one a C library for a microprocessor).
I figured out that BouncyCastle, in its ECDSASigner class, reduces the input messag... |
I was wondering if there is a smart way for a user to only encrypt a subset of a plaintext.
I'll try to be more specific. Let's suppose the user U wants to use a special cipher such that given a plaintext P and some additional information, it only encrypts the subset requested by the user, the rest of the plaintext is ... |
Unbalanced Feistel networks can be homogenous (F-function identical in each round), or they can be heterogeneous (F-function not always identical in each round).
The advantage of heterogeneous UFNs is, that their internal properties change each round, making it more difficult to find specific characteristics which prop... |
Now that we know how the MD2 S-box was constructed, I find myself wondering how good a nothing up my sleeve number it really is. It is derived from $\pi$, but not in a very obvious way, even in retrospect.
How would you estimate the number of possible $\pi$-derived S-boxes that are no more complex or suspicious than th... |
Wikipedia states that key whitening increases security:
In cryptography, key whitening is a technique intended to increase the security of an iterated block cipher. It consists of steps that combine the data with portions of the key.
The most common form of key whitening is xor-encrypt-xor -- using a simple XOR before... |
I'm brainstorming some different ways of making deterministic encryption more secure. I want to use deterministic encryption to preserve searchability over the keywords in a document set. However, I know that frequency analysis is always a concern when preserving searchability in this way.
The strategy I came up with ... |
Say I have some black box which, given any English word, deterministically outputs a token for that word. Assume our black box is implemented using strong cryptography, i.e. the hardness of reversing a token to its word is reducible to some known assumption.
Now, assume I have a document corpus where a document is som... |
Scenario: I have to protect the integrity of some files that will be exchanged between entities $A$, $B$, $C$. Entity $A$ creates the file (e.g. configuration) and sends it to $B$ and $C$. Entities $A$ and $B$ are considered trusted but entity $C$ is semi-trusted (by default it is trusted but we assume it could be comp... |
I'm trying to verify the claim of paper Improved Algebraic Fault Analysis: A Case Study on Piccolo and with Applications to other
Lightweight Block Ciphers about the numbers of equations in algebraic normal form that in one round of the Piccolo cipher. According to method in Section 4.2 is there 928 equations, but I ca... |
What characters may be present in a PGP encrypted message or a PGP signature? For example, do encrypted messages only use the Roman alphabet + some numbers and symbols? Can the character set be configured by the user? Is everything Base64 encoded?
Also, are there special characters that will never be used in a message?... |
Most plaintext must be fed as a string or a binary object to be encrypted.
However, it's often possible to mis-decode the plaintext before encrypting it.
i.e. If it's received as a string in JSON, you often don't know if the string
is an encoded representation (e.g. plain, hex encoded, base64 encoded, etc)
Example:
If ... |
I have been wracking my brain trying to develop a functioning implementation of SRP-6a in Python to use with a 3rd-party API that claims to use SRP-6a with $N=$ 2048-bit prime and generator of $2$. Unfortunately it has proven quite difficult to find two implementations that "match" to themselves.
For example, Stanford... |
I am in the middle of FPGA based Hardware architecture design for the computation of Pairing (particularly R-ate Pairing) over BN curves. Where, the point addition, and point doubling should be computed over $\mathbb{F}_{p^2}$, and line function, miller variable have to performed over $\mathbb{F}_{p^{12}}$. The chosen ... |
From the perspective of a Birthday Paradox attack, isn't it true that CMAC based on AES-128 is weaker than HMAC-SHA-1? The attack on CMAC-AES-128 requires about $2^{64}$ operations whereas the same attack on HMAC-SHA-1 requires $2^{80}$.
Regardless from the comparison of the CMAC-AES-128 with HMAC-SHA-1 it seems to me ... |
I used AES256-CBC to SSH to a remote server. Recently, it stopped working with the following message:
no matching cipher found: client aes256-cbc server
aes128-ctr,aes256-ctr,arcfour256,arcfour,3des-cbc
When I used AES256-CTR as a cipher to SSH to the server, it worked as expected.
I read this article which outlines... |
I'm going to assume this isn't possible, but I have to ask because I'm trying to fundamentally understand what I've thus far been trying to implement by following an RFC.
SRP-6a starts off with declaring that I should choose $N$, a sufficiently large prime, and $g$, a generator. Let's say $N$ is 1024-bits and $g$ is... |
During a regular Diffie–Hellman public key exchange, Alice and Bob agree to use a prime number $p$ and a base $g$… which are both made public and are therefore also assumed to be known by Eve. Alice chooses a secret integer $a$ and sends $(A = g^a \mod p)$ to Bob, Bob chooses a secret integer $b$ and sends $(B = g^b \m... |
He is a quote from Wikipedia page for Secret Sharing:
If the players store their shares on insecure computer servers, an attacker could crack in and steal the shares. If it is not practical to change the secret, the uncompromised (Shamir-style) shares can be renewed. The dealer generates a new random polynomial with c... |
I am currently studying Cryptography and I don't really understand what does 'well-typed' mean when talking about secure cryptographic protocols. I can't find any reasonable explanation on the internet either.
It would be great if someone could give definition and maybe example.
For example quote from “prosecco.gforge.... |
In Information Security Class I learned a non-adaptive chosen ciphertext attack using "blinding" but I just can't follow the proof and therefore can't reconstruct it. From what I've found out, it seems to be based on this Wikipedia entry (although not entirely I think): http://en.wikipedia.org/wiki/Blind_signature#Dang... |
I have to to find the shift value and the message for the following caesar cipher.
OC_VAWDGPM_VHWTVX_VXJOCVZ_GDX_MWO_VWIZVYGWIZ_NODI_
I have already tried it and with the shift value of 21 i get the following.
TH_AFBILUR_AMBYAC_ACOTHAE_LIC_RBT_ABNEADLBNE_STIN_
Does this look like the correct decrypted message to anyone... |
Given a $(k,n)$ threshold secret sharing used to back up a secret (meaning that the dealer has access to the secret at all times), is it possible to update it to a $(k+k', n+n')$ threshold secret sharing without reissuing all shares (in fact, the fewer have to be reissued, the better).
Obviously, if $k' = 0$, He just h... |
I was reading about hash functions, namely SHA, and I read that it is made of the Merkle-Damgård construction. And then the text said that the compression function used is based on the Davis-Meyer compression function. The text also mentioned that SHA-256 is based on the block cipher SHACAL-2.
I got a little bit confus... |
Is it possible to create a streaming mode of operation where the reuse of a nonce does not destroy confidentiality?
In this question it would be allowed for the streaming mode to leak if ciphertexts are (partially) identical or not - like in CBC mode of operation. It is of course not permitted to introduce other secret... |
I was wondering if there were any security implications of deriving session keys from a symmetric key using SHA256 in the following manner: $Ks = SHA256(Nonce||K)$, where $Nonce$ is the session specific nonce and $K$ is the pre-shared symmetric key. And $Ks$ will be derived at both ends as mentioned.
As far as I am awa... |
What is the most secure way to combine two "random" keys X of size k (k ≤ 512 bits) and Y of size 512 bits in one key Z of size k?
Result Z will be used for encryption/decryption with various symmetric ciphers (most commonly with AES-256 in CBC mode) or as HMAC key (most commonly with SHA1 and SHA256).
There are two d... |
Although SHA-1 theoretically has collisions, HMAC-SHA-1 which is based on SHA-1 is still widely used (in TLS for example) and is considered to be secure. How is that possible?
|
I have a question about the message that is being encrypted and signed. Say, two users called Tom and Mary, both have a pair of private key and public key. Tom sends a message through a system that will encrypt and sign the message. 2 kinds of message will be sent
1. encrypted message and,
2. hash function of the mes... |
This is my scenario:
A small structured text message (1-2kB) is to be sent over an insecure channel.
Everything except for the header portion (which contains a title, timestamp, category and tags) is confidential.
The message as a whole has integrity and non-repudiation as additional requirements.
This is how I int... |
I'm currently working on the discrete logarithm problem and the relevant attacks. I'm fine on the mathematical side of things, but when it comes to estimation of running times I run into problems. More specifically: if we take a generic square algorithm like Baby Step Giant Step for a cyclic group of size $n$, we usual... |
Out of band my services have exchanged secret keys. These secret keys are then used to prevent two things of the webhooks (HTTP calls triggered by Service A to Service B when an event occurs in Service A).
Webhook Spoofing
Webhook Replaying
The basic problems with webhooks involve the fact that, short of Client SSL C... |
In this Intel blog posting, the author claims:
The amount of work required to brute-force predict a random value that has n bits of entropy is $O(2^n)$. If you concatenate two values together, the entropy required to brute force the result becomes only $2^n + 2^n = 2^{n+1}$. By combining two n-bit random values, each ... |
In CTR mode encryption, the encryption block is not required to be invertible. Thus, a PRF can be used instead of a PRP. However most of the implementations of CTR mode are based on AES which is a PRP.
This made me think if we can have a PRG as the encryption block where the (key || counter_i) can be supplied as a seed... |
Encrypt-then-MAC does provide ciphertext integrity, but no plaintext integrity. With MAC-then-Encrypt it’s the other way around: Plaintext integrity but no ciphertext integrity.
What comes to mind is that it could make sense to use both to fix that “partially missing integrity” issue:
$$\tt …\ MAC_2(ENCRYPT(plaintext,M... |
Wikipedia says about a Merkle tree:
Nodes further up in the tree are the hashes of their respective children. Usually, a cryptographic hash function such as SHA-2 or SHA-3 is used for the hashing.
A cryptographic hash function can be defined using a 1-way compression function. Can we use a 1-way compression function ... |
Does this hold in asymetric bilinear pairings?
$e(x_1,x_2)e(x_3,x_4) = e(x_1x_3,x_2x_4)$, where $x_1,x_3 \in \mathbb{G}_1$ and $x_2,x_4 \in \mathbb{G}_2$ for a bilinear pairing $e$
|
Let say I want to truncate SHA256 to 128 bits. What would be the best way to minimize a probability of a collision and improve collision resistance?
Taking the last 16 bytes
Taking the first 16 bytes
XORing the first 16 bytes and the last 16 bytes together
And should I assume that the same logic will apply for other ... |
I'm thinking about man-in-the-middle attacks during a website login, and started wondering about reversible encryption.
What I'm imagining is an encryption that takes input A and creates an encrypted result, Ax. Like hashing, if you have Ax, you can't mathematically figure out A. But unlike hashing, there is a key (or... |
I have a couple of questions pertaining to a RSA problem. I need to decipher some ciphertext and find out what the original plaintext was.
Modulus: $n = 2537$ and exponent: $a = 11$
Encrypting function: $E(x) = x^{11} \mod 2537$
Using Fermat's Little Theorem to start, I have successfully encrypted some plaintext and de... |
The Luby-Rackoff theorem states that if a round function is a secure pseudorandom function (PRF)
then 3 rounds are sufficient to make the block cipher a pseudorandom permutation (PRP).
PRPs are invertible whereas PRFs are not. How come 3 rounds of a PRF
will make an invertible block cipher out of a non-invertible funct... |
On the surface, SHA1 and MD5 look pretty similar. Their diagrams include chunks of bits, bit rotation, xor and special functions. Their implementations are roughly the same length (at least the ones I've seen). Yet it's widely known that MD5 is broken, but currently SHA1 isn't.
Is the security difference from the incre... |
Let's assume I want to send a secret message to $N$ recipients in an asymmetric way.
My message could be encrypted with $N$ different public keys $p_i$ one after another and send to each user individually. In practice only a symmetric key $k$ is sent in an asymmetric way I guess, but that's not the point.
Even direct s... |
I've been learning about cryptography lately and I'm failing to understand how Diffie-Hellman key exchange works. Can someone please demonstrate using mathematical notation (and if possible, pseudocode) how this works?
I'm also failing to understand how it prevents man-in-the-middle attacks. If Oscar is sitting in the... |
I am trying to cryptanalyse multiple cipher–texts that I know are encrypted by different Affine ciphers. I have already analysed the frequency that each character occurs, and compared it to a frequency table of the languages the plain-texts could be in and as a result have a pretty decent idea of what a few characters ... |
I know how Diffie-Hellman Key Exchange works.
Is this the main way of encrypting with PGP, ssh, ssl (https), DKIM, ...?
I wonder if Diffie-Hellman is the clue to understand how encryption with public and private keys work and why it works
|
Let $(n,d)$ be an RSA private key and $(n,e)$ the corresponding public key.
Generate a secret random $r$ from $(\mathbb{Z}/n\mathbb{Z})^*$
Compute $C’ = C (r^e) \bmod n$
Submit $C’$ as a chosen ciphertext and receive back
$M’ = C’ ^ d \bmod n = M r$,
since $C’ = (C \bmod n) \times (r^e \bmod n)
= (M^e \bmod n)... |
Sorry for this kind of a question, but I really like to learn and improve in cryptography. At the moment I am following online lectures from https://class.coursera.org/crypto-011 , can anyone suggest me any resources or some beginner projects or some documentation for reinforcing the information.
Thanks in advance.
|
So I am familiar with attacking implementations of block ciphers via side channel attacks, cache-timing attacks, etc.
What implementation attacks are there against hashes or hashed based functions (e.g. MACs, DRBGs, etc.)?
|
As far as I understand DKIM works like this:
DKIM is not used to encrypt anything, the only purpose is to mark mails that are not really sent from the claimed domain as spam.
the DKIM-enabled sending server uses a stored private key to generate a digital signature of the message, which is inserted in the message as a ... |
Lets assume Eve has a lot of PGP conversation with Alice and records all those messages. Bob is also regularly communicating with PGP with Alice.
If Bob doesn't care about not having a signature from Alice, could Eve send any of those recorded messages unchanged but without signature to Bob pretending it came from Ali... |
When it comes to MAC algorithms one can have many choices. CBC-MAC, CMAC, PMAC etc are some MAC algorithms that rely on block ciphers (ex AES) to generate a MAC. On the other hand HMAC is very popular on the Internet and relies on compression functions (ex SHA-1, MD5).
What are the drawbacks of each from a security pe... |
I am trying to derive a symmetric key based on a master key, combined with a simple string. Based on my limited knowledge, it seems that something like PBKDF2 would do that for me in a well-defined way:
DK = PBKDF2(PRF, Password, Salt, c, 256)
Password = master key
Salt = simple string
c = number of iterations
DK is ... |
I am interested in the ways an RSA key generation implementation can or cannot be subverted so that the subverter has an advantage, but the owner of the key, and the people who interact with the owner, are left unaware that something is going on. I assume that the owner of the key does not have the ability to detect su... |
Advantages of having a 64-bit CPU vs 32-Bit CPU smartphone
…
3. Complex Encryption. Improved Security: 64-Bit can process incredibly large numbers allowing you to better encrypt data against unauthorized access.
source: http://www.amongtech.com/what-is-the-advantage-of-having-a-64-bit-smartphone/
Is the above sta... |
How does asymmetric crypto work?
For example, if you use PGP in emails, you generate a private key that is known only to you and a public key, which is available to everyone.
Is there a simple way to explain, why you need a private key and why no one can decrypt the message with just the public key?
I think of an expla... |
I am currently working on an anonymous P2P file sharing application and I am elaborating some already existing solutions. Some of them allegedly provide point-to-point encryption using RSA public/private keys to exchange a symmetric secret key, which is then used to encrypt a stream of data.
But I wonder how is it poss... |
NSA's Suite B Cryptography suggests some cryptographic algorithms for encryption, digital signatures, message digests and key agreements. The selected algorithms and their key size are suggested by the security level needed.
But is there any reason to think that the NSA suggests those algorithms because they know backd... |
I'm designing an id obfuscation system.
My system includes:
Embedded chips, each chip has a unique 32-bit address (id).
Server
Insecure low-bandwidth unstable one-way channels from the chips to the server.
The chips send messages to the server over the insecure channel.
The messages are simple "I'm alive" notificatio... |
I am a programmer familiar with C/C++ and Python. Lately, we got an assignment from a team asking us to work on one of their projects: we need to make a small program to encrypt a large file using symmetric key encryption. We could easily achieve this using AES128 or AES256 in CRT mode.
The catch however is that if a s... |
Braid groups has drawn the attention of cryptographers for a few years, as a promising platform for post-quantum cryptographic protocols. The security of the proposed schemes mostly relied on conjugacy problems, and attacks against this problem were discovered, and cryptographers lost interest in those braid groups. Bu... |
I read about the AEZ encryption scheme as presented at the CAESAR competition. To me it seems like a construction of an arbitrary length block cipher from a smaller one. The key component is the mixing function. (See the figure… Left: without cipher text stealing, Right: with cipher text stealing.)
Image source: htt... |
I am working on a concept for a game that in the end will allow data sharing via plain text, but I would like to give the user the option of encrypting the data so that other players cannot modify it, but the program/game will still be able to read the data for use otherwise. My question then would be, is there a meth... |
Let's say that we have a hardware AES implementation that, on request, will encrypt or decrypt a 16-byte block of data in ECB mode using a fixed key, but refuses to reveal its fixed key. In other words, an oracle.
This oracle has a flaw: if you read the hardware's output registers before the device says that its outpu... |
Is there a simple proof that shows AES is not a uniform permutation on any $n$-bit string?
Since I'm just starting with crypto, I'd like to see a simple yet elegant proof for the said property. Thanks!
|
Does SHA-1024 cryptographic hash function exist similarly to SHA-512? If not, what's the reason for that?
Links:
SHA-2 at Wikipedia
SHA-3 at Wikipedia
|
There seems to be some error in my understanding of the concept of rainbow tables, despite going through quite a bit of articles on it.
Let me show what I don't seem to agree with.
My plain text is 5-digit numeric input.
Hash function - MD5
Reducing func - Get the first 5 decimal digits from the cryptotext
Constructin... |
I'm one of the developers of an application which uses SRP-6 as the authentication mechanism. The authentication part of the code is very old and uses N with only 256 bits (all arithmetic is done in modulo N). After receiving reports of stolen passwords we upgraded to SRP-6a with the size of N 1024 bits.
We are still i... |
in short I'm learning GUI programming in python and thought it could be interesting to make a small GUI for symmetric encryption. Not being mad/mathematical/experienced (take your pick) enough to try to implement ciphers myself I figured I could create a GUI that just sits on top of an existing program (on Linux). So I... |
Is there any variant of the Carter-Wegman MAC algorithm that is fast, parallel and has the property of incremental crypto?
|
In HOTP authentication, is there a way for a system to detect that the token has been desynchronized? If so how does it know that the OTP was generated from a desynchronized (but valid) token and is not just a fake/random OTP?
|
Am I losing any entropy when using KDFs, such as the ones in NIST Special Publication 800-108?
For example, can I derive 128-bit session keys from a (uniformly random) 128-bit master key?
|
This may sound a little bit of basic but here it goes…
Which of the following is correct?
“Cryptography is under the security field”, or
“Security is under the cryptography field?”
Cryptography is all about encryption and decryption. Encryption/Decryption requires a key. Isn't security the same? Security also depen... |
Given that:
You should always use proven secure hashing and encryption algorithms,
rather than attempting to write your own.
What's the process for criteria for an algorithm being proven?
Is it necessarily a peer review process? Does an algorithm need to withstand exploit attempts for N amount of time by M many exp... |
This is a classical scenario: For our web based authentication platform we have a username and a password field. User enters these values and presses Log In. The browser gathers the user data, calculates a digest of the password and sends everything to the server side. We don't want to send the password over the networ... |
I often heard about private key storage, but rarely about key life cycle in memory.
For example, when SSL is used from one peer, the private key is used to sign messages or decrypt other peers' messages, so it has to be in memory as long as the http process goes on.
It may raise some security issues that clear private... |
Carter-Wegman MAC variants (VMAC, UMAC etc) are known to be very fast and efficient when compared to MAC algorithms that are based on block ciphers and compression functions (like HMAC, CMAC etc).
However, Carter-Wegman MAC variants are not very popular on the internet like HMAC. Why is this so? Do Carter-Wegman MAC va... |
I have been reading up on IND-CCA2 security and was wondering: Are there efficient IND-CCA2 secure schemes that do not require plaintext awareness? I'm guessing yes - could someone point me to these schemes?
I was looking at Cramer-Shoup, and it seems like the general idea is that we make the message complex so that it... |
I am trying to implement an FPE for a 19-digit long number. I am trying to follow the lecture of Prof. Dan Boneh and here is how I understand it:
Get the nearest power of two greater than $10^{19} \rightarrow 2^{64}$,
Get the binary representation of the 19-digit number,
Split the 64-bit long binary representation int... |
In the ElGamal signature scheme we calculate a signature for a (hashed) message $m$ as
$r \equiv_p g^k$,
$s \equiv_{p-1} (m - xr) k^{-1}$
and verify it by checking
$g^m \equiv_p y^r r^s$.
Here $r$ is a group element which is in some cases used as an exponent. This is not a problem, as long as the group elements are jus... |
Below is a short excerpt of available DH cipher suites available on a machine.
I understand EDH is ephemeral DH, and that ECDH is for Elliptic-Curve DH which is computationally faster. ECDHE is both of those aspects together. The confusing bit how there are EDH cipher suites and DHE suites. The wikipedia article say... |
Background:
Hello, I'm working on a hobby project in which I might want to implement a key derivation function within a somewhat resource limited embedded system. For standard crypto functions, I only have access to SHA and AES (no KDFs). So, I was thinking of rewriting one of the standard ones (like bcrypt or scrypt) ... |
Would variants of AES provide the same level of security as AES, say by just replacing the S-box with another one, MDS matrix of Mixcolumn, etc.?
|
I am new here and fairly new to cryptography, so if I say something wrong, let me know.
I am trying to set up a system where a user can receive a temporary license key over the phone, put it into the system, and get the privileges and expiration date which was encoded into the license key.
The limitation for this key... |
I use AES both CBC and CBC-MAC to encrypt some stuff. I generate one key for CBC and one different key for CBC-MAC.
Does the second key (for CBC-MAC) need to be secret?
How to join such key with the ciphertext? By contatenating it at the end?
|
Haven't found any clear cut answer in Google so its up to you guys:
DK = PBKDF2(PRF, Password, Salt, c, dkLen)
Here, what is the upper limit of password length? I tried up to 16 characters and it works. How far can I go? I read somewhere that salt has no upper limit! Is it really true?
|
I have one question about convergent encryption.
Suppose I use AES-256 in CBC mode. I need a 256 bits key and a 128 bits IV. If I use SHA-256 to hash one file, then I can use directly that hash as the key.
When decryption occurs, is integrity and authenticity given by checking the hash of the decrypted plaintext, OR is... |
In general (if possible to determine) which would make an output harder to turn into plain text with a computer?
Extreme Length (minor complexity change)
Extreme algorithmic complexity (minor length change)
(Assuming these are hidden patterns of course)
Possible simple example for length might be a sentence turned nu... |
I'm working on a project where we need to encrypt a large number of files and store them on the cloud. And I'm wondering if the following process would be secure (we have a “Hardware Security Module” and an “encryption server” in a private data center, only the files will be in the cloud).
Since the volume of the files... |
I desire an algorithm in which Alice sends a block of data $X$ to Bob, with proof that the data was both sent and received. Ideally this would take the form of a public-key signature of the block $X$ by both Alice and Bob, so that each is in possession of (X + sign(X,A) + sign(X,B)).
Further let us assume that Alice a... |
I've read lots about null-length IVs being bad for most modes. In a scenario where passing a 128-bit IV along with each message isn't feasible, how would generating the IV from a smaller passed-along value impact the strength of security?
Each user will have their own symmetric key that does get re-generated periodical... |
Is there an efficient way to map $2^n$ unique 64-bit vectors to $2^n$ $n$-bit vectors where $n < 64$?
|
Cipher modes typically assume data is streamed or read from a reliable channel with guaranteed ordering. However, many communication transports, such as UDP, are not reliable and don't guarantee order of delivery.
I can imagine that there are are some cipher modes which are packet-oriented and can deal with unreliabl... |
Is there a table (or a whitepaper from official sources) that compares the size of X509 certificates generated with RSA (starting from 1024 bits) and ECDSA (starting from 160 bits) ? Thanks for the support.
|
Is it possible keep the "one wayness property" of certain one way function in Merkle-Damgård construction? I'm asking this question because according to Collision-Resistant hashing: Towards making UOWHFs practical the target collision resistant property fail in Merkle-Damgård construction.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.