Questions tagged [rijndael]

Rijndael is a block cipher that won the Advanced Encryption Standard competition. A subset of it was standardized as AES (FIPS 197) in October 2000.

Rijndael is a variable blocksize (only 128 bits standardized in AES), variable keysize (only 128,192 and 256 bits in AES) block cipher. The number of rounds is key-size dependent.

Rijndael is not widely supported, most cryptography libraries supporting only the AES subset. The exception being the .NET platform which supports more block sizes. Keep in mind that using a non AES compatible blocksize/keysize combination can lead to interoperability nightmare and that the security of Rijndael hasn't been widely studied outside of the AES subset.

https://learn.microsoft.com/en-us/archive/blogs/shawnfa/the-differences-between-rijndael-and-aes explains the difference between the AES standard, .NET implementation and the original Rijndael cipher.

430 questions
-1
votes
1 answer

Decryption of base64 encoded data objective-C

I have been working on this for a while, but can not find a way to tackle the problem. Hopefully one of you can tell me what I am missing. I am using NSURLConnection to download base64 encoded data containing AES128 encrypted data. What I have is…
lwm
  • 15
  • 5
-1
votes
1 answer

C# RIJNDAEL decrypt

I try to decrypt request params for JDownloader CNL Feature. http://jdownloader.org/knowledge/wiki/glossary/cnl2 In this sample the iv and the key is '31323334353637383930393837363534' and i try to decrypt this value…
-1
votes
3 answers

I need to encrypt the names of my http form elements

I have a form with certain elements, input boxes, check boxes etc. I need to encrypt the names of these input boxes and check boxes. I'm currently using a Rijndael encryption/decryption method through c# however this is making the encrypted names…
William Calleja
  • 4,055
  • 11
  • 41
  • 51
-1
votes
1 answer

CakePHP rijndael cipher puts an empty string in the database

I have a string I want to save into my DB in an encrypted format. I am using the security utility provided by cake so this is the code I use to encrypt my sensitive data: // get my encryption key $encrypt_key =…
usumoio
  • 3,500
  • 6
  • 31
  • 57
-1
votes
1 answer

Rijndael Encryption Keys

I'm trying to understand why the code directly below does not require you to generate a IV key as well?? Code is from: http://msdn.microsoft.com/en-us/library/sb7w85t6(v=vs.85).aspx Dim key As RijndaelManaged = Nothing Try ' Create a new…
-1
votes
1 answer

Generate 256bits Key Rijndael in PHP

The below code will successfully generate KEY for encryption. How can I recreate this in PHP using the same salt and passkey to generate a KEY in order to decrypt the message? public static string GenerateKey(string passkey) { var myAlg = new…
mhar
  • 47
  • 2
  • 10
-1
votes
3 answers

The PHP decrypt function for this resolution (look at)

After a long time searching for the best way to en/decrypt data between PHP and iOS, I'm now asking you for a function in PHP. I'm using this framework (https://gist.github.com/2507415) in Objective-C and my code is: NSString *string=…
kurtanamo
  • 1,808
  • 22
  • 27
-1
votes
1 answer

How do I translate this C# encrypt function into Java?

I need to translate the below C# codes into Java, however, I could not find any Java equivalent to the Rfc2898DerivedBytes and Rijndael of C#. private static string Encrypt(string sData, string sEncryptionKey) { string str = null; string…
SUT
  • 384
  • 1
  • 7
  • 23
-2
votes
1 answer

Rijndael cryptography encryption

I have the sample code using C# .NET Rijndael cryptography encryption, which can decrypt ciphertext "FGgsUwQ1gToX40dfgdfgfdgdfgdfCzEr3wOenxTPMN9jJC" to plain "75.117.87.87". enter image description here I have tried to write the reserved method to…
-2
votes
1 answer

What is the equivalent of this encryption and decryption code in Scala?

$KEY = "Your KEY"; $IV = "Your IV"; function addpadding($string, $blocksize = 32) { $len = strlen($string); $pad = $blocksize - ($len % $blocksize); $string .= str_repeat(chr($pad), $pad); return $string; } function…
Amir Karimi
  • 5,401
  • 4
  • 32
  • 51
1 2 3
28
29