des Questions

9

Solved

Does anyone have pros and cons together for comparing these encryption algorithms ?
Misbelief asked 5/4, 2011 at 15:39

3

Following Replicate T-SQL DecryptByPassPhrase in C#, I am unable to get a simple encryption with MSSQL to descrypt in C#. The encrypted values in certain columns is necessary because the table is e...
Abagail asked 10/2, 2014 at 18:7

1

Solved

I am taking a class in computer security, one of our assignments is to brute force DES that has a weak key. My Code: public static void main(String[] args) throws Exception { String temp; String...
Sheetfed asked 1/5, 2021 at 18:50

2

Solved

Currently trying to figure out why my decryption method is not working. I used DES, CBC, and PKCS7Padding to encrypt my string. My current code outputs panic: crypto/cipher: input not full blocks d...
Olericulture asked 10/1, 2017 at 22:10

3

Please note that the issue I am having here is with the key size. At first, based on the comments included in the below code, I figured that my key needed to be 24 bytes (192 bits). This didn't wor...
Apogee asked 9/8, 2011 at 0:51

7

Solved

I've written a DES implementation as an exercice and am now wondering if and where (triple-)DES is used today. I've read about banking cards using it, but I can't find any reliable source for it. ...
Expectant asked 24/10, 2009 at 21:35

1

Solved

I am using ExoPlayer to play Media files(mp4s .h264 encoded) from the SD card of a device. Some of the files are DES encrypted. I can decrypt the files and get back an inputStream, but then I am un...
Rags asked 5/2, 2015 at 17:30

2

Solved

I'm trying to authenticate DESFire card with my android application. I use the example in this link to decypher the bytes I got from the card. For that, I ruled out padding in decryption (commented...
Drakensberg asked 2/1, 2013 at 4:59

2

Solved

I wrote a Java Card applet to do DES encryption/Decryption. The source code of my applet (If you want to use it, consider that Mr Bodewes found some bugs in this source code (those are mentioned in...
Recipience asked 10/5, 2015 at 11:15

1

Solved

I am implementing DES - CBC. I am confused as to what cipher.init, cipher.update and cipher.dofinal do. I just use init to set the key and dofinal to get the result. I don't use update. Is that cor...
Josefajosefina asked 9/11, 2014 at 2:16

3

Solved

I am trying to build an SRTP to RTP stream converter and I am having issues getting the Master Key from the WebRTC peerconnection I am creating. From what I understand, with a DES exchange, the key...
Catechetical asked 27/3, 2014 at 15:25

1

Solved

This is a beginner question, Every time I search on the internet, decrypt with DESCryptoServiceProvider function always returning a string. How can we get byte[] for the return? This is the c...
Continuous asked 23/7, 2014 at 6:47

2

Solved

I tried to implement DES algorithm using pyDes and Crypto.Cipher.DES modules. I found a problem that when I encrypt with 82514145 key and then decrypt the cipher with 93505044 I can retrieve the de...
Ranitta asked 22/4, 2014 at 9:53

2

Solved

Someone asked me to decrypt with PHP a string encrypted with the following Java Class. public class CryptoLibrary { private Cipher encryptCipher; private sun.misc.BASE64Encoder encoder = new sun....
Indogermanic asked 24/4, 2012 at 14:38

3

I am currently completing a dissertation concerning the encryption of data through a variety of cryptographic algorithms. I have spent much time reading journals and papers but as yet have been un...
Gunsel asked 10/4, 2012 at 19:2

1

Solved

so I'm trying to convert a Key into a string so I can display it with System.out, and then I want to convert it back to a Key. I am able to convert it to a string with BASE64Encoder, but I'm having...
Gustatory asked 6/9, 2012 at 3:0

6

Solved

What's the best way to calculate if a byte has odd or even parity in Ruby? I've got a version working: result = "AB".to_i(16).to_s(2).count('1').odd? => true Converting a number to a string ...
Agate asked 19/12, 2010 at 6:27

1

Solved

I have the following c# code that generates keys: public static byte[] Encrypt(byte[] plainData, string salt) { DESCryptoServiceProvider DES = new DESCryptoServiceProvider(); DES.Key = ASCIIEn...
Graham asked 12/6, 2012 at 20:30

3

Solved

Does anyone have any examples of how to encrypt serialized data to a file and then read it back using DES? I've written some code already that isn't working, but I'd rather see a fresh attempt ins...
Whitmer asked 8/6, 2009 at 13:56

1

I'm in the need of decrypting with PHP (or Javascript) some service calls. I've spent all the day trying to accomplish, this, but I've been unable to decrypt it properly. As a reference, the servi...
Fredia asked 17/4, 2012 at 18:51

1

Solved

I have been able to create a RSA key protected by password with DES3 (well... I think because I'm very new to this encryption world) by using the command: openssl genrsa -out "/tmp/myKey.pem" -pas...
Smudge asked 2/4, 2012 at 15:39

7

I would like to encrypt a textual (configuration) file stored on disk. Trying to use DES encryption I've had fatal error on client machines, I later found out the algorithm could not handle accente...
Undistinguished asked 30/8, 2009 at 20:17

2

Solved

I convert the secretkey into bytes with following code SecretKey key = KeyGenerator.getInstance("DES").generateKey(); byte[] bkey=key.getEncoded(); Now how do I get the key from bkey? I tried: ...
Vikki asked 19/3, 2011 at 19:22

5

Solved

I am taking a course on Cryptography and am stuck on an assignment. The instructions are as follows: The plaintext plain6.txt has been encrypted with DES to encrypt6.dat using a 64-bit key given...
Espouse asked 2/2, 2012 at 19:57

3

Solved

I'm looking for a very simple crypt / decrypt method. I will be using always the same static key. I'm aware of the risks of this approach. Currently I'm using the following code but it does not gen...
Faiyum asked 27/1, 2012 at 9:56

© 2022 - 2024 — McMap. All rights reserved.