Small tags/sites
   21 tags on

Small tags/sites


1 answer

Connection refused in sftp server

I am trying to use localhost as SFTP server. I'm using Jsch library of Java to implement SFTP with SSH2. The following code upload a text file to a directory on local machine with sftp. But I cannot ...

1 answers | 11 mins ago by Small Step on Stack Overflow stackoverflow.com
0 answers

How to verify signature & decrypt a ; Encrypted & Signed content

I have a bouncy castle code that encrypts and sign a message(listed below) ; now I need to find the code for opposite end ; Verify the signature & decrypt the message. My search to find a solution ...

0 answers

Compile error on a method that calculate a Future[List[(String, Int)]]

I'm writing a Play 2.3.2 application in Scala. I am using a MongoDB database with the reactivemongo driver. In my project, I have two collections: a recommendation.tags collection that stores all ...

1 answer

Decrypting AES with Javascript CryptoJS after encrypting with PHP mcrypt

Encrypting in PHP with mcrypt <?php $string = 'Secret Message'; $key = 'd4b494e4502a62edd695a903a94c2701'; $iv = '02f30dffbb0d084755f438f7d8be4a7d'; $encrypted = base64_encode( ...

0 answers

gedit: how can I define a snippet shortcut Ctrl-9?

I use gedit for LaTeX with the LaTeX and snippets plugins. I try to make snippets to put the selected text (or, if none is selected, the cursor) in curly, square and round brackets respectively. From ...

0 answers

Is storing HMAC key in a key file safe?

In the implementation, a key file contains a header with some information required by the encryption algorithm, and an amount of p-rand used for key and vector. The header also contains a 64 byte ...

0 answers

Working out encrypted data

So the aim of my current project is to login on a game without actually being on the game client itself (logging in through my application). Now when I was dumping the Http Requests from the game I ...

1 answer

Reducing algorithm for SHA256 rainbow tables

I am doing a project on cracking sha256 using rainbow tables. I am trying to attack 8 digit alphanumeric sequences. I understand exactly how rainbow tables work and how the chains are supposed to be ...

4 answers

Java: Purpose of annotations in comments?

What is the purpose of (what look like) annotations placed in comments? For example, I'm seeing the following comment above a method in an interface: /** * Create saved search * REST: POST ...

0 answers

Type of cipher used where ciphertext has no discernible pattern, spaces. Type?

What type of cipher could give ciphertext where for example random ASCII chars between say F-z (symbols and numerals inclusive), but with only a few spaces? Frequency of chars shows some similarities ...

2 answers

Encrypting / Decrypting Lists of data efficiently

I have an encrypted JSON object which holds a list of data that is encrypted using AES and RSA encryption. <?php function decrypt_data($encrypted_data, $session_key) { $decrypt = ...

0 answers

signed message susceptible to block re-ordering , block deletion , block replication

We would implement a Public Key Cryptography (PKC) based digital signature by breaking the message into blocks and signing each block independently. One of the issues associated with digital ...

0 answers

Latex: Have same line numbers in lstlisting as in imported files

I have the following problem: I want to show some code from a program I wrote in a Latex document. I do this with lstlisting and it works just fine, but I would want the linenumbers to be the same as ...

0 answers

Android play my encrypted audio files with media player

I have an app which creates some audio files that are encrypted and stored in SDcard. I could successfully decrypt them and playback. The problem is, there is a some delay in doing that. If the next ...

2 answers

encryption using two keys

The use case is analogous to accessing a safe box in a bank. There is a per-user key, unique for each user, either generated by the system or hashed from the user's password. And there is a ...

0 answers

CBC MAC forging

Could someone please explain how one can forge a MAC in the following scenario :Suppose Alice is using CBC-MAC with AES-128 is used and decides to change the IV for every message

0 answers

How to figure out the size of the output of a cryptographic checksum function

There is such a putting in Bishop's , page 118 as following: Definition 8–2. A cryptographic checksum function (also called a strong hash function or a strong one-way function) h: A → B is a ...

1 answer

vim moves cursor in tex files “randomly”

For some reason my vim is weird when editing tex files, and I am not sure how to solve this problem. Here is an example, where I use | as the location of my cursor. \begin{document} | ...

0 answers

Man in the middle attack for In-App Billing v3

When making a purchase using getBuyIntent, we can see usual standard scheme: query contains developerPayload, and the answer contains developerPayload + Signature. If developerPayload will be a ...

0 answers

My MathJaX font turned ugly all of a sudden

This last week while browsing this site my computer has displayed MathJaX really badly. Here is a screenshot from a random question: Here is a screenshot of the same question from my phone for ...

0 answers

How to add our created session encryption algorithm to (major) browser using OpenSSL

I am new to OpenSSL and have theoretical information in SSL protocol . I have task to create a certificate who uses RSA algorithm for symmetric session key exchange and use my own my encryption ...

1 answer

Could I encrypt/decrypt a file with javascript

So, I have an app that allows users the encrypt / decrypt text content via javascript, and I'm pretty happy with it. But I wasn't sure if I could do the same thing for files? Namely, allowing the file ...

1 answers | 5 hours ago by meesterfox on Stack Overflow stackoverflow.com
2 answers

PHP vs JAVA AES encryption, what is the difference?

I am having some odd issues here.... I have the two following scripts: First, a PHP script (which I am using http://writecodeonline.com/php/ to test) $key = ...

2 answers

Distinguishing internal/external methods for Javadoc

I am writing a library in Java. I've divided its implementation into Java packages to help manage the complexity. Only one package contains classes that are visible to clients of the library. However, ...

2 answers | 6 hours ago by Joe Lapp on Stack Overflow stackoverflow.com
0 answers

About the Algebraic Normal Form (ANF) of S-Box in DES

I've thought up a way to represent the transformation of S-Box in DES by ANF. Let $x_i\;(1\le i\le 6)$ be the input of an S-Box, $y_i\;(1\le i\le 4)$ be the output, for example, then $$y_1= 1\oplus ...

1 answer

RSA CRT modulo reduction

I am working on RSA CRT and there is a point that I don't understand : So we have $n=pq$ and $c = m^e \bmod n$ an encrypted message. To decrypt $c$ with RSA CRT, we have to compute : $d_p = d \bmod ...

1 answers | 8 hours ago by Raoul722 on Cryptography crypto.stackexchange.com
1 answer

Callout from a future event

I have a managed app that does a callout (REST API POST) on Account save. The managed app is developed by a 3rd party that we have no control of. The callout creates a future event which gets an id ...

1 answers | 8 hours ago by Rowan on Salesforce salesforce.stackexchange.com
0 answers

Entropy of convolution of measures

Let $G$ be a countable, discrete group, and let $\mu_1,\mu_2$ be probability measures on the group $G$. We define the entropy of $\mu_i$ as $H(\mu_i)=\sum\limits_{g \in G}-\mu_i(g)\log(\mu_i(g))$ ...

1 answer

Vigenere Cipher program in Python using mod 37

I'm trying to write a Vigenere Cipher program in Python using mod 37. I need help figuring out what the issue is. alphabet= "abcdefghijklmnopqrstuvwxyz0123456789 " def Let2Ind(x): ...

1 answer

How can I loop this script from 1 to 50 in SPSS?

for i=1:50 DATASET ACTIVATE DataSet1. QUICK CLUSTER ZlnPrice ZCPUGhz ZWeightgramm ZDisplayinch ZCameraMp /MISSING=LISTWISE /CRITERIA=CLUSTER(i) MXITER(10) CONVERGE(0) /METHOD=KMEANS(NOUPDATE) ...

1 answers | 13 hours ago by Übel Yildmar on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3