Small tags/sites
   21 tags on

Small tags/sites


4 answers

Removing prefix from figure captions in LaTeX

I'd like to make my own caption inside \caption{} in figures of LaTeX. How can I turn off the "Figure " prefix from the captions that appear?

56 mins ago
0 answers

What key length is required to keep simple keyed “hash” secure?

In a previous question, I described a particular keyed "hash" that mapped a 5-digit input code into a 5-digit output code. It used a 8-bit key which is very insecure - more than 99% of the time, you …

58 mins ago
0 answers

How to prove $H(X-Y)\le \log(2\pi eD)$?

In rate distortion theory, difference error entropy $H(X-Y)\le \log(2\pi eD)$, how can we prove this?

1 answer

What else can bitcoin inventory vectors be used for?

As described in the protocol specification bitcoin nodes respond to the inv command, which queries a node's knowledge of one or more objects, with an inventory vector. According to the bitcoin wiki, …

1 answer

How do I implement CBC mode?

My problem lies around the AES encryption algorithm and implementing an IV into the algorithm. I have the ECB version of AES working and I have thoroughly tested it. I'm trying to make it more secure …

0 answers

Boxplot in latex

I am new to Latex. How can I draw a boxplot in latex. My data set is as below index median box_top box_bottom whisker_top whisker_bottom 0 1 1.2 0.4 1.5 0.2 1 2 2.3 1.5 2.7 1 2 0.7 1.4 0.5 1.9 0.1

4 hours ago
0 answers

AES CBC PKCS5 Decryption in WIndows 8 Appstore application

Well its embarrassing to ask this question despite having lot of articles related to this in web, but I could not figure it out.I am struck with this one. I am encrypting a text in Android using ...

0 answers

How random are comercial TRNGS

I'm thinking about buying an USB TRNG. The question is: How do I evaluate it's randomness ? I'm sure some are better than others but which is which ? Are thermal-noise better than radio-noise TRNGs?

0 answers

The double-bar delimiter does not stretch in MathJax 2.2

With the recent switch to MathJax 2.2, it seems that the double-bar delimiter (i.e. \|, or \lVert and \rVert) does not stretch when used with \left and \right (on my computer at least). The problem …

6 hours ago
0 answers

com.jcraft.jsch.JSchException: Auth fail

While I upload a file from local disk to a remote server,such exception occured: com.jcraft.jsch.JSchException: Auth fail at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:215) I …

8 hours ago
2 answers

Pasting $\LaTeX$ into a Mathematica notebook

I have read that $\LaTeX$ source can be directly pasted into a Mathematica notebook. However, I have been unsuccessful in this regard. An example of the errors received are: $\frac{1}{2}$ ...

10 hours ago
1 answer

How to use $\LaTeX$ for typesetting labels and titles in Mathematica

I need to typeset large number of equations to be used for PlotLabel and Titles and such. These have to look nice. Hence I use TraditionalForm with HoldForm and this works well, except for a tiny ...

11 hours ago
1 answer

Unable to convert $\TeX$ input into mathematica

The input ToExpression["\\sqrt{x y}", TeXForm] gives me the $Failed output. Maybe my very old computer is the problem, but that's the only command that has caused me problems, and that input is …

11 hours ago
2 answers

are any people facing problem of not loading latex symbols?

are people facing problem of not loading latex symbols in MSE? I have high speed internet connection but I am facing this problem from yesterday,any suggestion?It says "math processing error" if my …

15 hours ago
3 answers

What is the recommended replacement for MD5?

Since MD5 is broken for purposes of security, what hash should I be using now for secure applications?

15 hours ago
1 answer

Understanding shannon entropy of a data set

I'm reading Machine Learning In Action and am going through the decision tree chapter. I understand that decision trees are built such that splitting the data set gives you a way to structure your …

1 answer

Can we get a $\LaTeX$ button?

I would like to propose the addition of a $\LaTeX$ button. It would be very similar to the "code" button that formats the highlighted text into code, the $\LaTeX$ button would surround the highlighted …

2 answers

Error decrypting in java

I'm trying to encrypt/decrypt a String in Java. No problem concerning the encryption then stored a in sqlite table. But I always get the same error trying to decrypt it : ...

19 hours ago
1 answer

How to use futures with Akka for asynchronous results

I am trying to write to multiple files concurrently using the Akka framework, First I created a class called MyWriter that writes to a file, then using futures I call the object twice hopping that 2 …

1 answer

Are there any known incompatibilities for SecKeyRawVerify with iOS 4.3 and iOS 5.0

I am trying to verify a data with a public key, using the exact method mentioned on http://blog.flirble.org/2011/01/05/rsa-public-key-openssl-ios/. I tested my code with simulator iOS 6.1, iOS 4.3 …

yesterday
1 answer

Java SE strong cryptography for Java 7?

The preview release of Java 7 seems to be missing JCE package for unlimited cryptography strength. Has someone stumbled upon such?

1 answer

Physical Level Encryption

What types of algorithms that are capable of signing a message are out there that run on a physical level, e.g. lacking the infrastructure of a standard PC, no memory, processor or motherboard in the …

yesterday
1 answer

Are there any hand ciphers not obsoleted by computer cryptanalysis?

Computerized cryptanalysis has obviously made formerly "secure" hand ciphers like Playfair, Four Square, and the Hill Cipher obsolete because they can be defeated in seconds. But is there a hand ...

1 answer

Is this algorithm secure?

I recently found this site, proposing a hashing algorithm for passwords. They describe the following: pad the password on both sides with SHA1(email) to 4 * length(password) HMAC(padded password, …

3 answers

Is Base64(SHA1(GUID)) still unique like the original GUID?

Basically what the title is; GUIDs are unique by design. If you run the GUID through SHA1 and then Base64 the hash, will the resulting string have the same guaranteed uniqueness as the GUID, or not?

yesterday
2 answers

Use JSch to put a file to the remote directory and if the directory does not exist, then create it

I would like to copy a file to the remote directory using Jsch library and SFTP protocol. If the directory on the remote host does not exist, then create it. In the API doc, ...

yesterday
1 answer

Convert a LaTex formula to a type that can be used inside SymPy

I want to parse LaTeX formulas and directly use them as SymPy expressions. In other words, what I need is something similar to sympify: from sympy import sympify f = sympify('x^2 + sin(y) + 1/2') ...

yesterday
1 answer

Cipher Output and Input Streams

I'm attempting to store some encrypted data in the Android filesystem. I'm getting errors I don't understand and empty files. Please help. Code: private Cipher cipher; private ...

0 answers

Mathematical formula cause google chrome to hang?

I'm using mac, previously everything it's ok. Just recently I noticed that if I open a post with mathematical formula, or if I try to write one in "ask question" , Google Chrome browser hangs. my ...

yesterday
15 30 50 per page
1 2 3