Questions tagged [3des]

In cryptography, Triple DES, or 3DES, is the common name for the Triple Data Encryption Algorithm (TDEA or Triple DEA) block cipher, which applies the Data Encryption Standard (DES) cipher algorithm three times to each data block.

is the common name for the Triple Data Encryption Algorithm (TDEA or Triple DEA) block cipher in cryptography, which applies the Data Encryption Standard (DES) cipher algorithm three times to each data block. This protocol has long been deprecated in favor of stronger encryption algorithms.

357 questions
0
votes
1 answer

NoSuchProviderException when encrypting string with 3DES

I am new to Java. I followed this tutorial about Encryption and Decryption using 3DES algorithm. I have implemented like this: Created a class and placed the 3DES code provided in the above link. Called the encrypt method in the above link as…
user2326860
  • 1
  • 1
  • 4
  • 12
0
votes
1 answer

Does WCF + net.tcp support 3DES?

I currently have an open WCF service running w/ netTcpBinding; however, I need to encrypt this channel. Does WCF support 3DES, or should I just handle the encryption/decryption on my authorized client/server? Thanks;
hb.
  • 1,705
  • 5
  • 22
  • 43
0
votes
1 answer

3des in php - cannot get good key/string

I need to decode a 3des string in a php and I have no experience in decripting so far... First step is: get the key and the set of strings to decode - I have that already. I have this information about algorythm: type: CBC, padding - PKCS5,…
baron_bartek
  • 1,073
  • 2
  • 20
  • 39
0
votes
1 answer

Failure to decrypt an AES encrypted SMIME Message with OpenSSL

I have a two mails (SMIME encrypted) for a single recipient. One mail is encrypted using 3DES, the other one is encrypted using AES 256. The mails where created using C# EnvelopedCms class. I can successfully decrypt the 3DES message using openssl…
Henning Krause
  • 5,302
  • 3
  • 24
  • 37
0
votes
2 answers

Two methods for Des Cryptography returns two different result?

I want to claculate the MAC(Message Authentication Code) CBC chiper(Ansi x9.9), i found a sample which calculates the MAC based on a cycle, in each round the encrypted reuslt must be XOR with next round plain Text block and the result should be…
m-abdi
  • 540
  • 1
  • 7
  • 30
0
votes
1 answer

Implementing des-ede2 in vb.net

Can anyone help me getting started with this? We have a current keygen for a set of our apps that's using des-ede2 in C++. I need to make my vb.net app validate keys generated by that keygen. Anyone have any ideas where to start? I'm googling like…
shaiss
  • 2,000
  • 5
  • 22
  • 33
0
votes
1 answer

I'm implementing 3Des Encryption Algorithm for Long Numbers in Java

I'm implementing 3Des Encryption Algorithm for a project. I using this code as example: http://www.java2s.com/Code/Java/Security/TripleDES.htm It's working ok, but I need to send and receive String, but i'm making this to save Credit Card Number on…
Mark Comix
  • 1,878
  • 7
  • 28
  • 44
0
votes
2 answers

3DES result in Java produces different result from 3DES iOS version

I really really.... really need help........... -UPDATED- I need help because my java function gives me a different result compared with the iOS 3DES function. I posted the code from both ios and java; and results when specified plaintext is…
kinghomer
  • 3,021
  • 2
  • 33
  • 56
0
votes
1 answer

how to wrap/store the key of TripleDESCryptoServiceProvider

I'm using DES encryption, and I want to store the key of TripleDESCryptoServiceProvider. But the key consists of (Key + IV), I was trying to save them in an XML file using XmlTextWriter Convert.ToBase64String(...) but there was an exception due…
ala
  • 7,070
  • 13
  • 47
  • 54
0
votes
1 answer

PHP TripleDES password encryption for registration form

I need the expertise here, i been through many resources yet could not find the answer. i am working on simple a login script with user registration, but could not find much help/ i would like to use 3des encryption on the passwords for new user…
0
votes
1 answer

Switching to CBC mode in Triple DES encryption

I’m working on a mvc application over .Net, to secure my sensitive information such as info in web.config I’ve got two functions that encrypts and decrypts information using Triple DES, however I’m new to this and succeeded to reach till here by the…
Maven
  • 14,587
  • 42
  • 113
  • 174
0
votes
1 answer

3DES in PHP is not same as Java

I have a 3DES encrypted string from a service on java as - 30BA1A87B3B08F8A6F69BF0E2EC7539B when i am applying 3DES encryption in PHP to check the result, i am getting a very different string which is as - ªã;Îù1ù@yq—ÿÃÓ"Õó[ûñüM“ƒº5fá$!Ø5JºÝ7 i…
Pawan
  • 517
  • 1
  • 9
  • 25
0
votes
2 answers

Using MCrypt to Decrypt a Ciphertext (3DES CBC Mode)

I have a ciphertext, encrypted in 3DES CBC mode, and I'm having some trouble decrypting it. I have the following information (not actual values):
White Elephant
  • 1,361
  • 2
  • 13
  • 28
0
votes
1 answer

3des java encryption/decryption with salt and iterations

In the decrypt class, I cant get it to correctly decrypt. I've verified in the decrypt class that my salt and my ciphertext still carries the same values before I convert them back to bytes. The program itself doesn't given an error however when I…
Programmer0
  • 21
  • 1
  • 4
0
votes
1 answer

Cannot resolve symbol GetSHA256String

I’m working on a mvc application over .Net, to secure my sensitive information in web.config I’ve got two functions in my model that encrypts and decrypts information using Triple DES, however I’m new to this and succeeded to reach till here by the…
Maven
  • 14,587
  • 42
  • 113
  • 174