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
2 answers

why is tls.getLegacyCiphers() not in node.js v10.38?

Hi I am using the IBM SDK for Node.js 1.1.0.14 , which is based on joyent v0.10.38. I can use tls.getLegacyCiphers("v0.10.38") or tls.getlegacyCiphers() in the IBM version of node.js but I cannot find the same API in the joyent v0.10.38? Thanks
0
votes
1 answer

Encrypting files / image using RC4 cipher

I'm trying to make a file encryption and I really had no clue how to do it with RC4 with these code , text encryption and decryption are fine. button1 is for text encryption and button3 is for text decryption. The problem comes when I tried to…
0
votes
0 answers

RC4 encryption using We4b Browsers

I am working on a feature where I want to decrypt the encrypted traffic which is being sent to the server. I am aware that data get encrypted to ensure that only server is able to decipher what the message was. But I am in a situation where I need…
0
votes
0 answers

RC4 PHP decryption fails

I have encrypted strings using rc4 encryption. I could decrypt 1st string I have encrypted. But I couldn't successfully decrypt 2nd string onwards. Any idea? My code $dpl = 256; $file = fopen( 'log', "w"); $key = 'sjhdjhd'; $content1 =…
Harikrishnan
  • 9,688
  • 11
  • 84
  • 127
0
votes
1 answer

Ruby error: in `block in process': undefined method `^' for "4":String (NoMethodError)

Trying to run an rc4 algorithm and it's not recognizing the XOR method? Or is something else going on? I get the error when it gets to def process(text). Error: rc4.rb:26:in block in process': undefined method^' for "4":String…
Corey
  • 264
  • 2
  • 10
0
votes
1 answer

Encryption RC4 algorithm for integers

Basically I can successfully implement RC4 algorithm for Strings, which takes an Byte[] array for the key : byte [] key = "AAAAA".getBytes("ASCII"); If I take clearText as String say "24" then the cipher text range is very high, say > 2000 . But…
joey rohan
  • 3,505
  • 5
  • 33
  • 70
0
votes
0 answers

Decryption algorithm for playing files in Android app

I have a piece of code for decryption of audio files in Adobe Air/Flex app var rsaX:ICipher = Crypto.getCipher("rc4", key,Crypto.getPad("pkcs1pad")); rsaX.decrypt(orgArray); Please, tell me how to decrypt this algorithm in Java for Android…
JULIIncognito
  • 1,875
  • 2
  • 15
  • 15
0
votes
1 answer

RC4 decryption line by line

I have to convert some files that may eventually go to 250 mb with a php script. They are encrypted with an rc4 encryption with a key and a description contained in the first 266 bytes of the file. I have an encryption function that is working and…
0x9BD0
  • 1,542
  • 18
  • 41
0
votes
0 answers

Converting double and integer value to logical array in matlab

I am new to matlab programming and trying to work with RC4 code [source:http://www.cryptosmith.com/archives/621]. I am trying to get a message encrypted with a key but after getting key stream I am stuck while doing xor of the data. I probably am…
0
votes
2 answers

rc4 encryption and decryption in java

I have tried working on the RC4 encryption and decryption procedure. I keep getting an error with the code line s2=key.charAt(j++). The debugger tells me that it cannot be resolved from char to int. The output runs untill entering the keystream. The…
user3040432
  • 1
  • 1
  • 1
  • 1
0
votes
1 answer

RC4 Encryption non-alphanumeric wrong

Background: I'm trying to convert Mike Shaffer's VB RC4 encryption to C# (https://web.archive.org/web/20210927195845/https://www.4guysfromrolla.com/articles/091802-1.3.aspx). See a previous question of mine at Converting Mike Shaffer's RC4Encryption…
Rivka
  • 2,172
  • 10
  • 45
  • 74
0
votes
0 answers

Malformed syntax request Android

I am making a login app to retreive some information from the link that appears in the code. My problem is that I'm getting a "400 Bad request. The request could not be understood by server due to malformed syntax" in the Log file. Besides, that…
dgarciale
  • 3
  • 2
0
votes
0 answers

Decrypt and move rc4 encrypted password to Wordpress wp_user table?

I have RC4 encrypted data stored in a MySQL table that I need to move to the wp_user table and store as a Wordpress encrypted password. These are passwords so I'd prefer to move them securely, but I'm open to any suggestion. This data was…
0
votes
1 answer

Python - output in rows of 16

Is there any way I can have my output be placed in rows of 16? Also these rows need to have 16 columns that line up with each other vertically. I would like to do this without importing anything. def main(): # asks the user to input key key…
0
votes
1 answer

RC4 Algorithm: Unable to Encrypt / Decrypt data where client uses Javascript and Server c#

I need to pass encrypted (and base64 encoded) string data between a .NET 4.0 WCF application hosted in IIS (basicHttpBinding) and an internal client application system that uses a JavaScript RC4 algorithm implementation to encrypt / decrypt data.…
Grant Sutcliffe
  • 1,077
  • 1
  • 13
  • 20
1 2 3
9
10