Small tags/sites
   21 tags on

Small tags/sites


0 answers

How to show javac Warnings in Problems view in IntelliJ IDEA?

In Eclipse the Problems View displays javac errors + javac warnings, whereas in IntelliJ I get only the errors. While warnings are highlighted when editing a file, I would like to have a list of all ...

0 answers

How to encrypt webapp in Tomcat

I have the following problem: 1) I have a server on tomcat with database 2) I have a thick client on client machines, which uses it's own tomcat and communicates with server via database ...

0 answers

Android: Execute a command on a server via ssh

I am using JSch to connect to a remote server within my android app. I am able to execute a simple command such as "mkdir android_test", in which case I can check on the server that this directory ...

3 answers

Lightweight crypto library to verify a signature

Are there any open source crypto libraries that can be used in embedded systems or in other memory constrained places like a boot rom? I am looking for libraries that I can compile only the algorithms ...

1 answer

ECC and RSA 10K stronger claim

There are a lot of websites where it is claimed something akin to this but no explanation on the basis. "ECC key size of 256 bits is equivalent to a 3072-bit RSA key and 10,000 times stronger than a ...

1 answer

Is $G$ a secure PRG?

Is the following function a secure PRG? Given $F$ is a secure PRG and $k$ is choosen random from key space $K$. $$G(x) = F(k,x) \oplus F(k,x \oplus 1^s)$$ My solution is $x \oplus 1^s = x'$ ...

1 answer

The Twenty Doors (ROOM 8)

You move on into Room Eight when Kslkgh (a.k.a. Dr. X) finally creates the next room. There is, as always, a slip of paper on the floor: Before the alphabet, before. The pass, between the alleys. ...

1 answers | 1 hour ago by Kslkgh on Puzzling puzzling.stackexchange.com
1 answer

The Twenty Doors (ROOM 7)

This is part of The Twenty Doors series. The previous one is The Twenty Doors! (ROOM 6). The next one is The Twenty Doors (ROOM 8) You (after many days rest in Room 6) finally go into Room 7. The ...

1 answers | 1 hour ago by Kslkgh on Puzzling puzzling.stackexchange.com
3 answers

The Twenty Doors! (ROOM 1)

This is part of The Twenty Doors series. The next one is The Twenty Doors! (ROOM 2) You stand in a small, dark room. You have no idea where you are. Then, you see a message in front of you. ...

3 answers | 1 hour ago by Kslkgh on Puzzling puzzling.stackexchange.com
3 answers

Adapt existing GOST code in C to hash a file

