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
2
votes
2 answers

MD5 3DES encryption Swift

I have an app that must send login credentials that have been encrypted first by MD5 and then by 3DES. I have managed to use CryptoSwift to encrypt the string by MD5. However I cannot find anything to encrypt by 3DES on Swift. I have tried…
ThundercatChris
  • 481
  • 6
  • 25
2
votes
1 answer

DESKey expanding using JavaScript

I'm implementing a protocol in Node.js. This protocol uses 3DES encryption in CBC mode, okay. But to encrypt/decrypt I need to spread/expand the 14 bytes DES Key to 16 bytes just adding the parity bits. But. I'm stuck on it using…
2
votes
1 answer

C# and PHP encryption compatibility - 3DES ECB with PKCS7

I have a common problem but none of the various solutions in the web seems working for me. I have C# code which make an encrypt 3DES-ECB with PKCS7. I have to do the same in PHP, but I'm getting different results. This is my C# code: public…
Piero Alberto
  • 3,823
  • 6
  • 56
  • 108
2
votes
0 answers

3Des decryption using different key (from encryption state), can decrypt successfully

I've tried TripleDESCryptoServiceProvider(). And I've change Encrypt/Decrypt key a bit, wonder why different key can decrypt encrypted text successfully. (Also I've tried With or Without specified different IV, same result) The difference in the…
Eric F.
  • 309
  • 4
  • 11
2
votes
2 answers

3des encrypting/decrypting of file java

I have a problem to read the file (for example *.zip) and encrypt it with 3DES, using secretKey which one generated from name of encrypted file. Then I need to decrypt this file, and write it on HDD. I tried to resolve thhis problem, but stuck when…
2
votes
2 answers

Where is the IV in Triple DES?

I'm encrypt data using triple DES. It works fine, but I have a question. Where can I see the initialization vector (IV)? It's 3des encyption with BASE64Decoder. import java.io.IOException; import java.io.UnsupportedEncodingException; import…
2
votes
1 answer

3DES Decryption Sometimes Different

I'm having a problem using the CCCrypt function to simply encrypt/decrypt a chunk of data. My platform is iOS 8 in Xcode 6. What I'm doing is, I convert a test string to NSData format and pass it into a wrapper function I made. The return of that…
Brandon M
  • 349
  • 2
  • 20
2
votes
0 answers

php encrypt string using huawei md5 + 3des

hey thanks for reading in advance. I am facing some issue in encrypting something in 3des, it is working but doesn't seem to out the proper values purpose: i need to authenticate to a rest API from php to be able to retrieve info, their…
roy naufal
  • 379
  • 1
  • 8
  • 19
2
votes
1 answer

PHP code to encrypt using 3DES algorithm using CBC mode and a secretkey and IV spec key

i am try to encrypt following data using the 3des(CBC) using a secretkey and IV spec key in php but i am not getting the same output which i get on this online tool (http://symmetric-ciphers.online-domain-tools.com/) //input $data =…
user3546274
  • 21
  • 1
  • 2
2
votes
1 answer

After getResponse the page loads but doesn't redirect

C# Asp.Net Triple-Des I have two aspx pages in a single project. For trial purposes these two pages are in a single project but in the future they will be on seperate servers. There's a button on the first page (Default.aspx) and this is the code…
Burak Kalafat
  • 68
  • 2
  • 15
2
votes
1 answer

3des encryption and decryption in iOS

I am working on 3DES encryption and decryption. I have done encryption successfully. For decryption, I am using this code but not getting exact result. My encryption string is "CHc3TsfJgYs=" and key is "meristem". Please tell me what I am doing…
Sudha Tiwari
  • 2,499
  • 26
  • 50
2
votes
2 answers

DES3 encryption: ruby openssl::cipher vs. oracle dbms_obfuscation_toolkit

I have a legacy application written in PL/SQL that encrypts and decrypts data using 3DES. Now I need to perform similar encryption from a ruby app. Eventually the resulting hash will need to be decrypted by the same PL/SQL application using its…
user1424966
2
votes
1 answer

AES256 vs 3DES 256 key detection

How would I be able to determine the encryption of a key (AES256 or 3DES 256)...Since both keys will be 32 characters (8 bits per char * 32 char)=256 bits and Mime encoded. Example MQAyAEgAOgA5ADUAMwA3AD8AQgBFAD4A --->AES256…
user2402616
  • 1,434
  • 4
  • 22
  • 38
2
votes
1 answer

Decrypting data in Python that was encrypted in 3DES by Java

I'm trying to decrypt data using PyCrypto. The data was encoded in Java with the javax.crypto package. The encryption is Triple DES (referred to as "DESede" in Java). As far as I can tell, default settings are used for everything. However, when I go…
Rob Watts
  • 6,866
  • 3
  • 39
  • 58
2
votes
3 answers

iPhone --- 3DES Encryption returns "wrong" results?

I have some serious trouble with a CommonCrypto function. There are two existing applications for BlackBerry and Windows Mobile, both use Triple-DES encryption with ECB mode for data exchange. On either the encrypted results are the same. Now I want…
Jan Gressmann
  • 5,481
  • 4
  • 32
  • 26