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
1
vote
1 answer

Openssl RC4 - password as plain text

I am trying to encrypt using RC4 using openssl. I can match results with online cipher tools only with key as hex but not as plaintext. Using password option with plaintext - DOES NOT MATCH. # echo -ne "stackoverflow" | openssl rc4 -pass…
AKS
  • 184
  • 2
  • 18
1
vote
1 answer

Android rc4 encryption

I think I am missing something, i believe the image(converted to bytes) is being encrypted but not decrypted when it arrives at the client side. The image seems to pass the RSA signature verification but somehow it can not be viewed. Client Side…
Melo
  • 37
  • 10
1
vote
1 answer

RC4 Decryption Java

I've been looking around the web and found a lot of helpful stuff on here especially,I'm close but I can't quite figure out the decryption bytes. Is the Decrypt not working because I'm sending the function negative values in the byte array? import…
user3412695
1
vote
1 answer

Connection between RC4 removal and SHA 1 removal

Is there any connection between the removal of RC4 stream cipher and SHA 1 certificate removal? Meaning - did the removal of one force the other one to be removed or it just happened to be that they both have been removed at the same time?
Shevy
  • 13
  • 3
1
vote
1 answer

cipher suite specs using TLSv1.2 only and no SSLv3 TLSv1.2:!aNULL:!eNULL

When using a VPN-like connection between the two servers (not web servers or anything like it), besides authentication I would like to enable encryption. The authentication portion is already working, wanted some help at the encryption level. I know…
1
vote
1 answer

Disabling RC4 ciphers on an IIS server - what browsers will be affected

Following a security audit we've been advised to stop supporting RC4, apparently doing so is easy enough. However, we support browser back to version IE7 and while I've read extensively on this topic online I cannot find a single decent (read…
Full Time Skeleton
  • 1,680
  • 1
  • 22
  • 39
1
vote
1 answer

Implementing Rc4 algorithm

I need to implement a Rc4 algorithm with a seed: 1 2 3 6 and the plain text cryptology. I am following this guideline we were provided in class, but it's not initializing S correctly. my output is and needs to be My code was previously printing…
Thrall
  • 69
  • 3
  • 7
1
vote
0 answers

How to reduce array size of spritz cryptography from 256 to 8

I try to test spritz cryptography from this code . It work when use N =256 But I want to reduce N to 8 . I set N=8 and change 255 to 7 when I run the code it show assertEquals error . I'm not sure this error is normal when I reduce array 256 to 8…
user572575
  • 1,009
  • 3
  • 25
  • 45
1
vote
1 answer

How can I xor a string character with an int in Python?

I'm trying to create a Python Ciphersaber 2 implementation since those that I've found on the net appear to produce gibberish. During the deciphering, I need to be able to xor a single character of a string with a keystream that is represented by…
FutureShocked
  • 779
  • 1
  • 10
  • 26
1
vote
1 answer

How to brute force for find internal state on RC4?

I want to find internal state of RC4 by brute force array value of RC4 but I'm not sure how to brute force it. #include #include typedef unsigned long ULONG; void rc4_init(unsigned char *s, unsigned char *key, unsigned long…
user572575
  • 1,009
  • 3
  • 25
  • 45
1
vote
0 answers

Encrypt bytes in a C struct, using OpenSSL RC4

TL;DR... I need to encrypt an in-RAM C struct, byte-for-byte, using OpenSSL / EVP RC4 stream-cipher. How do I implement EVP (e.g. EVP_CipherUpdate) to accomplish the actual encryption of bytes in the struct? The Details... I have a ISAM/BTree…
csr19us
  • 105
  • 9
1
vote
1 answer

Can array of bytes be used as a key with CryptoJS.RC4.encrypt?

I need to use an array of bytes (non-printable characters) as a key for RC4 encryption. The plaintext is a string. It seems that CryptoJS.RC4.encrypt expects only strings for both plaintext and key. Am I correct? If not, how do I call encrypt()…
bdristan
  • 1,048
  • 1
  • 12
  • 36
1
vote
1 answer

C RC4 super weird behavior

so I found the implementation of RC4 in pure C, which I was using on my website. It was working super good except when I input a 6 characters string. Then I get the Internal Error Page. Figured out that only this length causes a…
1
vote
3 answers

How to send invalid ciphers from client to server?

In the client hello, I want the client to send a set of invalid cipher suites. On wireshark, this is the kind of output I'm looking for. To do this, I think I have to edit the cipher list that is sent from the client to the server. I know that the…
Randomly Named User
  • 1,889
  • 7
  • 27
  • 47
1
vote
1 answer

How to input string for encryption using arc4?

I was using the Crypto++ library to do my arc4 encryption. Reference from here but not fully explained: http://www.cryptopp.com/wiki/Stream_Cipher. The following is my code: string key = "key"; string msg = "hello"; ARC4 arc4((byte*)key.c_str(),…