Small tags/sites
21 tags on

Small tags/sites

## Chef - create test data bags at Compile Time

In my chef recipe, I am basically decrypting a couple of data bags: 1. test.json 2. sample.json The data obtained after decryption will next be used to create files on my kitchen node. Basically, ...

## Difference in blowfish encryption between Perl and Java

We´re writing and application in both Java and Perl storing encrypted CBC Blowfish in the same database. Both will be encrypting and decrypting, so they need to be able to get the plain text that the ...

## mcrypt_encrypt(): Key of size

mcrypt_encrypt(): Key of size 10 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported! http://i.stack.imgur.com/qE1ZD.png How can I fix this??

1 answers | asked 2 hours ago by Ahmet Zeybek on stackoverflow.com

## When button is clicked (tkinter), nothing is returned

When I run this no errors come up, but the button does not return anything import tkinter #imports the tkinter module window = tkinter.Tk() #creates window window.geometry("675x300") #sets window ...

1 answers | asked 2 hours ago by pea poi on stackoverflow.com

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

## Source for PKCS#11 Header Files

Is there a known authoritative source for the ANSI C header files for PKCS#11 Cryptoki? Specifically, I am having trouble locating pkcs11.h, pkcs11t.h, and pkcs11f.h for v2.30 and v2.40. Are there ...

## What does Europe have in common with Timon and Pumbaa?

The answer is a five-letter English word, but "give me a hint" you might say. Unscramble the non-English text below, and you will be well on your way to solving this riddle. Just don't let ...

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

## Clarifying Derivation of Entropy

I'm learning about probability from the book Pattern Recognition and Machine Learning by Christopher Bishop. It includes a justification for the definition of entropy that can be summarized as: let ...

## TSQL Decrypt By Key from XML String

I have an XML string where a node's value within that dynamic string is encrypted. My XML structure looks like the following: <optional> ...

## RSA function over $Z_t^{*}$ where $t$ is prime

RSA function is defined over $Z_N^{*}$ where $N=pq$ with $p,q$ primes. A public key is a pair $(N,e)$ and a private key is $(N,d)$ where $d=e^{-1} \mod \phi(N)$. Assume that RSA function is defined ...

## ElGamal scheme attack when one message is known and ciphertexts are intercepted

Let $G$ be a finite cyclic group of order $p$ and let $pk = (g, h=g^a)$ and $sk=(g,a)$ be Bob's ElGamal public/secret key pair in $G$. To encrypt a message $m$, a random number $r$ is selected and a ...

## Are there any plug-ins or software programs (preferably free) that you use to generate MathJax equations and edit them?

It's taking me a very long time to ask questions and respond on here, just because I'm having a hard time figuring out the syntax... Do any of you have suggestions?

## Method for storing users passwords for other services

I run a service that integrates with a few other cloud platforms via their apis. In order to do this, we have to store the login credentials for OTHER sites in our database. Obviously security is a ...

## Android AES/CBC encryption

Currently I'm using AES/CBC encryption using the javax.crypto.cipher library, however, I'm finding its a little too slow. It takes anywhere between 45s-1m to decrypt a 10 minute .mp4 video file. Is ...

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

## Cannot Decrypt the encrypted columns from the database backup on local machine

I've a SQL server 2014 running on one of our server. We're in the process of implementing security steps for our databases. I've encrypted a column in one of the table in the database on the server. ...

## What happens if no final subtraction is done in Montgomery multiplication?

I'm doing Montgomery arithmetic modulo $N = 2^{255}-19$ for the Curve25519, picking $R = 2^{256}$ for Montgomery. After multiplying two numbers $0 <= A,B < N$ in the Montgomery representation ...

## Document upload parallel through Apex - Design review

I am doubtful whether I am going in the right direction. My requirement is to upload all the documents from Salesforce to my local storage space. I have a button that triggers the following function: ...

## TLS encryption with a self-signed PKI and Python’s asyncio module

I want to enable TLS encryption with a custom / self-signed PKI for a self-contained distributed system built with Python 3’s asyncio. I’ve read Python’s ssl docs as well as several tutorials: ...

## Is AesCryptoServiceProvider.GenerateKey safe to use?

Maarten Bodewes' comments on this question, suggest that AesCryptoServiceProvider.GenerateKey() is unsafe to use for key generation. We are currently using this method to generate cryptographically ...

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

## Enigma Machine Simulation

This is an Enigma Machine Simulator written in Java: Enigma.java package enigma; import java.io.*; import java.awt.*; import java.awt.event.*; import java.io.IOException; import ...

If I have an original file and another winrar password protected rar file containing that original file, than can I extract password?

## Why FATCA IDES “protocol” does not use RSA encrytion directly on Zip archive ?

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

1 answers | asked 9 hours ago by Yves Martin on security.stackexchange.com

## JSch: ByteArrayInputStream: How to check the terminal result

I will use Jsch to ssh to another server And check if the path exist But I found that the baos.toString() will print out all the result on terminal : test -d /root/bin/python || echo python ...

## Powershell Byte Array input string invalid format

I've written a powershell script which changes the password of a local administrator that works well - It sets the password through a config file which contains the encrypted password and the aes key ...

1 answers | asked 10 hours ago by Wee Knee on stackoverflow.com

## C# and PHP encryption compatibility - 3DES ECB with PKCS7

I have a common problem but none of the various solutions in the web seems working for me. I have C# code which make an encrypt 3DES-ECB with PKCS7. I have to do the same in PHP, but I'm getting ...

1 answers | asked 10 hours ago by Piero Alberto on stackoverflow.com