Small tags/sites
   21 tags on

Small tags/sites


0 answers

Code to encrypt and decrypt a file using blowfish algorithm in java

Please help!! We are trying to look for a code that encrypts and decrypts a file using blowfish algorithm in java. Our deadline is 3 days from now. It would be great if someone gave us the code or ...

asked 23 mins ago
1 answer

Confusion regarding SSH Security after Authentication

I have been reading about SSH and about how it uses public key crytography to authenticate a client. I have understood all the concepts but have a doubt: Quoting from the ArchLinux Wiki Page: "When …

asked 37 mins ago
0 answers

Frequency analysis of transposition ciphers

Can we do frequency analysis of transposition ciphers? If yes, please tell me the procedure and I would be happy if you provide me with some links related to it. I heard that it can be done using …

asked 45 mins ago
0 answers

Decrypt a GPG file using a batch file

I am decrypting a gpg file using a batch file with the below code. gpg.exe --output test.csv --batch --passphrase-fd 0 --decrypt WSB330TJ.CSTDJIDF.TXT.asc.14.04.22_00.59.gpg Although it does ...

asked 2 hours ago
1 answer

How can I generate a brief (100) stream of random numbers, not using the computer or throwing dice?

I am looking for a method of making random numbers that is off-line and is also independent of specialist equipment like a Geiger counter.

asked 2 hours ago
0 answers

State of the art RSA key generation

I would like to know if there is an algorithm to generate a RSA key at the state of the art of the present cryptanalysis. Beside the key lenght I know there are some weakness in the choice of prime …

asked 2 hours ago
2 answers

It will be done at that point in the future vs It will have been done at that point

I am struggling with understanding the difference here: It will be done at that point in the future. It will have been done at point in the future. I know in theory what future perfect tense means …

asked 3 hours ago
0 answers

Which homomorphic encryption scheme has the same size of plaintext space and ciphertext space?

I want to pre-compute the result for all possible ciphertext of a homomorphic encryption. Is it acheivable? Is there a fully homomorphic encryption scheme that has the same size of plaintext space …

asked 3 hours ago
1 answer

Solving Vignere Encryption

I'm currently trying to crack a cypher that I believe is Vignere Encrypted and I'm currently stuck. I calculated the key length by finding repeated sequences in the cypher and calculating the the ...

asked 4 hours ago
0 answers

Questions about adding 0s to the key in HMAC and how it compares to SHAd

I noticed some strange behaviour when adding different characters onto the end of the key then inputting it into HMAC and I was getting the same output hash. First I generated a key and message to ...

asked 4 hours ago
1 answer

Is there a general name for this sort of cryptographic protocol?

Is there a general name for this sort of cryptographic protocol? If so what sort of assymetric/symmetric encryption functions tend to be used for this protocol?

asked 5 hours ago
0 answers

When using Folder Lock the computer prompts This operation has been canceled due to restrictions

I got some problem because earlier I installed a software Folder Lock then I tried to encrypt a folder and created a locker. At first it works but the second time I created a locker it prompts "This …

asked 5 hours ago
0 answers

How are private keys stored on disk?

I have a public and secret key pair in my .ssh folder. How is the secret key being stored on disk? What I mean is .. Is it possible for someone to hack into my computer, steal the secret key and use …

asked 5 hours ago
0 answers

Spurious keys filter

Is there any possible way to filter a key space in a crypto-system to get a set of keys that decrypts out a valid text (text that is in same language or readable)? I tried a random approach and got …

asked 6 hours ago
0 answers

Encrypting a short phrase into two keys. both with length of 32letters

It doesn't need to be crazy secure. I wanted to figure out if there's a popular practice when encrypting a short phrase (less than 32 letter long) into two keys (two strings 32 length). Doesn't need …

asked 8 hours ago
0 answers

How to Decrypt encrypted database value with salt and password

I have the Salt generated using org.jasypt.salt.FixedStringSaltGenerator. I have the password. The algorithm is PBEWithMD5AndDES. Encrypting the content with Jasypt protocol. Can anyone please tell …

asked 8 hours ago
0 answers

What can I change in Lane to

What can I change in Lane to increase memory (and compute) consumption. My first idea would be to change n, but with Lane hash function is there a way I can up the n to a level higher than 512. If I …

asked 8 hours ago
1 answer

Sweave in Rstudio — no plots showing in pdf

Sweave/Latex newbie here. I have no problems generating regular functions outputs, but the plots don't show up. Here's a basic example: \documentclass{article} \begin{document} ...

asked 8 hours ago
0 answers

Cryptography — with a semi-priveleged user in the middle — to prevent request-tampering with another server

I'm working on a chat server for a mobile app I am writing. I would like to use a different application server for non-chat related operations and another application for chat operations. I would ...

1 answer

HMAC definition by using only one key

Suppose $H$ is a hash function; why is $H(k||H(k||m))$ not secure? See this HMAC definition. In there, indeed two keys are used and the mac algorithm is $H(k_1 ||H(k_2 ||m))$ . Why don't we use ...

asked 8 hours ago
0 answers

Cryptography systems based on NP complete problems

There is any cryptography system that have a good reputation based on NP cpmplete problem? I read about the knapsack, but it was cracked.

asked 9 hours ago
1 answer

existing project has a javadoc, where can i find it?

the project that my team gave had a javadoc. where can I find this javadoc?

asked 9 hours ago
1 answer

NP Problems with unique solution

Is there any class of NP problems that have one unique solution? I'm asking that, because when I was studying cryptography I read about the knapsack and I found very interesting the idea.

asked 9 hours ago
2 answers

Scala: NoSuchElementException in for comprehension

I have a future result of a web request that I need to count the size of. If the current response has items, I need to make another request to get the next set, etc. If the current response is ...

1 answer

Serving multiple result Futures as soon as available to a client

I have a page that is populated by data that I get using different calls to distant servers. Some requests take longer than others, the way I do things now is that I do all the calls at once and wrap …

0 answers

Nonlinearity of the J-K Flip Flop

In "Encryption Schemes for Computer Confidentiality", Pless describes how to use the J-K flip flop as a nonlinear combiner for linear feedback shift registers. This generator was broken because the …

asked 12 hours ago
2 answers

deObfuscating in Python using transformed JS function

I needed to convert the following function to python to deobfuscate a text extracted while web scraping: function obfuscateText(coded, key) { // Email obfuscator script 2.1 by Tim Williams, ...

0 answers

Decrypting hyperlocal with Signature Mismatch (Google RTB)

Following Google's advice here and using their code as a guide. I've tried using their encrypted hyperlocal string to test the decryption method that I wrote (most of it from Google though as my own …

asked 13 hours ago
0 answers

Diffie-Hellman Constructing a secret-sharing scheme

I) For the mod 29 system, g = 2 is a primitive root. If Alice chooses a secret a = 5, and Bob chooses a secret b = 11, what is the Diffie-Hellman shared secret they will create? II) Consider the ...

asked 13 hours ago
1 answer

Are the MD5 constants an S-Box?

I noticed that several hash algorithms, in this case MD5, defines some constants. MD5 defines 64 constant values (the shift count per round) which also gets expand (via sine) to a summand for a ...

asked 13 hours ago
15 30 50 per page
1 2 3