17 questions
2 votes
1 answer
305 views
RC2 decryption from wincrypt API to Go
I want to rewrite old C code from 1990 to Go. But the pain point here is migration of cryptographic algorithms. I have the following Cpp code that successfully decrypts the cipher into plain text. #...
0 votes
1 answer
378 views
Looking for RC2 encryption in .Net Core
I'm tasked with writing a bridge program to encrypt some data that will be consumed by a legacy app. The legacy app uses an old library that does RC2 encryption. Specifically it is using a block ...
-1 votes
1 answer
2k views
How to decrypt a RC2 ciphertext?
Python 3.5, pycrypto 2.7a1, Windows, RC2 ciphering Example: print('Введите текс, который хотите зашифровать:') text = input() with open('plaintext.txt', 'w') as f: f.write(text) key = os....
1 vote
0 answers
286 views
Different RC2 encryption results between C# and PHP
I'm trying to achieve the same result I reach with a C# code, using PHP. The encryption algorithm is RC2, using RC2CryptoServiceProvider for .NET and mcrypt() for PHP. This is the C# part: public ...
0 votes
1 answer
140 views
Visual Studio Team Services .NET Core RC2 build and deploy stuck
I am trying to follow these instructions: www.visualstudio.com/docs/build/apps/aspnet/aspnetcore-to-azure for building and deploying my .net core rc2 solution. However, I am getting stuck in in the ...
0 votes
2 answers
748 views
Encrypt / secure short string to long
I would like to encrypt / secure input string in the following format "AB123456789000" (two letters and 12 digits) so that the secured "version" can be stored as long (number) in the database. I have ...
1 vote
0 answers
141 views
C# method to decrypt in PHP
I have a C# code to decrypt data, now I'm trying to make the same in PHP but I can't get the same result. I know that I missing something but I don't know how to transfer this to PHP. Any ideas? ...
0 votes
0 answers
104 views
Sigabrt error coming while encrypt a string
I got sigabrt error when i encrypt a string using following code. NSString *name=@"Mobinius" where key=@"CollaborationKey"; Desired output = vKu5r%2fKEcFpcA62QjBG22w%3d%3d; code is: - (NSString *)...
0 votes
1 answer
267 views
Bad Data with Cryptography.RC2
There is a special working progress where we encrypt and decrypt an input. Suddenly, yesterday, there was an encrypted string we weren't able to decrypt. It seems my cryptographic knowledge aren't ...
1 vote
1 answer
2k views
RC2CryptoServiceProvider .NET algorithm differences with node js rc2 algorithm
Does .NET's RC2CryptoServiceProvider conform to OpenSSL. I'm using RC2CryptoServiceProvider with CBC but the encrypted value for the same text (using the same key and init vector) is different from ...
0 votes
1 answer
368 views
Android RC2 Encryption
I'm working on making an Android client for a fairly old webservice. The webservice requires that I encrypt some of the data I send to it in RC2 style. I'm having trouble getting anything (Cipher, ...
6 votes
2 answers
2k views
Node.JS RC2-CBC Encryption and Decryption ciphers are not matching with C#
I have an existing encryption and decryption login inplemented in C# using RSC2-cbc algorithm using Key and IV. Now I am going to implement the same in node.js. So I have written following code to ...
1 vote
1 answer
486 views
RC2 Encryption and Packet Delimiters
I am working on a client/server application and communication between the two is encrypted. I am using RC2 encryption because the client is embedded and CPU resources are limited. I am using the ...
0 votes
1 answer
1k views
RC2 Crypt SQL Server and C#
He was investigating how to implement an encryption algorithm in my application. He had seen the RC2. On the one hand, I managed to encrypt and decrypt from c #. On the other hand, I also managed to ...
6 votes
2 answers
12k views
How secure is 64-bit RC2?
In encryption, would two symmetric algorithms be considered to be equal in terms of security if their key sizes are equivalent? (i.e. does a 64-bit RC2 algorithm provide the same exact security that a ...