Small tags/sites
   22 tags on

Small tags/sites

  • All Sites
  • All Meta Sites
  • Cryptography
  • Meta Cryptography
  • Stack Overflow

0 answers

Can the security of this openvpn setup be improved?

I am using Tomato Firmware (by Shibby). I have a working OpenVPN Server/Client setup and am wondering if my setup is secure and whether anything is glaringly wrong, or could be improved. OpenVPN ...

0 answers

What is the difference between LCG and Affine cipher?

What are they used for? What are the structural differences of these? Need some fast help

1 answer

Muchomor cipher

I've been given a task to research and possibly implement so called 'Muchomor' cipher. Has anybody ever heard of this cipher? I've found only one article about it and it was in Russian. I'm quite ...

1 answer

Is it possible to double underbrace?

\ln(L)\approx\ln(L_0) + \underbrace{\frac{\mathrm{d}\ln(L)}{\mathrm{d}\mu}\bigg|_n}_{=\dfrac{n}{\mu}-\large{1}}(\mu-n) + \frac{\mathrm{d^2}\ln(L)}{\mathrm{d}\mu^2}\bigg|_n\frac{(\mu-n)^2}{2!} From ...

1 answers | 56 mins ago by BLAZE on Stack Overflow
0 answers

Storing a hmac key in Android keystore

I am using the below code to create a hmac key and returning it as a string. KeyGenerator keyGen = null; try { keyGen = KeyGenerator.getInstance("HmacSHA256"); } catch ...

1 answer

RSA: must $d$ be an integer?

I am only taking baby steps in RSA. If $p=11$, $q=7$ and $e=3$, $$\phi(n) = 10*6 = 60$$ Then: $$d = (2 (\phi(n)) + 1 ) / 3 = 121/3$$ Should $d$ be kept as a non-integer or is such a $d$ invalid? ...

0 answers

Generate non-random EC private key with openssl

I'm trying to generate a deterministic private key for the EC secp384r1using the Unix command openssl. What I mean is, instead of picking up a random integer I want the private key to be a value x. ...

3 answers

When is a reaction reversible?

When speaking in thermodynamic terms, when is a reaction reversible? My attempt: A reaction is reversible when $\Delta\text{S} < 0$, because according to the second law of thermodynamics, "in ...

0 answers

More rounds after aes related key attack?

On Schneier discuses that there is a new related key attack on 10 rounds of and 256 "Another attack can break a 10 round version of ...

1 answer

video encryption using aes

This code works for smaller files even mp3 and around 50mb video files but it gives me error saying out of memory when it try to encrypt larger video files(>1gb) in c# win application AES algorithm: ...

1 answers | 3 hours ago by panman on Stack Overflow
0 answers

Implementation specific differences between RDRAND and RDSEED

I've read Intel's The Difference Between RDRAND and RDSEED, but I have some open questions that are specific to usage in an application. I work with Wei Dai's Crypto++, which is a C++ class library of ...

1 answer

RSA: Most significant key bit always 1?

Is it possible to say that the most significant bit of an RSA private exponent is always 1? Wouldn't that weaken the key strength by exactly that one bit? I refer to the paper "Timing Attack: What ...

0 answers

S boxes in Blowfish

I know how the s-boxes in blowfish are initialized, but how is the output sorted, I mean which bit from the input goes where in the box ? and what do mean they have 256 entries if they are 32-bit ...

0 answers

Big type-I Feistel as memory-hard function

I'm wondering, if something like block cipher with big block size is memory-hard function? All memory-hard key derivation functions I've seen look more complex than that, which made me question my ...

1 answer

Simple digital signature example that one could compute without a computer?

I am working on a document to explain Bitcoin to students. But I am having a hard time translating the principle described in §2 of the Bitcoin whitepaper in layman's terms. There is a great question ...

0 answers

Ruby OpenSSL encrypt with hex key returns empty string

Hi all this is my first question here. I'm gonna go straight to the point. Thanks for your help in advance. I'm trying to encrypt an string using a base64 key created from a 32 byte hex string and a ...

2 answers

How to ensure the non-negativity of Kullback-Leibler Divergence KLD Metric (Relative Entropy)?

Hello, I’m having some problems in ensuring the non-negativity of KLD! I know that KLD is always positive and I went over the proof. However, it doesn’t seem to work for me. In some cases I’m ...

2 answers | 5 hours ago by Mike on MathOverflow
0 answers

bank websites using AES_256_CBC vs AES_128_GCM/CBC

Hello i have just recently started learning about cryptography, so i was doing some little research on what kind of encryption techniques and modes that were used in bank web pages. I have noticed ...

1 answer

LaTeX changes colour of in-text citing with hyperref package and natbib

I am using the natbib and hyperref packages in my LaTeX document and would like to change the colour of the box around the hyper-referenced citations from the baseline green to a more muted colour ...

1 answers | 6 hours ago by Thomas on Stack Overflow
2 answers

(Lightweight) Multicast one-way Authentication

Problem: I'm thinking about a lightweight solution to provide source authentication (only one source) to multiple receivers (multicast message). Context: Taking the problem to ground, we can think ...

1 answer

How to Encrypt a Data Entered from Textbox?

I don't know how to encrypt a data entered from Textbox. The data entered will appear on the next form inside a DataGridView. My problem is I want to encrypt the data when it appears on the ...

5 answers

How to insert emoticons in LaTeX?

I know it's a long shot, but is there some package or means to insert emoticons into a LaTeX document?

5 answers | 7 hours ago by Ashwin Nanjappa on Stack Overflow
0 answers

Latex table formatting: rotate, fit in page, caption

I am trying to format a table in latex. I am facing following problems: There are space on the left side of the table, but my table is not using that space rather it floated to right side and moving ...

0 answers

Reusing same source for single-source randomness extractor

Let $ext$ be a single-source randomness extractor which takes a $d$-bit seed and a $n$-bit source as input and produces a $m$-bit output. Suppose we have a source $X$ with min-entropy $k$. Is it ...

1 answer

Python Equivalent of Java's 'Keystore'?

Is there a standard mechanism for storing/retrieving cryptographic keys and certificates in the Python platform: equivalent to the 'keystore(/truststore)' in the Java Platform ?

1 answers | 9 hours ago by monojohnny on Stack Overflow
1 answer

Which hash function is usually used in RSA?

I know there are several available, however I can't seem to find whether there is one standard one or not. I think I understand the process of digital signatures, just wondering which has function is ...

1 answers | 9 hours ago by Ali on Cryptography
1 answer

Using a blinding factor for RSA in pycrypto

In python, I am trying to blind and unblind a message. When I unblind the message, I don't get the original message. Does anyone know what I might be doing wrong. The following is my code: s = ...

0 answers

Python: ImportError from compiled source code

I'm having problems while running a compiled source code. The code itself is correct and if I run python everything goes fine; if I compile it with pyinstaller or software like this, and then ...

0 answers

how to detect type of compression used in source file

I have some source files that i should detect compressed data and extract them. In one of them i see the sequence 0x01 0x01 0x80 and after some bytes the sequence 0x20 0x00 0x00 0x00 and filename ...

1 answer

Rogue CA Certificate MD5 Collision Control

Papers from Marc Stevens et al show that X509 certificates that rely on MD5 signatures can break the assumed security model, that is, it allows for a forged certificate to have the same signature as a ...

15 30 50 per page
1 2 3