Encryption is the process of transforming information (called plaintext) using an algorithm (called cipher) to make it unreadable to anyone except those with special knowledge (often called a key). Conceptual questions about encryption may get better answers on crypto.stackexchange.com.

learn more… | top users | synonyms (2)

0
votes
0answers
9 views

SecurityException with Bouncy Castle

I am on Mac OS and getting this issue after performing software update on my mac. Caused by: java.lang.SecurityException: JCE cannot authenticate the provider BC at ...
0
votes
0answers
7 views

Storing scrambled Social Security numbers

I need to store a social security number in the unique scrambled state... The reason: I would require social numbers, but I do not want to store them open in case if database gets compromised. I ...
3
votes
1answer
22 views

Easiest two-way encryption to be used both on a PHP server and on iOS client

For private use only, I'm creating and hosting on my web server a PHP application that retrieves all my passwords for various accounts from a MySQL database and serves them to the client that is an ...
1
vote
2answers
47 views

Is this Data Encryption/Storage Method Secure?

Let me first say that I know it is a bad idea to store sensitive information in a mysql database, so please don't respond by saying "DON'T DO IT" or something to that effect. I am building a website ...
-1
votes
0answers
9 views

How to encrypt bucket in Amazon s3 server? [closed]

After login to Amazon s3 server,if I want to encrypt bucket where the uploaded files are saved,how can I make encrypted the bucket? Anyone's suggestion will be appreciated.
0
votes
0answers
7 views

EmguCv writing a “header frame” to an avi file

I want to create an encrypted video by encrypting all frames taken from camera. But first i want to add a header to the video in a form of an image. So, before staring grabbing images from camera I am ...
-1
votes
0answers
25 views

How to encrypt files at the time of uploading to Amazon S3? [closed]

I want to encrypt files when I am uploading them to Amazon S3 server. In Amazon S3 Web Console, we are able to encrypt each file if we right click on the file and encrypt it. But I want to add code in ...
0
votes
0answers
10 views

Save a bitmap already encrypted in the SDCARD (not convert) using AES - android

I am trying to encrypt a bitmap generated from a view before saving it in the SSD card. I developed the method below based on this thread android encryption/decryption with AES, but it currently ...
0
votes
1answer
14 views

GPG encryption in an ASP.NET C# Web application - No Public Key

I have set-up Gpg4win on Windows Server 2008 R2 and the website is running .Net 4.5. I'm using the Starksoft OpenPGP dll. I've added the required public key to Gpg4win via remote desktop, however ...
0
votes
1answer
22 views

How Ephemeral Diffie Hellman works? [closed]

can anybody please provide link which will clearly explains how ephemeral Diffie hellman algorithm works (TLS_DHE_RSA_DES_256_CBC)?
4
votes
1answer
34 views

What (if any) javascript or php libraries are there for encryption that meet NIST requirements

We may need to encrypt some of the data in our software to meet healthcare privacy ("HIPAA") rules which simply defer to the NIST guild-lines. But it's really unclear what (if any) libraries for ...
1
vote
1answer
24 views

Core Data Encryption Class

I'm trying to use this wonderful git inside my xcode project: https://github.com/project-imas/encrypted-core-data It's fully functional when creating a new empty sqlite db. But, how can I use an ...
-1
votes
0answers
17 views

WEP 40 Encryption in Java [closed]

I am working on a project in which I need to send an UDP Broadcast to openpicus flyport devices. Now these flyport accepts datas in WEP 40 Encryption. I am sending these datas using DOOIP from my ...
1
vote
2answers
41 views

AES C# File Encryption - stream writes only 16 bytes

Here is piece of my code, which should encrypt file and write cryptograph into new file. Code is similiar to example found at Microsoft MSDN webpage. byte[] inputBuffer = new ...
0
votes
1answer
13 views

shc on Mac showing 'Killed: 9' error

I'm using shc on Mac OS, to generate stripped binary of bash scripts, for distribution. The issue is, when i execute the stripped binary (with .x ext) it shows the error killed: 9. Even when i make ...
0
votes
0answers
7 views

Getting IIS Role from Encrypted Cookie

