Questions tagged [rc4-cipher]

RC4 in cryptography is a widely used stream cipher. It's most common application is the WEP security algorithm. RC4 is fairly simple to understand and implement, on the other side, however, strong attacks on RC4 are known.

143 questions
0
votes
1 answer

TLS: hard disable cipher vs not listing it

In the below TSL1.2 cipher list, why should one explicitly disable RC4 instead of just removing it from the list of ciphers. ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!RC4 What problems does it cause?…
Hem
  • 619
  • 13
  • 26
0
votes
1 answer

Segmentation Fault on string conversion?

I am working on an encryption project and I am making a simple test that takes a file name from terminal and runs my encryption. I have the following encryption code but I get the following segmentation fault: terminate called after throwing an…
Callat
  • 2,928
  • 5
  • 30
  • 47
0
votes
0 answers

RC4 encryption PRGA method throwing odd exceptions

I'm currently implementing a chat program that lets the user choose between RC4 and TEA encryption. It's a partner assignment, and I have taken RC4. I've used the wikipedia page mostly, as well as our book (which the code I believe is the same as on…
0
votes
1 answer

How to make sure if weak cipher suites (RC4, AES) are really disabled?

Aside from using openSSL command line to check that the server does not support the ciphers # openssl s_client -connect SERVERNAME:443 -cipher LOW:EXP source:https://conetrix.com/Blog/disabling-and-verifying-sslv2-and-weak-ciphers-in-iis I was…
mopkaloppt
  • 40
  • 1
  • 6
0
votes
2 answers

Knowing what ciphers your users are using

I need to know if many people are on my site with a browser using RC4. The main culprits being IE6,7,8 on XP. Apparently by enabling SChannel logging I can do this and then read the results in the event log. To test I have enabled SChannel Logging…
Full Time Skeleton
  • 1,680
  • 1
  • 22
  • 39
0
votes
0 answers

Can't disable TLSv1 and RC4-SHA

I need to unsupport TLSv1 and RC4-SHA So i have this lines in my ssl.conf SSLProtocol +TLSv1.2 +TLSv1.1 -TLSv1 SSLCompression off SSLHonorCipherOrder on SSLCipherSuite…
EMP
  • 87
  • 2
  • 11
0
votes
1 answer

RC4 Encryption KSA key out of bounds

I am implementing a RC4 algorithm in C# for my WPF app. I followed this pdf stating the algorithm. The thing is, in the KSA, we ought to do : j = (j + S[i] + (int)key[i % keyLengthInBits]) % 256;. That being said, I do not understand how this would…
Marks
  • 165
  • 4
  • 19
0
votes
1 answer

Decrypt string using Bouncy Castle RC4 algorithm in C#

I am trying to use library Bouncy Castle for decrypting. But the decrypted string is not correct. I am getting value Aa1ŽYY445Ló, but correct value should be Aa11YY445LL. What I am doing wrong? When I try to decrypt string on…
Tomáš Opis
  • 289
  • 3
  • 6
0
votes
0 answers

Python Attack Implementation on RC4 Cipher

I have a assignment to implement a RC4 attacks and I am stuck. This is the link to the simulation, the simulator will take the message and encrypt and decrypt in size 128 bytes. Click on the simulation.jar to generate the message between the server…
Toshitaka
  • 1
  • 2
0
votes
1 answer

How to disable Weak Ciphers from Azure mobile service?

Is there any way to disable weak ciphers from Azure Mobile Service? The service is running in Standard tier. Publish server port is 443. I tried to run following code string[] subKeys = new string[] { "RC4 40/128", "RC4 56/128", "RC4…
0
votes
1 answer

Decrypting message hashed with SHA256

I was given a 16 byte key(used to encrypt message in RC4). First 8 bytes are unknown for me. I know that key was created by hashing a message using SHA256(secret) and getting first 16 characters from string obtained from this hashing function.…
Vegeta
  • 5
  • 2
0
votes
0 answers

How to implement Spritz or RC4-like in C#?

I try to understand Spritz or RC4-like from this web . And I want to implement Spritz with C#. Spritz add k and w to algorithm different from RC4. I'm not sure how to implement it. I try to edit code from RC4 like this . class RC4Class { …
user572575
  • 1,009
  • 3
  • 25
  • 45
0
votes
2 answers

String to Byte[] and back to String

I have a String X = 0110100001100101011011000110110001101111530940929e959001f70dd4da5f5cc3b373165781 i first make String X into a byte [] by X.getBytes(); and i go through a RC4 encryption using this.. public static byte[] RC4(byte[] x,byte[]…
darren lim
  • 29
  • 4
0
votes
1 answer

byte[] sending in UDP java unable to give whole value

I have this small error about my output from Client server not working properly. The issue is that the output sent over from my server to client will not always be the same after decryption. In this case, the resulting decryption is the same, only…
darren lim
  • 29
  • 4
0
votes
1 answer

Enabling RC4 cipher suite for Spring Boot Application

I am trying to enable RC4 cipher suites in Spring Boot Application(The application supports only JSEE cipher suites http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html) The above link has so many RC4 cipher suites, what…
OTUser
  • 3,788
  • 19
  • 69
  • 127