Small tags/sites
   21 tags on

Small tags/sites


2 answers

Different padding rules for Merkle-Damgard and Keccak/sponge function

We learned that length padding was used in Merkle-Damgard where after padding with zeros another block is added that contains the initial length of the input. This is supposed to prevent same hash ...

0 answers

Which MediaCrypto “UUID” do you use with Secure RTP?

I have some code that uses MediaCodec to display camera video with sub-second latency, streamed over RTSP from a Raspberry Pi. which is using VLC to stream H264 video coming from the camera driver. It …

1 answer

Textbook RSA with exponent e=3

I remember $e=3$ is a bad choice for textbook RSA. But I can't really recall why. What happens if I choose $e=3$? Can I retrieve the message by simply calculating $\sqrt[3]{c}$? Why can't I do that …

1 answers | 27 mins ago by CGFoX on Cryptography crypto.stackexchange.com
0 answers

Why is my decrypted data formatted like this?

I am currently working on a side project to learn how to use Crypto++ for encryption/decryption. For testing my project I was given the following values to help setup and validate that my project is …

5 answers

Replace a character with a string in LaTeX

I'm looking for a way to do a substring replace on a string in LaTeX. What I'd like to do is build a command that I can call like this: \replace{File,New} and that would generate something like …

5 answers | 32 mins ago by Matt McMinn on Stack Overflow stackoverflow.com
2 answers

Why is MAC using nonce+message+hash(nonce+message+identifier) not the standard?

Given that we know that nonce + message + hash(nonce + message + mac-key) all inside the encryption makes it possible to detect if any bits of the message have been changed by the attacker (in essence …

1 answer

Stata - esttab and tabstat formatting

I am using esttab + tabstat to generate a .tex file to be opened in LaTeX. I am close to getting what I want, but there is one issue: How do I get my standard deviations on the same line after the …

0 answers

Storing credentials for automated use

I've already looked around, and since i'm no security or encryption expert, I am still confused on how to implement encryption in my program. I need a server to login to its gitHub account to update …

2 answers

Java - encrypt / decrypt user name and password from a configuration file

We are busy developing a Java web service for a client. There are two possible choices: Store the encrypted user name / password on the web service client. Read from a config. file on the client ...

1 answer

Secure way to store fixed size string of digits

I need to store a string of digits (0-9) of a fixed size in my database securely. I've already performed a rainbow table attack on a plain hash, and it broke it in a matter of seconds. One option I …

0 answers

Implementing Cryptographic Group Signature Scheme

Is there any library which can be used to implement Cryptographic Group Signature Scheme?

1 answer

Crypto.encryptAES() throws InvalidKeyException

I'm trying to encrypt a string using the private key qp[vmauf;c[s.z/;vcS8DMN8H>K6J?dsr56lewqQ4WE?0FR.PV5>sa4pAS5NDF24SDK5SKMLVSX;DSAMKASMSADp[lqwe54352425but i'm getting this exception: ...

5 answers

bCrypt implementation in Javascript

I'm wondering if anyone has written or come across any implementations of bcrypt in JavaScript. I'm not against writing the code myself but if someone with a stonger background in cryptography has ...

0 answers

BouncyCastle Error

I am developing an android application. In this application I create my own private key by passing pass phrase, user id and keys. When creating the private key, it says "Error: ...

0 answers

Encrypted Cloudfront script getting injected to our site and causing js errors in our logs

A javascript error started popping up in our logs and exploded into tens of thousands of errors over a short period - probably 2-3 ours - then disappeared. The original of the error was traced back …

0 answers

helpExtract function does not work in R 3.1.1 and knitr 1.6.10

I took the following code from here written by @AnandaMahto. This function was working fine previously but stop working with R 3.1.1 and knitr 1.6.10. Any help will be appreciated. Thanks ...

1 answer

Issue using RSA encryption in javascript

I'm working with a project that currently is doing encryption in a salesforce apex class (using the Crypto library) and that logic needs to be moved into a javascript file. The node.js package I'm ...

1 answer

Which algorithm do you recommend for practical use to generate unique passwords for each website?

So, in my imagination there is this simple algorithm with only one master password, let's say a prime number 'p', which I have to remember. Using only the address of the website and p, the algorithm …

2 answers

AES-256 encryption: Generate 256bits(32bytes) key from my fixed string

I would like to use AES256 to encrypt a text, I'd like to use my email test@gmail.com as the key to encrypt it. This is what I tried: String key = "test@gmail.com"; SecretKeySpec keySpec = new ...

0 answers

System.Security.Cryptography.CryptographicException: Keyset does not exist thrown within Visual studio

Good day I am having serious issues trying to assign a private key due to this error. System.Security.Cryptography.CryptographicException: Keyset does not exist var store = new ...

2 answers

Encrypt SQL connectionstring

I need to encrypt my connectionString - I tried to run a Command Prompt with aspnet_regiis.exe -pef “connectionStrings” C:\Projects\DemoApplication It didn't work it says Cannot determine the …

2 answers | 7 hours ago by user3567884 on Stack Overflow stackoverflow.com
0 answers

\usepackage{xytree} adjusting node position

Is there a way to change the positioning of nodes in a tree? I've been using the child {node [circle,draw] {7} } command. When a node only has one child, it's positioned vertically below. Is there a …

2 answers

LaTex: Is it possible to vertically center multiple columns in a table?

I've found an example here but that only centers one column and I can't really adapt it to my needs. What I'd like is something like this:

0 answers

Encryption and decryption using AES Algorithms

I am making an encryption/decryption module for my app. I followed This Tutorial It is not giving any error and also not showing the output. Logfile 07-23 07:29:06.480: W/System.err(795): ...

5 answers

Adding author name in Eclipse automatically to existing files

Is there a real easy to use tool (no monster tool) that I can plug into Eclipse, and press a "generate header" button and then the authors name appears in every file in that project?

1 answer

Simplecrypt: Data to decrypt must be bytes

So, I wrote encrypted data to txt file. And I read the line using readline(). But what I get is string type value. In the text file, it looks like this: ...

1 answers | 9 hours ago by jakads on Stack Overflow stackoverflow.com
1 answer

AES 256 Encryption and Decryption of audio files in android

I have an audio recorder app in which i am storing those recorded files(mp4 audio files) in my external storage directory. Now when a button is clicked, i want to encrypt the mp4 files from external …

3 answers

Why is Entropy's Definition Useful?

I have somewhat of an understanding for other physical quantities, but as far as entropy goes I only know it to be "disorder". Why is the change in entropy formula an appropriate/useful definition, …

1 answer

Decrypting HTTPS traffic in Wireshark - not working and not sure why

I'm running Wireshark 1.8.6 on Windows Server 2008 R2 and attempting to decrypt incoming HTTPS communication in order to debug an issue I'm seeing. I have my RSA Keys list set up correctly (I think) …

1 answers | 10 hours ago by js80 on Stack Overflow stackoverflow.com
1 answer

Initializing SymmetricAlgorithm with valid values

I do not have a security background and the most I've dealt with cryptography is using snippets picked up from the net. After some reading up, it is clear that I need a better understanding of how ...

15 30 50 per page
1 2 3