Small tags/sites
   21 tags on

Small tags/sites


0 answers

Non-repudiation and digital signature of a dishonest third party

Let's assume a dishonest Alice who sends, encrypts & digital signs a message to Bob. Bob stores the decrypted message and the digital signature in a database. However Alice is a bad girl and ...

1 answer

Convert a string into a key

Is there a way to convert a string into a key so I can have the same encryption key for encoding/decoding? I do not mean using SecretKey btw. Key symKey = ...

1 answers | asked 1 hour ago by user3511446 on Stack Overflow stackoverflow.com
1 answer

Given Final Block not properly padded while AES decryption

First, I'll tell what is my primary goal. I'm going to use AES to encrypt some content in the client side, then use RSA public key to encrypt the important AES specs and sending both AES encrypted ...

0 answers

Android - RSA algorithm : Decrypts a message with any private key

I am having a serious problem with the RSA asymmetric cryptography algorithm. A message encrypted using User A public key is being decrypted by the User's private key. On the computer it works fine. ...

0 answers

sftp fails with 'message too long' error

My java program uses ssh/sftp for transferring files into linux machines (obviously...), and my library for doing so is JSch (though it's not to blame). Now, some of these linux machines, have shell ...

0 answers

Existing Java implementation of $2y$?

I'm going to be doing some integration work between Java and an existing PHP app. PHP stores user passwords using the PHP function password_hash(), which implements the $2y$ Blowfish mode ...

0 answers

cryptographic issue on Android 4.4.2

I tried to run two examples cryptographic. Doing debugging with emulators via eclipse everything works fine, debugging with the physical device I get an error: pad block corrupted the code is ...

0 answers

Futuro or Subjuntivo to talk about a belief in a future event in a negative form

Objective Clarify which one to use 'Futuro' or 'Subjuntivo' (or it does not matter) to say "I do not believe/think it will rain tomorrow". No creo que lloverá mañana. No creo que llueva mañana. ...

1 answer

XOR cipher with three different ciphertexts and repeated key, key length known. How do I find the plaintexts?

Let us say we have three different plaintexts (all alphabets, A-Z): $x$, $y$ and $z$, each of length $21$. Let the key, $a$, be also of length $21$. Now, what we have is $x \oplus a$, $y \oplus a$ ...

0 answers

How to decrypt the ppp protocol data content?

One of our applications needs to connect to VPN connection and run it. when I captured traffic I see transaction of this program under PPP protocol. but content of transmission are compressed or ...

0 answers

Gradually learning the keybindings provided by AUCTeX

If I do M-x forward-char, Emacs gives a very useful message You can run the command "forward-char" with C-f. Considering the fact that Emacs can find all LaTeX keybindings in the file latex.el ...

asked 7 hours ago by Name on Emacs emacs.stackexchange.com
1 answer

Why is it a quadratic equation?

In Groth-Sahai NIZK proof system, they have defined something called Quadratic Equation in $\mathbb{Z}_n$ as shown below. But, my idea of quadratic equation was a second order polynomial equation in a ...

0 answers

Parallel Pollard's Rho: Number of distinguished points

When using the parallel version of Pollard's Rho algorithm for discrete logs, each processor performs its own random walk to find distinguished points, and reports the starting point and the ...

1 answer

Regexp not working

I messed up my latex code; I need to replace \cite[42]{source}. with .\cite[42]{source} and \cite{source}. with .\cite{source}. I tried \\cite\(.*\)\}\. -> .\\cite\1\} but I got an error: Invalid ...

1 answer

How to save a web page with its certificate?

I've made a payment to an online store and they're claiming there's no order with the number that appeared in my screen, therefore they're refusing to send me the product. I still have the page opened ...

2 answers

One-way function definition

I cannot understand why a one-way function $f$ is defined in this way $\text{Pr}(f(A(f(x))) = f(x)) < \frac{1}{p(n)}$ and not $\text{Pr}(A(f(x)) = x) < \frac{1}{p(n)}$ where $A$ is a ...

2 answers | asked 13 hours ago by Firaja on Cryptography crypto.stackexchange.com
2 answers

