Small tags/sites
   21 tags on

Small tags/sites


1 answer

One-one correspondance complete function

I am reading the paper by John B. Kam and Georges I. Davida (1979) titled Structured Design of Substitution-Permutation Encryption Networks. On page 749 it reads the following: Definition: Given a ...

1 answer

RFC6979; (v, r, s), what is v?

Deterministically signing a Tx with RFC6979 returns v, r, s, where r and s are the 2 values used in standard ECDSA signatures. v = 27 + (y % 2), so 27 + the parity of r, as pybitcointools indicates. ...

1 answer

How to export R plots as TEX files?

Let's say I have a simple plot like this: mu = matrix(c(0,0),2,1) sigma = matrix(c(1,0,0,1),2,2) x = mvrnorm(1000, mu, sigma) plot(x,pch=20,panel.first = grid(10, lty = 2, lwd = 2)) How can I ...

1 answers | 14 mins ago by Ash on Stack Overflow stackoverflow.com
1 answer

Getting Wi-Fi profile information

I'm using Windows 8.1 which doesn't have a tool to manage wifi network profiles. So I'm writing a tool which will help me. I did some googling and found Managed Wifi API, and with the help of a ...

1 answers | 16 mins ago by akinuri on Stack Overflow stackoverflow.com
0 answers

Does the entropy of the universe change as expansion exceeds the speed of light?

The potential encoded information in a photon that is at the edge of the observable universe would seem to be lost as the universe expands. Does that loss of information contribute to the overall ...

2 answers

Best practices for (symmetric) encryption in .Net?

What is considered "best practice" for encrypting certain sensitive or personally identifiable data in a SQL database (under PCI, HIPAA, or other applicable compliance standards)? There are many ...

0 answers

AucTeX: Disable electric-pair-mode in minibuffer during Macro definition?

I use Emacs 24.3.1 and AUCTeX. I switched on the electric-pair-mode in LaTeX-buffers. The only time I would really like to disable it is while inserting math-mode parenthesis via the \left and \right ...

2 answers

What is my friend trying to tell me?

My friend sent me the following short message: D57919749C3641B796384D0795DDE33739ED3E03 How should I decode it? Hint: Hint2: Hint 3:

2 answers | 50 mins ago by Vicky on Puzzling puzzling.stackexchange.com
0 answers

Multi threaded Black Scholes PDE Solver, waiting for worker threads

The purpose is to construct a multi threaded pde solver for the black scholes model with constant parameters and using threading capabilities by c++11 using explicit finite differences scheme. the ...

6 answers

Entropy and the principle of least action

Is there any link between the law of maximum entropy and the principle of least action. Is it possible to derive one from the other ?

2 answers

Where will they strike?

You are part of an international anti-terror unit who has intelligence that some religious fanatics of the FSM church are going to soon blow a bomb in one or more of the world's major cities. You're ...

3 answers

Is this client-side password hash scheme secure?

I want to build an app that uses client-side encryption for storing encrypted data on the server. A user-specific master key would be used, so to easily share it between devices a encrypted version of ...

1 answer

AES/CBC/PKCS5Padding in iOS

i have this code java: String key = "0123456789ABCDEF0123456789ABCDEF"; String plaintext = "hola"; String ALGORITMO = "AES/CBC/PKCS5Padding"; String CODIFICACION = "UTF-8"; byte[] ...

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

Why aren't zero-knowledge proofs used for authentication in practice?

I read on Wikipedia that zero-knowledge proofs are not used for authentication in practice. Instead (I think) the server is entrusted with seeing a password in plaintext form, which it should then add ...

0 answers

How often does RSA-OAEP have a leading zero?

We are working with a third party vendor who is very tight lipped about their security protocols, and one of our customers who used this vendor's products is claiming that approximately one in every ...

0 answers

Treasure hunt 'round the world! (Interlude 1)

If you're interested in starting the treasure hunt from the very beginning, check out the prologue! Upon your arrival at Parc Natural de la Vall de Sorteny, you're greeted by a group of ...

0 answers

xtea encryption arduino to webserver

Hi i'm using xtea encryption library on arduino. My code (part of it) is as follows: XXTEA xxtea("0123456789012345"); dtostrf(celsius, 4, 3, temperature); xxtea.encrypt(temperature); ... ... ...

5 answers

How secure is Snowden's MargaretThatcheris110%SEXY password?

In an extra from Edward Snowden's interview with John Oliver, Snowdon advises that a good password to use is one such as MargaretThatcheris110%SEXY.. Also, on the Errata Security blog, Robert Graham ...

1 answer

Can the entropy of a part of a closed system become less than the initial entropy of the entire system?

I am reading Sir Roger Penrose's book "What came before the Big Bang?". Here, I came across a chapter where he talks about how sunlight provides us energy in low entropy and how through various ...

3 answers

DH and PKI for KeyExchange

My question is fairly simple. I have more than two nodes which needs to communicate very efficiently from computational point of view. One of the nodes can become a coordinator between the nodes. ...

1 answer

Is this the proper way to use 'ask' in future tense?

"Now imagine, she asks him to eat an Apple." Is the above sentence proper? When I say it out loud it sounds weird. How would you say it out loud? Askkkssss?

0 answers

Rotate stargazer table in knitr

I am using knitr to write a .Rnw file and the stargazer packages to build tables for regression outputs. For the most part it is working quite well but I would like to rotate a table 90 degrees like I ...

0 answers

Non relative paths in javadoc images?

Default recommendation is to put image files into doc-files subdirectory of package directory and refer them with relative IMG tag. But this means image can be used for one class only. If the same ...

1 answer

How to set the 'terminal png size' to '2.5in' (IEEEtran) in gnuplot?

I set the image size as 1024*768 in gnuplot. set terminal png size 1024,768 In order to put it in IEEEtran latex, I have to scale down. \begin{figure}[!t] \centering ...

1 answers | 2 hours ago by SparkandShine on Stack Overflow stackoverflow.com
1 answer

Derivation of equation for self information

I am trying to understand how the formula I(x) = -log(p(x)) for self information was derived. From what I have read, 2 constraints were imposed on the properties that we would like self-information ...

6 answers

The twenty doors (ROOM 2)

This is part of The Twenty Doors series. The Previous one is The twenty doors! (ROOM 1) ROOM 2: After entering the first door, you find yourself in a bigger room. You look at the keypad. [+] [-] ...

6 answers | 3 hours ago by Kslkgh on Puzzling puzzling.stackexchange.com
0 answers

Get AuthenticodeSignatureInformation of file

The only example I've found for using AuthenticodeSignatureInformation gets the instance from a ManifestSignatureInformation . and the only way I've found to get that is using one of its ...

1 answer

Does authenticated encryption add any protection to a signed digital envelope?

The general scenario of hybrid encryption is to use public key cryptography for the exchange of a one time session key that can be used for the encryption of the plaintext with a symmetric encryption ...

1 answer

I would like to generate a table in Latex with cell rows in different colours. The cell can be any cell of a table.

I am pursuing PHD in Mathematics and the topic is Graph Theory. In my thesis I have to color a specific cell row (edge of a graph) of a table depending on the my requirement in Latex. Please let me ...

1 answers | 4 hours ago by Anupama S B on Stack Overflow stackoverflow.com
0 answers

The difference in entropy rates between a hidden process and its observation

Let $S$ be a finite state space and $o:S\to S$ an observation function. Given a distribution $p$ on $S\times S$, consider the following optimization problem: $$\max \left[ EntropyRate(\{x_t\}) - ...

15 30 50 per page
1 2 3