I am trying to get a login working correctly but have run into a little problem. I do not have access to the C# code only the web side of everything so I am not sure if what I need is even possible. ...
4
votes
3answers
61 views

SSL and Diffie-Hellman

So I was reading this and was surprised by the answer of Remus. Because I thought it was exactly the other way around. So, as for my question. Why is a program using the diffie-hellman key exchange ...
1
vote
3answers
32 views

remember password functionality in python

basically, I want to have a login box, and the option to remember the password next time you log in. I know there are encryption modules out there, but they require a password to work in the first ...
0
votes
0answers
32 views

Python - Extract and execute in RAM

I'm developing a small python script to take a base64 encoded zip, decode it, and run an EXE that's inside the zip only in RAM (so no disk writing). This is what I have so far if it makes sense, ...
0
votes
1answer
23 views

Openssl CMS encrypt in ruby

I have a task which requires encrypting a big chunk of data in ruby. Encryption should be done as follows. Generate a random key. Encrypt the data with generated random key and in AES_256_CBC ...
0
votes
2answers
48 views

Standard library for AES encryption for VB.NET?

Is there a standard library to use for AES encryption for VB.NET? I wanted to try encrypting a string with a static private key. I googled and there is a lot different variation on the net. I don't ...
0
votes
1answer
20 views

Securing information from a retail POS system

I have created a back-end/processing/statistics for POS transactions for a retail store chain. The thing is, now it is time to move from alpha to beta, and we need some sort of safety for the incoming ...
-3
votes
0answers
17 views

Decrypt Cpp files [closed]

i want your help please. there is a file (cpp file)contains rubbish data or encrypted data , and i tried to recover the original copy from it, but i can't do that please i need any software do that or ...
1
vote
0answers
47 views

Encryption and decryption - code problems

Hi I have this code beneath (code 1) which should reverse the effect of another code (code 2), but it doesnt work properly in either of the codes. Can someone help me with this? :) Code 2 takes a ...
0
votes
2answers
29 views

Java Triple DES algorithm Padding modes

I need to know what are the padding modes applicable to Triple DES algorithm , Is AI_PKCS_PADDING a padding mode applicable to Triple DES ?
0
votes
0answers
18 views

Input another encryption into cbc mode

Current I am using the block encryption DES to do CBC, I would like to include an option for user to use other block cipher such as Tiny Encryption. The output for tiny encryption is different from ...
0
votes
0answers
19 views

Querying Encrypted Types, IUserType

As a requirement in the app, we have to keep some of the data in database as encrypted strings, so we have used the Encrypted Type, which implements NHibernate's IUserType (courtsey NHibernate ...
-3
votes
0answers
33 views

Substitution Encryption/Decryption with Python

I need to write a program that will ask for a cipher key from a file and then ask for a piece of plain text from another file. I then need the program to encrypt the plain text and print the ...
0
votes
1answer
14 views

hide registration code from user on iOS

Only a short question here, I would like to know the best place to put my registration code for the user that I get back from the server. I am encrypting it as seen here. //encrypting NSString* ...
-1
votes
3answers
53 views

Encrypt message with private key? [closed]

In RSA encryption and decryption, we use the public key to encrypt the plain text to cypher text and then read it with private text. But in Signature, it is said to sign it with private key, and then ...
0
votes
1answer
47 views

RSA Encryption not working in java

