instruction
stringlengths
32
27.2k
The SafeCurves project provides a Sage script to verify the SafeCurves criteria for given curves, https://safecurves.cr.yp.to/verify.html According to the description, the script works simply as: $ sage verify.sage curves/nistp256/, where curves/nistp256/ is a folder containing the following files: p: the field prime,...
I have implemented Ed25519 for a constrained-memory system, and I want to provide a Shared Secret functionality. The recommended method is to use X25519 for this; but then I would have to implement point multiplication over the Montgomery curve Curve25519, which I don't really have room for. Would there be any downside...
$g^{ab} \pmod{p} = B^a \pmod{p}$ where all variables are known except $a$. In this case, I have an equivalent value for $a'*b'$, but this is not the same as the real values of $a*b$ due to the modulus. Everything else including the generator, the prime, $B$ public, the shared secret (or value of both sides of the equat...
Given (N, e , d+p, c). Is it possible to get m? details: p = getPrime(1024) q = getPrime(1024) N = p * q phin = (p - 1) * (q - 1) e = 0x10001 d = gmpy2.invert(e, phin) print d + p print pow(m, e, N) print N #1340388460996257535052425761052956928500894308052330734613495368533777673972430632773487658806112416306264533725...
You allocate a 1MB array. Salt the password (this is the only time the salt is used other than being stored at the end) and hash the password with SHA256 8 times. Place 31,250 copies (125,000 was an error) of the first hash to fill the array, so it cannot be de-allocated or used for anything else until the process i...
I have two separate system (client) and (server). I am having a problem which is to encrypt a message from the client and decrypt at the server. In order to do that, I am required to transmit my key along with the message through UDP packets. However, is there any possible ways to ensure the key is transmitted securely...
Where can I find NIST's reasoning to eliminate NewHope from the 3rd round of the post-quantum competition? I see all the lattice KEMs finalists are based on modules. Is being a ring-based KEM contributed to their elimination? In this case, is there any recent development in cryptanalysis on ideal lattices that can pos...
I’m applying for a mortgage loan and I recently made a large deposit into my bank account from crypto stored on a ledger hardware wallet . I sent the funds to Coinbase where I converted to usd and withdrew into my bank account. The mortgage lender is giving me trouble about providing proper documentation. I mined most...
Let $f$ be a function that takes a database $D$ as input and returns a real number. Assume that $f$ has sensitivity 1: for any databases $D_1$ and $D_2$ differing in a single record, $|f(D_1)-f(D_2)|\le1$. To protect the results of this function with $(\varepsilon,\delta)$-differential privacy (DP), one can add noise t...
I know that $$mac=\operatorname{SHA1}(secret\mathbin\|message)$$ is prone to length extension attacks, but what about: $$mac=\operatorname{SHA1}(\operatorname{SHA1}(secret\mathbin\|message))?$$ In order for someone to do a length extension attack of that, won't they either have to bruteforce the secret or bruteforce th...
The Linux kernel has an entropy source and it estimates its amount of bits in the device /proc/sys/kernel/random/entropy_avail. How can I verify that this number makes sense? I did the following experiment. The system in question is: # uname -rvmpio 4.15.0-1050-aws #52-Ubuntu SMP Thu Sep 12 19:56:00 UTC 2019 x86_64 ...
Computational Diffie Hellman problem wants to know $g^{ab}$ given $g^a$, $g^b$ and $g$ while the discrete logarithm problem wants to know $x$ from $g^x$ and $g$. The latter resolvable in polynomial-time implies the former as well but a converse result is not known. What are the consequences to cryptography if Diffie-He...
I am looking for a comprehensive list of the IOC values of any or all classical ciphers. I can't find a list, only pieces. Each cipher has an average IOC value, and I was wondering if there was a comprehensive list of these values for every classical cipher available. Can anyone share a list of these IOC values?
In ECDSA, with knowledge of private key, can we make signatures with partially chosen content? Detailing that: In ECDSA (with secp256r1 curve and SHA-256 hash), assume we know the private key, the message, and can choose the per-signature random. It that helps, assume we can choose the private key, and some of the mess...
Will the signature algorithm be ECDSA and key (i) ECC key or (ii) ECDHE and ECDSA keys?
I am using the following chacha20poly1305 Rust library to encrypt some data in a desktop application. The user provides the key, which never leaves their device, to locally encrypt some data, and then the encrypted data is sent to a server for backup purposes. This library requires a nonce in order to encrypt the data,...
I've read and I discovered that it's not possible to derive the public key from the public address because of the hashing algorithm.... But is/are there any alternate way/ways that it can be calculated that the restriction may probably be time complexity like brute forcing for the private key in ECDSA? What I actually ...
I have one honestly question: How can we are so confident with the use of the common hash algorithms (nowadays there are so many pages with cracking tools: crackstation, gpuhash, etc) ? Are we lost with our goverments behind us? Does anybody got some new idea of one new possible secure algorithm? Why if someone got an ...
I have to present an ieee paper at my college, and I picked up a topic based on KP-ABE encryption and the paper doesn't have the size of plaintext, key and ciphertext in it
If hash function is collision-resistant, then its associated HMAC is always unforgeable. But suppose that a hash function is only second-preimage resistant, not necessarily collision-resistant. Then my question is, its associated HMAC always unforgeable?
I was actually wondering... How long would it take to crack/brute force a 32 bit key/encryption and a 16 bit key/encryptions respectively on a 4GHZ and a 2GHZ PC. I know that a 32 bit integer has 4,294,967,296 combinations while a 16 bit number has exactly 65,536 combinations but I don't know how long It'll take. and w...
There are many limits on key size. As far as I know 56 bit in USA and 40 bits in India without license. On the other hand much higher 128 bit or 1024 or 4096 bit for banking and other purposes. So what will one do (I am not starting any banking business or something, just asking in case a man wants to make a secure ap...
I've been messing around with SEAL library for a few days and I've got a following question. I've got a bunch of datapoints [x_1, ..., x_n], n < poly_mod_deg of type 'double' and I use batch encoding and CKKS sceheme to calculate their average and variance. Calculating average works fine and I like the result, but I wo...
As of Linux 5.1 the /dev/random no longer uses the blocking pool. There is a talk about the change on the page Removing the Linux /dev/random blocking pool I believe that Linux's blocking pool has outlived its usefulness. Linux's CRNG generates output that is good enough to use even for key generation. The blocking po...
I have been searching but can't seem to find any proper articles that explain the real world use cases of Message Authentication Code. Can someone please shine some light on this?
Is changecipherspec a part of handshake message in transport layer security (tls) 1.2 because according to rfc5246"ChangeCipherSpec messages, alerts, and any other record types are not handshake messages and are not included in the hash computations. Also, HelloRequest messages are omitted from handshake hashes."
I know that TEA has its weaknesses, but is easy to implement. My question is whether it would be suitable for my use case: The main reason for using encryption is not so much secrecy, but authentication and protection against interference. I have a number (max 20-30) of GPS trackers, which send their location by radio...
In my algorith execution time depends on the size of the key. It is a linear relationship (probably). The larger the key, the longer the algorithm takes to run. I have a code in Python so far. For example for 3-bit round keys it runs 1 sec and for 128-bit round keys it runs 4 sec (for some number of inputs). Is this a ...
I am wondering if there exist some special rings $R$ that gives us, under the canonical embedding, some special lattices, like the root lattices, Barnes-Wall lattices, Leech lattices, ... In more details, is there some rings $R$ such that $\sigma(R)=D_n, \, A_n, \, BW^n ...$?
I am looking for a secret sharing scheme that is robust against noise, the shares are going to be noisy. We do not want to reconstruct the secret perfectly and a noisy reconstruction with a bound on noise is good enough. Assume we are using $(n,k)$ Shamir's scheme to distribute a secret among $n$ parties so that we nee...
I listened to a talk on NIZK a while ago and vaguely remembered the speaker mentioned something like - A scheme that is statistically sound and computationally ZK in common reference string model could become computationally sound and statistically ZK in common random string model. I couldn’t remember the exact talk an...
There's this rather popular open source project (I'd rather not name it before possible responsible disclosure) that computes a P256 ECDH shared secret (256 bits) and uses only first half of it, rams it through a KDF, and uses the result as a 128-bit AES key. I'm wondering if that's problematic regarding its security s...
I'm looking to learn more about FIPS compliance. I noted that it seems FIPS 140-2, is a holistic article, that then cites sub articles like FIPS 197... It's tricky to ascertain the full picture. Is there a document anyone knows of that will specify: Approved symmetric ciphers Approved elliptic curves Approved signatur...
I am doing a crypto challenge for breaking a Vigenere style repeating XOR encryption (https://cryptopals.com/sets/1/challenges/6). I have looked at similar questions asked here, mainly this one: Finding a keylength in a repeating key XOR cipher But I am still unabe to determine whats the best way to find the length of ...
I understand that many cryptographic algorithms depend on the difficulty of large prime factorization. Will a list of all prime numbers upto certain number of bits make it easy for an attacker to compromise such algorithms?
I cannot find a rigorous definition of what the "proof of possession" attribute means. Different webpages seem to give conflicting definitions: Some of them say that it means, literally, proving that you possess a value (a key or a password): https://www.w3.org/2012/webcrypto/webcrypto-next-workshop/papers/webcrypto2...
I recently read about "functional encryption" which seems interesting, although I didn't understand yet how it works ... but is it possible to combine it or adapt it with homomorphic encryption in the context of neural networks particularly. Suppose you have a neural network that you run over some data encrypted homomo...
On paper, it sounds *very* good to me: secure fast (in my tests it's somewhat slower than ECB (but without most of the weaknesses, more on that below) but faster than every other alternative I tested, which were ECB, CTR, CBC, OFB, CFB written in order of performance (link to benchmark code) ) simple to understand doe...
The central part of the RSASSA-PSS signature scheme of PKCS#1 is the EMSA-PSS encoding operation, described in section 9.1 of the standard. This encoding method makes use of a padding (titled Padding1) which is simply eight zero-bytes (0x00). The concatenation of this padding, the hash of the message and the randomly c...
I am searching for some new research areas in ECC for my masters' project. My professor suggested me to go for Image Encryption using ECC. But I am clueless as to what are the new directions possible in such an area.
I am mainly looking for security on 2-key $\operatorname{3DES}$ implementation where $K_1=K_3$. How hard or easy is it to crack $\operatorname{3DES}$ when $K_1=K_3$?
I've been trying to solve this question from Forouzan's book ("Cryptography And Network Security") and haven't been able to wrap my head around how to solve it. The plaintext “letusmeetnow” and the corresponding ciphertext “HBCDFNOPIKLB” are given. You know that the algorithm is a Hill cipher, but you don’t know the s...
Suppose you have a function $f$ that takes a dataset $D$ as input and returns an output in $\mathbb{R}^d$. If this function has $L^2$-sensitivity $\Delta$, then the analytical Gaussian mechanism (Theorem 8 in this paper) says that if you add Gaussian noise of variance $\sigma^2$ to each coordinate of result, with: $$ \...
Can machine learning be used to improve encryption algorithms e.g.image encryption algorithms that use ECC ?
My question is this: Are there any crypto hash implementations beyond 512 bits of output? Could you give me the link? Thank you so much for your time. Greetings.
I understand that non-extractable keys are secure because they cannot be exported. But I think many people would WANT to export their keys at some point if they don't want to risk losing everything. For example, if you stored all your app data encrypted using a WebCrypto non-extractable key and can't export the key, th...
What encryption schemes support this workflow? Vendor encrypts and publishes information for the client Client generates public and private key Vendor encrypts private information Vendor publishes that ENCRYPT(PRIVATE_INFORMATION, CLIENT_PUBLIC_KEY) --> Publish Client re-encrypts for benefit of a third party Client...
In public-key encryption, if the decryption algorithm is $$\text{Dec}(k_i,\text{Enc}(K_i,p))=p$$ where $k_i$ = receiver's private key and $K_i$ = receiver's public key what would be the algorithm for encryption? Would it be $$\text{Enc}(K_i,\text{Dec}(k_i,c))=c$$ Just looking for some clarification.
In anonymous credentials schemes, it is possible to anonymously prove knowledge of a signature. Proposals for anonymous credentials with attributes also include a method for proving statements about the signed attributes in zero-knowledge, i.e. proving to a third party verifier that the signed values are the opening of...
Let $f_a : S \to R$ is a family of functions indexed by $a\in P$. Consider the assumption that $(a, f_a(x))$ is indistinguishable from uniform, over the distribution of $a\leftarrow U$ (uniform) and $x\leftarrow D$ (some efficiently sampleable distribution). Is this assumption equivalent to, for all but a negligible fr...
This from Cryptography course from Coursera: Key wrapping or encapsulation using a KEK can be accomplished using either symmetric or asymmetric cipher For my information KEK solves the key distribution issues with symmetric keys, so only the involved party can decrypt the cypher with their private key, but doesn't us...
The CTR mode, with its CPA security, is one of the malleable block cipher mode of operations. An attacker can simply modify the bits of the ciphertext stream in their advance. This is due to the lack of integrity and that can be easily prevented with an HMAC. With Encrypt-then-MAC $$(c,IV) = \operatorname{AES-CTR}(IV,m...
When you know the Salsa20's keystream, how do you know the next keystream? In other words, can I infer the next keystream when I don't know the Key and IV of Salsa20, but the keystream is 0x100000? If you have any related attack papers, please recommend it. Or, I'd like to ask for some search keywords.
Is it possible for one party to encrypt some data and have another party (unknown to the first party) view that original data if a certain condition is met? I cannot find any information about this despite numerous searches. I might have the terminology wrong, or perhaps... it is impossible! I read about zk-SNARKS, a...
I'm trying to create a sort of Time-based One Time Password (TOTP) where machines are involved (not humans). In this kind of TOTP the step is 15 minutes between one code to the next one and both server and client share the same 256 bit secret key (k). The message (m) is the current unix timestamp that is known by an at...
In an one-time pad scheme, $s \oplus m$ is uniformly random for any $m \in \{ 0,1 \}^\ell$ if $s$ is uniform in $\{ 0,1 \}^\ell$. By the security of PRF, it seems to be secure to replace the truly uniform string $s$ with the output $F_k(r)$ of a PRF $F: \{ 0,1 \}^\kappa \times \{ 0,1 \}^\ell \rightarrow \{ 0,1 \}^\ell$...
My understanding is that there exists no strong pseudorandom permutation for which the Davies-Meyer construction is known to yield a provably collision-resistant hash function. Were I mean provably in the sense of invoking no assumptions like the ideal cipher model. But my question is, does there exist a universal con...
Consider we have a protocol, where multiple algorithms of it are run by an adversary. When we want to define a game for that protocol (or its security properties), I have seen that an adversary is defined as $A=(A_1,A_2,...A_n)$. Then each of them (e.g. $A_1$) calls a certain algorithm and outputs something (in other w...
I have a senario like " I want to save a email (like foo@bar.com) encrypted in Database (For example as 'asdjasjdna') after that I want to check when User enter this email and compare in database. Till now findings : I can't lookup in database using that email directly I can't convert incoming email to existing encr...
I have a pen pal that I discuss with. In our latest discussion it was proposed to write a short message that is ciphered and have the other one find what it is, given some clues. I would like to ask if its possible to have the same ciphertext that when decrypted with key "his_name" gives a result and if decrypted with ...
Is there any functional or strong security difference beyond speed between AES-GCM-SIV with implicit fixed public IV and no additional data AES-CTR (or AES-OFB) with 128-bit IV computed per HMAC-SHA-512 on the message, included at start of ciphertext, and checked on decryption when used with a key of the same length,...
One more type means one-more DL, one-more DHP, etc. I find many papers do the EUF-CMA security proof in this way. Is it necessary? What is the difference between proof based on one-more type assumption and one based on non-one-more type assumption? Is the one based on one-more type assumption stronger?
A variant of RSA cryptosystem is given as following: $$N=p*q$$ $$ed=1 \space \space mod \space \space (p^r-1)(q^r-1)$$ $$c= m^e \space \space mod \space \space N $$ $$m= c^d \space \space mod \space \space N $$ where $r$ is an a small integer and $p , q$ are primes , $e$ is public exponent , $d$ is private exponent Tri...
I'd like to know what are quantifiers in game-based security definitions (in cryptography) Some relevant examples and sources are also much appreciated. Edit: for example, in a formal definition, we say for any security parameters, any function $F$, etc. My question is what should be included in these quantifiers (sha...
I'm struggling while trying to resolve this exercise. I already read all questions about PRG and PRF here and some proofs around the internet but none of them helped me. let's consider a function $C$ as follow: there exists a polynomial $p$ for every $n$ in natural numbers, $C(1^n)$ is a sequence $\langle s_1,...s_m\ra...
Today I learned that for BTC, the probability of a hash being valid is approximately 1/(D*2^32), whereas D denotes to the difficulty. I was wondering if this is also the case for other cryptocurrencies or if this is something specific to BTC or the SHA-256 hash algorithm? If it is different for other cryptocurrencies, ...
I am trying to implement AES encryption on my own (128 bit key and ECB mode for now) and I can't seem to get expected results. From what I understand about AES algorithm is that it divides message in 16 byte blocks and transforms those blocks, yielding encrypted 16 byte block. However, when I tried using an online AES ...
I am writing an application using JSON Web Encryption with ECDH using the X25519 Curve. The RFC says that ECHD-ES derived secret is run through a Concat KDF. Given that many cryptographers seem to be bashing JWT and the JOSE standard for having too many options to shoot yourself in the foot I want to make sure I am not...
Advanced Encryption Standard has a ShiftRows() operation that cyclically shifts last three rows of 16 byte block as shown here. This process is explained here in further detail. But same documentation provides test vectors which have confused me a bit: round[ 1].s_box 63cab7040953d051cd60e0e7ba70e18c round[ 1].s_row...
I am wondering if there are any readily available solutions for the following problem: I have a ring-topology network with several devices connected to it, some malicious, some legitimate. I want to authenticate / establish a shared key between two legitimate devices, without the malicious ones finding out the key. The...
2015's Argon2 publication suggests that cryptocurrency hashing like password hashing on backend servers should not be subject to side-channel attack: Argon2d is optimized for settings where the adversary does not get regular access to system memory or CPU, i.e. he can not run side-channel attacks based on the timing i...
Do black box secret sharing schemes [DF90, DF94] have any advantages over the better-known secret sharing schemes like Shamir’s [Sham79]? [DF90]: Threshold cryptosystems, by Desmedt, Yvo and Frankel, Yair, in CRYPTO' 89, 1990 [DF94]: Homomorphic Zero-Knowledge Threshold Schemes over any Finite Abelian Group, by Desmedt...
in Rijndael SubBytes() step all bytes of input block are substituted based on a lookup table S-Box. S-Box is initialized by taking all elements of $GF(2^8)$, calculating their multiplicative inverse and then calculating their affine transform. Here is C code which does that as found on wikipedia page. #include <stdint....
We have $c_1=g_1^x$, $c_2=g_2^y$ and $c_3=g_3^{x/y}$, where $g_1,g_2,g_3$ are generator of a group of order $n$ and we don't know the DL between them. Is there any sigma protocol or zkp that can prove the language $L=\{c_1,c_2,c_3\mid \exists\, x,y, \text{ such that } c_1=g_1^x \ \& \ c_2=g_2^y \ \& \ c_3=g_3^{x/y} \...
I'm currently playing a bit with PyNaCl (python binding to libsodium) and I want to use the secretbox for symmetric encryption between two parties, which means they both must know the (in my case randomly generated) nonce, so I would just send it with the ciphertext. I derive the secret key with argon2id from a passwor...
From my understanding of Key Derivation Functions (KDFs), e.g. scrypt, Argon2, etc, we can tune their parameters such that it eventually becomes harder for an attacker to brute force a password-to-key through them. At this point, the attacker may directly brute force the, say AES128, key. It is nice to not over-tune t...
I have currently a problem which I am unable to solve. I want to implement an attack on AES after 3 rounds without the mix columns on the 3rd. The goal is from the last round to guess the value of each key byte of the last round key separately. So with my ciphertext (chosen by me), I should be able to guess the last ro...
Is it possible to know the sign (positive or negative) of an homomorphic ciphertext particularly under paillier scheme ?
I'm reviewing some questions given to me by a professor and am stumped on this one. My initial guess is that yes, this is possible, but I do not know how to explain it, specifically for a function $\{0,1\}^8\to \{0,1\}^6$. Any help would be appreciated!
SEC#1 recommends randomized hashing when using SHA-1 with ECDSA; SPHINCS+ uses randomized hashing in WOTS+ to defeat collision attack so as to reduce signature size. How does a randomized hashing defeat collision attack? What are the limitations?
In the future we may be setting up a system to secure a large number of symmetric (device) keys (a few million) by using HSMs. So, the keys themselves will be stored outside the HSM, but they will be stored encrypted by a key that resides in the HSM. We will setup two such systems with HSMs potentially from different m...
I want to know is there any way to derive the initialization vector, if I know all the other details. AES SHA 256bits CBC pkcs5padding Input: Hello Key: 123 Output: xORGCDL88sa8cUrK8JNSCQ== Now, how to find IV?
SUMMARY UPDATE: I have changed the title of this question from "Using an encrypted packet counter as a counter value in AES-CTR" to "Designing a secure UDP-based communication protocol", because the discussion surrounding this question has evolved from my initial specific inquiry towards a more general overview of prot...
As far as I know finding second preimage of a hash function is almost as hard as finding preimage. But I want to know that is there any way to finding second pseudo preimage faster than brute force? I mean ,for example, in MD5 for a given $h$ (hash) we have $MD5(IV_1 , P_1) = h $.is there any way to find $(IV_2 , P_2)...
I was analysing the Chacha20 algorithm and the Poly1305 MAC generation from RFC 7539. It seems that the Chacha20 is quite faster compared to AES on CPUs without hardware support like AES-NI. But Poly1305 tag generation contains 16-byte random integer multiplication with another for each 16-byte block of ciphertext. C...
I have been studying Oblivious Transfer for my bachelor's thesis and have been surprised at the number of variations of OT. From what I've read so far, the constructions proposed by Naor and Pinkas in "Efficient Oblivious Transfer Protocols" and "Oblivious Transfer and Polynomial Evaluation", as well as Tung Chou and C...
This question is similar to Can XEX or XTS modes be used with only one tweak? except I am interested to know if one can instead use $X = E_{k}(0) \otimes \alpha^j \\ C = E_{k}(P \oplus X) \oplus X$ in order to simply do a finite field multiplication and an aes operation per block rather than two aes operations per bloc...
Suppose I wrote a function $$(salt,IV ) = \text{keyIVGenerator}(passwd)$$ which generates a random salt of size 32-bytes and a random Initialisation Vector (IV) of size 16-bytes. Then, use a Key Derivation Function (KDF) like PBKDF2 to generate a key of length 32 bytes (dkLen=32). $$key = PBKDF2(password, salt, deLen)...
How is it possible to find a similar message-digest for SHA3-512 for the first 80 bits or so? There was a Q/A on this site where the answer stated that 80 bits that $2^{42}$ computations are required. But shouldn't it be $2^{40}$ considering the root of 80? Why did it state $2^{42}$?
I am trying to encrypt a file using AES/CTR/NoPadding. The goal is to re-encrypt the new/changed blocks and leave the old ones unchanged then generate a new MAC. My thinking is that when the file changes I’d identify the blocks that changed and encrypt the updated blocks while all unchanged blocks would reuse their exi...
Hypothetically, secret data could be hashed in some schemes in one way or another. Could chunking of the data lead to exposure of secret component through side channel? Say converting a randomized signature scheme deterministic by hashing the message with the private key to yield one-time variable (e.g. $k$ in ECDSA); ...
Let's say I have an API that accepts Plaintext and IV as input parameter and returns the ciphertext. I know that API is using AES 128 encryption but now I need to identify which encryption mode (ECB, CBC, OFB, CFB, or CTR) it is using. How can I identify the encryption mode? Any suggestion, hint or guidance would be mu...
It is obvious that changing even one bit in data or IV (initialization vector) will change the hash value a lot. I want to know if, for example, changing a single bit within the $IV$ in MD5 can be neutralized by changing the message data using a specific algorithm? I think the differential attack on MD5 can be helpful ...
I am trying to work out accumulators and generate $S = \{ e_1,e_2 \ldots, e_n \} $ from this (Section 3.4 - Choosing a Suitable Prime). For each element of $e_i$ compute its representation $x_i$.(This I want to calculate). To compute representation($x_i$) use following ( According to the paper $x_i$ should be calculate...
This was a question from my exam yesterday. We have that $G:\{0, 1\}^n\rightarrow \{0, 1\}^{2n}$ and $$G(x)=x\mathbin\|[x^2 \bmod 2^n]$$ with $x$ is uniform and $|x|=n$, give an efficient distinguisher $D(w)$ that shows that $G(x)$ is not a PRG. After writing a program that shows all values $[x^2 \bmod 2^n]$ can take f...
I understand that multi sig transactions exist so that X of N need to sign to release a transaction. If only 1 of N is required I guess any of the recipients can spend. This made me wonder, is it possible to encrypt something, so that any one of a set of people can decrypt the data? I suppose the data could be in the e...
Ciphertext:1rUHjDnJs09VNvxLiWZzL7PXeKUHvxFVG5GT59WdS6nvOZ1UypVbKlQTcl4orHFShQMBCFGH8+4+SlFDDv4+dUIcmd3zyaBnsXKCb9lMuGmMJkslgPFvgPKNWGsSVu4BhI6/42dGG3q0Lca465xeDaEKTj3Yan/59/+D5Sd6Cha3qwEWoITbR8zFgFNcOVLR Key:3917249 I was given this as a scenario for as an assignment, I've tried everything in the book to the best of my...
I don't have a proper computer science education, so bear with my misunderstandings. UC is supposed to "guarantee strong security properties". From what I stand, if you have some secure protocol, such as a strong block cipher mode of operation, you can't distinguish it from another protocol that looks pretty much the s...
I've read that I should use 2x the number of CPU available from some documentation while others suggest using between 1 and the number of CPU. I realize there is no hard answer here but I'm curious what the advised best practices are. Especially with such a variation in advice.
How can I convert a normal alphabetical text (say hi) to a 64 bit or 128 bit binary digit input for DES?