instruction stringlengths 32 27.2k |
|---|
Lagrange interpolation seems to be affected by the so-called Runge phenomenon when one tries to interpolate polynomials of high degree from a set of equidistant points.
Lagrange interpolation is used in some secret sharing schemes like Shamir's secret sharing, in which the polynomial being interpolated is not continuo... |
Let R1 and R2 be (32 byte) random values, and let a H = Hash (R1, R2, Message) be of the same length as each R value. Provided E (R2, R1, Message) is operating in some chaining mode, are there any known weaknesses of a scheme like this which aims to provide confidentiality and integrity? The hash could also be an HMA... |
This is for a PHP script for password generation.
Naturally there are other things being calculated before the password is generated.
But I figure the time it takes for the script to initialize and queue would make it decently pseudorandom.
Has there been studies on script execution time as a source of pseurandom numbe... |
I've posted this question over at superuser, but haven't had any success at getting answers. That's why I've posted it here. Furthermore, I believe this is a more appropriate place for it as it is questions about design of the encryption system and not about its usage.
How is LUKS dm-crypt secure if the key is stored w... |
I have a basic understanding of how strong encryption works on digital data. Bits can be changed so that they appear completely random and map one-to-one back to the original set, given the correct decryption key (and possibly other parameters).
But we always talk about digital encryption, never anything that would wor... |
How do I prove the following MACs are insecure?
1
2
|
I'm taking Prof. Boneh's crypto class from Coursera, and am unsure on the requirement for XTS mode for disk encryption.
It seems that CTR mode would do exactly what XTS can do, but is simpler to implement? In either mode, I will use the disk sector # to provide randomness to ensure that 2 sectors of same data will end ... |
I need to write some high-level security requirements which include a random number generator suitable for use in cryptography. I don't need something very formal, this isn't a security certification or a work order. I just want to go to the next level from “supply a proper RNG”.
A proper RNG should be built on a crypt... |
Are there any arithmetic or mathematical functions that can be used as PRPs or PRFs ? Since, Conventional block ciphers like AES are that are proven to be good PRPs are not based on mathematics but on other principles like confusion and diffusion etc.
|
How do you perform the Burmester-Desmedt key exchange Protocol, in Diffie-Hellman
extension protocol?
I've been searching high and low, but couldn't locate an example on how to prove if all the party is getting the same session key.
Here is the explanation that I got from the net:
I don't really get all the formula, ... |
So far I have researched timing attacks on RSA, We all know the ransomware named CryptoLocker uses RSA 2048 bit encryption. Now, is it possible to break the encryption using a timing attack. I have been gathering information about CryptoLocker, it’s a ransomware which encrypts files in the system with RSA 2048 bit encr... |
I am building an Apache webserver with TLS 1.2 and OpenSSL 1.0.1.
So far, I have enabled 2 encryption algorithms - ECDHE AES-256 GCM and ECHDE AES-128 GCM.
Firefox and Chrome / Chromium use NSS which currently does not support AES-256 GCM, but it works with AES-256 CBC. Because they do not support AES-256 GCM, they fal... |
My question is related to PBKDF2. I am unsure how to validate user entered password with already existing hashes and salts.
I have heard of the so called "length-constant" comparison which basically ensures that every byte is being compared rather than a simple string comparison. And this is part where I am confused a... |
Generally digital signature is a public key cryptography concept.But it needs high overhead.
So is there any publication or link available where 'digital signature using symmetric key' has been explained?
Can one generate an algorithm combining the public key and private key of RSA algorithm to make it a symmetric key?... |
I'm looking for a historical overview for the change in cryptographic power, which I hereby define as
How far state-of-the-art cryptography is ahead of state-of-the-art cryptanalysis.
In other words, how secure was a message encrypted with the best available methods from the attackers of its day, up to and including ... |
As far as I know, there are three standard options for the three keys $K_1$, $K_2$ and $K_3$ used by 3DES:
Three distinct keys.
The first and last key are equal: $K_1$ = $K_3$.
Three equal keys: $K_1 = K_2 = K_3$
I wonder whether there is a way to find out which one of these options is (most likely) being used, given... |
I know that ECDSA is used for signature only, but I wonder if I can use the public/private Elliptic Curve keys for encryption too.
I have ECDSA SSH public keys and I wonder if I can use them to encrypt data that only the matching machine could decrypt, writing the proper software.
Pointers welcomed.
|
I found the following paper really interesting:
http://www.researchgate.net/publication/220378229_A_family_of_implementation-friendly_BN_elliptic_curves/file/79e4150b3a773beecd.pdf
It allows construction of a subset of BN curves where it easy to find the sextic twist. For instance, one knows through the contruction tha... |
Is there any function $f : \mathbb{Z}_n \rightarrow \mathbb{Z}^\times_n$ that is invertible?
By invertible, I mean it given $y \in \mathbb{Z}^\times_n$, it should be easy to find $x \in \mathbb{Z}_n$ such that $f(x)=y$.
|
Currently I am developing an application that stores and reads encrypted data. The data is encrypted with AES and the actual AES key is derived from the users password (and some nonce) with PBKDF2 with many rounds (taking 500ms on my Intel i5-3570).
I want to use the keychain (like available in Mac OS or some other pen... |
I been going through some cryptography exercises and stumbled across this problem.
Discover message $m$. You know that $m = p * q$. Also $p ^ 5 \bmod N$,
$q ^ 5 \bmod N$ and $N$ are known numbers.
I am really lost and don't know where to start. Could anyone give some hints or point me to right direction where to re... |
Writing my last question, I saw the hash-signature tag.
I tried to research it best I could, but I'm simply overwhelmed in this field. I don't think it means to simply hash data before signing, but any detail beyond that is beyond me.
Is ed25519 a hash signature with respect to the tag? If so, is it believed to be re... |
This question is inspired by this recent one, which raises a point that need to be made quantitative to be meaningfully discussed. I chose an unusual approach: a new question worded as homework that could be asked in a computer security with applied cryptography class (please use meta for critics of that method).
Some ... |
I was trying to understand the procedure of the DPA attack on Stream cipher (like Mickey-128).
I learned that, the attacker need to build hypothetical power consumption matrix with different initial vectors. For example: using hamming-distance model to describe the power consumption based on R & S registers. But by doi... |
What RC4 key value will completely invert $S$ after the initial permutation, so that $S[0] = 255, S[1] = 254, …, S[254] = 1, S[255] = 0$?
|
I know about PBKDF2, bcrypt, scrypt, etc. and while I'm not a crypt professional, I think I understand why are they better than just "hash(pass+salt)".
But a colleague of mine surprised me with the following password hash function which he claims to be good, because
It is slow on CPU (takes about 2-3 seconds in i5)
It... |
I have stream of millions of short n-bit (n<30) messages generated by some random number generator. The source of random number generator is not available to me.
I suspect there are messages used to convey information generated by some third parties and injected into the stream. I what to test the hypothesis of such me... |
The public key for RSA is $[e,n]$. Since $n = p * q$, are $p$ and $q$ already exposed because it takes no effort to figure out $p$ and $q$ from $n$?
|
We're using OpenSSLs EVP_aes_265_xts encryption on data (with unique, random, IVs for every new message encrypted) - which is working well.
But, I've been asked; what is the forward cipher function of this algorithm? I was going to say it's AES256, but am having doubts as to whether that's what the actual forward ciphe... |
I was curious about cryptography so I started to learn about symmetric encryption.
From what I understand a symmetric encryption works as follow:
PlainText -> (Encrypt)K -> Cipher text -> (Decrypt)K -> PlainText
I was wondering if it is possible to retrieve the cryptographic key by knowing the plain text, the cipher t... |
I am experimenting with the GLV method but cannot manage to get the right results according to the literature.
I managed to find lambda, beta, split $K$ into $k_1$ and $k_2$ etc. for the curve I'm interested in.
According to the literature:
$$kP = k_1P + k_2\phi(P)$$
However, to get the right results, it seems to be ... |
I've previously asked questions on BN pairing parameters. Here's one more.
In the BN construction, one is working in a subgroup of a curve over an extension field $\mathbf{F}_{p^{12}}$ for some prime $p$. Now, in the scheme I'm looking at, they suggest selecting parameters so that $p$ will end up being a $256$-bit pri... |
According to the paper “High-speed high-security signatures”…
Malleability. We also see no relevance of "malleability" to the standard definition of signature security.
Aside from the example, how is ed25519 malleable by the non-standard definition of signature security?
To be more specific:
I'd like to know about ... |
I have two questions about OAEP for RSA.
How are the number of bits to pad with 0 chosen? For example, if I'm sending a 255 byte message with RSA-2048 I have 8 unused bits (1 byte). Should I split the remainder bits evenly so I pad with 4 zeroes and my $r$ is 4 random bits, or do I pick the number of bits to pad rando... |
I haven't been programming much lately, so I figured I would make an encrypted instant-messaging program (read: Skype clone) with groups to hone my skills. That's not important though, I can do that. The problem is that I know almost nothing about cryptography, so I figured I'd ask here so I don't discover down the roa... |
looks like NIST only approved GCM mode for authenticated encryption and other modes don't have any approval or a good implementation available.
Is that possible a weakness in $GHASH$ compromise plain-text or it just allow attacker to forge it? can we use AES-GCM with confidence or is better to use a confidential only ... |
My question is about the key length of a asymetric algorithm. How is it possible to memorize or remember a key that is about 4000 bits long?
|
Trying to find related answer for a long time, but not convinced yet.
What I am trying is to encrypt using RijndaelManaged. To create Key, I am passing password, salt and iteration to Rfc2898DeriveBytes.
I was thinking to add constant if user entered password is below specific length before passing it to Rfc2898DeriveB... |
In terms of the frequency of letters, how is it possible to have different frequent letters when the length of the text I'm analyzing is shorter?
At the moment, I'm comparing the frequencies of a long text and a subtext from that text. To my surprise, the most frequent letters changed. In the long one it was the lette... |
Let's say, we have a large number $n=181937053$ and $f(x)=x^2+1$. And also we know that $n=12391 \times 14683$.
The problem is that ,using Pollard rho method, can we find the algorithm iteration times need to factor this number? ($x_0,y_0 = 2$)
|
Given a key $K$ (the key is fixed) and a nonce $N$ (changes from one message to another)
Using a secure Key derivation function (KDF) such as the ANSI-X9.63-KDF with SHA-1 option to derive a key for encryption
Can we reach the IND-CPA security level for our encryption ?
|
I'm looking for a way to perform encrypted nightly backups of a server I administer, without storing the decryption key on the server.
A form of PK encryption seems ideal for this, as I can store the public key on the server, and the private key somewhere else private (like on a post-it attached to my monitor, or for r... |
So I wrote a simple encryption algorithm (Not very secure, just a starting point. I don't want criticism on it.) and I have been having trouble finding a way to decrypt the text. The algorithm is here (You may need an ASCII table to understand it):
Key = key
DecimalKey: k + e + y = 107 + 101 + 121 = 329 / 3(Length of a... |
So these days I see everyone using AES-GCM. What are its advantages over simple CTR+HMAC modes? Is it speed? Or ciphertext length? And what are the security tradeoffs, both in terms of practical cryptanalysis and theoretical attacks complexity?
|
In the Identity-based cryptography, the user's private key in the systems is delivered by the key generation center(KGC). My question is : Is it meaningful to consider the leakage of master key of KGC? And further, if this happens, then can I think that all the user's private keys disclose?
supplementary part (below)
A... |
I am always on the look out for privacy enhancing technologies. I stumbled upon the service from unseen.is. I had a look at their site (specifically here) and even though I lack knowledge there are a few early warning signs:
a former security contractor told us "if it's publicly available, it's cracked"
I think this ... |
I'm implementing (for learning purposes) a file encryptor, which uses the following method (from http://en.wikipedia.org/wiki/Encrypting_File_System). I have 3 kinds of keys: RSA public/private, AES, and a user key derived from a phrase.
encrypt the file with AES (I use OFB mode).
encrypt the AES key with RSA.
write t... |
I argue it is because there should be no more correlation between the outputs $G(s0^{|s|})$ than between the outputs $G(s)$. Thus we can say the $G'(s)$ is a PRNG that satisfies $|G'(s)| \geq 4|s|$. If we let $s' = s0^{|s|}$ and denote the set of all $s'$ by $S'$, then $s'$ should be chosen uniformly at random from $S'... |
I am currently developing a messaging application that uses rsa end to end encryption. The client generates permanent rsa keys, and sends the public key to my server for account management. As it currently is, my program will take any keys, without validation. This is a big security risk, so I need to validate the keys... |
I recently stumbled across "How to Run Turing Machines on Encrypted Data".
Given that it's now possible to run turing machines on encrypted data, what open problems remain in the realm of Functional Encryption?
(It seems like for every problem in Functional Encryption, one would just say: well, design a TM to compute t... |
From many readings, I got to know that TLS generates master shared secrets using pre-master keys and uses the DH algorithm to generate the shared secret/Master secret.
What values during the hello messages act as
1. P - Prime number
2. G - Generator
3. Secret primes owned by each parties
?
Why does it need a client... |
Machine Learning is sometimes associated with cryptography. Many of such cross field studies have been majorly done in use of machine learning for cryptanalysis/decryption. I am interested in knowing that can machine learning be used in anyway for encryption. Googling it did not give any relevant results. Are there any... |
I have a game that I am developing which uses a locally-stored internal database. It does not matter to me whether a user can read the file (which, to me, means I don't need a symmetric cipher), but I don't want it to be possible for a user to alter it without completely breaking the game (essentially, to make cheating... |
Reading the latest TLS weakness, it seems that multiple weaknesses have been found over the years caused by not ensuring that messages are sent over the same channel, and in general a lack of cryptographic bindings between messages and layers.
I wonder if there is some general rule in all of this. For example if data ... |
As I understand it, CTR mode essentially turns a block cipher into a stream cipher like so:
_______________
| | |
| nonce | i |
|_______|_______|
|
_______V_______
| |
| block cipher |
key -->| (encryption) |
|_____... |
Dropbox uses CRC32 and md5 to create a checksum of each 4 mb "block" as part of the their compression/file system.
I suspect that Dropbox uses an additional cryptographic hash to check if there's a collision, but let's assume that doesn't happen.
Is using CRC32 and md5 in combination cryptographically secure?
|
Is there a way of convincing someone on (in)validity of Diffie Hellman tuple $<g, g^u, g^v, g^{w}>$ without giving away $u,v$.
or at least solve the Decisional Diffie Hellman Problem without revealing $u,v$.
[Considering the prover knows exactly one of $u$ or $v$]?
I would appreciate references to papers (however I am ... |
I have some encrypted texts (encrypted with 3DES in ECB mode without salt).
My question: How can I decrypt them using a wordlist? (or without one)
Example:
Encrypted text:
Xfi+h4Ir6l7zXCP+N4EPvQ==
The wordlist for this:
foo
bar
marketing
The original text was before encrypting was: "marketing" (just to make the ... |
HMAC seems a bit complicated. Why can't we use $H(m||k)$ as a MAC? Unlike $H(k||m)$, length extension attacks won't work.
Is there some other obvious attack?
|
According to Bruce Schneier the constants used in the spec of DUAL_EC_DRBG may be related to a secret set of numbers, that could function as a master key for encryption using on this random number generator:
This is how it works: There are a bunch of constants -- fixed numbers -- in the standard used to define the alg... |
I have some ideas floating around my head for exploring hashing functions, but I want to make sure what I think I know is actually true, before basing a house of cards on it :)
Let’s start with some things I’m reasonably sure of, but are still probably wrong:
A hash function is one such that for any given state $S$, a... |
I have been working on a challenge i found on the internet. It is as follows:
You've stumbled onto a significant vulnerability in a commonly used cryptographic library. It turns out that the random number generator it uses frequently produces the same primes when it is generating keys.
Exploit this knowledge to factor... |
Tony Arcieri makes an interesting point in his Imperfect Forward Secrecy article which basically boils down to:
large entities such as NSA are storing encrypted internet traffic, also what's to stop smaller entities such as proxy owners from doing the same
that data should be considered as good as clear text when quan... |
I am looking at ways to speed up modular reduction for the polynomial
$$2^{256}-2^{32}-2^9-2^8-2^7-2^6-2^4-1$$
I have read the paper "Generalized Mersenne numbers" by J.A. Solinas, but it does not seem to list this form of polynomial as a candidate for fast modular reduction (see section 10).
Using the definitions i... |
My app on Android uses the built-in motion sensors to collect seed-data for the PRNG (java.security.SecureRandom) that is later to be used for key-generation.
The user is told to shake the device so the incoming data should be somewhat pretty random. Also, too slow movements are ignored in order to avoid getting only 0... |
I am trying to design a file exchange protocol for learning purposes, inspired by PGP, but fixing some of its shortcomings.
Assuming the machine where the creation and decryption of the file happens are secure, the threat is a passive (reading file) or active (manipulating file) attacker on the line.
These attributes m... |
I have read many articles about Key wrapping and tweakable cipher modes.
However, I don't understand the main difference between them?
What you recommend for Key storage and Key Archive.
|
As everyone is now aware, Mt Gox has declared bankruptcy. As what appears to be the very last thing they did, Mt Gox accepted my $35 and fulfilled my special Mt Gox Yubikey. Having just arrived in the mail, I can now rest assured that my Mt Gox account, if it still existed, and all those bitcoins, if they weren't alrea... |
I (wrongly) understood what I've been told as meaning DHE in TLS, PFS in IPSec do not provide Forward-Secrecy; and I'm told that common forward-secure key exchange protocols are restricted to establishment of an Asymmetric key, or are otherwise vulnerable when the security of some security assumption of an asymmetric c... |
I'm experimenting with creating an entropy source for an environment where I have no hardware available and the language is very high level (executed in a virtual machine). I know it's not a good idea but I don't have /dev/random or CryptoAPI and the only possible sources are things like http://random.org but they need... |
The computational Diffie-Hellman problem states that for a cyclic group $G$ of order $p$ and a generator $g$, it is hard to find the value $g^{xy}$ given only $g^x$ and $g^y$ (but easy if either $x$ or $y$ is known); the easiest way being to compute the discrete logarithm of either $g^x$ or $g^y$ and then calculating $... |
I've read a paper that says that one of the "assumptions" that it makes is secure broadcast. Why is this an assumption? Can't a broadcast channel be built with simple primitives--i.e. encrypt and sign messages with a shared key?
And, assuming that there is something more that I'm missing, how are broadcast channels usu... |
Exploration through RFCs concludes that random numbers used in the creation of Master Key and Key Block(Key material for Encryption Key and Mac Secret) are from ServerHello.random and ClientHello.random. Only these random numbers are used in both the cases. No separate Client and Server randoms for Key Block and Master... |
Security of diffie hellman protocol is $K=g^{ab}$.if sender want to calculate value of $b$(given $a$) he can do $g^{{{ab}^b}^{-1}}$(where K=$g^{ab}$) which will give $g^{a}$ as we are cancelling value of $b$ by finding its inverse. but it is not cancelling the value of $b$ and not give the output $g^a$. can any one exp... |
Is MITM attack theoretically possible after public/private key pair exchange is done successfully? Say Alice and Bob have genuine public keys of each other. Is MITM possible further during the authentication phase between Alice and Bob?
Please find the protocol below:
Alice and Bob have key pairs. Assume Alice and Bob ... |
I have an an encryption algorithm I am working with that looks like this:
prv_key_enc(sha1_hash(data))
Where, the RSA parameters are:
RSA/ECB/PKCS1Padding
1024 bit keysize
I have provided the RSA parameters as well as information on the data that will be encrypted (sha1 hashed value) because I do not know if those d... |
I want to encrypt data and protect its integrity and confidentiality. However, I cannot increase the length of the data.
Are there any cipher modes of operation which provide confidentiality and integrity protection without increasing the length of the ciphertext?
|
I have a system that signs plain text messages using a message authentication code (MAC) encrypted with 3-key Triple DES. The short message is used on connection to establish a session key, so it would take an attacker a long time to compile a lot of plaintext / MAC examples.
I need to establish a key expiration policy... |
By encrypt in place I mean the following. Suppose I have an input plaintext of length L and I have also allocated an extra E bytes at the start and/or end of the buffer, with E << L. So the length of the input buffer is L+E and I'd like to use the same buffer for output (the encrypted data). I understand some fixed ... |
I'm generating a key & iv with OpenSSL via:
key = OpenSSL::Cipher::Cipher.new('aes-256-cbc').random_key
iv = OpenSSL::Cipher::Cipher.new('aes-256-cbc').random_iv
Then I am running the random key through:
salt = OpenSSL::Random.random_bytes(32)
OpenSSL::PKCS5.pbkdf2_hmac_sha1(key, salt, 2000, cipher.key_len)
My questi... |
The strength of symmetric and asymmetric encryption schemes scales with the key length, but there is a difference between symmetric algorithms like AES and asymmetric algorithms like RSA.
For example, according to some sources, 128 bit symmetric keys are equivalent to 3072-4096 bit asymmetric keys; but to get 256-bit e... |
Suppose I send a message using AES (private keys already negotiated securely) and I send a hash of this message using RSA (encrypted with private key) with OAEP to verify the authenticity and integrity of the message.
I can decrypt the hash with the public key (authentication) and compare the decrypted hash with a hash... |
I have a question about Pseudo Random Functions.
Let $f:\{0,1\}^m \times \{0,1\}^n → \{0,1\}^n$ be a secure PRF.
Define $F(k,x) = f(k,x) - f(k, x-1 \bmod 2^{n}) \bmod 2^{n}$.
Is $F$ is a secure PRF?
|
I'm just started to studying elliptic curve cryptosystems. My one month-goal is to write a simple signature system based on the Weil-pairing. Some parts of it can be written without deeper understanding, so I decided to start it with the easier parts right now.
I've searched for some ideas on internet, but all I've fo... |
I am beginner to Cryptography. And recently I came across the requirement like "use of SHA-256 in cryptography".
Does "use of SHA-256 in cryptography" imply use of SHA-256 both in HMAC and DH key exchange, assuming these are the only uses of hash in system?
I would be very thankful if people can provide their views.
ED... |
For a simple proof of concept project i'm (attempting!) to do, i've started looking into openSSL elliptic curve cryptography.
However instead of the standard key lengths, 160-512. I'm interested in a resultant key of just 64 bits (less secure I know but that's my projects purpose). Is it possible using elliptic curve ... |
Hello I want to know how to go about this problem
I know the plaintext "abcdef" and the ciphertext. The key size is 2.
I really can't figure out how to find the key for decrypting and encrypting.
|
I was lucky enough to, by brute force, have found two different messages, whose SHA-256 hashes collide in the first 9 hexadecimal characters, which are 36 bits, let's call this hash-prefix.
Given the Birthday Problem, I had to put together 2^18 or rather 2^(36/2) hashes so the chance of success at finding the two mess... |
I'm developing the login part of my application and I was asking myself how to do it right. My application stores some users' data server-side that must be inaccessible from us, so all the content must be encrypted using AES-256 with a password derived from the user's login password and this key would never leave the u... |
So for the play fair case, the number of possible keys is : 26x26 = 676 possible keys
But if we consider the repeated letters, how many unique keys will the play fair have? I mean how will considering the redundant letters affect the number of possible keys?
|
My best interpretation of this question is that Java's crypto API has been subverted to perform RSA signature using PKCS#1 v1.5 encryption padding.
Assume the signature $S$ of a message $M$ is obtained by:
hashing $M$ using SHA-1, yielding the 20-byte $H$;
generating a 105-byte uniformly (true) random $R$;
forming the... |
Would reseeding a PRNG with the PRN from the previous generation have any effects whatsoever on the quality of the generated numbers; if so, does this depend on the PRNG used, or are the effects generally applicable to any algorithm?
Perhaps I'll enhance the question with some pseudo-code:
firstSeed := get_seed_from_e... |
I am given
p = 4916335901
q = 88903
and am asked to show these are prime as well as q|(p-1) in DSA.
I am unsure on how to do this, what does q|(p-1) mean exactly?
|
I've read that one of the vulnerabilites of ecryptfs is leaks to swap memory, and that the solution is to encrypt swap. But even if swap is encrypted, it's still open until I reboot. I've also read in this answer, from the designer of the ecryptfs crypto, that "eCryptfs makes no special effort to prevent key proliferat... |
I have the function $H(x) = x^2\bmod p$ , where $p$ is a prime of length n bits and this function maps to the message $x$ to a n-bit hash value $H(x)$.
I need to find out if it is pre-image resistant, second pre-image resistant and/or collision resistant; and if it isn't collision resistant, what are some simple collid... |
In the classic description of Zero Knowledge Proof of Knowledge, Victor must wait outside the entrance to the cave while Peggy goes to the fork and choose a side. It's only once Peggy has entered a tunnel and is out of view that Victor comes at the fork and shout the side he wants her to come out from.
I am wondering w... |
Given the elliptic curve
$$E:y^2 = x^3+17x+5 \mod 59$$
with point $P = (4,14)$, how do I find $x$ such that compute $x\cdot P = (11,44)$
Is there a mathematical method to compute $x$, or do I simply compute a lot of $x$'s and hope for the best?
If it helps, I know $8P = (16,40)$
|
According to the article "Lest We Remember: Cold Boot Attacks on Encryption Keys" there is a quick and dirty entropy test that can help to find possible AES Key Schedules in memory dumps. Although there are references to this algorithm in blogs of other famouse cryptographers (for example, this post), I haven't been ab... |
I'll keep my question short. If I keep handing out different codes generated by this function, will it be trivial to figure out the secret key?
secret_key = {random bytes}
function generate_code(parameters)
return sha256(parameters + secret_key)
I know little about these things. What I like about this function is t... |
I am trying to understand how an attacker knows when he has successfully decrypted a ciphertext for an assignment. As such, some pointers/hints for the following questions would be greatly appreciated.
If you double encrypt secret data with two different algorithms. How does the attacker know if he already broke the '... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.