Small tags/sites
   21 tags on

Small tags/sites


2 answers

How Do I Separate The Salt from the Hash After Encrypting a Password with bCrypt using Java?

OK, I am using Java with Spring MVC and Hibernate. I am using bCrypt for password encryption for the first time. I understand doing in that bCrypt integrates the salt with the hash. I have it set up ...

2 answers

How can I explain “zero knowledge proof” to an end user?

A ZKP allows proof of knowing the answer to a secret, without actually disclosing what that answer is. Is there any analogy that can help people put this concept into everyday practice? A "lie to ...

0 answers

Why the non-analyticity of free energy function implies phase transition? And what's its connection with other 'higher level' free energies?

I have seen 'free energy' arising from several contexts in very different forms, and each contains different amount of information. For example free energy is defined as the logarithm of the ...

1 answer

AES encrypt in c# decrypt in T-SQL

I have written the following code to decrypt some sensitive data, in most of the cases i need to query data using T-SQL where i can't decrypt the the data that is encrypted by this code. so my ...

4 answers

Google Chrome “Your connection to website is encrypted with obsolete cryptography”

Google Chrome is showing new information in the certificate section. Is this a big deal? If so how can I fix it on the server end? EDIT: Thanks for the answers but I'm not skilled in cryptography ...

0 answers

using source(“X.R”) in Sweave file

I need to use a function in my Sweave file to execute chunk codes. For example, I have function MEAN <- function(x) mean(x) in my directory, then I want use the chunk code x=c(1,2,3,4) MEAN(x) ...

0 answers

scala nested for comprehension with futures

My case domain classes are as below case Account(randomId: String, accounts: List[String]) // for each of accounts i need to get AccountProfiles. case AccountProfiles(actId: String, profiles: ...

0 answers

Is this variant of SRP useful?

I'm interested in using a modified form of SRP as a peer-to-peer authentication method. Since neither side is acting as a host, one of the primary design goals for SRP (that the client doesn't need ...

0 answers

Latex failing with Cygwin

I'm on Windows 7, running GNU Emacs 24.4.1, and I have also installed Cygwin and I am trying to use Cygwin as the shell in Emacs. I followed the answer here: ...

1 answer

Puzzle out the Cryptogram Patterns

So I haven't posted very many questions and I'm not yet very good at figuring out how many clues to include. In addition, I realize that the key behind the third cryptogram is not at all obvious so it ...

0 answers

Permuted vectors

Consider we have two vectors $v_1, v_2$ of size $n$, and each vector contains $n$ elements. We permute the vectors as: $\pi (k_1,v_1), \pi (k_2,v_2)$. Where $\pi (k_i,v)$ denotes a permutation of a ...

1 answer

Suppress checkstyle errors on PRIVATE member variables in a suppressions.xml?

On a project I am working on, checkstyle is failing with "Missing a Javadoc comment" due to a missing Javadoc comment on a private member variable. This seems like unnecessarily strict behaviour to me ...

2 answers

Question about decryption

I have a question about decryption. Let's say I have a bunch of files that are encrypted. Someone gains access to those files, and finds out that he already has one of them, unencrypted. My question ...

2 answers | 1 hour ago by kat on Cryptography crypto.stackexchange.com
1 answer

Assemble RSA keys from components

I'm studying openpgp cryptography and struggling to understand some things. I can't use pgp tool for generating keys and ecryption, but have to write a simple app to generate keys, encrypt and decrypt ...

3 answers

What does it mean to encrypt with a public key?

I've heard lots of public key theory, but I've never really understood how you can encrypt something that can be decrypted with a private key that you don't have. How does encrypting a message with a ...

0 answers

Java - Convert “RSSA PKCS#1 v1.5 SHA1” public key

I have a private 3rd party library with little, to no documentation at all, and I'm using their API to generate a RSA key-pair. The generated public key, is being passed back to Java code, as a ...

1 answer

Bilinear map + commitment

Let $\mathbb{G}_1,\mathbb{G}_2,\mathbb{G}_T$ be yclic group of the same order and $ e: \mathbb{G}_1 \times \mathbb{G}_2\rightarrow \mathbb{G}_T$, such that $u\in \mathbb{G}_1, g \in \mathbb{G}_2, ...

1 answer

Matching Hashed + Salted Passwords

I'm learning about encryption and security and I'm a little confused by a (possibly simple) concept. I understand how hashing and salts work for the most part, but I don't understand how functions ...

0 answers

@author tag for javadoc missing in Android Studio

I have migrated from Eclipse (ADT) to Android Studio but it's saying that @author is an invalid tag for javadoc.

0 answers

Simple Elliptic Curve Cryptography Method

I'm working on a project in order to learn the ECC encryption algorithm & I'm implementing it in OCaml. I'm having trouble finding an answer to this question online: Is there an asymmetric ...

2 answers

Is the Salsa20/ChaCha20 keystream generation one-way?

Is it possible to recompute the Salsa20 or ChaCha20 key in a realistic time if the keystream and the nonce are given to an attacker? Or is the keystream generation one-way, like a cryptographic has ...

0 answers

JDK 8 javadoc @propertyGetter,@propertySetter and @propertyDescription warnings

JDK8 Javadoc give me lots of the following warning messages: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters. ...

0 answers

Having a bad day?

%#@! I have overslept! %#@! I stubbed my toe on the bed leg! %#@! I'm splashed from a puddle at the bus stop! %#@! I'm late for Telecom 25 Lab! %#@! The professor is near the door as I walk in! %#@! ...

1 answer

SSH: What's the difference or interplay between /etc/ssh/[host files] and ~/.ssh/[public key]

I'm new to SSH after a decade of dabbling with Ubuntu and other Linux builds. Today I successfully setup SSH, but I had a few hangups and headaches along the way. Although the system is now running ...

2 answers

Why are there only positive value points on an elliptic curve?

I read about elliptic curve cryptography $E$ over $Z_p$ where $p$ is prime number and $G$ is a base point on the curve. I noticed the points resulting from multiplication e.g. $2G$,$3G$,.....,$(N-1)G$ ...

2 answers | 3 hours ago by Mhsz on Cryptography crypto.stackexchange.com
1 answer

Issue decrypting with CommonCrypto in Swift

I am working in a Swift-only crypt/decrypt Extension for String and NSData, and the crypt part is working based in the answer provided by @Zaph in the linked question: Issue using CCCrypt ...

0 answers

Add beamer frame options in knitr/rmarkdown

I'm trying to add frame numbers to my Beamer presentation written in rmarkdown. However, I would like to suppress the numbers on the title page using the \begin{frame}[plain] option (from the second ...

2 answers

What is the purpose of frequently rotating TLS certificates without changing underlying keys?

I read in the OWASP cheat sheet regarding certificate / public-key pinning that “Google rotates its certificates … about once a month … [but] the underlying public keys …

0 answers

How to execute interactive commands from java using JSch

Currently I can use the JSch library to execute remote commands in a SSH session like this: JSch jsch = new JSch(); Session session = jsch.getSession(username, host, 22); ...

1 answer

Why do we need to install digital certificate?

The question may sound a bit stupid but I really want to know this. When we download a file, say abc.exe, it is digitally signed with some digital certificate of some organisation. Why do we need to ...

15 30 50 per page
1 2 3