instruction
stringlengths
32
27.2k
In Schnorr's NIZK proof there is an interesting remark: Within the hash function, there must be a clear boundary between any two concatenated items. It is RECOMMENDED that one should always prepend each item with a 4-byte integer that represents the byte length of that item. I know, that it's generally a good p...
In my course there is a remark saying that in CFB encryption mode, the plaintext must not a multiple of the block length. Why?
Is it true that $p^e\equiv p \pmod n$ and $q^e\equiv q \pmod n$ for RSA? Here $n=p\cdot q$, $p$ and $q$ are different prime numbers as required by the RSA system. I have to find four examples of $w$: $w^e\equiv w \pmod n$ that always hold. My candidates are $p,q,-p,-q$. It works on examples but I can't prove it.
I'm new to cyptography, so I apologize if this is a dumb/impossible goal or has already been answered (I was not able to find it by searching). I wish to devise an anonymous protocol for transferring digital goods, where the message contents are publicly viewable, but neither sender nor recipient can be determined from...
I believe that parallelizable authentication schemes are superior from an aesthetic perspective and because most non-recursive calculations (e.g., CTR, ECB, PMAC, etc.) are better than recursive ones (e.g., CBC, OFB, CFB, CBC-MAC, etc.). Most of the CAESAR candidates, i.e. GCM, OCB mode, PMAC, XOR-MACs, and protected ...
I'm building an application for securely backing up cryptocurrency private keys or 12-word backup phrases that crypto wallets use as a seed to generate private keys. For the purpose of this question, if you're unfamiliar with cryptocurrency, you just need to know that whoever knows your private key can spend your money...
I'm attempting to develop my messanging app with encryption evolved. For now I came up with algorithm for authorization and message exchange. P.S. conneciton between server and client is over https Auth: User generates his private and public key based on his password User requests authorization Server generates rando...
This is my case: I don't have padding oracle (the server provide the data and users never able to execute the encryption function), I never encoding the same text twice. The text is always short - 128 bytes. I store the encrypted text in the database. I never send the decrypted text to any user. What I want: If one...
Abstract With Functional Encryption, would access control between two parties be possible without revealing the entirety of one party's policy to the other? E.g. such that a server would be incapable of discerning anything more about a client's policy (aside from weather the client's requested action is permissible via...
We use Fiat–Shamir heuristic to turn Schnorr ZK to NIZK. So now NIZK is secure against chosen message attacks in the random oracle model, that is, ideal hash function: every unique query leads to a truly random response. Ok, I get why our Hash function should not be reversible - otherwise, we disclose skey. But what i...
Given the hypothetical fact that I can predict the same entropy value used to generate a random number, can I generate the same random value, say in a Windows based python application?
I am using ECIES (Cryptobox as poncho pointed out) for public key encryption with ECC between Alice and Bob with secret/public keys $(a,A)$ and $(b,B)$ respectively. So Alice encrypts to Bob with $$ Encrypt(aB,Message) $$ Additionally I would like to encrypt some of Alice's data such that only she can decrypt it. Is it...
I was reading the differences between stream ciphers and block ciphers, noticing that block ciphers, encrypted blocks of 64 bits or so at a time. But, stream ciphers encrypt 1 bit at a time, and to me it seems it would be easily reverse-able? If the stream cipher's algorithm isn't changing then what stops the adversary...
I am building a cryptocurrency wallet online where everything is stored in the browser (No servers). At this moment I am storing all private keys encrypted using AES-128-CTR I've chosen this method because is the standard for Ethereum keystore file format. Is this algorithm secure to encrypt any other private key such ...
As I understand DES, It encrypt 64-bit plaintext block with 56-bit key (ECB). So if 3DES is applying DES three time then why it use Decryption $(D)$ in the Phase 2 in place of Encryption $(E)$ ? And how it is possible to decrypt a ciphertext $( [K_2,E[K_1,P]] )$ which was encrypted by different key $(K_1)$? Phase 1: $...
For example in my course there is this protocol : Initialisation: A and B are sharing a symmetric key S. (1) A -> B: Ra ; A generates a random number and sends it to A (2) A <- B: Rb ; B does the same A and B computes the session key K := E_S(Ra XOR Rb). Why A and B would establish a new key K if they already have ...
Recently I have been researching asymmetric encryption algorithms for a class, I cannot find any information anywhere on the key lengths used in any of the algorithms I'm looking into (ElGamal & Elliptic Curve Cryptography). Is there a range of valid key sizes?
Let s be a n-length binary word and not_s its negation. Let G be a PRNG with expansion 2n. Prove that H1(s) = G(not_s) is also a PRG? Prove that H2(s) = G1(s)||G2(not_s) is also PRG. Given G1, G2 are both PRGs and the || is concatenation I honestly don't know how to make of this question as I am pretty new. But m...
Ok, it's kind of stupid question, but I want to make sure. What is the length of the ElGamal cipher? It's equal to the size of 2 elements of the cyclic group, right? But lengths of elements are NOT always the same, right? Toy example: We pick p = 23, q = 11 (p = 2q+1), our generator is 18, so G = {18,2,13,4,3,8,6,1...
Suppose I have two messages $M_1$ and $M_2$ and I have two different symmetric keys $k_1,k_2$. Is it possible to achieve this? $CipherText(M_1)_{k_1}$ = $CipherText(M_2)_{k_2}$ Edit: Im asking for standard ciphers used in practice, not for theorical ones.
I am using the Ethereum keystore file format to encrypt any other data such a plain text or JSON. Here is an example of pseudocode of the implementation: MY_PASSWORD = "VeryDifficultPasword432131!@!#%" MY_TEXT = "This is my secret text" iv = randomBytes(16) kdfparams = { dklen: 32, n: 262144, r: 1, p: ...
When using a DEK to encrypt data using envelope encryption do you need to add AEAD to the DEK itself? I would think that it is unnecessary because bit flipping attacks are useless against a DEK and the confused deputy problem doesn't apply either. To be clear, the plaintext the DEK ultimately encrypts should be protect...
I am trying to get my head around the methods involved in ECDH and am confused by the public keys that are used. Alice picks a random number A from 1 to P - 1 and then computes A⋅g (g being the publicly agreed generator, with a high order) using point addition and multiplication. She then publishes this value. In order...
On a homework assignment, we're asked to give an example in which scenario one would use an ElGamal-Signature over an RSA-Signature. I found this question, but the answer also only describes why RSA is superior. I searched a while now, but I don't really find any reason why one would use a Schoolbook-ElGamal (not DSA o...
I have been learning about the fundementals of ECC and I'm a bit confused on this point: What makes up the public key in an ECC key exchange, and when is this public key generated? In the video at https://www.youtube.com/watch?v=F3zzNa42-tQ and the StackOverflow Q&A Basic explanation of Elliptic Curve Cryptography? , i...
Doesn't SHA-256 only take up to 512 bits for the input block? What happens if the input is really long?
suppose A owns the private key, and its correspondent certificate locates in site of CA. B request for A's certificate from CA for verifying the signature sent to him/her. There is an attack exists as follow: A send message with signature to B. A send revocation request to CA after confirming the message is successf...
What is the general purpose of concealment algorithms introduced in https://eprint.iacr.org/2003/050.pdf?
The actual question is: A sender $S$ sends a message $m$ to receiver $R$, which is digitally signed by $S$ with its private key. In this scenario, one or more of the following security violations can take place. (I) $S$ can launch a birthday attack to replace mm with a fraudulent message. (II) A third party attacker c...
From reading the answers on this website, a generic attack is one that works on all block ciphers (e.g., brute force). The slide attack does not work if the round functions are different, whether they are using different round keys, using different round constants, or are different functions altogether. Yet, I see that...
Not being a specialist in this field, I am nevertheless constantly trying to keep up with which methods are being considered secure for storing passwords and for encrypting data. During my research and desperate tries to extract the key points which are important for practice :-), I am reading often that certain hashin...
The notion of misuse-resistant authenticated encryption (MRAE) was defined in the symmetric setting by Rogaway and Shrimpton, along with the SIV mode that achieves it. The idea being that modern authenticated encryption cipher modes require a unique nonce and fail more or less catastrophically if a nonce is reused. An ...
Is it mathematically possible to adapt a given hash function (f.e. SHA-1 or MD5) so it performs a known number of iterations at once? Concrete example would be: data = SHA1_10000(data) instead of: for (i = 0; i < 10000; i++) data = SHA1(data) while resulting in the same output, but being 10000 times faster.
I have been researching time-based puzzles. Specifically, computationally expensive algorithms for the purpose of a time-lock. This has lead me to sequential squaring, firstly, as well as some memory-hard approaches and of course trusted third parties. Creating a scheme that cannot be deciphered in N time, though not e...
Can anyone tell me the specific equations and steps for dividing a point on an elliptic curve by 2? For instance, I have the point $(P_x, P_y)$, and I would like to find the point $(R_x, R_y)$ which when doubled yields $(P_x, P_y)$. It was suggested that I use the point doubling equations and solve, but I am looking fo...
How to find the type of symmetric cipher that was encrypted. I have ciphertext, plaintext, key. there is a command in openssl?
https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue gives the following example of an ECDSA key: <ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"> <NamedCurve URI="urn:oid:1.2.840.10045.3.1.7" /> <PublicKey> vWccUP6Jp3pcaMCGIcAh3YOev4gaa2ukOANC7Ufg Cf8KDO7AtTOsGJK7/TA8IC3vZoCy9I5oPjRhyTBulBnj7Y </Publ...
I am interested to know if there is a solution to the following scenario: Assuming we have $n$ party members, is there a scheme that at the end of it, every party member $i$, holds a shamir's threshold share, $S_i$, of the secret $a$ where $k$ of $n$ can reconstruct $a$ using the shamir's threshold reconstruction and n...
In order to construct a short, yet cryptographically strong verification code, I'm thinking about using the output of several hashes computed over the same data (device uuids + raw certificate data). Pseudocode: char *data[] = [clientUUID + serverUUID + certificateData]; uint16_t dataLength = length(data); char *verifi...
In BBC’s Sherlock, Season 1, Episode 2 “The Blind Banker”, the Black Lotus crime syndicate uses ancient Chinese number characters to refer to pages and words in a commonly known book (which was currently the A-Z London Guide). What class of cryptographic functions would this most closely fall under? Is it symmetric/pri...
I have seen some applications use key expansion when deriving AES-keys. E.g. the application will generate some random data (e.g. 128bits), then use PBKDF2 to expand it into 512bits (2x256 keys). Why go through this process of taking a small amount of random and expanding it, instead of taking 512bits cryptographic ran...
As I understand it, one of the properties required to prove UC-security is simulation extractability. One example is the paper by Kosba et al adapting NIZKs to the UC model, but in their construction the witness is encrypted and the ciphertext appended to the proof, and whoever holds the private key can extract the (co...
I'd like to encrypt my 12-24 words seed for my bitcoin wallet with openssl command line tool to be able to have it with me on paper without the risk that somebody could use it Which cipher should I use for the shortest output in base64? The seed consists of just a-z characters and is case insensitive Main requirement...
I am trying to generate shared secret from remote EC public key(static) and client EC private key(ephemeral). In this process I am successfully able to generate shared secret using ECDH Key agreement available BC library.My work requirement is to use ElGamal key agreement but there is no specific supported Key agreemen...
Assuming that the best alternative to complexity is length, how long do you recommend a password or phrase to be when using WinRar? Note that I'm aware that it's not always that simple, but I would like to get this right.
Looking at tls 1.3 draft 23: https://datatracker.ietf.org/doc/html/draft-ietf-tls-tls13-23 Section 4.1.2 shows, for a freshly established connection (no previous session from tls 1.2 or earlier) the legacy_session_id for ClientHello must be a zero length variable vector, which allows a max length of 32. My interpretati...
This recent question had me the idea to ask: is there a "misuse-resistant ephemeral key exchange"? At first sight, this seemed self-contradictary - ephemeral implies there's a random part, while misuse-resistant often implies determinism. But when went through the definitions, this may be workable. I may be mistaken...
Telegram messenger's original encryption scheme, MTProto 1.0, has been shunned by most cryptographers for a number of reasons, like being vulnerable to IND-CCA attack; being unorthodox in general, making unusual applications of hashing and key generation/exchange protocols; and not having been created by someone credit...
In Galois/counter mode, the authentication key $H$ is leaked if two distinct messages are encrypted using the same nonce. If someone did end up doing that, then they would need to rekey to get a new $H$ as $H$ is derived only from $K$. So, why not derive $H$ from $K$ and $N$ (the nonce).
By profession I’m a programmer. I don’t know a lot about how cryptographic algorithms are implemented, or even where I’d start, and I don’t know about cryptanalysis, but as I work in Blockchain technology, I know how to consume cryptographic algorithms. One might say I have a passing interest. One thing that has piqued...
Recently I encountered an interview question related to XOR and I have no idea how to figure it out. The question is as below: The algorithm is: $A\oplus B$ (operation) $C = D$ We have the value of $A$, $B$ and $D$. Please figure out the value of $C$ and the (operation). The $C$ is being dump as per the interviewer. Is...
Group Signature schemes are used to provide anonymity of the signers. During signature generation, signers provide a NIZK proof to prove that they are certified group members. Verifiers check whether the proof is valid during verification of signature. Can we use non-adaptive NIZK proof to prove signer is a certified g...
I'm working on a small blockchain project and I came across the idea of using zero knowledge proofs to enforce anonymity. I think I generally understand the idea, but I'm unable to find an explanation of a reliable way to implement this system with a protocol like HTTP. For example, given the classic sudoku example, w...
I am trying to understand non-interactive zero-knowledge protocols (NIZK). But, I encountered single theorem adaptive and non-adaptive NIZK protocols. According to my understanding, In adaptive NIZK protocols, simulator ($S$) is divided into two stages ($S_1,S_2$) where in first stage it generates the common reference...
In a 2048 bit RSA key. Are $P, Q$, exponent $P$, exponent $Q$, and the coefficient guaranteed to be half of the length of the modulus (128 bytes)?
In the course I'm studying, if I've understood it right, the main difference between the two is supposed to be that finite fields have division (inverse multiplication) while rings don't. But as I remember, rings also had inverse multiplication, so I can't see any difference. What is the main difference between finite ...
Most signature schemes first hash the data and than sign the hash. Correct me if I am wrong: The signature does not prove that the signatory was in possession of the document itself? In cases where the document hash but not the document itself is public, anyone could create a signature for the document without having a...
Does the existence of a PRF/PRG/one way function imply the existence of a hash function? I did not find a proof of the existence of a cryptographic hash function, so I want to know whether it is based the same axiom (the PRG axiom)?
Source: https://stackoverflow.com/questions/48521925/java-recover-the-public-key-by-only-having-the-privatekey-possible How to solve this problem programmatically try { KeyPairGenerator keyGen = KeyPairGenerator.getInstance("ECDSA", "BC"); SecureRandom random = SecureRandom.getInstance("SHA1PRNG"); ECGe...
Let $(E,D)$ be a secret-key bit-encryption scheme that is homomorphic to xor, and assume that each bit encryption is of size n (this concerns both fresh encryption and encryptions that have been homomorphically manipulated). For two ciphertexts $ct$ and $ct'$, we abuse notation and will denote by $ct \oplus ct'$ the c...
I'm trying to hash two unique strings together to create a hash. The most obvious way would be simply to concatenate the two and run a hash function on it: hash = sha256(strA + strB) But I was wondering if this is how most people do it, and if there is a "standard" way of doing something like this in a most secure way...
I want to save the space signatures take up in a block of Bitcoin transactions. To simplify it, here is the general transaction structure in a block: message public key signature of the message There are many transactions in one block and I want to save the space the signature takes by using signature aggregation. Th...
I'm doing a thought experiment: Alice chooses a number $a$ and Bob $b$. They send $A(a)$ and $B(b)$ to Charlie. He performs $C(A(a), B(b))$ and gets $ab$. Do there exist not easily reversible functions $A, B, C$ for which the above is true? I'm a beginner so I'd be all the more grateful if somebody knows :) Thank you!
Let's say we have a decentralized service S distributed on a network of 1000 nodes/servers. Is it possible to have a registration/sign up scheme using email address as login? I see two problems: (Ignored for this question) Probable low deliverability rate for emails sent from nodes of a decentralized network to major ...
Problem I want to send a plaintext document between from myself to someone else over an untrusted link. I want to firstly stop third parties from reading the document, I want the receiver to be able to authenticate that any message they receive comes from me. Finally I want the receiver to be able to read the document....
I'm currently reading the Princeton Blockchain Book, and came across this concept: Proof of membership. Another nice feature of Merkle trees is that, unlike the block chain that we built before, it allows a concise proof of membership. The idea(from what I understood) is that, in the Merkle Tree, when we have a data ...
Quick question (01): what is the uniform interface for a symmetric block cipher? Is it $(f:k \to k', enc_{k'}:c \to p, dec_{k'}:p \to c)$ or $(f:k \to k_e, g:k \to k_d, enc_{k_e}:c \to p, dec_{k_d}:p \to c)$? Most nowaday symmetric-key block cipher algorithms require only one key schedule to perform both encryption a...
Developing a wireless home security system based on STM32M0 µcontroller, I'm currently looking for the best way to manage encryption/authentication. For information, the STM32M0 has an AES hardware acceleration module with main modes. So , I looked first for AES-GCM as AEAD, but there's too much overhead: my data is ...
Consider two sets $A=\{a_1,a_2,\cdots,a_n\}, B=\{b_1,b_2,\cdots,b_m\}$; $m,n$ can be different. we can calculate the xor summation of each element's hash value: $XOR(A)=(hash(a_1)\oplus hash(a_2) \oplus \cdots \oplus hash(a_n))$ and $XOR(B)=(hash(b_1) \oplus hash(b_2) \oplus \cdots \oplus hash(b_m))$. Is it possible th...
I have a question regarding the exchange of the rotors in a enigma machine. I know that there are 3 slots and that up to 8 rotors can be used in those slots. What I don't understand is, as all the rotors have 26 letters each (they are equal), what is the difference in exchanging the rotors in the slots?
I was reading about Luby-Rackoff theorem from various sources: [1], [2], [3], which says you need at least 3 rounds of a $2$-branch Feistel network to get a PRP if the underlying $f$ function is a PRF. I also came to know about the Generalized Feistel Network which has more than two branches. What will be the minimum n...
I am an individual who is really interested in cryptography and cryptanalysis. But I am a mere beginner. I am teaching myself mathematical cryptology and python. What more can I do to call myself a(n amateur) cryptographer? Am I in the right track?
A very commonly used (examples: HTTP digest auth/CHAP/Kerberos) authentication scheme is something that looks like: Setup. Client and server both know a password $p$. Authentication. Server sends a random challenge $\alpha$. Client computes $r = \text{KDF}(p || \alpha)$ and sends $r$ to the server. Server computes $...
When using two hash functions, g(x)=SHA-512 and f(x)=MD5 g(x) has 512 bit output (using salt) f(x) has 128 bit output. Let's say that z(x)=f(g(x)) meaning the output is 128 bit long. The Question: Is using z(x) like using MD5 with salt? Hence, the security level is low. Opposed to using only g(x) with salt and getting ...
I'm studying algorithms that solve the discrete logarithm problem over elliptic curve. Reading online, it seems that people use the bsgs algorithm when the order of the curve is "low" and P-rho when it's "high". But nobody says how much is "low" and "high", where I can find some good estimation? Is this true?
RANDOM EXCURSIONS TEST -------------------------------------------- COMPUTATIONAL INFORMATION: -------------------------------------------- (a) Number Of Cycles (J) = 0106 (b) Sequence Length (n) = 10000 --------------------------------------------- WARNING: TEST NOT APPLICABLE. THE...
According to the answers to a previous question, the 512 version should be faster on x64 devices. And even if it were executed on an x86 (32 bit) device - there shouldn't be such a big difference. Is there some explanation for this difference? (Or must it be an implementation issue.) The following code returns almost ...
I am given that $S_1=(S_1,P_1)$ and $S_2=(S_2,P_2)$ are sources, where $S_1=\{s_1,...,s_n\}$, $P_1(x_i)=p_i$ and $S_2=\{y_1,...,s_m\}$, $P_2(y_j)=q_j$. I have to find the entropy of $S_{\lambda}=(S_i \cup S_2, P)$, where $0 \le \lambda \le 1$, $P(x_i)=\lambda p_i$, and $P(y_j)=(1-\lambda) q_j$. I was unable to find som...
There are several areas in which cryptographic vulnerabilities can be introduced. Length extension attacks are inherent to hash functions using Merkle–Damgård. Heartbleed was a vulnerability caused by the specific implementation of a protocol. Using weak ciphers such as DES is a configuration issue. Is there a formal t...
I have an app that uses a different random key for every file that is being encrypted. Am I correct in assuming that this means that I can safely use a hash of the random key as the IV, because that would also lead to a unique IV? If possible, I would prefer to not store the IV along with the file for performance and s...
Before giving a better and detailed description of what I ask, let me first tell why I need what I am looking for: Intel processors already provide instructions (AES-NI) for very efficient AES MixColumns state transformation. Actually existing instruction performs a couple of steps combined at once but it is easy to i...
Is it possible to break the SHA-512 hash algorithm? Are there any successful attacks out there?
I always hear that if you have the seed then you can easily obtain the key. So, is the secret key just typically an expanded version of the seed? If so, via some key derivation algorithm? Also, if you can easily obtain the key when you have the seed, why don't we just use the seed as the secret key instead?
Putting aside that it may sound paranoid. I know that many users tend to use the same password on many sites. Then, from an ethical point of view, I should not only be concerned about security breaks that affect my own system, but also how my system might facilitate breaking the security of other systems. Suppose that ...
I would like to monitor step by step running of ECDSA. Parameters I am working on: The elliptic curve satisfies the equation: $y^2 = x^3 + x + 1$. I picked up the base point $G$ as: $(0, 1)$ Finally, the modulo $p$ is $977$ My private key is $19$. Thereby, my public key is equal to $19\times G$ and its coordinates ar...
I need to encrypt and digital sign an html form that contains sensitive data. The legal need is that the user can't deny that he filled the form and the data sent was not altered. I was thinking to generate server side RSA public key and private key, and I will store the public key in the database with a technical id....
I am looking for some references for multi-party / distributed Oblivious pseudorandom Functions. I found two party OPRF protocols between a sender $S$ and a receiver $R$ for securely computing a pseudorandom function $f_k()$ relying on the key $k$ computed by $S$ and on input $x$ contributed by $R$, such that $R$ learn...
We need a system to compare cipher-texts for equality, without (the checking system) having access to the plaintext. We found a library that uses AES in CTR mode, with a single key, and an IV based on the SHA1 has of the plaintext. This question is closely related to another question here on crypto.SE, but in our case ...
One of the biggest flaws of Enigma was that a letter couldn’t represent itself because the route through the machine was one-way. I was thinking a quick fix could be to introduce a rotor position that deflected the signal so that nothing would light up - no response would indicate that the letter you just pressed is un...
I was considering using Microsoft's SIDH implementation for post-quantum public-key encryption because of its relatively small key size. I realized however, thanks to Issue #4, that it might not be as ideal as I had hoped: SIKE is IND-CCA2 secure, which means that it's ok to reuse the key pair generated [...] whereas ...
Sorry if my question is trivial. My question is related to a post "Paillier Homomorphic encryption to calculate the means" where a member suggests Lagrange Gauss Reduction Algorithm for reducing a decrypted value to a rational number. How to use Lagrange Gauss Reduction Algorithm for reducing numbers? Here is the link ...
I try to understand diffie hellmann and I wonder why an attacker just can't make her own secret key and go along with the ride? She'd be ending up with just the same shared key. Let the private keys be: $$sk_A = 14, sk_B=12, sk_E=8$$ Let's assume the base is $g=2$ and the prime is $p=17$. Alice would have a public key...
I am participating in the 8th SharifCTF competition and have a related question: I have 1000 plaintext and its ciphertext, which has been encrypted with DES algorithm (only 1 round). Now, how can I get this 64-bit hexadecimal key? Can we use a known plaintext attack, or would another attack be more advisable? If, whi...
Given we are using well-known hashing functions for passwords, i.e. SHA256, SHA512, BCrypt or, PBKDF2. Our Information Assurance SMEs have advised that we truncate the input into these hashing functions: …to prevent the hashing function splitting it into multiple hashes. I have not heard of hash functions doing this...
This is part of my academic assignment and hence to ensure no one feels i'm asking for the answer. I've given my opinion. Hashing is mathematical one way function that takes arbitrary length data and converts it to a fixed length output. Important thing is exactly similar text (data) when hashed with same algorithm (M...
Is it part of the (or a common) security model of symmetric authenticated encryption to prevent an adversary from exhibiting a decryption/verification key that makes a given genuine ciphertext verify, yet deciphers differently than it does with the key used to produce that ciphertext? If not, are some common symmetric ...
The Solina's paper Generalized Mersenne Numbers contains a Linear Feedback shift register I am not able to understand. Here it is: It is supposed to be a normal Linear Feedback shift register but it doesn't seem to follow the "normal" lfsr rule. Is anyone able to explain the logic it follows?
Consider the following commitment scheme, where $x$ belongs to $\langle g\rangle$ and $u$ is uniformly chosen from $\mathbb{Z}_n$: $$\mathsf{commit}(u,x) = g^u\cdot x$$ Is it binding and hiding?
In the 20th century, it was common for various intelligence agencies and military organizations to use ciphering machines and one-time pads. However, no source I've seen ever mentions the process of generating the keys and printouts for such use. Were there special machines for printing / punching them onto a card? Wh...
How do you calculate the total amount of combinations in the standard 12-word seed from a 2048 word dictionary? $log_2(2048^{12})$ which equals $2^{132}$? Is this the right way? And what is the "minimum" sort of recommended combinations for the next 5-10 years, $2^{110}$? $2^{100}$?