Small tags/sites
21 tags on

Small tags/sites

## 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 ...

## 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. ...

## 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 stackoverflow.com

## 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 stackoverflow.com

## 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 ...

## 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 ...

## 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 ...

## 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.stackexchange.com

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 ...

## 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 ?

## 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 ...

## 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 ...

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 stackoverflow.com

## 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 ...

## 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 ...

## 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 ...

## 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); ... ... ...

## 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 ...

## 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 ...

## 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. ...

## 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?

## 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 ...

## 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 ...

## 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 stackoverflow.com

## 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 ...

## 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.stackexchange.com

## 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 ...

## 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 ...

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\}) - ...