Small tags/sites
21 tags on

Small tags/sites

Securepay payment gateway integration issue

I am working on Securepay Integration with my ASP.NET web page, as per their documentation I am generating SHA1 from following information: The Fingerprint is a SHA1 hash of the above fields plus the …

Suppose I have a password made of n alphabetic characters. An attacker is given the hashed password and will attempt a brute force attack on cracking it. I can envision a naive password cracker ...

10 mins ago

How to use certificates from weblogic realm keystores inside web application?

I'm doing some security operations involving certificates in my web application and I would like administrators to manage those certificates (including password etc.) via standard weblogic console. …

11 mins ago

What are the weakest cryptographic guarantees in Bitcoin?

I read in this Github pull that Bitcoin relies on weaker cryptographic guarantees than SHA256. What are the weaker cryptographic guarantees being referred to? Could it be that RipeMD is 160 bits? …

37 mins ago

Can't see the preview at the bottom of a long post

Dynamically-updated previews are wonderful. But because the preview appears below the post, I can only see the top of it. If I'm adding to the bottom of a long post, the browser is working and ...

Write a Playfair encryption program

Write a program that takes two lines of input and uses the first as a key phrase to encrypt the second according to the Playfair encryption technique. Wikipedia describes Playfair encryption in some …

53 mins ago

How to encrypt server URL in android?

Hi I am working with android.I had created a library project in which data fetched from my server.Now I need to provide my library project to a third party developer, So How can I encrypt my server …

58 mins ago

Why the same characteristics cannot be used to recover all FEAL4 keys

I am trying to understand how differential Cryptanalysis works. Here I read how to use differential cryptoanalysis for cracking FEAL4 cipher. As I understood you cannot use the same differential for …

Understanding multiplication in the AES specification

I am reading through the AES specification and am not able to wrap my head around the multiplication definition (section 4.2). Sorry to refer to a spec but AES is the holy grail in crypto so I hope …

2 hours ago

Why are there few (none?) easy to use encryption libraries?

If I search stack overflow for how to safely encrypt data, one of the first hits is someone's custom encryption scheme. I've seen several similar questions on this site, and in general they are all …

2 hours ago

Latex text on both sides

I don't wanna use 64x \space to achieve my goal. I was tryin to \begin{flushleft} and \begin{flushright} bo it attempts with new line. I wanna make something like this, where arrows shows distance …

2 hours ago

convert Creole to LaTeX

Care to recommend a tool/workflow(s) for converting Creole wiki pages/files to LaTeX? I'm a grad student who has been documenting code and analyses using (a number of) wikis, mostly using Creole ...

Cryptography - AES and DES S-boxes

I am working on some cryptology revision exercises for university (in preparation for an exam) and this question has me puzzled: Most block cipher implementations treat S-boxes as lookup tables. DES …

2 hours ago

S-boxes and P-boxes

Does somebody know some good algorithms for constructing S- and P-boxes? For S- I've just found one matrix power based and another using arithmetics modulo prime numbers. Google says that there is a …

2 hours ago

Comparison of DES, Triple DES, AES, blowfish encryption for data

Does anyone have pros and cons together for comparing these encryption algorithms ?

2 hours ago

How to do lastIndexOf compared to indexOf?

For my java program, i'm using a SingleLinkedList. The following is my code for indexOf which I tested and it worked. My question is how I can change my indexOf to lastIndexOf. I'm kind of confused on …

3 hours ago

AES encryption algorithm not decrypting for few document formats

I am trying to decrypt the documents using AES encryption algorithm. I am getting key from enc file and using it in the algorithm. When I am trying to decrypt the documents, I am not able to ...

Breaking Double Encryption

(1) If you double encrypt secret data with two different algorithms. How does the attacker know if he already broke the 'first layer' of encryption? (a) Is it possible to determine the encryption ...

6 hours ago

How to Encrypt the URL

I want to know how to encrypt the URL on Apache/PHP? For example: www.example.com/how-to-encrypt.html to www.example.com/DMQRzZWMDdGQtbndzBHNsawN0aXRsZQR0ZXN0AzcwMQR3b2UDMjQwMjEwNQ This …

7 hours ago

Should I learn to use LaTex to write up a History Masters Thesis?

So I reviewed the "What are the advantages or disadvantages of using LaTeX for writing scientific publications?" (sorry can't link to it) question on this forum and am sitting on the fence at the ...

7 hours ago

What is the resolution to Gibb's paradox?

This question is essentially a duplicate of Gibbs Paradox - why should the change in entropy be zero?. The question concerns the following situation: I have some gas of identical particles and they …

Decrypt file in Java that has been asymmetrically encrypted (AES-256) using OpenSSL (RSA-2048 Public-/Private-Key)

I know this is a hard one... but I encrypt a file in a very standard way using OpenSSL. The file is encrypted in AES-256 using an RSA-2048 Public-Key. I want to decrypt the file in Java using the ...

7 hours ago

Entropy test for AES Key Schedule

According to the article "Lest We Remember: Cold Boot Attacks on Encryption Keys" there is a quick and dirty entropy test that can help to find possible AES Key Schedules in memory dumps. Although ...

8 hours ago

Using a hash with a constant key to create easily verifiable codes

I'll keep my question short. If I keep handing out different codes generated by this function, will it be trivial to figure out the secret key? secret_key = {random bytes} function ...

8 hours ago

Scala Future with filter in for comprehension

In the example below I get the exception java.util.NoSuchElementException: Future.filter predicate is not satisfied I want to have the result Future( Test2 ) when the check if( i == 2 ) fails. How do …

Finding an x such that xP = (11,44) on an elliptic curve

Given the elliptic curve $$E:y^2 = x^3+17x+5 \mod 59$$ with point $P = (4,14)$, how do I find $x$ such that compute $x\cdot P = (11,44)$ Is there a mathematical method to compute $x$, or do I ...

Storing passwords in reversible form - a genuine use-case

What's wrong with you, you crazy fool, you're not supposed to be able to retrieve a password in plain text! I know. Hear me out. Assume I've got a service that's similar to Mint.com. For those that …