Questions tagged [tripledes]

Triple DES is a symmetric encryption algorithm that uses the DES cipher three times to encrypt each block of data. The formal name of this algorithm is the Triple Data Encryption Algorithm.

266 questions
-1
votes
1 answer

Handling bad data during decryption (TripleDES, .NET)

I have an enc/dec process set up for a system where a user edits a file. If the encrypted file has been modified maliciously, I want to be able to handle it and say "oh decryption failed, gonna start with a clean file"... something like that. But…
-2
votes
1 answer

I need help on JavaScript version of the given C# function

you can reach the C# version of the code here : http://tpcg.io/_XBMLYD you can also test it with given plaintext and the key. Key length is 44 Any help will be appreciated in order to convert it to JavaScript. Here is my JavaScript code by using…
-2
votes
2 answers

TripleDES Encryption between C#/.NET and PHP

I have to implement some TripleDES encryption in my PHP application to communicate with a C#/.NET application, but I get different results compared to the server-side C#/.NET application. I already tried to use different encodings and flags, without…
visotom
  • 11
  • 2
-2
votes
1 answer

TripleDESCryptoService - "Wrong data"

when I try do decrypt my encrypted key I receive an error saying that it's wrong data / inaccurate data. Tried to search around for a while without any result. This is both the encryption code and decryption code. The indata is a MAC-Address for…
xDotcom
  • 1
  • 2
-2
votes
2 answers

Encrypt/Decrypt Image With TripleDES In Java

I'm trying to encrypt and decrypt image in Java using DESede algorithm. My approach to do that is by getting the pixels byte from BufferedImage and encrypt them, and then set the data element of WriteableRaster from the encrypted byte, finally save…
Putra Ardiansyah
  • 5,249
  • 4
  • 25
  • 37
-2
votes
1 answer

What kind of encryption should I follow for the best? .NET & SQL Server

I am planning an application where I store critical data like passwords and credit card details on sql server. I plan to use TRIPLEDES. What I need to know is that, is that enough? or do you think I should go for something like a digital certificate…
Sarin Gopalan
  • 23
  • 1
  • 8
-2
votes
1 answer

Decode a string 'BHQsZMaQQok='

I'm trying to decode a string like 'BHQsZMaQQok='. All I know about the string is that it must be a number. I can find more encrypted string if it is necessary.
Mentor
  • 101
  • 1
  • 8
-3
votes
1 answer

Encryption and Decryption for Triple DES in PHP Example in ECB Mode

Can you please give me a full example of how to create an encryption and decryption in PHP language? I use hexa for the data and the key. I search through google and find that there is one website that match my expectation which is here. Take…
-3
votes
1 answer

Calculate KCV from 3DES key

Anyone know how to calculate check value (KCV) for a 3DES key? Example the Check Value for key DBFE96D0A5F09D24 is 5B4C8BED I saw sample for C# but not Java.
Alvin
  • 8,219
  • 25
  • 96
  • 177
-3
votes
1 answer

triple des implementation hex input

Doing triple DES with the code : public class TripleDES { private static sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder(); private static sun.misc.BASE64Encoder encoder = new sun.misc.BASE64Encoder(); public static void…
-4
votes
1 answer

Require an equivalent code in Java from C# for encryption and decryption

We have an application running in .NET for several years. It uses the below c# code for encryption and decryption of password. Now we have another application in Java to consume the same DB for authentication. Tried various ways but could not get…
Algi
  • 195
  • 1
  • 2
  • 11
1 2 3
17
18