Small tags/sites
   21 tags on

Small tags/sites


0 answers

How can I prove that my methodology is right for encrypting a message?

I want to able to prove this method for users to encrypt data by generating a password utilizing the points on their screen. Similar to the way android allows you to draw your password to unlock your …

1 answer

uploading file from Android app to SFTP server

My android app is trying to upload a file onto an SFTP web server which happens to be my university server's subdomain in which I am entitled to some section of the server space.I am using the JSch …

asked 28 mins ago
1 answer

UPDATED command line arguments

So i was finally able to get my transposition cipher to work. But i needed to be able to take in variables from command line arguments. For example my transposition table given by transposition[] is …

0 answers

Encryption and Decryption of an image file through android

I tried the code Encryption and decryption of image file This code is not working with android application , ImageIo and BufferedImage is not resolved. How can I do it.I have tried Bitmap and ...

asked 1 hour ago
0 answers

creating a dynamic demo for encryption and decryption for electronic code book ( DES/ECB ) mode

what is the best way to do that ?? i would to make an demo " tutorial " for (ECB) mode user should enter the key and the text then the demo should view all steps ( 16 round key ) to have the cipher …

asked 2 hours ago
0 answers

Audited e-mails now arriving encrypted

I had a system that worked with auditing every e-mail going through my domain. This worked fine until very recently, when they started to arrive in an encrypted form. I wasn't notified of this, and am …

2 answers

Why do I get an encrypted result even though theres no input?

So i'm just playing around with PHP trying to create a Encrypt word and decrypt system. So here's my code. <!DOCTYPE HTML> <html> <body> <h1>Encrypt</h1> <form …

asked 2 hours ago
0 answers

Phpseclib Private key in Vb.net

I am trying to decrypt a RSA encrypted string, which i encrypted with phpseclib, with vb.net. The problem: I generated a keypair (public and private) with phpseclib and enrcypted the string with php …

0 answers

LaTeX - Letter 'f' being swapped with theta symbol

I am rewriting a thesis paper of mine in LaTeX and have been looking around for some good templates. I'm an experienced developer, but have little experience with Tex. Sample Template: ...

asked 4 hours ago
0 answers

Multisig transactions vs secret sharing

Some background here, I am implementing a wallet that enhances security by using smart cards. The card stores a pin protected key but unfortunately cannot do ECDSA signing. There is also a server …

1 answer

Is there a reason that the N value in scrypt is limited to powers of two?

I have been looking at the scrypt hashing algorithm and am confused as to why the N value, which determines the overall cost, is limited to powers of two. There are only 3 things that the N value ...

asked 6 hours ago
0 answers

toplogical entropy of general tent map

Measure theoretic entropy of General Tent maps The linked question made me wonder how to calculate the topological entropy of a general tent map. Let $I=[0,1]$ and $\alpha \in ( 0,1)$. Define $T: I …

asked 6 hours ago
0 answers

How to create smthng like a function (procedure, macros, etc.) in tikz?

I want to draw this thing many a time: \node[circle,draw,thick,inner sep=0pt,minimum size=2ex] (sum) [left = of myobject] {}; \draw[semithick] (sum.north west) -- (sum.south east); \draw[semithick] …

asked 6 hours ago
0 answers

Security of KDF0 and KDF1 (hash based KDF's)

It's still common to come across implementations of KDF0 and KDF1. Basically these are KDF's that simply derive multiple keys from the key seed and a counter: $K_i = KDF(K_{master}, i) = H(K_{master} …

asked 7 hours ago
1 answer

protecting server data sent over network

I have two applications : * A client that offers a user-friendly interface * A server that takes care of all the actual functionalities of the client. The person that uses my application uses the ...

asked 7 hours ago
1 answer

How to find encoding method with encoded value?

I have 2 numeric values... 1. 50634031 (before encoding) 2. 7827165 (after encoding) The value (1) is the initial value which is encoded with an unknown encoding method to the value (2).As I'm ...

asked 7 hours ago
0 answers

Latest Thucydides Javadoc

The official Thucydides documentation site is currently referring to these javadocs - thucydides 0.9.18-SNAPSHOT API which doesn't looks latest to me. For instance as of now it doesn't have packages …

1 answer

How to decrypt a message(using php) encrypt by rails(aes gem)?

I encrypt some message using AES(http://rubygems.org/gems/aes), @key="f6c57ea9f82731d3e125b4d2618423c0" #(it is 32 long, but i wonder how many bit it is in php?) @message="123;456" ...

asked 8 hours ago
0 answers

Cryptographic library quality

I've been working on a project that will require secure communication over the internet, so I've been thinking of TLS 1.2. After looking around I chose Botan but then I thought about using a more ...

asked 8 hours ago
0 answers

elgamal decryption in javascript

i need a way to calculate: m = a. b ^(p-1-x) mod p in javascript. i have found this algorithm for calculating base^exp%mod: function expmod(base, exp, mod){ if (exp == 0) return 1; if (exp % 2 == …

asked 9 hours ago
1 answer

How to encrypt API tokens stored in MySQL and reverse them on request?

I am running a web application which generates API tokens to my clients to access the my website services. Services in my website are accessed via the URL the users integrate into their websites. …

asked 10 hours ago
1 answer

C# random function algorithm implementation and it's randomness

What is the c# system.Random algorithm implementation and is it a good pseudo-random from cryptography perspective?

asked 11 hours ago
1 answer

How to calculate Modulo using a standard calculator for a one time pad encryption

I wrote a simple python script to preform one time pad encryption I would like to be able to decrypt the ciphertext by hand. In my script I use mod 26. This is how I was shown to calculate a mod ...

asked 11 hours ago
0 answers

Latex vs Mathematica for typesetting?

I'm currently an undergraduate engineering student, and I am confused. I have a fairly decent (basic) knowledge of Latex for typesetting documents. I was wondering if anyone has used Mathematica for …

1 answer

Salting and Hashing with PBKDF2

I am trying to learn cryptography with saving passwords in database with hashing and salting, so I decided to make a login-system trying implementing this system. My database consist of UserID int …

asked 12 hours ago
0 answers

Using Texmacs with a table template

i woudl like to use texmacs and wanted to incorporate a table template such as here http://tex.stackexchange.com/questions/112343/beautiful-table-samples However, the code for these templates ...

asked 13 hours ago
2 answers

Generating AES key after ECDH

I am using ECDH to have a shared secret between Alice and Bob one running on Android and the other on embedded. My understanding is that the best practice is that both sides generate an AES key to ...

asked 15 hours ago
1 answer

Encoding in java (js to java)

I've got this piece of js code which I need to convert to proper java code for usage in my Android app: toHex(Crypto.util.bytesToBase64(Crypto.SHA1(password, { asBytes: true }))); I've found out …

asked 15 hours ago
0 answers

Storing private messages in a database

I am creating a portal where users can send private messages (PMs) for a very large audience. So I want to encrypt the messages and store them in the database. But I do not want to ask the users for …

0 answers

Need tips on POSTing end variables from a few functions

http://jsfiddle.net/B34Jq/ hey everyone, id like some help with a client side Caesar encryption i'm working on for uni, for the most part it works i think?, i just cant seem to get the end encrypted …

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