instruction
stringlengths
32
27.2k
In the paper, "On Error Distributions in Ring-based LWE" by Castryck, Iliashenko and Vercauteren, page 3, It is shown that the distrotion to the spherical gaussian in Ring - LWE is caused by the inverse of the vandermonde matrix and the matrix of multiplication by f'(x). It is explicitly stated that the inverse of Vand...
Since OTP have to be agreed upon in advance, they may be longer than the plaintext. So in this case, how is the encryption done? Is the OTP truncated to the same length of the plaintext before encrypting or is some kind of padding used - how does it work? I am talking about the case where Alice & Bob exchange a book of...
I have some questions about the Hill cipher. There is a rule for key K: Determinant of matrix and number of characters of the alphabet must be coprime. What does this rule say? Why it must be like this? So If I had determinant 5 and characters 30, it would not work? Let's assume I have key K which should be 3x3. I wo...
I'm currently working on some cryptography homework, but I'm stuck on this particular question. Let $F$ be a pseudorandom permutation with identical key length and block length (both equal to the security parameter $n$). Prove that there is no probabilistic polynomial time algorithm $\mathcal{A}$ that, on input $1^n$,...
Upon reading through the source code of Rainbow, a post-quantum signature algorithm, I found a hashing function that, using SHA-512, produced a variable length digest. This was achieved was by initially hashing the message to obtain a 64 byte digest, and then hashing that digest, and again, each time hashing the N - 1 ...
I have two PGP public key files: File1 was created with Kleopatra / Gpg4win. File2 was created by the following procedure: Import File1 as public key for EmailAccount1 into Thunderbird 78.4.0 Send this imported public key via email from Thunderbird 78.4.0 from EmailAccount1 to EmailAccount2 Save the public key file th...
Is there a formal name for such a thing, so I know what to google? Is it possible to make them as secure as randomly generated passwords? An illustrative example would be something like picking a random book and then picking the words inside it using some process that can be recreated to generate a passphrase.
In the work of Bellare–Goldreich that defines knowledge soundness BG92, the discussion of Section 4.5 specifically decouples knowledge soundness from soundness. That is, proving knowledge soundness for some verifier $V$ says nothing about the soundness of some pair $(P^*, V)$, for arbitrary (cheating) prover $P^*$. How...
Imagine Alice has trained a machine learning model. She wants to store her model in a blockchain so that everyone can use it; however, she wants her model to be private so that no one can steal her trained model. Is there any way that a model can be used for prediction only while being private? For example, is there an...
I am trying to understand why it is a hard problem to have formally verified constant time arithmetic for DSA when compared with ECDSA. For instance, in ECDSA implementations of OpenSSL, we have specialized constant time ECC curve-specific implementation for NIST curves which are optimized per architecture. Similarly, ...
Where is an official documentation for ASN1 structure and values of x509 certs? Using OpenSSL command like openssl asn1parse -in server.der -inform DER I can see how the cert is structured, but, for example, value OBJECT :sha256WithRSAEncryption is HEX 2A 86 48 86 F7 0D 01 01 0B, or countryName identifier is 55 04 06 -...
Refer to the chart on 1-2 oblivious transfer : https://en.wikipedia.org/wiki/Oblivious_transfer I'm Bob, I know N,e,x0,x1. Can I send Alice a v value that, by knowing the m'0,m'1 received, I can crack both m0 and m1? Thank you
Is there a straightforward way to employ NIST Statistical Test Suite for testing a biased generator (e.g. with 0.6 probability of 1)? By straightforward way I mean one not requiring nontrivial code modification.
What does it mean to say a function is length regular and Length preserving? Does any one of them implies the other? Example if any could be useful
As you may already know, proofs of retrievability (PoR) can be constructed using MACs, Signatures (as stated here) or Merkle tree (like this). The PoRs that are based on MACs or signatures usually use the notion of extractability. Informally, it states that if a prover can convince the verifier (with a high probability...
The xChaCha cipher detailed here extends the nonce 192bits and works as follows (from the link): Pass the key and the first 16 bytes of the 24-byte nonce to HChaCha20 to obtain the subkey. Use the subkey and remaining 8 byte nonce with ChaCha20 as normal (prefixed by 4 NUL bytes, since [RFC8439] specifies a 12-byte no...
The Blum Blum Schub (BBS) pseudo random number generator (PRNG) is defined inductively by $$ x_{i+1} = x_i^2 \mod N $$ to generate the bit sequence $b_0b_1b_2...$ where the bits are taken to be the parity of the integers $x_i$, and $N$ and $x_0$ must satisfy particular properties (see this post for example). The BBS ge...
I am trying to implement the D-XOR and S-XOR count in python but despite reading multiple articles on how to perform the calculation I have failed to understand the process used. I would appreciate it if someone could demonstrate the process using an example. Below I have included some of the references that detail the...
I want to deterministically encrypt a short message <50 bytes with AES-128 CBC. I also want to be able to detect if the correct key is being used. Ciphertext and IV integrity will be guaranteed by a higher layer of software, so its impossible to tamper with the ciphertext, IV or additional data. The encryption key is w...
What are the properties of random involution? What is the difference between random involution and random permutation?
A non-cryptographic definition of a permutation is "2a: the act or process of changing the lineal order of an ordered set of objects. 2b: an ordered arrangement of a set of objects The Wikipedia article on Random permutation states that "A good example of a random permutation is the shuffling of a deck of cards: this i...
This is from this video https://www.coursera.org/learn/crypto/lecture/XZt5V/constructing-compression-functions At 2:44, Dan Boneh explains why the XOR is required. This is his explanation m - message to be hashed H - output of previous hash (chaining input) h - hash function E - Encryption function D - Decryption funct...
From what I understand, in general, TLS consists of two protocols: 1 - Handshake protocol: uses public-key cryptography (ECDH, DH) to establish a shared secret between the client and server. 2 - Record protocol: uses the shared secret established in the handshake protocol to protect communication or application data be...
In PKCS11 specification v2.40, we see some confusion with CKA_VALUE_LEN attribute and UnwrapKey behavior. From PKCS11 spec 2.40 section 2.8.2, 2 -> MUST not be specified when object is created with C_CreateObject. 3 -> MUST be specified when object is generated with C_GenerateKey or C_GenerateKeyPair. 6 -> MUST not be...
I have a science fair project coming along, and I'd like to focus on a basic cipher (something simple, like a substitution cipher) and how I could make a similar system that would be about equally secure but would be faster to decode. Is there anywhere I could find information beforehand on deciphering speeds or would ...
I have a proprietary signal processing algorithm, $F(s)$, which I would like to demo to my customers. The demo starts with the customer uploading a binary signal $S_0$ to my website. I then generate a response signal $R = F(S_0)$ and return it to the customer. The customer then adds some amount of noise to the response...
I am performing some measurements of P256 ecdsa signature generation and verification latency and I was expecting that the signature verification will be faster than the signature generation, but is was not the case. what makes the signature generation faster ? what is the most computationally expensive operation in si...
I am struggling with a property of combined hash function and more precisely concatenation. I have seen that concatenating two collision resistant hash functions preserves this property (same for 2nd preimage resistance). But not always for the first preimage. Indeed, some explains that if the two concatenated hash fun...
I can understand why a simple substitution cipher can be broken easily using English letter frequencies, and even English digrams like th can be used. Also a complete random substitution will have a key length of $26!$ which can be done (around $2^{88}$, maybe NSA). But what about emails? According to Google, emails ha...
In Reusing AES-CTR Keys and IVs for File Encryption, the OP was asking about a composite encryption scheme $$C_i = E_K\left(P_i \oplus E_K\left(IV + i\right)\right)$$ which is basically just a CTR followed an ECB. Now, while their intent was to use this for disk encryption (where the IV is just the unique (but known) l...
I've been reading on preimage resistance and trying out few examples for the same and I'm trying to figure out why the following hash function does not have the second preimage resistance and any suggestions would be appreciated. $$h(M) = \operatorname{AES-Enc}\big(M[0\ldots n], M[(n+1)\ldots 2n]\big) \oplus M[0\ldots ...
Let's say I have a collision resistant hash function $H: \{0,1\}^* \rightarrow \{0,1\}^n$ and I want to create another collision resistant hash function $H': \{0,1\}^* \rightarrow \{0,1\}^n$ using $H$ that leaks a bit of input. Would this still constitute a collision resistant hash function? $$H'(x\mathbin\Vert b) = H(...
Let's say that my CPU can be made arbitrarily faster (or I can become arbitrarily patient waiting for the CPU to complete its task), and let's say that my memory (e.g. RAM) can be made arbitrarily larger. I.e. none have any limits/caps. My question is, what is the tightest law, or theorem, that maps change in space/ra...
In collision-resistant hash function, first, a hash function is sampled and the adversary is allowed to pick a collision $(x, x')$ s.t. $H(x) = H(x')$ and $x \neq x'$. In a universal one-way hash function, first, the adversary picks $x$, and then a hash function is sampled, and then the adversary is supposed to find $x...
I've been reading a lot about techniques related to stylometry whereby programmers can be de-anonymized by analyzing their source code. Resisting deanonymization seems like a multifaceted problem. From variable renaming, space generation etc... to structural changes such as loop re-writing, function splitting, etc... I...
Given ciphertext for a message encrypted using $AES-CTR$ along with actual, desired message and IV, I need to perform malleability attack on the ciphertext to change the original message from $M$ to $M'$. But the message length of $M$ and $M'$ isn't the same. Since CTR doesn't use padding and the ciphertext is same len...
If the order of group ($p$)selected by attacker then discrete logarithm is still hard?
Which block (cipher) algorithms are the most popular and most used today? What parameter values (block length, key length) are now considered standard (safe).
I came up with a simple way to encrypt a series of bits and I cannot seem to find a weakness. I know almost nothing about cryptography so I was wondering if someone could help me out and find the fault in this method. It is incredibly simple, so I'm almost definitely not the first one to try this out, but I couldn't fi...
Supposing there is a classical (no need quantum) $O(\log N)$ algorithm to factor integers $N$ and supposing there is a classical (no need quantum) $O(\log p)$ algorithm to find $g^{xy}$ given $g^x$ and $g^y$ over cyclic groups of cardinality $O(p)$ (which includes elliptic curve cryptography) where the constants in $O(...
I have generated an AES key on HSM and I need to calculate the CMAC between this key with an input value. Is it possible to do this on HSM? What is the mechanism to invoke?
You have a 2048 bit private key, which is 2,048 randomly generated bits. It is not an RSA or ECC key. It is the master key that is used for every message. You receive a message to encrypt and generate an IV for it. Next, you take the first block of plaintext and SHA256(IV + 2048 bit key). You use that hash as a ke...
I recently studied how to solve the LWE (learning with errors) using algebraic relations proposed by Arora and Ge (paper : New Algorithms for Learning in Presence of Errors). As I understood, for LWE instances of the form $\vec{a}_i,b_i = <\vec{a}_i,\vec{s}>+e_i~mod~q$ for some integer $q$, adversaries generate algebra...
So, my understanding of homomorphic encryption is that Alice has a private key and an algorithm, gives an encrypted copy of the algorithm to Bob, Bob runs the algorithm without understanding it, and gives the encrypted result back to Alice, who decrypts the result with her private key. There's a variant of this concept...
I know that IND-CPA is a security goal, which is defined as the inability of an attacker to distinguish two ciphertext of some arbitrary chosen plaintexts. Unfortunately i havent found a good definition of OW-CCA, but i assume it has something to do with an Oracle and Chosen Ciphertexts. So in my understanding OW-CCA i...
I was looking at the Wikipedia article about Block cipher mode of operation and I was wondering how can you from the encryption $C_i = E_K(P_i \oplus P_{i-1}\oplus C_{i-1})$ get the decryption $P_i = D_K(C_i) \oplus P_{i-1}\oplus C_{i-1}$ ? Is there even a way to get decryption from encryption (and vice versa) or not...
I found old key letters used in EFT HSMs with TDES keys, parted in two halfs. The check value printed on this letters is called IBM CV and doubled IBM CV. My newer HSM does not support this kind of check value. Does anybody know how this value is calculated? Thanks in advance
I was wondering about what is permutation entropy(PE). Then, I came to know this paper which describes PE. Now, let's assume that we have a pseudorandom permutation that is generated using an entropy source and we used a uniform shuffle algorithm(like Fisher-Yates shuffling algorithm). Also, assume that we use a 256-bi...
I've been tasked with developing an app that will need to store photos a user takes securely, and I've been struggling to think up a method to do this. What I was thinking so far is as follows: When user first logs into the application, input their password along with a salt (stored in a database) to a key-derivation ...
During my implementation of CommonCrypto from iOS, I noticed there is a function called CCECCryptorTwinDiversifyKey whose description is: Diversifies a given EC key by deriving two scalars $u,v$ from the given entropy. But the description left me guessing at what the function does or when it is used. Looking for "EC ...
I am reading about Signing vs. Public-Key encryption and a question pop up in mind that is it possible to transform any signature scheme to a public-key encryption scheme?
I am aware of the different modes so that a "raw" block cipher such as AES (ECB) can be used to encrypt more than a single block of data (CBC, OFB, CTR, etc) and modes such as AES-GCM which provide a full AEAD implementation. When looking at the known limitations for Amazon AWS CloudHSM, there is a maximum data size re...
I hear there's a recent advance in Indistinguishability Obfuscation, aka io, with emphasis on Aayush Jain, Huijia Li and Amit Sahai Indistinguishability Obfuscation from Well-Founded Assumptions (eprint and arXiv, August 2020). For the applied cryptographer inexperienced in Indistinguishability Obfuscation, what's the ...
I hope someone can help me with the sequence of games security proof for protocols. Here are my questions: What is the aim of each individual game? i.e. why can't we do this in one indistinguishable game? How can we link each game with the previous one? i.e. I am not understanding the difference lemma which states: ...
I was encrypting some Ansible secrets this morning and noticed that the ciphertexts seemed to have a lot of 3s and 6s in them. I did some frequency counts and found that yes, in fact, about 40% of the digits are 3s, and more than 20% 6s: $ANSIBLE_VAULT;1.2;AES256;staging-swarm 653133306630613362636637666533613365353163...
When I read the AFL16 paper by Araki, each party's share is adding a correlated randomness, like r1 = (a1b1−x1y1+α)/3 , r2 = (a2b2−x2y2+β)/3, r3 = (a3b3−x3y3+γ)/3 with α+β+γ=0, and use AES to generate that. Also in the ABY3 paper they add the similiar randomness to each party in arithmetic operations. I wonder why th...
Sorry if this question is stupid, but is there an encryption algorithm where a message is encrypted with a set of n keys which can then be deciphered with any sufficiently large subset of those? E.g. encrypt with 3 keys and any 2 are sufficient to decipher the message. AFAIK some blockchain wallets have a functionality...
Probably this is a silly question but an anomalous curves and ordinary curves are the same things?
I will make a presentation about Linear approximation (Matsui's paper 1993 Linear Cryptanalysis Method for DES Cipher ) of DES and I don't understand some parts of it. Here my questions : In the linear approximation of $S$ boxes we had lemma 1 and it says $NS(a,b)$ is even I saw the topic about lemma 1 but I don't un...
I was reading the zerologon whitepaper by secura named: Unauthenticated domain controller compromise by subverting Netlogon cryptography. I'm trying to understand the zerologon attack. The issue is on the KDF function (AES-CF8) that uses a IV with all zeros, I tried to follow the AES implementation with the block mod...
There are public-key encryption schemes based on many different mathematical hardness assumptions, like the hardness of Decisional Diffie-Hellman problem, the hardness of the Factoring problem, the hardness of the RSA problem, etc. But my question is, are there any public-key encryption schemes based on the hardness of...
I have a cipher-text in binary, I know the beginning of the plain-text. I know that it is encrypted using LFSR, and I know nothing else. How can I attack, and decrypt it? What I have tried; I converted the beginning of my plain-text to binary, which had a length of 84. My ciphertext's length is 952. I've got the first ...
I'm working on padding oracle attack and I have a 16 byte cipher on which I need to perform the attack. I've been able to successfully decrypt all the bytes of the plain-text except first byte and I'm now out of ideas as to why I'm not getting any response for the first byte of plain text and any idea or help would be ...
I am studying for a test and I don't seem to understand the Block Cipher and its different modes of operations especially when it comes to encrypting and decryption. Could anyone please help solve these questions? Block Cipher Mode of Operations. Please refer to the image attached for a diagram of PCBC, a similar mode...
AES is supposed to be a symmetric key block cipher. The theoretical counterpart to this is a pseudorandom permutation. I'd like to say that AES is a PRP (well, supposedly at least), but that doesn't seem correct; while there are larger variants of AES, I don't see how the algorithm extends to arbitrarily large security...
"Optimal Prime Field is a family of 'low-weight' prime fields that allow for efficient software implementation of all operations requiring a modular reduction, in particular the field-multiplication. More formally, an OPF is a finite field defined by a prime of the form p = u · 2^k + v, whereby the two coefficients u a...
Let's suppose we are given a linear polyonmial $$\begin{align}f(x) = ax + b\end{align}$$ where a and b is known which satisfies this equation $$\begin{align}y^3 - f(x) \equiv 0\mod(n) \end{align}$$ where n is RSA modulus. Is there any way to solve for pair(x,y)? Follow-up question: If there is restriction where only th...
Is there any public-key cryptosystem that is (possibly) secure against $NP\cap coNP$ adversary?
We have a customer asking about what methods we use to secure our system. Specifically they want to know what encryption algorithm we use for how we manage passwords. My philosophy is the harder it is for the bad people the better, so my mind set is keep as much secret as possible no matter how miniscule or how easily ...
Say I use AES. If I insert the message the way the key normally is used and vice-versa, would this be equivalent secure to the intended encryption?
I am working on a scavenger hunt and wanted to encode a clue in a cipher that requires the full message to decipher. My goal in this is to prevent players from predicting the result before obtaining all the letters of the clue. If possible it would be nice if the cipher could be solved on paper but, beggars can't be ch...
I am designing an online service where users can upload files (3d models) for processing. I want to speed up things when the same file is uploaded by many different users by allowing them to post a hash (SHA256) of the file before sending the file. If the hash exists they immediately get the processed file otherwise th...
Has anyone implemented the BB84 protocol and put it in production? The BB84 is a quantum key distribution scheme developed by Charles Bennett and Gilles Brassard in 1984. It is the first quantum cryptography protocol. I am thinking of incorporating the BB84 protocol into the network list of protocols at the IETF. Natha...
I have been reading journals about FHE schemes and I keep encountering the term "batching". What does it mean to batch in homomorphic encryption in a simple way?
I've started reading on MACs and working on a problem where given a MAC construction as $H_0=IV$ and for every $i>0$ $H_i=H_{i−1} \oplus E_{M[i]}(H_{i−1})$ and the tag is $(IV,E_{k_1}(H_ℓ))$, I would like to show for a DES as a cipher this construction does not give message integrity. The way I'm thinking of approachin...
If $E_k$ is a CCA secure encryption scheme then why is $E′_{(k_1,k_2)}(M)=E_{k_2}(E_{k_1}(M))$, $D′_{(k_1,k_2)}(C)=D_{k_1}(D_{k_2}(C))$ not CCA secure when $k_2$ is known. Is there a way I can make a new cipher with keys $(k_1, k_2)$ such that its CCA secure regardless of which key the adversary finds? My confusion her...
Basically, i want to encrypt standard ecg data with resolution of 11 bit mostly come from MIT-BIH Arrhythmia Database. The sample point values i saw are decimal like . Suppose that i just want to do simple xor encryption with a set of random generated integer number. How do i accomplish xor of double/float with these i...
I was practicing some python programming and I decided to implement a simple DES encryption function, so i decided to take some shortcuts so instead of DES expansion boxes and s-Boxes i just used a simple keyed SHA3 hash function the input is: 32-bit right side + key(any length I want but I used 128-bit) The first 32-b...
We have been give a task to identify the following three components in TLS-DHE: Diffie Hellman Key Exchange I am fairly certain that this Part can be found in the Exchange of SKE and CKE, since they contain the public Key with Signatures and can be used by the other party to derive a shared key Challenge/Response ...
I studied Langford and Hellman's Differential-Linear Cryptanalysis and moved on to Biham, Dunkelman and Keller's Enhancing Linear-Differential Cryptanalysis. In the paper, although I've read many times, I couldn't understand their characteristic and how they computed the total probability. As far as I know, the attack ...
I'm not an expert and I would be very glad if someone could take a look at it and tell if there are any problems with it Things I know/think are problematic using base64 digest + getting the first 32 char reduces key size, right? where should the salt be generated and stored should the encryption include some kind of ...
I have come across an RSA problem that goes like this: You have $p,q,cp,$ and $cq$. You know that $cp = (m^{dp}) \bmod p$ and $cq = (m^{dq}) \bmod q$ where $dp = d \bmod(p-1)$ and $dq = d \bmod(q-1)$. With $p$ 1023-bit. p = 7752172640799431252157433629798070921753053558722205810414395996957166055279796947417293793...
According to a book I am reading, Applied Cryptography by Bruce Schneier, the ISO 7498-2 standard uses the terms “encipher” instead of "encrypt" and “decipher” instead of "decrypt" because some cultures find the terms “encrypt” and “decrypt” offensive, as they refer to dead bodies. I am curious to know which cultures e...
Goal We want to find the most secure way to encrypt message of arbitrary length M with AES such that the recipient can only decrypt if they have both AES keys K1 and K2. Preconditions: AES keys K1 and K2 are independent and randomly generated, 256-bit keys Assume we'll be running AES-GCM Key exchange for the valid rec...
For textbook DSA, as defined below. If $r, s, k, g, p, q, m$ are all known, is it possible to efficiently compute $x$ from all these given values? How does the math work out? Secret key: $x\stackrel R\gets \mathbb{Z}_{q}$ Private key: $X=g^{x}\in \mathbb{Z}^{*}_{p}$ Signature: $\text{Algorithm }S_x(M)\\\quad{ m\gets H...
Consider the following hash function: $$(V\cdot A + V\cdot B)^2 \bmod C$$ $A, B,$ and $C$ are large primes. $V$ is the value to be hashed and is guaranteed to contain at least as many bits as the largest prime. Ostensibly, this should provide an excellent level of collision resistance. Now assuming that the primes in q...
The only time a shift cipher considers to be perfectly secure is when used on a single letter of plaintext and no more. Having that in mind, we can say it is certainly not perfectly secure. Caesar cipher is perfectly secret only in the special case with the assumption that 26 keys are used in equal probability. Suppose...
I have a binary code which decrypts some 64-byte data chunks. There is a decryption key which is always static, and there is a code which does actual decryption. What I need is to find out which algorihtm does it use (probably it is something common enough which I just failed to identify) and find how to encrypt data f...
While reading the following paper about the Strong Diffie-Hellman Problem, i got curious about ways to compute $ g^{x^{l}} $ for unknown $x$ in an elliptic curve, without first solving the discrete logarithm problem for $g^x$. Since SDH may not be as hard as DL, there might be a way to get $g^{x^{l}}$ without knowing ...
I'm currently studying crypto and wondered what would be wrong with the following process... I want to encrypt a long message $M$ with a short symmetric key $K$ and a public nonce $X$. The idea is to increase the length of $K$ with successive hashes $$K' = H(X\mathbin\|K) \mathbin\| H(H(X\mathbin\|K)) \mathbin\| \cdots...
I was studying the Rijndael Block Cipher for an assignment. I am looking for a (layman-ish) explanation as to why the cipher is secure. Googling did not seem to be give any good explanations. The paper linked itself is a bit too high level for me to understand. Could anyone explain the security or give a reference to w...
I have this question and I am struggling to find a formal answer to this: Given $G$ is a PRG, show that $H(s)=G(G(s))$ is also a PRG. I know that a proof for this would assume that there exists a p.p.t. $\mathcal{A}$ that wins the adversary game against $H(s)$ and thereby there also has to exist one that wins against...
I started to study a cryptographic course and I got stuck on a question about AES: If we take the AES algorithem and only perform mixColumns and addRoundKey operations as well as only using one key instead of a round key. (so all keys are the initial key) describe a "Known Plaintext Attack" on this circumstance. What I...
Below the Wireshark snapshot of the handshake compliant to the TLS 1.2. The position 1 displays the enum ServerECDHParams where I can use any curve having the own ID RFC8422. I'm free for example to use Edwards, Brainpool or NIST curves having an ID assigned by IANA. Please correct me when I'm wrong but at the position...
I'm currently learning about chosen ciphertext attack and stumbled across a problem on CCA security. If I have an encryption scheme $(Gen,Enc,Dec)$, which is CCA-secure with $Enc:\{0,1\}^n\times \{0,1\}^∗\to \{0,1\}^∗$ How can I build a new cipher out of $(Enc,Dec)$ with the keys $(k_1,k_2)$ which would be CCA-secure u...
I am looking for a good, meaty cryptography algorithm that involves a good amount of number theory in which I can explore. I'm researching, and AES (Advanced Encryption System) seems interesting, but does not really seem to involve number theory all that much. EDIT: Not RSA.
SHA-512 crypt specs reports that SHA-512 crypt uses 128bit salt. The FreeBSD/Linux password generation code builds the salt using 16 bytes random data (128bits) and then it translates the random data using something like the B64 encoding (which is a base64 variation). An advisor is reporting that: because of the cardi...
NOTE: By malleable/non-malleable, I mean the ability/or not to change a byte/block of the ciphertext and have it change only that byte/block of the plaintext. I understand that we use authentication (via HMAC/UMAC/etc.) to verify integrity. However, where authentication is not possible (perhaps in a case where one has ...
As ASICs are specifically designed to generate the hash for a block of a block chain. which is much faster than other GPUs which are used to break 2key-3DES. can we use Array of ASICs to break 2key-3DES in practical time?
Does the size of the cryptogram affect the possibility of breaking it? In the context of symmetric and block algorithms. Does the format and earlier processing of the document (compression, changing the document format) affect the possibility of its cryptanalysis?