Small tags/sites
21 tags on

Small tags/sites

## 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 stackoverflow.com

## 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 ...

## 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 ...

## 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( ...

## 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 ...

## 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 ...

## 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 ...

## 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 ...

## 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 ...

## 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 ...

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} | ... 1 answers | 4 hours ago stackoverflow.com 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 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 | 6 hours ago stackoverflow.com

## 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 stackoverflow.com

## 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 ...