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

RC4 on .net for decryption in Ruby

I need to encrypt a text string in a .net application using a known text key, and then decrypt it in Ruby using the same known key...however I'm having trouble making this happen. I think it has to do with string encoding issues. .Net to Ruby RC4…
Webjedi
  • 4,677
  • 7
  • 42
  • 59
-1
votes
1 answer

How to fix RC4 description does not match the original text?

I built an encryption database application using RC4, where I retrieved text from the database column and then the text was encrypted using RC4 and saved back into the database column. as well as the description process and the encryption has been…
-1
votes
1 answer

fatal error: openssl/opensslconf.h: No such file or directory

I try to compile a C file which decrypts and executes an rc-4 encryped shellcode with virtual alloc. Now I get an error: "In file included from rc-4.c:2: rc4.h:62:11: fatal error: openssl/opensslconf.h: No such file or directory #include…
Silky
  • 53
  • 1
  • 8
-1
votes
1 answer

Is it possible to encrypt a file line by line without encoding the resulting byte array before writing to file?

I need to encrypt a file line by line using the RC4 algorithm without encoding the resulting byte array from the encryption. I saw a post on here about how to encrypt line by line and it works fine but when I attempt to do it skipping the encoding…
Nikaselo
  • 23
  • 6
-1
votes
2 answers

RC4 Encryption/Decryption for integers Java

In short, I have a integer value about 10 digits long. I would like to encrypt it using rc4 algorithm in Java. I went online and search, but I could only find encryption for string values/plaintext. Please advise. Thanks!
Jack
  • 17
  • 2
-1
votes
1 answer

RC4 implementation bug

I am working on implementation for RC4 to S3fs using openssl with C++. And I am trying to encrypt a simple text file that contains the string: I am a sample I keep getting segementation faults, but I'm not sure why. Can anyone shed some light on…
Callat
  • 2,928
  • 5
  • 30
  • 47
-2
votes
1 answer

Key length must be between 40 and 1024 bit

I am getting following exception in my password encryption and decryption java file. I got the solution for this issue in most of the website is replace existing security policy file with Java Cryptography Extension (JCE) Unlimited Strength…
-3
votes
1 answer

How can I decrypt a string and get the algorithm used for the encryption

I want to know how to decrypt a text without knowing the key used or the algorithm such as this…
1 2 3
9
10