instruction
stringlengths
32
27.2k
when given p=5, q=19, e=5 solution:- n=5*19 =95 φ (n)=4*18 =72 de=1 modφ (n) d(5)=mod(72) using euclidean algorithm 72=14(5)+2 5=2(2)+1 back substituition 1=5-2(2) 1=5-2[72-14(5)] 1=15(5)-2(72) now what how to calculate the value of 'd'
I need to turn a password plus salt into a 256 bit hash. The hash is used as a key to encrypt / decrypt a database on an iPhone, so it need never be generated outside the phone. It also need not be moved to a different iPhone. Currently we use a standard hash function with lots of rounds, to make a brute force attack h...
As stated int he question, is compression methods list in the client_hello in TLS 1.2 a mandatory field (it is clear that it is mandatory in session_resumption, but not clear to me whether it is mandatory in the new session case)? Reference to the standard TLS 1.2, RFC 6246, chapter 7.4.1.2 (formatted): compression_me...
In section 6.3. Key Calculation in the standard documentation here, I see the following: The master secret is expanded into a sequence of secure bytes, which is then split to a client write MAC key, a server write MAC key, a client write encryption key, and a server write encryption key. To generate the key material,...
I am implementing Shamir's secret sharing scheme on arbitrary binary files. I don't intend to use this; this is a project to help me explore cryptography. In setting up the finite field arithmetic, I chose my field to be GF(257). My understanding is that a prime GF is needed to ensure that a single modular inverse ...
It seems like there are a lot of algorithms in number theory which I would classify as "deterrent" algorithms -- for example the various number field sieves for factoring, Coppersmith's algorithm for discrete logarithm -- which effectively serve as a benchmark for the cost of attacking a cryptographic protocol. They ha...
There's been a lot of talk about encryption that can be done by hand, but what if the user is allowed an adding machine? Let's say addition, subtraction, multiplication, and division are easy. Memory (i.e. the user writing things down) is possible but undesirable. Are there any good encryption algorithms that can be pe...
After hearing about what happened with the election in Kenya and the related discussion about a “tamper proof voting system”, I was wondering how the use of cryptography could be used to make a tamper proof voting system? I have had a basic look at zero knowledge proofs, but I do not know how these and other protocols ...
I am looking into zero-knowledge proof-based security. I noticed that a server never needs to be sent the user's password to authenticate them - the password can be used to generate another value that is sent instead. The server has the password so it can generate that value on it's side. This way the user can prove th...
Reference to TLS 1.2 standard documentation section 6.3 regarding the key generation here: To generate the key material, compute key_block = PRF(SecurityParameters.master_secret, "key expansion", SecurityParameters.server_random + SecurityParameters.client_random...
Let $(R , \chi$) be a standard RLWE problem instance. I.e. $R$ is a finite degree polynomial ring over a finite field and $\chi$ is some gaussian distribution over R with small variance. I wonder if the following promise problem is hard. Let $a_0$ and $a_1$ be two random elements from $R$ The challenger choses a bo...
Given a cryptographic hash $H:\{0,1\}^*\mapsto\{0,1\}^N$ and data $D\in\{0,1\}^*$, the Hashcash/Bitcoin Proof-of-Work entails finding a nonce $x$ such that $H(x\Vert D)$ begins with $d$ leading zeros, for some difficulty target $d$. Given a family of pairwise-independent hash functions $h:\{0,1\}^m\mapsto\{0,1\}^n$, a ...
Solving Learning with Errors(LWE) with average case complexity is as hard as solving the SVP with worst case complexity. LWE requires $n$ dimensional lattice and $m$ samples of it, and Decisional-LWE is form of $(\mathbf{A},\mathbf{sA+e}) \approx (\mathbf{A},\mathbf{r}) $ My question is why the random matrix is the for...
For example, let, $p$ and $q$ be two large prime numbers. We set $n = p \cdot q$. Now, let $a \cdot b = c \pmod n$. Given $c$ and $n$, is finding the factors $a$ and $b$ computationally difficult? I can alternatively ask, is integer factorization modulo a product of primes an NP-hard problem?
Based on RFC 1321 after we recive a message if message size is less than 64 Byte we will append it with a 0x80 and message length + zeroes until it's 64 bit and then generate the digest. The question is what will happen to exact 64 Byte? based on specification: Padding is always performed, even if the length of the me...
It is knowns that SHA-1 has been broken in practice using collision attacks. Related to SHA-1 this mainly had a negative impact on the security of Digital Certificate signatures Email PGP/GPG signatures Software vendor signatures Software updates ISO checksums Backup systems Deduplication systems etc. Thinking about ...
I would like to know how to express a coin flip based random generator mathematically. I have recently started Dan Boneh's Cryptography 1 and in the slides a pseudo random generator G, which outputs n-bit sequences, is defined as $G:K \rightarrow \left\{0,1\right\}^n$. So following this I have come up with this for a c...
I am currently designing a hashing function based on a mathematical formular to calculate the size of an arc on a circle with the radius 1. From that I made a small hashing function which works kind of like this: f(n) = n² * π / 180 Then I only take the decimal places and convert them to hex. I remove the first three ...
I am having trouble understanding one part of the AFGH algorithm for proxy re-encryption (my background in discrete mathematics is lacking a bit). The paper describes the algorithm setup the following way: "To minimize a user’s secret storage and thus become key optimal, we present the BBS [Blaze et al. 1998], Elgamal...
Why is lattice-based cryptography believed to be hard against quantum computer? Learning With Errors(LWE) problem (reduction to SVP) is just one example. Can you provide some intuition of the hardness?
I very well understand the Diffie-Hellman key exchange method, at least I think I do. And I was trying to implement it to try it out. I went and calculated a very large prime number $p$ about 400 digits long. And i set $g$ to 5. I generated a random secret number $a$, for example: 42523434. The problem I'm facing is wh...
I have some confusion regarding the difference between MACs and HMACs and PRFs and when to use which term. If the function is computed using a hash and secret key like the following, is this a HMAC or MAC? MD5(master_secret + pad2 + MD5(handshake_messages + Sender + master_secret + pad1)); If I have a tag for verifyi...
As the title says: do we know already for sha256 what input would yield the same output as when using no input at all?
I'm trying to design a system using proxy re-encryption (PRE) to allow the sharing of data between a user (delegator) and other users he delegates access to (delegatees). The goal is to use a PRE scheme to prevent the sharing of the delegator's private key. I wanted to have a DB where all data is encrypted, each deleg...
I have a small embedded device (let's call it "eDev") that needs to upload sensitive information to a cloud storage server (lets call it "CSS"). The requirements for communication are as follows: Strong Asymetric encryption on the communication between eDev and CSS. eDev and CSS should be authenticated to each other (...
I have read that stream ciphers can be used to encrypt messages/streams of arbitrary length (cf. the description of the stream cipher tag). However, there are stream ciphers that create a keystream of fixed length and XORs message and keystream bit by bit. Therefore, I wonder, what happens if the message length is lon...
In TLS 1.2, section 7.4.3 in the standard documentation on Server Key Exchange Message, it says that the parameters covered by the digital signature are as follows: dh_p The prime modulus used for the Diffie-Hellman operation. dh_g The generator used for the Diffie-Hellman operation. dh_Ys The...
Under which condition is $f : x \mapsto x^e \mod n$ invertible? I mean, for each distinct $x \in \{0, 1, 2, \ldots, n-1\}$ the result is distinct? Is that $e$ must be coprime with the totient of $n$ ($\varphi(n)$)? I read several articles on RSA, but this point is still not clear to me.
After reading about RSA encryption in wikipedia I managed to create two number, a number d which is the private number, and a number n which is the public number. But when I tried to use these keys to encrypt and decrypt php seems to prefer functions such as openssl_public_encrypt and libraries like phpseclib which see...
I've been trying for a while to understand why this paper is correct: ftp://ftp.inf.ethz.ch/pub/crypto/publications/Fischl05b.pdf. The idea is a NIZK-POK where you require the hash of the commit-challenge-response to be small. This is supposed to force the prover to make multiple hash queries for each commit, which con...
In some papers, they just wrote that proactive secret sharing scheme is a secret sharing scheme which its shares are periodically updated. Does it have formal definition ?
I am completely new to cryptography and am interested in encrypting two basic text strings into one encrypted text that can be accessed separately with two different keys (preferably using something easily accessible like 256bit AES). For example: Text1= I like peanut butter Key1= Password1 Text2= I'm allergic to peanu...
Multipart question all related to AES encryption with MariaDB. Strangely enough, it looks like even today MariaDB only has AES with ECB mode. MySQL allows CBC and more I believe. Anyway I'm stuck with MariaDB and luckily in this situation, the highest level of security is only a nicety and not a requirement. I'm as...
This question may seem annoying to some scholars as it is a very silly question but as I am new on this topic, it seems quite confusing. All minimal polynomials or primitive polynomials are considered as irreducible polynomials but all irreducible polynomials are not considered as minimal/primitive polynomials. Can...
With hybrid cryptography, I want to encrypt a message intended for multiple recipients. This can be archived (as described here by creating a symmetric secret key, encrypt the message with this key, and then include an encrypted version of the secret key, encrypted with all of the recipients' public keys. I wonder if i...
So I've come across the following algorithm for hashing passwords function hashpassword($str, $salt) { $hashed_password = md5($str); $hash = md5('more_salt'); $hash = sha1($hash.$salt); $hashed_password = crc32($hashed_password.$hash); $hashed_password = sha1($hashed_password.$hash); $hashed_password = md5($hashed_pass...
Can we have single hash function both for data integrity and key derivation function? Why and Why not? Any link describing difference analytically will be appreciated. Thanks.
In the cryptosystem based on Ring-LWE, the noise amount is measured by canonical-embedding norm. What is the intuition behind canonical-embedding?
Am doing some work on privacy preserving classification on encrypted dataset. Pls really need a clarification. I encrypted a dataset (plaintext) with AES scheme and get a cypher text. I was able to use a machine learning tool WEKA to do a data mining operation(train and classify) on the cypher text I decrypt the cyphe...
I'm currently learning about one-way functions. I have a book with the following exercise (Sadly there is no solution in the book...) Let $g\colon \{0,1\}^n \to \{0,1\}^n$ be a one way function. Prove that $f\colon \{0,1\}^{2n} \to \{0,1\}^n$ with $f(v,w) := g(v)⊕w$ is NOT a one way function. I don't really get h...
Let's say we generate a 256-bit key like: secret = base64(csprng(32)). Assume someone using the secret ascii-decodes the base64-encoded string and uses the output as a key (i.e. ascii_decode(secret)). Note that in this specific scenario the key is used in a HMAC-SHA256 function. What are the security implications of do...
I am trying to use the Blowfish algorithm, however, I am trying to understand SBoxes that were used in the algorithm. I saw that it uses the hex digits of PI. I looked around in the web and found some codes that implements Blowfish and saw that they're using hardcoded SBox int arrays. For example, in here: https://www....
On a given elliptic curve I have some points that are defined like this: Where $$A=a*G$$ $$B=b*G$$ $$C=(a+b)*G$$ $$D=d*G$$ $$E=(a+d)*G$$ So finally I have two equations like below: $$A+B=C$$ $$A+D=E$$ Given the values $(C,E,A)$, is there any way I can prove that point $A$ is common in both the points $C$ and $E$? Or ca...
Is there a way or how to predict the output size as a result of encryption from 3DES, AES-128, AES-192 etc ? So that I know how to store them in the data in DB given a known possible clear text length.
I am currently analysing a client-server application which apparently uses RC4. I've got the secret key and nonce and I was very surprised about the approach they encrypted the packets. Since I am no cryptography expert I will explain what I did so that it works. I created a string with the full key (nonce + secret) a...
In the document http://web.cs.ucdavis.edu/~rogaway/papers/eax.pdf (p. 7) Rogaway et. al. state that EAX is not a generic composition of an encryption and an authentication method. The EAX algorithm is given in the following Image: (the image is taken from p. 7 of the referenced paper and simplified by omitting the a...
I read in a book: mastering bitcoin that one should not create his own random number generator and instead use a cryptographic secure pseudorandom number generator (CSPRNG) Why is it so? Say I'm writing a simple python code to choose a number between 1 and 2^256 in the following way: create an array with 256 bits, fil...
I am using polynomials to represent bit vectors, such that the value of the d-th coefficient is $1$ if the d-th bit in the vector is $1$, and $0$ otherwise. For example, the vector $A = [1, 1, 0, 1, 0]$ is represented by the polynomial $P_A(x) = 1 + 1x + 0x^2 + 1x^3 + 0x^4 = 1 + x + x^3$. I understand that I can find t...
First of all I would like to understand how twists are used in pairings. The 2nd step is, how to use them to improve the calculation speed? Say $E'(\mathbb F_{p^2})$ is a twist of $E(\mathbb F_p)$. I just thought about choosing $m_1,m_2\in (0,\lfloor \sqrt{\operatorname{ord}(E)} \rfloor)$ randomly, define $m=m_1+m_2\cd...
First of all, this is purely a thought experiment. The width of Gimli isn't even a power of two (384 bits), and secondary storage bus speeds aren't even worth using a high performance permutation like Gimli. So from a practical perspective, this is totally pointless. But it's nonetheless an interesting one. And from i...
I recently had an exercise that read: Encrypt the message "easy question" using Caesar Cipher defined as: C=E(P)=(Pi+3) mod 26 What is this formula and how to solve it?
I am trying to create an isomorphism between GF($2^8$) and an extension field in GF($(2^4)^2$). The finite field GF($2^8$) uses the Rijndael(AES) irreducible polynomial.In this field I have found 128 generators(G1). I have found 3 irreducible polynomials(IR1) in GF($2^4$). For each irreducible polynomial, I have found ...
Most modern cryptographic hash functions use some form of compression function combined with a construction such as the Merkle-Damgård (MD5, SHA1, SHA2, etc), the Sponge construction (with Keccak as a notable example) and variants of these constructions in order to allow messages of indefinite length to be processed. I...
I am reading this document and wondering the following part on page 13: "Consider applying Gaussian elimination to the noisy samples to find the first bit" If we take, for example, $n = 3$, $s = (1,0,1)$, $x_1 = (1,1,0)$, $x_2=(1,1,1)$ and $ x_3=(0,1,0)$, what will $q$ and $S⊂[q]$ be? Also, how to confirm the probab...
This is a soft question regarding comparisons between government security services (eg, NSA or GCHQ) and open-source research (e.g., academia). Hopefully it's on-topic for this site! In essence, my question is the following. How far ahead (if at all) of of open source (specifically academic) research are governmental ...
Just wondering if a two-way fixed-length hash function exists. I'm not talking about encryption where your output is the same size if not larger than your input. I guess the best way I can put it is "like SHA or MD5, but also reversible." (I know SHA and MD5 aren't reversible by design, but you get the point).
for example: if we have public key : (5,221) and private key : (77,221) and we want to encrypt 1: c(m) = (m)^p mod n c(m)=(1)^77 mod 21 =1 so how to deal with that? is there some work around ?
As far as I understand, there isn't an easy algorithm to find the generator of a cyclic group used in DH Key exchange. Is it true? Given a large prime number like, e.g. 0x614423aaf0d10001f7d7, how can a generator of its group be computed (and checked that's true)?
I want to design an API-based system that is able to securely encrypt a stream of data received on behalf of an external user in such a way that the data can only be decrypted using a secret that only the user knows (i.e. after encrypting the data, the server itself would not be able to decrypt it again). Naturally, my...
I am trying to perform Cryptanalysis on Affine cipher . Given Plain Text "GO" and cipher text "TH" We know , $G =6 , O=14 , T=19 , H= 7$ By brute force method I'm getting key $(a,b)$ as $(5,15 )$ But by known plain text attack method $6a + b = 19 \\ 14a +b = 7$ on solving the equations . im getting $-8 a + 0 = ...
Yes, it would take days. I am not in a rush, nor trying to solve any problem...I just like Maths. There is a video floating around (citation/source to come) of someone doing the first round of SHA-256 by hand. It seems straight forward, but I have no idea what the second round looks like. Do I use the old values fro...
I was reading through the SHA3 standard (https://dx.doi.org/10.6028/NIST.FIPS.202) and in the standard it defines how to construct 3D state array from a 1D array. The state array is defined as follows: For all triples (x, y, z) such that 0 ≤ x < 5, 0 ≤ y < 5, and 0 ≤ z < w, A[x, y, z] = S [w(5y + x) + z] This indexin...
I'm still not sure why it has highest entropy (higher than uniform distribution). What is the intuition of it?
H = ripemd160(sha256(ECMultiply(A,G))) A - 32-byte number, H - 20-byte number, G - generator point, ECMultiply - elliptic curve point multiplication. Is it true that there is many A that have the same H?
I am trying to understand the background processes within the CCMP. However the concept of CTR and CBC-MAC made me lost. According to the CCMP Encapsulation block diagram there are inputs like Plaintext MPDU, TK, PN, KeyId, etc. What is the temporary key (TK)? Which part of the diagram represents CTR and which one is ...
More specifically, say we have one RSA accumulator $A_{S_1}$ accumulating set $S_1$ and another RSA accumulator $A_{S_2}$ accumulating set $S_2$. Does there exist a sublinear method to securely verify that another RSA accumulator $B$ accumulates the set $S_1 \cup S_2$, given only $A_{S_1}$ and $A_{S_2}$? All accumulato...
Supposed that I get an ID from third party (in this case, Telegram ID which is the range $-2^{31}$ to $2^{31}-1$). I want to store the ID securely and privately into my database by hashing it. I don't really care what the ID is, but I do really want to store the ID uniquely without actually storing the real data. The ...
I am interested in representing p = 2^255 - 19 in the Ed255519 curve as hexadecimal byte representation. When I was looking through the original NaCL source code written by DJB, I saw a code fragment that says: static const unsigned int minusp[32] = { 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
I have two integers $x,y$ which are encrypted using a homomorphic cryptosystem, probably Paillier. I am looking for a (one-party) protocol that, given $enc(x)$ and $enc(y)$, returns a bit $b = 1 \iff x \geq y$ (b plaintext) without knowledge of the private key. I found several solutions for Yao's Millionaires' Problem,...
NIST algorithms include ECDH and ECDSA. NIST also specifies curves. Is the use of NIST curves required for FIPS certification or could other curves theoretically be certified if someone were willing to do the work?
Is it possible to come up with an NxN S-box which would have a difference distribution table with N entries of 100% probability? I am studying the properties of S-boxes and I don't quite understand how a poorly designed S-box can destroy all the cipher's security. For example, if one replaces the AES-256's S-box table ...
If one were to create a SHA256 hash using 256 coin flips converted to hex (which, as I understand it, is as "entro-phized" as one can capture in SHA256) then take that hash as a string, combine that with a hash of the word "cat" and hash the resulting 512 character string, would the resulting hash from that exercise be...
please help me with this What are the differences between Encrypt+Compress and Compress+Encrypt When and where do we use them, explain it in a scenario Thanks & regards Pavan
When one OpenPGP public key is signed multiple times by different keys, how these multiple signatures become visible on one OpenPGP certificate/key? For example, I participated in a key signing party and got my public key signed by different people, some people emailed me my signed key, some people uploaded the signed ...
In https://eprint.iacr.org/2017/630.pdf and https://gimli.cr.yp.to/gimli-20170627.pdf there are test vectors for the gimli hash function. I have compile the reference C code test_hash.c from https://gimli.cr.yp.to/gimli-20170627.tar.gz on two systems (Intel x86/Win, ARMV7l GNU/Linux) and consistently get results that d...
Which cascade in VeraCrypt is the safest? (assuming same password, keyfile strength etc) a] Serpent(Twofish(AES)) b] AES(Twofish(Serpent) What could the difference be? I can't think of any and I don't uderstand why there are 2 options. Which one would you choose and why?
My friend's server was recently hacked and I'm trying to decipher the malicious files I found in hopes of understanding the hack better. I can tell that they're using an XOR/Vigenère cipher and I've tried to learn everything I could about that on my own, but while I am a programmer I'm not a cryptographer and most of w...
Consider a variation of AES with modified Key-Schedule and following observation on the Key Schedule. If there exists a relation d between two Master keys, the key schedule is so weak that all sub-keys generated from the master keys have a relation d Then how this aspect of a cipher can be exploited in the following sc...
For example, I was on a key signing party. After a party, one person signed my key with full trust and sent this signature to me by email. Then that person changed their mind and signed my key with marginal trust and uploaded that signature to a key server by themselves. I have uploaded first signature with full trust ...
For example, I have my key listed on a key server. On one day a key issued on the name of Julius Caesar signs my key. Obviously this key is a fake key and I want to remove its signature from my key can it be done? Can I block unsolicited signing of my key? Can I make signatures appear on my key only when I have validat...
Recently we have seen a lot of papers on Post-quantum key-establishment (key encapsulation mechanism or Key-exchange), largely due to the standardization call of NIST for PQ-protocols. However, most of the work for example : Kyber, NTRU-prime, NTRU-KEM focuses on key-encapsulation rather than Key exchange. Now my quest...
Have you ever seen key with dozens or 100+ signatures? Link to it will be very much appreciated. I have read that old Zimmermann's key had a lot of signatures on it, but I was not able to find it. In fact when I search MIT key server I am not able to search for 'Zimmermann' name at all for some reason.
Is signing something 2 times with two different 128 bit keys as safe as signing once with 256 bit key ? Does signing 2 times with 256 bit key will make it stronger than signing once ?
What would happen if you added two inputs, one known and one unknown, both encrypted with a fully homomorphic encryption scheme, and then checked the result by dividing it by two? Wouldn’t this tell you if the data is identical?
I understand that all zeros or all ones would be weak for any cipher. And certain ciphers, e.g. DES, have a list of weak keys. But I assume that there would many 'patterns' that would be detected (if that is the correct term) as weak. For example, 0x0505 ...05, 0x1010...01 and 0x0A0A...0A. Or other patterns such as hal...
I wrote the following protocol. I wrote the code. I do not know how to write the rest of the code. please guide me. usertype SessionKey; usertype TimeStamp; hashfunction H1; macro sessionkey = H(); protocol SCiSH(A,HG) { role A { fresh VA,RA,NID,VHG,RHG: Nonce; fresh T1,T2 :TimeStamp; var IDA,IDHG,SK; ...
Here we can see the suggested key-length by NIST in a few decades: https://www.keylength.com/en/4/#Biblio10 Does this consider quantum-computer?
From the OpenSSL Wiki: Also note that the derived shared secret is not suitable for use directly as a shared key. Typically the shared secret is passed through some hash function first in order to generate a key. My understanding of ECDH is that it generates a very secure shared secret. Why does it have to be hashed ...
Recently, I've been wondering what happens when I combine two stream ciphers $f_1$ and $f_2$ by xoring the keystream, so the final cipher would be: $C = P \oplus f_1(K_1) \oplus f_2(K_2)$ $P = C \oplus f_1(K_1) \oplus f_2(K_2)$ Obviously, the keystreams shouldn't be the same because they would negotiate each other, so ...
Is there a way to prove the accuracy of computations performed on homomorphically encrypted cypher text?
I am studying the ABE for my masters theses however I want to calculate the key and it's strength. I have done a research about the KP-ABE and I want to know the size of the key and how to determine it's strength because I want to decrease the key size yet keep a good security as well. What is the key size of attribute...
A friend described this cipher to me the other day, but if it has an official name, I'm unaware of it. The same 26 cipher alphabets that are used in the Vigenère cipher are used here, but rather than using a code word to determine which alphabet is used for a given character, the previous characters of the plaintext a...
I have been told to move the question to this forum in order to get a better insight, so here we go: Reading some questions in this forum I encountered this answer mentioning IND-CPA as a requirement for ciphers. It got me thinking about this paper I recently read, where a formal model of the Honest-But-Curious advers...
I know it sounds ridiculous, but hear me out. We know that good hashing algorithms would generate hashes that are pretty much unique. If, in the future, we create a perfect (or just really near perfect) algorithm, could those hashes be used to represent larger chunks of data in a totally unique way? If they truly were ...
OK It's cringe time (or hopefully not) I know this is probably a variation of an old and dragged out question or so you may think but let me ask away and hopefully get some insight. Google a while ago famously changed from AES to RC4 because of BEAST. RC4 however, is riddled with all kinds of leaks and problems that ar...
I have a new cipher, and I want to get it properly vetted, but I don't have a strong way to prove its security properties. I'm an amateur without ties to a strong cryptographer/university. I have attempted a few indistinguishability proofs, but these are "back of the napkin" proofs and are likely not rigorous. (I ha...
This questions is re GCM block-mode of AES. Assuming the TAG is cut to t bits, how can the strength of the cipher be calculated, that is, what is the Advantage of the cipher against CPA attack, and after how much authenticated data a new key has to be exchanged?
Given a PKI infrastructure with a root node that signs CSR's for nodes Alice, Bob, and Carol. Is it possible for Alice to encrypt some information, store it publicly somewhere, then later Bob or Carol can decrypt that information, without Alice, Bob, nor Carol directly communicating? The only thing they have in comm...
We have some simple PRNG, like a LCG or LFSR. Easiest is one that follows a output state, transform state cycle. Let's call that cycle an "iteration", and one of these outputs a "word". Knowing the PRNG used, and all parameters including the starting state, we want to take a given word, and assuming it does appear in t...
Suppose we define the "hard to invert" part in the definition of one-way functions differently: A function $\ f : \{0,1\}^* \to \{0,1\}^*$ is called uninvertible if it is easy to compute $f$ but there does not exist a PPT (polynomial time) algorithm $\ A$ such that, for every string $x$, on input $\ (1^k; f(x))$, $\ ...