Small tags/sites
   21 tags on

Small tags/sites

1 answer

Composing and Inverting Symmetric Encryption Keys

Using a symmetric encryption algorithm $E$ on a message $M$, users usually send $E(M)$ to the recipient and then the recipient will compute $E^{-1}(E(M))=M$ to retrieve the message. For what symmetric …

1 answer

Wrong encoded base64

According to this, i'm usign base64 on lower API level 8 in my application. I want to encode a string twice and send it to server. So do it like this: public static to64(String text){ return ...

1 answer

Make a pdf with all references in a bibtex file

I have a Bibtex file and I am trying to get a pdf file that contains all the references without any text. My intention is to use it as a list of relevant literature. Of course I can just use ...

1 answers | 20 mins ago by user3794197 on Stack Overflow
0 answers

Theoretical attack on RSA

Theoretical attack on RSA The high security of RSA is granted, because it is very hard to factorize $$ N = p * q $$ Nevertheless, there is actually no need of factorizing $N$, in order to generate …

0 answers

Abbreviating long R output in knitr

I remember that I've seen a hook in knitr to abbreviate R output. But forgot how to accomplish this task. I'd highly appreciate if someone guide me how to show first few lines and last few lines of R …

0 answers

Thales HSM Generate key “Form key from clear components” (“FK” command)

I have two clear components, generated by command 000A30303030413230303255 (it's a 000A0000A2002U in HEX mode. This is "GC" command from 1270A513 Issue 3 manual) using Java code Now I need to ...

0 answers

Rest api and Security Issue

I wanna to create some rest api which will be used for android app and ios app. has anybody some practice and solutions for security of data exchange process can I use https ? or I have to use some …

1 answer

Vim-LaTeX runs evince instead of xdvi

I have installed the Vim-LaTeX plugin, which is great for editing LaTeX documents in Vim. However, I have one problem with viewing the output file. The tutorial says to use the \lv command. However, …

1 answers | 1 hour ago by Doorknob on Ask Ubuntu
2 answers

Why is CBC with predictable IV considered insecure against CPA

I just learned that using CBC encryption with an IV which is predictable is not secure. From what I understand, using certain plain texts, and then guessing the IV that is uses, the attacker can ...

1 answer

How many RSA keys before a collision?

I was wondering how many possible private/public keys exist? If a million people – for whatever reason – would try to generate 5 keys each in the same minute (on the same date and time) is there a ...

0 answers

Tex does not work in review

When I try to review a question/answer, most of the time Tex does not work. I do not know if this is a problem of my computer but I have no problem while looking at the questions. Do you have any ...

1 answer

Encrypt large file with php and openssl

I need to encrypt a large file with PHP and OpenSSL but my code not work. I think the problem is the size of buffer of fread function, but i am not sure about this. This is my code: <?php ...

2 answers

Compiling servlets with javac

I want to compile servlets outside of NetBeans. I made a simple Hello World servlet that produced these compiler errors. import javax.servlet.ServletException; …

2 answers | 2 hours ago by Pieter on Stack Overflow
0 answers

Intermittent issue with jsch while trying to run a shell script

I am trying to execute a shell script (which is in a different unix server). Now i have seen that sometimes it was unable to execute that script. As that script takes very long time to execute, ...

1 answer

PGP String to Key specifiers

I've been reading through the PGP Standard and here I'm a little confused. This section is discussing converting string data to a session key. I'm confused about the paragraph in bold. First off, what …

1 answers | 3 hours ago by Yelneerg on Cryptography
2 answers

Best style for reference to article in a journal?

Very often, in an answer on CSE, it is appropriate to make a reference to a published article. How is that best done? Specifically (the topics are interrelated): Should references be flowed in the …

2 answers | 3 hours ago by fgrieu on Cryptography Meta
2 answers

Chaining @future methods

Is there any way/workaround at all to call a future method immediately from another future event? If not what's the fastest way to call my future method indirectly? I basically have a 3rd party ...

2 answers | 3 hours ago by Rowan on Salesforce
3 answers

Using a Public-Key-Encryption browser side to avoid PCI compliance

We're developing a web application in which certain not logged users (clients) need to send their credit card details to other users (merchants) - which, we'll assume, are PCI compliant. We are ...

1 answer

Using Lattice-based cryptography for TLS\SSL

Given the general benefits of Lattice-based cryptography, such as: Post quantum Security Security from worst case scenario Efficiency What could the outlook of shifting from RSA \ ECC-based ...

1 answer

Symmetric-key login protocol

I'm trying to analyze a login protocol based on symmetric key cryptography. I'm just starting out, so this may very likely be a very bad idea, but nonetheless I'd like to hear your thoughts on it. …

1 answer

How can I make an Ant Javadoc class exclude two files?

I am documenting some Java webservices and the supporting datatypes. There are two services that I do not want documented. What is the correct way to exclude a small number of files from the Ant ...

1 answers | 4 hours ago by Freiheit on Stack Overflow
6 answers

Programmatically encrypting a config-file in .NET

Could somebody please do a rundown of how to programmatically encrypt a config-file in .NET, preferably in C#. What I would like to do is do some kind of check on an application's startup to see if a …

1 answer

Can't check signature: public key not found

I try to decrypt file using following command: gpg --output file.txt --decrypt file.pgp File is decrypted successfully but i get an error: "gpg: Can't check signature: public key not found" …

3 answers

AES Encryption in Oracle and MySQL are giving different results

I am in need to compare data between an Oracle database and a MySQL database. In Oracle, the data is first encrypted with the AES-128 algorithm, and then hashed. Which means it is not possible to ...

3 answers | 5 hours ago by Dan on Stack Overflow
6 answers

Suppress javac warning “…is internal proprietary API and may be removed in a future release”

When I compile the Spring JDBC source on OS X with JDK 1.7.0, I get this warning: warning: CachedRowSetImpl is internal proprietary API and may be removed in a future release How do I suppress the …

6 answers | 6 hours ago by Steve McLeod on Stack Overflow
11 answers

Best solution to protect PHP code without encryption

First of all, I'm not looking for miracle... I know how PHP works and that there's not really way to hide my code from the clients without using encryption. But that comes with the cost of an ...

1 answer

Entropy of the product of two random variables

Consider a random matrix $X$ and a random vector $Y$. Let the Shannon entropies $H(X) = H(Y) = n$. Is there a simple upper bound for entropy $H(XY)$? I believe $H(XY) \leq 2n$ as that is a simple …

0 answers

using x86_64 FPU with out checking for irq_fpu_usable, if xsaveopts instructions is supported by processor

In x86(_64) irq context (both soft and hard irq) saving FPU context is expensive activity. So before using FPU, irq_fpu_usable check is done. Below are my questions: If the processor support ...

1 answer

Cryptographically-secure super-secret government message transaction machine

-Hello Agent. Are you on a secure line? -Yes, secured. -Good, in 30 seconds the launch codes will be in your e-mail's inbox. You now have the go. Are you ready for the package? ...

1 answer

Decrypting with same public key used for encryption in Java

I have a public key which is used to encrypt some binary data. How can I write the code that can decrypt this data with the same public key ?

1 answers | 7 hours ago by Shail Pandey on Stack Overflow
15 30 50 per page
1 2 3