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

3des authentication no response

I send the command 1A:00 to the Mifare Ultralight C tag by using APDU command Here is the log: inList passive target write: 4A 1 0 read: 4B 1 1 0 44 0 7 4 C2 35 CA 2C 2C 80 write: 40 1 1A 0 I don't know why when I send 1A 00, it did not…
Bao Doan
  • 87
  • 1
  • 2
  • 13
0
votes
1 answer

Triple Des SSH2 via phpseclib

My intention is to use phpseclib to create a script that connects to a ssh2 enabled switch. I have discovered that this switch only allows 3DES encryption and I dont know how to use Crypt_TripleDES() class together with NET_SSH2. I couldnt find…
0
votes
1 answer

how to decrypt the track data using 3DES DUKPT

I am working with a piece of hardware that encrypts data using Triple Des DUKPT (ANSI Standard). I have access to the KSN and the encrypted track2 data from this I need the data to be decrypted. Can somebody help me by providing the DUKPT C++…
user1
  • 687
  • 7
  • 13
  • 24
0
votes
1 answer

3DES encryption using CFB8 and no padding in iOS?

I am developing an application which will send encrypted data to a server. The server uses 3des with CFB8 and no padding. I have read most of the related questions in stackoverflow but still unable to get it work. Been working on this for few days…
Bharat
  • 2,987
  • 2
  • 32
  • 48
0
votes
1 answer

Wraping 3DES key with itself

I have a question that looks weird even to myself. I am translating a program written about 15 years ago to C#. A part of this program is key generation and storing it in a file medium. Here is the part that I am concerned. This specific method…
AaA
  • 3,600
  • 8
  • 61
  • 86
0
votes
2 answers

3DES Decryption Error Invalid Key Length

I am using 3DESC to decrypt data but i am getting following exception java.security.InvalidKeyException: Invalid key length: 16 bytes My Code: public static byte[] decrypt3DESCBC(byte[] keyBytes, byte[] ivBytes, byte[] dataBytes) { try…
Shaggy
  • 5,422
  • 28
  • 98
  • 163
0
votes
1 answer

How to encrypt and decrypt files with bouncy castle (DES) in netbeans java?

How can I encrypt and decrypt files (not strings) with bouncy castle (DESEngine)? I have searched before but could not find help.
user3078505
  • 119
  • 1
  • 1
  • 5
0
votes
1 answer

3DES Decrypt in java a token encrypted in C#

I've searched a lot before asking, but none of the ideas I found work in my problem so here's my problem : In C# the code (which I cannot change because it is from another application) for encryption is detailed after. I have to decrypt the…
0
votes
1 answer

Android 3Des encrypt Binary Output

decrypt with 3des. I can get Base64 output correctly but i want to get output binary. How can i do? cipher.init(Cipher.ENCRYPT_MODE, key); byte[] encryptedText = cipher.doFinal(unencryptedString); byte[] sdd =…
Zapateus
  • 516
  • 3
  • 8
  • 21
0
votes
3 answers

Java Triple DES encryption with 2 different keys

I'm trying to encrypt data using triple DES with two different keys, so given the two keys k1 and k2 the cryptotext would be Ek1(Dk2(Ek1(plaintext))) where E is Encryption and D Decryption. I'm trying to simulate this using DES algorithm from java.…
Jones
  • 1,036
  • 5
  • 20
  • 37
0
votes
1 answer

TripleDES Decryption Issues

I have decoded The string "Test" with 3des using the following functions in Visual Basic: Imports System.IO Imports System.Text Imports System.Security.Cryptography Friend Class cTripleDES ' define the triple des provider Private m_des As…
Flole
  • 55
  • 8
0
votes
2 answers

3DES encryption in Java and Objective C produces different result

I have to encrypt a string in Objective C. The encryption scheme is 3DES/CBC/PKCS5 padding and I have to convert in Objective C this Java code: public class MessageEncrypt { public String encryptString(String message, String…
0
votes
1 answer

machinekey validation using 3DES

I am getting the error on the following machinekey when using validationkey & decryption key using 3DES validation. it works when i removed both. what's the best approach when using 3DES?
Chris Asis
  • 1
  • 1
  • 2
0
votes
1 answer

OpenSSL.NET DES Functions

I wan't to deal with 3DES algorithm using OpanSSL C# wrapper. can anyone tell me where to find 3DES functions in OpenSSL.NET? and how to encrypt and decrypt using shared secret key between the server and the client.
Ibrahim.I
  • 229
  • 1
  • 4
  • 18
0
votes
4 answers

How do I encrypt/decrypt a string of text using 3DES in java?

Possible Duplicate: How do I use 3des encryption/decryption in Java? How do I encrypt/decrypt a string of text using 3DES in java? I found my answer. Duplicate question that didn't show up when I asked this one. How do I use 3des…
ScArcher2
  • 85,501
  • 44
  • 121
  • 160