Is it possible to encrypt the entirety of a video by encrypting specific frames?

I would have thought that if I encrypted all I-frames, the rest of the video would be encrypted because B- and P-frames are both derived from I-frames. Having done a little bit of testing - ...

2 answers | asked 17 hours ago by Fjotten on Stack Overflow stackoverflow.com
0 answers

CBC Fiestel network chiper implementation

Ive built a fiestel chiper algorithem and Im using CBC for blocks. Im sitting on this code for over a week now, and I think my implementation of CBC is wrong. This is hoe I implemented CBC: When ...

1 answer

Proof that $gcd(e, \lambda(N)) = 1 \hspace{1mm} \Longleftrightarrow \hspace{1mm} gcd(e, \varphi(N)) = 1$

What is the proof for the fact that $gcd(e, \lambda(N)) = 1 \hspace{1mm} \Longleftrightarrow \hspace{1mm} gcd(e, \varphi(N)) = 1$ Where: $N = P * Q$ where $P$ and $Q$ are both primes. $\varphi(N)$ ...

1 answers | asked 18 hours ago by user1 on Cryptography crypto.stackexchange.com
0 answers

Using a non-function command in a tkinter button

I am trying to make a popup input window (for context the user is asked for an input and a key, if the key is blank then this window will pop up with an Entry bar asking for a new key, when the user ...

1 answer

Do any stream ciphers with aperiodic keystreams exist?

Exactly what it says on the tin. I can imagine constructing such keystreams from: The binary expansions of irrational numbers Chaotic systems like the logistic map or the Lorenz attractor. The ...

1 answers | asked 19 hours ago by Melab on Cryptography crypto.stackexchange.com
1 answer

What's a good way in Akka to wait for a group of Actors to respond?

In Akka, I want to send out a "status" message to actors in a cluster for their status. These actors may be various states of health, including dead/unable to respond. I want to wait up to some ...

1 answers | asked 19 hours ago by Greg on Stack Overflow stackoverflow.com
1 answer

$a$ has a square root modulo $p$ if and only if its discrete logarithm log$_{g}(a)$ modulo $p - 1$ is even

Questions: Let $p$ be an odd prime and let $g$ be a primitive root modulo $p$. Prove that $a$ has a square root modulo $p$ if and only if its discrete logarithm log$_{g}(a)$ modulo $p - 1$ is even. ...

1 answer

Python RSA Brute Force Check

I have an exercise to brute force a piece of text that has been encrypted with a very small key. The public key I have is (e = 5, n = 203). The text has been converted to ASCII, shifted a fixed number ...

0 answers

minimal entropy approximation of a discrete random variable

Let $X$ be a $\mathbb{N}$-valued random variable. Define $$ H^\epsilon_n(X) = \inf_f H(f(X)) $$ where $f$ runs over all functions $\mathbb{N} \to \mathbb{N}$ such that $\Pr(f(X)\neq X)<\epsilon$ ...

1 answer

Is Computer Modern a high-quality font?

Computer Modern, a font created by a computer scientist for use with his own typesetting system TeX, has become one of the most frequently used fonts of all time, precisely because of the popularity ...

1 answers | asked 22 hours ago by Gaussler on Graphic Design graphicdesign.stackexchange.com
1 answer

AES javascript encryption and Java decryption

I've already implemented RSA encryption in javascrypt and RSA decryption in java which is just a simple process. But the problem I've to encrypt a large amount of data which is not possible for RSA at ...

0 answers

Where to store hashes, salts, keys in Desktop Applications

I am trying to figure out where or how i should store application secrets and keys inside a desktop application. For example a facebook app key or dropbox key and secret. So I've read that i should ...

1 answer

Locating items in List whether they occur more than once in C#

In addition to the question: Get List<> element position in c# using LINQ First of all, let me explaing why I do what I do :) I'm trying to encrypt a string into a one-line code which holds ...

1 answer

Why does this code not produce a correct hash?

I had to write a tiny decryption program in C to brute force a key from one file, here "resource.bin", and use that one to decrypt another file using DES-EDE, here "rom_dump.bin". The indication for ...

1 answers | asked yesterday by jaySon on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3