Small tags/sites
21 tags on

Small tags/sites

## Hashing password at user signup on client side and database stores hash only. How to use the same salt again when logging in?

So during user sign up the user enters (password + random salt) and sends that to the server. During login the user enters (password + random salt?) and sends that to the server. What do I have to ...

## Two Sheriffs and Eavesdroppers

Two sheriffs are working on a case to find one culprit. There were initially 8 suspects; through independent work, each sheriff has narrowed this down to a list of 2. Because they are good sheriffs, ...

## java.security.NoSuchAlgorithmException: KeyGenerator AES implementation not found

I'm getting the following exception (so far only Android 4.0.4): java.security.NoSuchAlgorithmException: KeyGenerator AES implementation not found at ...

1 answers | 3 hours ago by mntgoat on stackoverflow.com

## How to store a SecretKey within a Java KeyStore protected by a PublicKey (RSAPasswordProtection)?

I want to store a SecretKey within a Java KeyStore protected by a PublicKey. When loading the protected KeyEntry i would like to get the protected key byte-array to manually unwrap it later on with ...

## knitr syntax highlighting: numbers and logical values are not highlighted

This is a minimal example for Rwn taken from Yihui Xie website. All I did was to add an expression involving logical values and to delete some of the text to make the example a bit shorter. ...

## Is it possible to make a more secure random number generator algorithm by XORing two or more less secure random number algorithms?

Is it possible to make a more secure random number generator (e.g. for cryptologic purposes) by combining two or more less secure random number generator algorithms using XOR? Here is an example of ...

## What can cause similar MD5 hashes

I have a set of MD5 hashes with huge similarities in the second half of the hash, (made up) examples: abcde1234560e0e0e0e0e bcdedcdedcc0e0e0e0e0e 654abcdefff0e0e0e0e0e [...] What ...

1 answers | 4 hours ago by jokman on crypto.stackexchange.com

## FUSE file system read data missing

I'm working on a toy file system with FUSE and OpenPGP and I am having a really weird issue: When an encrypted file is read, not all of the data is returned, despite all of the data being decrypted ...

## What is the probability of the sum of elements in $\mathbb{Z}_{N^2}^*$ to be multiplicatively inverted?

Given a set of elements $x_i \in \mathbb{Z}_{N^2}^*$ how can we express the probability of $\sum{(x_i)}^{-1}$ to have a multiplicative inverse $\mod \mathbb{Z}_{N^2}^*$, where $N=pq$ for two safe ...

1 answers | 4 hours ago by curious on crypto.stackexchange.com

## Set all column names with tableContinuous from reporttools package

In the following example I would like the name of the first column to be blank and the second column to be "Cylinders". All the other names can remain. library(reporttools) col.vars <- c("n", ...

## Java RSA encrypted AES key

I have an RSA private key that I am trying to decrypt another files contents that has an AES key in it. So far all I can seem to get to return from the processes is jargon. Not really sure what I am ...

## Scala waiting for sequence of futures

I was hoping code like follows would wait for both futures, but it does not. object Fiddle { val f1 = Future { throw new Throwable("baaa") // emulating a future that bumped into an exception ...

2 answers | 5 hours ago by matt on stackoverflow.com

## Place a photo besides address

I am trying to place a photo in my CV besides my address. Now I use the code: % LaTeX resume using res.cls \documentclass{res} \usepackage{amsmath} \usepackage{lipsum} \usepackage{fancyhdr} ...

## Test Method for callout in Future method

I have a trigger on Account. On Account insert, I am sending a callout through future method. I am trying to write a test class for this but I am getting either of these two errors - 1) You have ...

## JSch, lock file while session is open

Is there any way to lock file, which i am reading with JSch sftp channel, to prevent other applications to modificate it while session is open? The problem i have: while i am reading/writing file, ...

2 answers | 5 hours ago by Vovan on stackoverflow.com

## JSSE Configuration in Tomcat - enable AES256 cipher

What are the ciphers supported by JSSE in Apache Tomcat server? How can i enable AES256 and reorder the ciphers?

2 answers | 5 hours ago by samvijay on stackoverflow.com

## How to protect HAProxy SSL Certificates as a service?

I'm trying to devise a method to protect my HAProxy SSL certificates while at rest on disk so that if the load-balancer host gets hacked, the SSL certificates will not be sitting there ripe for the ...

## How to fix Invalid AES key length?

I am working on a web based text encryption and decryption project on eclipse(following Struts 2) Whenever I enter the password and the plain text I get a Invalid AES Key Length error. The Service ...

## Searching over encrypted data

Is there any library/tool available which can allow me to search over encrypted data? I would like to encrypt data on client side, send it to cloud and perform search in cloud. I've been reading ...

## Is it possible to match encrypted documents using user-defined search terms?

Suppose I am storing a number of encrypted documents in a database. I would like to make it possible to identify the subset of documents whose contents match user-specified search terms without a) ...

## Justice and Fairness: Part 2

A friend of yours was part of a secret society and was put on trial on 15 December 2014 without a lawyer. Alice encrypted the trial's transcript and sent it to Bob, but double agent Carol was able to ...

## Latex align undefined control sequence

I'm not entirely sure why but my LaTex file keeps tripping up on an \end{align}? \begin{align} & \vec{E}=\frac{Q}{4\pi\epsilon_0r^2}\vec{\hat{r}}\\ & ...

1 answers | 7 hours ago by Tom on stackoverflow.com

## Lotus flower encryption

I am trying to understand how multiple steps of encoding can be intuitive. (I will delete this edit tomorrow): This was solved by both possible methods (decryption and dictionary attack). But the ...

2 answers | 8 hours ago by Len on puzzling.stackexchange.com