Small tags/sites
   21 tags on

Small tags/sites


0 answers

RSA encryption basic

Im trying to understand RSA encryption (as a cryptography beginner) and i was wondering if anyone could answer this quesiton thanks. go on this wiki page ...

1 answer

Secure Encyption of File on Disk

I want to be able to store some data on disk after being downloaded from a server that will be fairly resistant to hacking! What I was going to do was encrypt the data with a private key on the ...

0 answers

discrete math cryptography

An affine cipher is encryption using a simple mathematical function. Consider the affine cipher $c = ax+b \pmod{26}$ where $x$ is the plaintext, the function applied to each letter of the plaintext ...

1 answer

A riddle wrapped in a mystery inside an enigma

Here's something to keep you busy over the weekend (or not, if someone cracks it straight away). The following message can be unambiguously decoded to reveal an eleven letter word. It can be ...

0 answers

Scala futures computation time?

There are some code def computations1(params: AnyRef*): Future[ComputaionResults] ={ //computations } def computations2(params: AnyRef*): Future[ComputaionResults] ={ //computations ...

0 answers

Understanding Java Security Providers

I'm hoping to use the below issue we came across recently to better understand Java's security providers, ciphers and encryption in general. We got the following error during an SSL Handshake (using ...

3 answers

Are there any digital signature algorithms in common use that result in 32-byte signatures?

I don't consider myself to be an expert in this field, so forgive me if there is an obvious answer. I am having a tough time finding an algorithm that can sign data and output a 32-byte signature, ...

3 answers | 41 mins ago by RLH on Cryptography crypto.stackexchange.com
3 answers

Maximum length in bits of the product n=pq

If p and q are two 1024-bit prime numbers, would the maximum length in bits of product $n=pq$ be ${1024}^2$ or $2^{1024}$? I think it is ${1048576}={1024}^2$? Also, would the least significant bit ...

3 answers | 50 mins ago by cryptoclk on Cryptography crypto.stackexchange.com
0 answers

How did Planck use the concept of statistical entropy in trying to understand the physical meaning of his own law?

I was reading Introducing Quantum Theory: A graphic guide (by J.P.McEvoy & Oscar Zarate) and came across Planck's predicament of understanding his very own law that accurately explained the ...

0 answers

django Cryptographic signingn error BadSignature('Signature “%s” does not match' % sig)

I am trying to use mentioned in title package https://docs.djangoproject.com/en/1.6/topics/signing/#using-the-low-level-api to deal with encrypting/decrypting urls for password reset. I am facing: ...

0 answers

Use Super+C/V for copy-pasting in Emacs

In Emacs I activated the option to use CUA keys for copy/cut-pasting with C-c/C-x/C-v. However sometimes it creates a problem when using Latex/Auctex key shortcuts, because it "eats" the first C-c or ...

2 answers

Should we participate in Winter Bash 2014?

We participated in 2013 and I think a lot of users had fun with it (especially e-sushi who seemed to find the most hidden hats if I remember right). Winter Bash is an annual event that can run on any ...

3 answers

How to obtain Play! framework's Javadocs?

I'm about to start a new project and we've decided to use Play!. I've configured my IDE (Eclipse Luna) but, unfortunately, there isn't any sign of the documentation when I hover any function, class ...

0 answers

openPGP remove autogenerated comments

I recently tried downloading other PGP/GPG tools and ended up trying GnuPt (http://www.gnupt.de/site/index.php?lang=de). I did not like how it worked, and ened up uninstalling it. However now even ...

1 answer

simulating rc4-256 with rc4-128

OpenSSL supports rc4 with 128-bit keys and rc4 with 40-bit keys. It does not support rc4 with 256-bit keys. My question is... is it possible to modify the state of the pseudo-random generation ...

1 answers | 3 hours ago by neubert on Cryptography crypto.stackexchange.com
0 answers

FormsAuthentication.Encrypt/Decrypt works (algorithm or smth)

How FormsAuthentication.Encrypt cookies? Does it use RSA or smth else? And why i cant change .ASPXAUTH cookie to another user data?site just ignoring new encrypted data(userID)

0 answers

Non-repudiation in XMPP - how to do it properly?

There is a number of documents on digital signatures and non-repudiation in XMPP: 1, 2, and another one - xep-0274.html, but all are deferred. So is there a standardised way of doing it?

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:

1 answer

Minimum number of independent trials needed to detect a bias

Suppose, I suspect that the probability of occurrence of a particular bit as $0$ is $.558$. Since, it is not $.5$, so this is possibly a bias. Now, my question is: What is the minimum number of ...

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

Using CipherInputStream with Sockets

I am encountering an issue when using CipherInputStream over a network connection. I have read a few questions and articles on this and experimented based on their contents but to no avail. I have ...

1 answer

can you suggest any applicayion for implementing threshold homomorphic encryption cryptosystem(Paillier cryptosystem)

I want to implement one project in multi party homomorphic encryption using paillier. Can you suggest any application for implementation.

3 answers

Repeatedly using same key on different plaintexts

Symmetric encryption: Does using the same key over and over again introduce a vulnerability? Meaning, if I transmit a different piece of plaintext encrypted with the same key every day, will an ...

3 answers

Is there a “single line” way to generate an encrypted string?

I want to generate a link http://site/?code=xxxxxxxxxx Where xxxxxxxxxx is an encrypted string generated from the string user01. And I will need to convert it back later. Is there a simple way to ...

2 answers

Secure degree reduction for Shamir's secret sharing

I understand the basic Shamir Secret Sharing protocol, and when two shares are multiplied, the degree of the polynomial increases. I've seen in a number of papers a reference to a degree reduction ...

1 answer

Java 7 -> Java 8: AES Causes exception: “BadPaddingException: Given final block not properly padded” in conjunction with BufferedReader & ZipStreams

We instantiate the cipher with the following statement: Cipher cipher = Cipher.getInstance("AES"); SecretKeySpec key = new SecretKeySpec(cipherKey, "AES"); This works in java 7 (1.7_45) but no ...

1 answers | 6 hours ago by morpheus05 on Stack Overflow stackoverflow.com
0 answers

Using Javascript AES encryption to file

I'm using aes(http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js) encryption to 300mb file but, Shows an crash error on chrome. The capacity of small files will be encrypted. Why is ...

2 answers

how to disable a openssl engine?

I am trying to compare openssl aes encryption performance with and without Intel AES-NI engine. I am using CentOS6.3 whose openssl has already implement the Intel AES-NI engine. which means my test ...

1 answer

The same certificate installed on different servers has different certification path. One works, one does not

We had an interesting problem come up. We solved it be re-installing the cert that does not successfully encrypt a message. I'm wondering if anybody knows how the same cert can display a different ...

3 answers

Android File Cryptography

How to make encryption and decryption on an application's files in sd-card? so that i may secure the files on the sdcard and no other person will be able to access outside of that application with ...

3 answers | 8 hours ago by Ak... on Stack Overflow stackoverflow.com
1 answer

Meaning of Multiplicative Group to the power n i.e. Z^n

For e.g. in the given link: http://upload.wikimedia.org/math/e/5/5/e5586e644d7a272335169a020015fe9f.png or on the 2nd para of page : http://en.wikipedia.org/wiki/Learning_with_errors or Zq ^ n

15 30 50 per page
1 2 3