Small tags/sites
   21 tags on

Small tags/sites


0 answers

Error while converting public key in pem format to der format in terminal in mac

I have created public private key pair for SSL connection using terminal in mac. I have used following commands to create private key and extracting public key from it: Create public-private key pair ...

2 answers

how to give the password protection to Zip folder in java?

I need to set password protection for Zip folder via java, not for zip folder files. Without password i should not be able to open the Zip folder. This is the code i found from google. public ...

0 answers

I don't know whattype of cipher this is

I am trying to solve the following sipher Nosdhiibotidcylhrdeovedljuetre I have no experience with ciphers but substitution didn't seem to work, and since its a long string without breaks process of ...

0 answers

Expression of heat by the Brownian motion

folks. I was reading a paper from PRE and I'm not sure what's going on about the following equation. So for the system composed of two heat baths governed by Brownian motion, the entropy change of the ...

0 answers

PasswordSafe decryption error

I am using the Crypt::PWSafe (http://search.cpan.org/~tangent/Crypt-Pwsafe-1.2/) Perl module to decrypt my PasswordSafe database file. An example of what my Perl script looks like is below: use ...

0 answers

Should @version tag denote the version of the artifact this source file is a part of, or the version when this file was last changed?

Previously my understanding was that the purpose of the @version tag was to show to library users in which release a particular file was last changed. For example, if there is a new release for ...

1 answer

Creating an encryption program with a choice of three methods! It has issues I am not sure how to fix

#include <iostream> #include <string.h> #include <string> #include <fstream> using namespace std; int get_ascii_int(char ch); int get_offset_ascii(char ch2, int offset); ...

1 answers | asked 8 hours ago by amg2015 on Stack Overflow stackoverflow.com
2 answers

Where in a TLS connection can I get the signature of the content sent by the server?

I want to be able to prove that a given content returned by a HTTPS server was in fact served. I have looked over the whole TLS protocol and I found I can use ServerKeyExchange to get the server's ...

0 answers

Is there any such thing as “proof of location”?

I'm looking for a way for someone to prove to me their geographical location without a trusted third-party. Imagine wanting to prove to someone you're actually physically in a specific place. I'd ...

0 answers

ikev2 test vectors for calculating skeyseed

We're working on an implementation of an IKEv2 client and would need test vectors for calculation of SKEYSEED as per RFC4306; specifically, the various rounds of the prf+, as we are testing against ...

0 answers

ElGamal signatures systems

Let $p$ prime number $q/p-1$ prime and $g\in (Z/pZ)^*$ element of order $q$.Also $a\in \{1,...,q-1\}$ the private key and $y\equiv g^a\pmod p$ the correspoding public key.For each of the following ...

1 answer

Does CoreData encryption require any type of extra documents when submitting to the app store

I have seen many questions regarding other types of encryption but I have yet to see one that answers whether or not core data encryption requires you to submit any extra documents when pushing an app ...

0 answers

Find the ElGamal authentication algorithm of signature $(r,s)$

Let $p$ prime number $q/p-1$ prime and $g\in (Z/pZ)^*$ element of order $q$.Also $a\in \{1,...,q-1\}$ the private key and $y\equiv g^a\pmod p$ the correspoding public key.For each of the following ...

2 answers

Reducing two futures of options with _ orElse _ does not yield Some

Inspired by this question, I thought the following is a solution: import scala.concurrent.Future val x: Future[Option[Int]] = Future.successful { None } val y: Future[Option[Int]] = ...

2 answers | asked 10 hours ago by 0__ on Stack Overflow stackoverflow.com
0 answers

Attack on Double Encryption Scheme

In this protocol: A → B : { <[A, {K}pk(B)]> }pk(B) B → A : { <[B, {K}pk(A)]> }pk(A) I'd like to determine why this is insecure. How can the attacker learn the key K if A and B are both ...

0 answers

How to include Matlab code into LaTeX in colour?

I need Matlab code, e.g. the one here, in LaTeX and in colour (the comment is green, for/if/else/end is blue). % super cooles Programm i = 1 for i = 1:10 if i > 3 i=i+2 else ...

0 answers

What's Jeremy's Encryption Algorithm?

As a result of their solutions to this puzzle, store owner Jeremy promoted both Cerberus and Quark to top managerial positions. Soon after starting their new roles, they were somewhat surprised when ...

0 answers

store passwords in an encrypted form in hbase

I am storing my database credentials in hbase. Is there any way to find write the passwords in an encrypted form ? So, when I scan the hbase table the password appears in ****** format.

0 answers

Creating public RSA key with RSACng: specified key is not a valid size for this algorithm

I'm currently trying to create a RSA encryption key as part of a web service authentication for Tableau. I'm an noob when it comes to cryptography and can't quite figure out how to generate the ...

0 answers

What is the type of this bug?

the bug is basically didn't set the input length long enough. How do we call this kind of bug, NPE? "many problems with running javadoc stem from command lines that have become too long - even though ...

1 answer

RSA encryption using SecKeyEncrypt gives error -4 (errSecUnimplemented)

I'm trying to encrypt some data with RSA using the Security framework on iOS. I want to encrypt a simple base64-encoded string as follows: NSData *data = [[NSData alloc] ...

1 answers | asked 12 hours ago by Devos50 on Stack Overflow stackoverflow.com
0 answers

How to really treat security between peers in WebRTC

Recently I've been implementing WebRTC in my project and would like to add security and privacy to the couple. I then decided to search on and found something if it is really necessary to impose ...

1 answer

Body of clojure future executed twice in 2 CPU environment

I'm seeing some unexpected behaviour when kicking off a clojure future in an environment with multiple CPUs, I do not see this behaviour running on my single CPU (multiple core) dev pc. Essentially ...

0 answers

Building Java interface for Open MPI

I am trying to build the Java interface for Open MPI, using the instructions on this page. Once I extracted and navigated to the openmpi-1.8.7 directory, I entered ./configure --enable-mpi-java ...

1 answer

In java doc comments is @see used with {@link } or without?

When I want to put comment to see the other method which one is correct? With {@link ClassName#methodName} or without? /** * @see ClassName#methodName * * @see {@link ClassName#methodName} */

1 answers | asked 14 hours ago by Fariba on Stack Overflow stackoverflow.com
1 answer

CryptoJS Aes decryption in php not working

I am asking this question again, because my last question wasn't answered properly I am making a CMS, and i have made an encryption system(using cryptoJs), to provide a bit more security to website ...

1 answers | asked 14 hours ago by Jojo01 on Stack Overflow stackoverflow.com
0 answers

DESede Encryption in iOS

Can anyone please provide the equivalent objective-c code for this java code. Also please tell me what frameworks and libraries i will need to add for this to work correctly. public static String ...

1 answer

PBEWITHSHA256AND256BITAES-CBC-BC on Android : number of iterations for keygeneration and cipher?

I'm using PBEWITHSHA256AND256BITAES-CBC-BC with BouncyCastle. public static String algorithm = "PBEWITHSHA256AND256BITAES-CBC-BC"; I've done this method to generate the secret key: private void ...

1 answers | asked 14 hours ago by aw4y on Stack Overflow stackoverflow.com
0 answers

Diffie Hellman+AES on c# to Andoird data encryption

Anyone know how to implement data exchange between Android app and c# Webservice and vice versa by using DH key exchange with AES encryption. Because writing hard-coded encryption key in Andoird is ...

0 answers

Unable to run latex command from Java

Latex file: 0.tex content: \documentclass{article} \begin{document} \begin{equation} \frac{\partial p_{dyn}}{\partial n} = A \end{equation} \end{document} Shell file: 0.sh content: latex ...

15 30 50 per page
1 2 3