I am trying to hand-code the GOST hash function using C. I came across the following code by Markku-Juhani Saarinen (from link). /* * gosthash.c * 21 Apr 1998 Markku-Juhani Saarinen ...

3 answers | 1 hour ago by IT_guy on Stack Overflow stackoverflow.com
1 answer

BouncyTree Encryption

I'm currently in a run around issue. I'm looking to use BouncyCastle PGP for encryption of files. The situation is that I have public keys (basic asc) that are supplied that I need to use. I've been ...

1 answers | 1 hour ago by Peter on Stack Overflow stackoverflow.com
6 answers

Encrypting a string in Java and decrypting it in C++

I need to encrypt a string in Java and decrypt it in C++. I've seen C++ has a Crypto++ library and Java has JCE, Jasypt, BouncyCastle etc. but I'm getting more and more confused... I'm searching for ...

0 answers

Intercept activiti database operations

I'm working with Activiti 5.14, and I have a requirement: All the data in the database should be encrypted. So, was trying to come up with a solution encrypting the data before to pass to the ...

1 answer

How to center LaTeX xtable (And Figure) output in full text width

This is a follow-up to a question I posted earlier (How to center LaTeX xtable output in full text width). I realize that my MWE from this previous post was incomplete. In an effort to make it as ...

0 answers

Compiling Latex in Vim Results in Error

I am trying to compile the following LaTeX using vimtex continuous compiling in vim: LaTeX: \documentclass[12pt]{article} \title{Electrolysis of Water and Aqueous Solutions} \author{Carlo Abelli \\ ...

2 answers

How to encrypt user passwords for forum registrations?

What is the most secure way to encrypt user passwords for phpBB or MyBB forum registrations? I don't want anyone to be able to access the user passwords, not even those who administrate the MySQL ...

0 answers

Prove that certain amount of data was stored

I'm looking for a way to prove that a certain amount of data was stored, through some easily verifiable piece of information. Similarly to how proof-of-work can prove through a hash that a certain ...

1 answer

Knowing that $G(s)$ is a PRG, is the following construction $G'(s) = G(s||0)$ a PRG?

I know there already is a very similar question. However, I can't understand why $G'(s)$ is not a PRG. If $G(s)$ is a PRG, then why $G(s||0)$ can't also be a PRG? How can the distribution over ...

0 answers

ElGamal signatures systems

Let $p$ prime number $q/p-1$ prime and $g\in (Z/pZ)^*$ element of order $q$.Also $a\in \{1,...,q-1\}$ the private key and $y\equiv g^a\pmod p$ the correspoding public key.For each of the following ...

1 answer

Present an attack for the combination of OTP and textbook RSA

Let $N=p \times q$ where $p$ and $q$ are two primes. Compute $\Phi (N) = (p-1)(q-1)$. Choose $e$ s.t. $1 < e < \Phi(N)$ and $gcd(e,\Phi(N))=1$. Compute $d = e^{-1}(mod \ \Phi(N))$. ...

1 answers | 2 hours ago by Cauthon on Cryptography crypto.stackexchange.com
0 answers

knitr LaTeX single quotes not typesetting correctly

ers, Our lab is having trouble getting R code containing single quotes to typeset correctly in LaTeX. We are using RStudio (pdflatex) to compile the .Rnw to .pdf, but the problem persists even when ...

0 answers

AES encryption. How to convert IV and salt to NSString?

For a project of mine I have to AES encrypt a file. That's no problem. But I also have to save the iv and salt that is generated into a NSString. I have tried everything to no avail. Here is my ...

1 answer

How does the log(p(x,y)) normalize the pointwise mutual information?

I'm trying to understand the normalized form of pointwise mutual information. $npmi = \frac{pmi(x,y)}{log(p(x,y))}$ Why does the log joint probability normalize the pointwise mutual information to ...

2 answers

Why should I use Authenticated Encryption instead of just encryption?

There are various different modes of operation for block cipher use, some of which provide "encryption" and some of which provide authenticated encryption. Why should I use an authenticated ...

4 answers

Is there a proof for showing any cryptogram is crackable?

I commonly hear statements along the lines of "all cryptograms are crackable - it's only a matter of time". Is there a proof to show that any cryptogram is "crackable"? The proof may be of a more ...

4 answers

Simply put, what does perfect secrecy means?

I would like to ask for a clear (but maybe not so deep) explanation of what the term "perfect secrecy" means. As far as I have researched and understood, it has to do with probabilities of assuming ...

1 answer

Problem with installation of LaTeXDraw!

I was using LaTexDraw 2, which I had got it form Ubuntu Software Center. As the functions were limited and I couldn't use math to label out, I searched and found this new 3.1 version. After ...

1 answer

Can we solve the Hidden Number Problem in $GF(2^n)$?

Is it possible to solve the Hidden Number Problem in extension fields? In particular in $GF(2^n)$? Let's suppose an attacker knows some least/most significant bits of $r_i = a_i \times k$ in a given ...

1 answers | 3 hours ago by Ruggero on Cryptography crypto.stackexchange.com
1 answer

Embed LateX file to HTML

I am looking for a way to load a LateX file to HTML. I found several questions about that but most of them are talking about for adding LateX equations to HTML or to convert LateX to HTML or to add ...

1 answers | 3 hours ago by John on Stack Overflow stackoverflow.com
1 answer

Issue Matlab EPS figures

I have a problem when I create a EPS figure which I want to include in Latex. Somehow I am unable to place a caption above the figure created with Matlab. It gets overwritten by whitespace. I have ...

1 answers | 4 hours ago by Rob on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3