3des Questions
7
Solved
I'm new to encryption. I need to implement asymmetric encryption algorithm, which i think it uses private/public key. I started using a sample of RSACryptoServiceProvider. it was ok with small data...
Polytonality asked 29/7, 2009 at 9:34
6
Solved
Every method I write to encode a string in Java using 3DES can't be decrypted back to the original string. Does anyone have a simple code snippet that can just encode and then decode the string bac...
Valarievalda asked 21/8, 2008 at 15:25
1
I wnat to create a C# class to decrypt a byte array encrypted using T-SQL's EncryptByPassPhrase. (Yes, I know I could decrypt within SQL Server, but what I need is to be able to encrypt/decrypt wit...
Housecoat asked 29/11, 2012 at 2:18
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.
...
2
Solved
I have this mcrypt_encrypt call, for a given $key, $message and $iv:
$string = mcrypt_encrypt(MCRYPT_3DES, $key, $message, MCRYPT_MODE_CBC, $iv);
I'd like to change the mcrypt_encrypt call to an o...
Synovitis asked 16/12, 2016 at 10:9
4
Solved
For
`BDK = "0123456789ABCDEFFEDCBA9876543210"` `KSN = "FFFF9876543210E00008"`
The ciphertext generated was below
"C25C1D1197D31CAA87285D59A892047426D9182EC11353C051ADD6D0F072A6CB3436560B3071F...
Alienable asked 28/6, 2013 at 10:25
1
I have a two mails (SMIME encrypted) for a single recipient. One mail is encrypted using 3DES, the other one is encrypted using AES 256.
The mails where created using C# EnvelopedCms class.
I can...
Ology asked 17/12, 2012 at 16:4
1
Solved
Need to convert the following function from PHP to C# (asp.net)
function encrypt_3DES($message, $key){
// Se establece un IV por defecto
$bytes = array(0,0,0,0,0,0,0,0); //byte [] IV = {0, 0, 0,...
Yeargain asked 27/10, 2015 at 16:46
4
Solved
Below Code is Working Fine in c#.NET
byte[] key = Encoding.ASCII.GetByte("012345678901234567890123"); //24characters
byte[] plainText = Encoding.ASCII.GetBytes("lasaa");
TripleDES des = TripleDE...
Crabbed asked 12/4, 2011 at 8:11
2
Solved
Am trying to decrypt a key encrypted by Java Triple DES function using PHP mcrypt function but with no luck. Find below the java code
import javax.crypto.Cipher;
import javax.crypto.spec.IvParamet...
1
We would like to convert our use of mcrypt to openssl.
Here is our encryption function:
mcrypt_ecb(MCRYPT_3DES,$key,$payload,MCRYPT_ENCRYPT)
Here is our decryption function:
mcrypt_ecb(MCRYPT_...
1
Solved
I'm writing a simple encryption system for logging in but I've got small issue.
C# encrypt function:
public static string EncryptString(string Message, string Passphrase)
{
byte[] Results;
Syst...
Melise asked 15/11, 2012 at 17:21
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 ...
1
I have a PHP servor which decrypt data in 3DES with the CFB Mode
I encrypt in PHP :
$montant = "500";
$message_crypte = mcrypt_encrypt(MCRYPT_3DES, "N4y1FRDRJ7wn7eJNnWaahCIS", $montant, ,CRYPT_M...
Abductor asked 12/6, 2012 at 8:55
3
I've got a project which stipulates the following encryption rules for a 24 byte block of data.
1) Cryptography should be done using full triple DES MAC algorithm as defined in 9797-1 as MAC
al...
Cockaigne asked 19/5, 2011 at 8:21
1
Solved
My .Net application need to communicate with Linux based system which is using following command line to encrypt their messages:
openssl enc -a -e -salt -des3 -pass pass:abc123
How would be equi...
2
Solved
what is the best module /package in python to use des /3des for encryption /decryption.
could someone provide example to encrypt data with des/3des on python.
Monarchy asked 12/3, 2010 at 19:33
2
Solved
I have a working test of a hardware device that uses RSA encryption, in Python using M2Crypto. Now I need to test a similar device that uses 3DES encryption. But I can't figure out how to use M2Cry...
Bristle asked 22/8, 2010 at 14:7
3
Solved
I have been banging my head on a wall with this one. I need to code my iPhone application to encrypt a 4 digit "pin" using 3DES in ECB mode for transmission to a webservice which I believe is writt...
Neilla asked 16/3, 2010 at 13:37
1
© 2022 - 2024 — McMap. All rights reserved.