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

Is there a 112-bits Triple DES example implementation in Python?

Is there a 112-bits Triple DES example implementation in Python? I've found pydes, but it works only with 16 or 24 bytes for Triple DES.
yegorov-p
  • 133
  • 1
  • 2
  • 14
0
votes
1 answer

What is triple DESm (3DESm) encryption method? Is it much different from 3DES?

I have to decrypt an encrypted message in C program which has been encrypted using 3DESm method in CBC mode. It looks quite different from the encrypted message that we get from 3DES method. Generally the ciphertext that we get after encrypting from…
Manas
  • 84
  • 2
  • 7
0
votes
1 answer

Is it possible to use CBC mode of 3DES decryption method to decrypt an encrypted message of 14 characters?

I read about the CBC mode of encryption in wikipedia where it said that in 3DES method a message is divided into 16 digit blocks each and then they are encrypted or decrypted. Every block which is encrypted is XORed with the next plaintext and then…
Manas
  • 84
  • 2
  • 7
0
votes
1 answer

C# TripleDesCrypto gives different results than VB TripleDesCrypto

Trying to use TripleDesCrypto encoding for a project and I keep getting a Bad Data error on decoding. This is what I had in VB.net Public Shared Function encode(message As String) As String Dim _Key As Byte() =…
Brian
  • 2,229
  • 17
  • 24
-1
votes
1 answer

3Des Encryption/Decryption in java

I am new to Security in java. I have two clear double length keys which was used for generating ZPK (under LMK) in Futurex HSM. Below mentioned pin blocks were encrypted using ZPK. Is there a way to decrypt the block using clear keys in…
-1
votes
1 answer

Invalid key size for 3DES

i am trying to use 3DES decryption using the system.security.cryptography but it throws an exception upon giving an encrypted hash for decryption or a plain text for encryption. error: specified key is not valid size for this algorithm. private…
-1
votes
1 answer

How to use python to get the same decrypted result like I did using OpenSSL?

For some reason I need to use 3DES, I know it's weak. This is the original unencrypted text file: # cat test.txt This is the test text file. Used for testing the encryption and decryption differences. In order to perform the test, I encrypted a…
-1
votes
1 answer

3DES EDE ECB Enryption - the c++ output differ from JAVA default mode output

I am using 3des-ede-ebc encryption from openssl library.. the result cipher is encoded using base64. But the result cipher of encryption (both base564 and Hex encode) is different than the result from any online encryption site for same. Eg: for…
-1
votes
1 answer

Select just one string from millions [Solved]

I have a program that checks millions of results to brute force a 3DES password, but I want it to show me just the correct one instead of millions of results of gibberish also, so I was thinking of ways to get rid of the results with nonASCII…
Sergio
  • 55
  • 7
-1
votes
1 answer

Triple DES with CBC mode : java.security.InvalidAlgorithmParameterException: Wrong IV length: must be 8 bytes long

I am trying to implement a 3DES encryption/decryption with CBC mode in java. The initialisation vector is 0000000000000000 Encrypted string is DD446C051A83BFD98144C348935C61D81398CF29CCFE1CCD Key for decryption is DCBA4F836E45BAB04FAB2937454075D9 I…
Preetam
  • 49
  • 2
  • 8
-1
votes
1 answer

Decrypting DESede cipher with NoPadding

For a Crypto class we've been given a DESede ciphertext using ECB with no padding => "6t8Z5bKl5ybJL+MiFerNBmiTDS7wlTEUdWNwJJApWmQ==" which is in base64 form. We were given clues about the key and so I constructed all possible keys (where all are in…
user7816390
-1
votes
1 answer

Decrypting 3des from hex data with a hex key

I am trying to use the mycrypt php library to decrypt the following: Key: aaaaaaaabbbbbbbbccccccccdddddddd Data: b5057bbc04b842a96144a0f617f2820e Expected Result: Test123123 The data is encrypted with 3DES with the mode ECB. The code I'm…
Tony
  • 2,890
  • 1
  • 24
  • 35
-1
votes
1 answer

Triple DES encoding-java.security.InvalidKeyException: key size must be 128 or 192 bits

I am using below code to implement Triple DES encoding with ECB and PKSC5 Padding.The secret key which i am using is stored in a file named key in raw folder.I am getting below exception- java.security.InvalidKeyException: key size must be 128 or…
Bhuvi
  • 51
  • 2
  • 13
-1
votes
1 answer

VB Unable to retrieve string after 3DES encryption

Initial conditions: Private TheKey() As Byte = {1, 2, 3, 4, 5, 6, 7, 8} Private Vector() As Byte = {&H7C, &H22, &H2F, &HB2, &H92, &H7D, &H82, &H8A} I then proceed to encrypt the string: "asd" (without quotations) using: CryptoStream(ms,…
M Aoun
  • 11
  • 5
-1
votes
2 answers

Encrypt a string in Delphi 7 using DCPCrypt (3DES)

I need to encrypt a string in Delphi 7. The only encryption library I managed to get running is DCPCrypt. I studied an example that encrypted files, and tried to adapt it for strings, but I'm afraid I failed miserably... This is my…
Tarrakis
  • 371
  • 3
  • 12
1 2 3
23
24