Small tags/sites
21 tags on

Small tags/sites

## When doing su <user> after connecting as root user, it gets hung up in JSCH

I'm trying to execute commands in a particular sequence. (1) Connect to a remote node ssh -i path-to-key root@some-remote-node (2) su user While doing the same using JSCH, I'm able to connect to ...

## How to submit FATCA

Here is the context: to transmit FATCA data to US IRS service the IDES protocol defines the following steps sign the XML Payload.xml file with enveloping signature, SHA-256 with RSA private key, as ...

## Build PublicKey from Base64 DER - Java

I am having an issue in passing a base64 encoded DER cert to a Java application for it to extract the public key from. I can make this work in both objective-c & ruby, but am struggling with an ...

## pandoc full-featured online?

Is pandoc hosted anywhere for online use with complete functionality? The online pandoc demo lacks PDF output and has a character limit. Specifically, I'd to convert Markdown to PDF with embedded ...

3 answers | 28 mins ago by fvogel on stackoverflow.com

## Force scapy to re-dissect a layer after changes

I am working with a fork of scapy (a Python packet manipulation tool) called scapy-com. This implements 802.15.4 and Zigbee parsing/manipulation, amongst other protocols. A quirk of the Zigbee ...

## EdDSA Signature Algorithm - hash of secret key

Why does EdDSA use the (SHA512) hash of the secret key as the exponent for the public key rather than using the secret key value directly? This seems inefficient and I can't see how it adds any extra ...

## AES encrypt in .NET with zero padding and decrypt with Node.js

I'm trying to decrypt some data with a NodeJS. This data was created with C# and the AES-CBC-256 algorithm. The keySize and blockSize are 256 and the Padding is ZeroPadding. I cant' decrypt it with ...

## How to change principal text font size in latex report

Hi I am using the following packages, I tried different methods to change the font size but in vain (extsize, luximono, anyfontsize). These are the packages I use (quite a lot actually), I suspect ...

2 answers | 50 mins ago by samham on stackoverflow.com

## Maven: javac: source release 1.6 requires target release 1.6

NOTE: This appears to be a limit in the "javac" program. I have Java 6 code that needs to be built for a Java 5 JVM. My previous work with the javac ant target (both with the JDK compiler and with ...

7 answers | 52 mins ago stackoverflow.com

## Decrypting/Encrypting PGP in Load Runner Script for correlation/parameterization

One of the applications that we stumbled up on is a ThickClient Desktop application with WCF Webservices at the backend. We are able to record the communication using LR VuGen 11.52/12.02 which is in ...

## The twenty doors!

(SEMI-INTERACTIVE-PUZZLE) You stand in a small, dark room. You have no idea where you are. Then, you see a message in front of you. Welcome to the dungeon! In each room, there is some paper, ...

## DexGuard: how to specify string encryption

I am trying to get a basic understanding of how to specify string encryption using the command -encryptstring in the file dexguard-project.txt. For example, I see -encryptstrings ...

## What size of initilization vector needs to use in AES256 encryption in java?

I am using AES256 encryption with CFB mode. I have to use 32 byte key. But I am little bit confused about initialization vector. How many bytes of initialization vector should be used with AES256 ? ...

## Partial Homomorphic Schemes that are probabilistic

As mentioned in wikipedia there are many Partial Homomorphic Encryption(PHE) scheme like RSA, Elgamal, Pailler etc. Pailler encryption scheme seems to be probabilistic Are there any other PHE ...

## Decrypting a file encrypted using OpenSSL 256-bit AES in AS3

I have a file encrypted using openssl that I need to decrypt in flash. The encrypted file was generated using this command in openssl: openssl aes-256-cbc -in "file-to-be-encrypted.jpg" -out ...

## How to retrieve and handle exceptions in Java's ExecutorService

I am trying to figure out a way to handle exceptions in a multi-thread setting. I would like to execute certain tasks in parallel, each of which might throw an exception that I need to react to ...

## Decrypting Captures SSL Traffic in C# using Private Key

I am creating a C# application which binds a socket to port 443 (SSL) and captures the traffic in Windows. But I've been unable to find a solution to decrypt the SSL content. I've got the actual ...

## Break the flow of CompletableFuture

I have certain flow that runs async using the CompletableFuture, e.g.: foo(...) .thenAccept(aaa -> { if (aaa == null) { break! } else { ...

## trouble encrypting files for travis-ci on ruby-2.2.2

I'm having trouble encrypting my database.yml for Travis CI. Based on their documentation, it appears you encrypt files with the travis encrypt-file command. I'm running on Ruby-2.2.2 and it's giving ...

## RNCryptor JS simple case fails

I have used RNCryptor successfully in Objective-C, and now need to encrypt data for my iOS app from Javascript. But, this simple test fails... <script type="text/javascript" ...

## Ideas for non duplicate cryptographically secure numbers

My Boss asked me this today. I am not a math major. He needs to generate 50 billion non-sequential non-duplicate (no collisions) cryptographically secure random numbers. I work in GO. Any ideas?

## Mutual verification of shared secret

Is it possible to develop a scheme where two parties, unsure if they have the same secret, can verify that the other does or does not share the same secret, without one party being able to cheat and ...

## Lepidopterology needed!

This puzzle belongs to the puzzle series: hyper-modern art The two friends in the gallery of Hyper-modern art are still discussing. "You know what, to certain extent I start enjoying this ...

## What's the best approach in encrypting the entity framework connection string?

using the database first approach in Entity Framework, using the connection string stored in the app.config file, what would be the best approach in encrypting or hiding the connection string when ...

## A way to use Openssl in different languages/platforms

Openssl is known to be a standard in crypto world. Openssl is written in pure C, so the problem comes that how to use Opnessl in different languages? such Java. Though Java provides JCE and ...

2 answers | 10 hours ago by frogcdcn on stackoverflow.com

## How does PeID calculate entropy?

I'm curious about the entropy field value that shows up when a binary is dropped into PeID. Does someone know how it arrives upon this value?

## How to securely generate an IV for AES CBC Encryption?

I work on some crypto stuff. I use AES 256 with CBC mode I use OPENSSL I am aware of the following things (source = wikipedia): an initalization vector should be: Unique: must not be repeated ...

## Is there a definition of relative Renyi entropy?

Is there a Renyi entropy analogue of $H(X \vert Y)$" ? If yes then is there any known meaning to that? Googling around I found a few different notions, equation 18 here, ...

I have blinded $m = 16$ with $r= 13$, $e = 7$ and $n = 209$. This resulted in $m' = 464$, which led to a $s' = 8$. Now, I want to unblind this $s'$ by using $s = s' \times r^{-1}$ but im stuck at ...