I am working on the RSA algorithm and have made some progress but it is not working. I have the following code. public class RSA { public static void main(String args[]) { String ...
0
votes
1answer
19 views

Decrypting output of RNCryptor 1.x using PHP

I've been using RNCryptor in an iOS app of mine. Due to some issues with the app, I need to decrypt some of the data server-side, which runs PHP 5.4. The RNCryptor package includes PHP code, but it ...
0
votes
1answer
21 views

How can I encrypt form data from Contact Form 7 on WordPress?

I am using Contact Form 7 with Dynamic Text Extension on a WordPress site. The information does not get stored to a database, rather it is sent only via email. Is there a way that I can encrypt the ...
1
vote
1answer
52 views

Bad Data: Cryptography C#

I am new to C# and cryptography and I've made up the below code by picking up data from various sources like CodeProject and StackOverflow. public class CryptoSafe { private const int SaltSize = ...
1
vote
2answers
35 views

AES file encryption with .Net Framework and decrypt it with IOS

We encrypt PDFs using AESManaged algorithm implemented in .NET framework. I used the example explained in here to implement C# code to encrypt the file. Now I need to decrypt that file using an iPhone ...
0
votes
0answers
27 views

php generate public/private keypair and encrypt string (without protocols)

Let's say there's a shop and a bank. The shop wants to know if the client has sent money to their account, so: The shop send's the encrypted username and password to the bank using the public key. ...
2
votes
1answer
24 views

iOS app with base 64 + hMac encoding

I use base64 + hMac to encode and decode the request & response of my app. When uploading the app do I have to say YES for; Does your product contain encryption?
-3
votes
0answers
20 views

Caesar cipher using assembly language [closed]

I am new to assembly language and I am trying to make a Caesar cipher program in which user enters 15 chars and key value range 0-F hex, can you please help me with it. What I wrote so far: .MODEL ...
0
votes
1answer
40 views

A way to edit (read / write text) an existing .doc (MS Word) file with C++ in Windows?

everyone. I have to make a application in C++ that is capable of reading plain text from an existing .doc or .docx file (MS Word) in Windows, then create a new .doc or .docx file and write that plain ...
-1
votes
1answer
20 views

Could these strings have been encrypted through something else, before base-64? [closed]

I have been decoding a series of increasingly-complicated "codes" for a friend. The creator of these codes has used base-64 encryption before, and the current examples seem similar to base-64. ...
-2
votes
0answers
29 views

Encryption and decryption one exe file for batch [closed]

I would like to make LONG batch game, and let user save progress in file. I know I could use echo 37% > save.xyz, but as you can imagine, in this world, full of cheaters and crackers, they will ...
0
votes
0answers
54 views

unknown file name change when file downloads

am using a script to download files from my site. if (isset($_GET['file'])){ $file = $_GET['file']; $query = "SELECT fileurl FROM dbname WHERE id='$file'"; $result = mysql_query($query); ...
1
vote
2answers
49 views

Is JavaScript source encryption useful for obfuscation?

I am thinking about creating mini-games in JavaScript that a public social website (yourworldoftext.com) and I had a thought, I am a user of the site and would be embedding my JavaScript in a link's ...
0
votes
3answers
34 views

Pack arbitrary number of bits

What would be a good way of packing an arbitrary number of bits? I have sentences which are known to only contain certain characters and want to encrypt. Hence an option is to use fewer bits to ...
0
votes
0answers
22 views

How to get crypto scheme UUID

MediaCrypto class can be used in conjunction with MediaCodec to decode encrypted media data. Crypto schemes are assigned 16 byte UUIDs, the method isCryptoSchemeSupported(UUID) can be used to query ...
1
vote
1answer
20 views

mcrypt_encrypt on string containing “:” (colon)

My web application gets URL objects from clients, encrypts it using mcrypt_encrypt , and stores the result in a MySQL DB as type LONGTEXT. This entire thing is done as shown below: /* $copied ...
-1
votes
2answers
59 views

How can I detect that a key has been reused in one-time-pad encryptions?

I have 20 OTP ciphertexts which I know were encrypted with only 19 distinct keys, so 1 key has been reused. Also only two different messages, with the same length, were encrypted. I know that if I ...
0
votes
1answer
29 views

length of data to decrypt is invalid rijndael c# sql

I am trying to encrypt / decrypt sensitive data such as SSN, the encryption process goes fine, saving in DB looks good too, retrieval looks good too, but when I am on the last step to decrypt the data ...
0
votes
2answers
39 views

How can I prevent local admin users accessing database files encrypted with EFS?

Let's assume that I have a C# multi-user client-server application and SQL SERVER EXPRESS 2008 as a DB. It's an application that is supposed to be installed on customer's PCs, where everyone who works ...
-4
votes
0answers
31 views

Authorize a request if it is coming from a website and allow it to be processed

Before processing the request, I want to know if the request is coming from a particular site. Lets say i have site A and site B, both are exposed to public. For a particular event in site A, the ...

1 2 3 4 5 172
15 30 50 per page