-
All Sites cryptography latex db4o jsch jzlib javac javadoc battle-for-wesnoth entropy aes aes-encrypt aes-256 cipher esperanto constructed-language javacompiler java-compiler java-compiler-api future
-
Cryptography All Questions
-
Meta Cryptography All Questions
-
Stack Overflow untagged
public key distribution from a central server
I'm trying to code up a encrypted communication program. Originally I was thinking that I would use public key cryptography and then I would keep the public keys in a database where users could query …
low-exponent RSA
I have questions from http://link.springer.com/chapter/10.1007%2F3-540-68339-9_1 Suppose we have 2 messages $m_1$ and $m_2$ related by a known relation $m_2=m_1+1$. Suppose further the messages are …
iPython notebook cannot render valid latex, is it possible to get an error message?
I have a strange problem. I am trying to render the following valid latex, $$\int_{x=0}^{x=h} u_t dx = \int_{x=0}^{x=h} (-au + du_x)_x dx + \int_{x=0}^{x=h} s(x,t,u) dx$$ in a markdown cell in …
Decoding a base64 repeated XOR string
I've got a base64 encoding string I'm trying to decrypt. I believe the instructions I'm trying to follow are using the http://en.wikipedia.org/wiki/Kasiski_examination but I'm obviously doing ...
PassportJS and Crypto with NodeJS
I'm building a login system that uses passportJS and the NodeJS's crypto Module. I encrypt the password using crypto like so cipher.update(user.Password, 'utf8', 'base64'); user.Password = ...
How to encrypt and decrypt data using in sending and receiving via TCP client
Im trying to develop a simple Server/client chat app, which the server is my own pc. this app supports voice chat ( and maybe video chat in future! ) and I really want my transferring data be safe and …
How generalize query (C# DB4O)
Hi I am working with mvc4 and DB4O. As DB4O does not have an auto-increment i am doing the following to know what is the current ID. This is my User model (User.cs) public class User { [Key] …
How to implement a hash function(viewed as random oracle) which a string of 0s and 1s to multiplicative group of prime order?
I have to implement a cryptographic protocol which has a cryptographic hash function H: {0,1}* -> G. It is viewed as random oracle. G is multiplicative group of prime order. I want to know the steps …
“com.jcraft.jsch.JSchException: Auth fail” with working passwords
While trying to upload the file to our server, i am getting the following exception com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:464) …
Error while connecting SFTP in java
I am trying to connect to a server with SFTP through java code (JSch) but when I call connect() I get: "java.net.ConnectException: Connection refused" what should I do ?
Protecting crypto keys in RAM?
is there any way to protect encryption keys that are being stored in RAM from a freezer attack? (Sticking the computer in a freezer before rebooting malicious code to access the contents of RAM) This …
Some doubts related to statistic entropy concept in ID3 machine learning algorithm
I am studying the statistic entropy concept used by ID3 machine learning algorithm For a domain exemplified by the learning set S (that is the set of the examples that I use to build a decision ...
Some doubts related to statistic entropy concept in ID3 machine learning algorithm
I am studying the statistic entropy concept used by ID3 machine learning algorithm For a domain exemplified by the learning set S (that is the set of the examples that I use to build a decision ...
multiplication in GF(256) (AES algorithm)
I'm trying to understand the AES algorithm in order to implement this (on my own) in Java code. In the algorithm all byte values will be presented as the concatenation of its individual bit values (0 …
Chaining Scheduled Apex to process callouts every 30 seconds
We wanted to create an outbound message queue system that would process requests individually and in order to any external web service. The frequency that these requests should be processed is ...
Python and Cryptography: md5
I am very interested in python and cryptography and I would like to know what would be the most simple method in python to crack a hash. I would like to build a small python script that can crack ...
How to add to the cipher suites available to ASP.NET HttpRequest client?
When my ASP.NET website is running on a windows 7 box, it can connect (programmatically as a "client") to an SSL-encrypted service ("server") on another windows 7 machine just fine. But if my ...
how to compile multiple java files when there are java files in other packages
I am compiling multiple files in a directory (javac *.java) but I have a problem when I try to do this: I get compile errors saying that say javac cannot find a symbol of an object. I have multiple …
Maven cannot find tools.jar w/ proper JAVA_HOME
I am having some trouble building a Maven project on my Windows machine. I have set my JAVA_HOME environment variable and Maven finds it. Here are come results from a few executions: 'which mvn' …
User is logged out when loading X509Certificate2
In my Cart Controller, I force the user to login by using the [Authorize] attribute on my controller class [Authorize] public class CartController : Controller They login no problem. They traverse …
Does there exist an operation like bitwise-xor over non-power-of-2 domains?
I want a function for enciphering a single letter that takes two letters as input, produces one letter as output, and has the same properties as bitwise XOR. The problem is that the range of inputs …
Store keys in windows without windows key repository
I am writing an application in windows using OpenSSL (C/C++), but I don't want to use windows certificate store. Is there some standard to store public/private/symmetric keys? I am going to use ...
Can GMAC be considered as a valid standalone MAC mode of operation for Authentication only application?
Once gcm has been implemented for providing both encryption & authentication solution , it appears obvious to consider that such implementation can also provide (if required by new user) a Mac ...
sfpt.put() method in JSch API writing an empty file
I have to split a source text file in a SSH server based on certain conditions and write those chunks in to the same SSH directory int to multiple text fields. for this purpose I have used the JSch …
LaTeX or MathML to an image on Android
Are there any open source libraries for taking a LaTeX string or MathML xml string and creating an image without using the java.awt.* libraries? I have tried JEuclid but I couldn't proceed after ...
How to build an electro-mechanical public key cipher machine?
It is generally assumed that asymmetric encryption schemes were invented in 1973 at GCHQ in Britain and, independently, in 1976 at the MIT. My question is, if the abstract idea of having a public key …
Numpy 2d and 1d array to latex bmatrix
I'm looking for a clean way to migrate numpy arrays to latex bmatrix. It should work for both 2d arrays and horizontal and vertical 1d array. Example A = array([[12, 5, 2], [20, 4, 8], …
How to return a result at the moment of an interrupt a.k.a. how to retrieve the result of a Callable although it's cancelled
I've grown desperate all night on this problem and I have not found help during online research, so here we go. I want to do an optimization process which is meant to be interrupted at a time that is …
Why isn't the key equal using OpenSSL diffie hellman?
I can't figure out why my keys aren't equal when doing this diffie hellman exchange example. I'm using the openssl library in C (openssl/dh.h). It seems pretty straightforward, but for some reason …
shannon entropy nonparametric estimation?
Why is it that Rényi quadratic entropy can be estimated in non-parametric fashion (e.g. Parzen-window), and Shannon entropy cannot? If I estimate the PDF of some samples, I can calculate the samples' …