Small tags/sites
   21 tags on

Small tags/sites


1 answer

Theres GOLD in dem der hills!

A pirate's treasure... Billy the pirate buried his plunder at the mouth of a large river. He killed all of his crew then made his way on foot back to civilization. He ended up getting sick with yellow ...

1 answers | 19 mins ago by bscott on Puzzling puzzling.stackexchange.com
1 answer

Is there any direct way of encrypting DTMF tone so that only intended will receive this?

I googled for any help on this particular requirement, since nothing came through I have decided to post this question. I will keep it short, I need a help on DTMF generation using android. The ...

1 answers | 50 mins ago by Nikhil.T on Stack Overflow stackoverflow.com
0 answers

How to break this PRNG encryption scheme?

Suppose we have the following symmetric algorithm: key = random bits G = PRNG(seed: key) input = [0,1,1,0,1,0,0,0, 0,1,1,0,1,0,0,1] // "hi" in ascii The key can be thought of as a sufficiently ...

0 answers

Import-on-demand declaration - subpackages only

Related : How can I compile "import pack.*" with ant/javac, when there are no such classes? Suppose we have the given package structure parent | ---a ---b where the package parent only ...

1 answer

Writing to my CipherStream does not write to my ByteArrayOutputStream

I'm trying to write a method in a testing environment to get it working before using it in my project. This method should take a string, turn it to bytes (using UTF-8 charset), run it through an AES ...

1 answer

Simple XOR encryption giving unexpected results

... char text[256]; fgets(text, 255, stdin); xorEncrypt(text, 'a'); ... void xorEncrypt(char *string, char key) { int i, string_length = strlen(string); for(i=0; i<string_length; ...

1 answers | 2 hours ago by Kidades on Stack Overflow stackoverflow.com
0 answers

Chosen plain text and chose ciphertext definitions clarification

I am trying to understand a concept of CPA and CCA attack and I cannot get one thing from the definition. If say an attacker can execute a CPA attack for something like "Send 100 dollars to attacker" ...

1 answer

Caesar Cipher: I want to shift user input (plaintext) “n” number of times

/** * * @author hamza */ public class Caesar_Chipher { // This is where I call my functions public static void main(String[] args) { userChoice(); } //User ...

2 answers

Does CTR mode yield a PRF?

Can the keystream generated by CTR mode be considered a pseudo-random function? I give more information. Assume $f$ is a PRF. We define a function which takes 2 inputs, the desired length, and an ...

2 answers

Best approach to this authentication/encryption scenario

My scenario (dumbed down): Added for clarity: App1 is a HTML page with a CUSTOM URI. App2 is a C# console based program I have a application that will launch another application. So we have App1 ...

0 answers

Using same modulus for RSA

I know that there exist some attack when using same modulus. Can two different pairs of RSA key have the same modulus? RSA cracking: The same message is sent to two different people problem But ...

1 answer

What are the required security properties for salts?

I was recentely think about password hashing (maybe caused by the PHC progression). I started to think a little more about it and got stuck at this question: What security properties do ...

1 answers | 4 hours ago by SEJPM on Cryptography crypto.stackexchange.com
0 answers

Encrypt video for local playback only

We have a Linux machine with a USB port and Internet connection. We need to show videos on that machine to interns, but we want to protect the files form copying. Only local playback should be ...

1 answer

Encryption on cookie codeigniter 3.0.x

This is my first time using the encryption library. I have read the documentation and I have done some encryption on strings. I want to ask this time is this is a valid thing to do. My code: public ...

0 answers

How does the rdp file signature creation work?

How is the rdp file signature created (I mean the rdpsign.exe internal algorithm ) ? Which encryption technology is involved? rdpsign.exe adds two new values to the rdp file: "signscope:s:" and ...

2 answers

How to put a big centered “Thank You” in a LaTeX slide

I want a "Thank you" to be displayed at the center of a slide in LaTeX with a big font size.

1 answer

How to get compile error messages with JavaCompiler

This is the code I am using to compile a java class: public void javaCompile(String fileName) throws IOException { JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); ...

1 answer

Vim: how can I fix missing commas in BibTeX files?

Often, I start with a BibTeX entry: @book{, author = {Person, Some}, title = {Book}, publisher = {Publisher}, year = {2015} } Then, I discover that the editor is called "Editor" ...

3 answers

Why is the ciphertext 32 bytes long when encrypting 16 bytes with AES?

I use encryption AES algorithm, when i encrypt 16 byte(one block) the result is 32 byte. Is this ok? My source code that i used is: package net.sf.andhsli.hotspotlogin; import ...

3 answers | 5 hours ago by ebra on Stack Overflow stackoverflow.com
3 answers

PHP IF not working after Encrypt and Decrypt a String

I want to encypt all my session php data and when I want to use these information , decrypt them for this I am using these functions : define("ENCRYPTION_KEY", "!@#$%^Soheil&*"); /** * Returns ...

2 answers

Is entropy a meaningful concept on a quantum level?

My naive assumptions, as I really am at a pretty basic stage in QM, are as follows: Classically, entropy gives us a practical measure of the direction of time, as opposed to our physical laws which, ...

2 answers

Why don't we upvote questions on crypto?

Even when a perfectly fine question is asked it sometimes feels that I'm the only person voting it up. This even happens to questions like these. Now I guess the answer already had an upvote from ...

1 answer

TLS Handshake : Server authentication or only Server ‘s Certificate authentication?

I have some difficulty understanding the way in which the Server is really authenticated by Client in TLS handshake (in case of using RSA key exchange). When Client receives Server ‘s Certificate and ...

2 answers

Latex Table multiple row and multiple column

I'm trying to create a table in Latex but without success. I tried different solutions but no one solves my problem. I would like create a table like the picture below: Can anyone show how to do ...

1 answer

NTRU test vectors

Where can I find NTRU test vectors? In some research work in 2001, it is stated that test vectors were not publicly available at the time. Then in this ESSS1v2 standard under IEEE1363 here , the ...

2 answers

Error handling Scala : Future For Comprehension

I want to do error handling in my play scala web application. My application talks to the data base to fetch some rows, it follows following flow. First call to db to fetch some data Use the data ...

1 answer

Security of such cryptosystem design?

Is one able to reveal $m$ when $$С = (m + r)^e \bmod N$$ $C$ is known $r$ is known $e$ is known $N$ is known and not prime

2 answers

Generate RSA-2048 private key for a VERY fast decryption (don't care if it will be unsecure)

Given public standard RSA exponent e = 65537, is there any (d, n) pairs so that RSA decryption becomes a trivial operation? The modulus n must be no less than 2048-bit. The goal is to get a real ...

2 answers | 7 hours ago by Eug on Cryptography crypto.stackexchange.com
1 answer

Authenticating with a document

Hope you're having a nice day. I need to implement an authentication system between a "document" (it's not exactly a document, but an object without any computing capacity, only able to store ...

2 answers

How strong can multiple encryption be?

Suppose I encrypted a homophonic substitution cipher at the level of syllables, trigrams, digraphs, and individual letter with a Vigenere cipher using the keyword cryptography. I would then encrypt ...

15 30 50 per page
1 2 3