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
0
votes
1 answer

rijndael 256 key

How can I create a key and iv, so that encrypted string should only contain digits and characters.key string and iv string should contain 32 characters.purpose is encrypted string should not contain any special characters.block size is 256. now I am…
user922834
  • 195
  • 2
  • 6
  • 18
0
votes
1 answer

Rijndael-256 Encryption Decryption in PHP

I have a situation where I have to encrypt and decrypt SOAP xml in PHP. I am trying to encrypt the Envelope of a soap xml. Encryption is working, but decryption is not. For encryption and decryption I use the code specified in this…
user922834
  • 195
  • 2
  • 6
  • 18
-1
votes
3 answers

How to code a decryption method for the encryption method here in c#

I was able to put together a encryption sample like below but during decryption i get invalid data(Exception). How am i supposed to decrypt Encryption Method public static string EncryptWithAes(string plainText, byte[] key, byte[]…
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
-1
votes
1 answer

CryptographyException in Rijndael

I have some problem with Rijndael! My problem is: If I use inсorrect key in Decrypt method then Rijndael throw CryptographyException! How can I know that key incorrect? Why does it throw an Exception? I thought that the decrypt method would return…
timyrik20
  • 77
  • 2
  • 5
-1
votes
1 answer

Rijndael and CryptoJs interoperability

We have a C# library that encrypts and decrypts using Rijndael _algorithm = new RijndaelManaged() { Mode = CipherMode.CBC, Padding = PaddingMode.ISO10126 }; public override byte[] Encrypt(byte[] bytes) { // a new iv must be…
Dan Hunex
  • 5,172
  • 2
  • 27
  • 38
-1
votes
1 answer

Convert .NET Rijndael's encryption function to PHP language

I need to exactly convert this .NET function in PHP Language, any help? I've tried different solutions found on StackOverflow, but no-one seems work for me. internal string Encrypt(string plaintext, string password) { RijndaelManaged…
-1
votes
1 answer

Combining Symmetric and Asymmetric Encryption with Serializeable Object (.NET Basic)

Wanna ask about my licensing algorithm, I create some code for encrypt a serialize object with symmetric key (Rijndael) and then encrypt the symmetric key with asymmetric key (RSA). Data is encrypt with Public-APP key but sign with Private-LS key.…
-1
votes
1 answer

Decrypting a Text File Using Rjindael

I have used this guide to encrypt the value of txtCode.Text into a text file, which is then hidden - The value of the encrypted data is going to be used as the password for the database, so I need to read this value, decrypt it, then pass it into…
Harambe
  • 423
  • 3
  • 29
-1
votes
1 answer

How secure is to use Rijndael symmetric encryption algorithm

Please let us know how secure is Rijndael symmetric encryption algorithm. The key is stored in web config file.
-1
votes
1 answer

How to change padding option on an existing encrypt/decrypt code?

I have the following code, and it was working for almost two years. But now we have started to see random issue with the Padding. When I say random, I mean same thing works one day but doesn't work the other day. And someday it decides to work…
messed-up
  • 493
  • 4
  • 12
-1
votes
1 answer

Decrypt with Rijndael 128 ecb using javascript in a simple html page

I want to decrypt an encrypted cipher like 4vEUkMYlT2qJq+9J0GT8VQ== using Rijndael 128 ecb algorithm. I found some library but nothing work correctly. some of libraries only work with nodejs others work with php. I have only a simple html page that…
mina morsali
  • 778
  • 1
  • 16
  • 29
-1
votes
2 answers

mcrypt_encrypt(): Key of size 29 not supported by this algorithm

i have my old code back from 2011 which calculate hash private static $key = 'G@W351T35.cz#€2011GAMESITES'; /** * Computes salted password hash. * @param string * @return string */ public static function calculateHash($password) { $text =…
Andurit
  • 5,612
  • 14
  • 69
  • 121
-1
votes
1 answer

PHP cryption on server won't work "mcrypt_get_iv_size" function

So I was writing a web application and for some uses I need to encrypt string and decrypt it later, and everything from my code works perfectly on localhost on Macbook on El Capitan 10.11.4 and XAMPP 5.6.15-1 but when I upload code on the server it…
-1
votes
1 answer

Encrypt from Java and decrypt in PHP (RIJNDAEL)

I have to connect from a Java Desktop application and Android app to a Webservice. I need to send the login encrypted with RIJNDAEL but I am experiencing problems. Code in Java: public static String getEncryptedLogin(String loginID, String…
Guille
  • 75
  • 1
  • 2
  • 10
-1
votes
3 answers

Mobile rijndael algorithm implementation

I have a mobile application generated by codename one, so it is going to work on all mobiles. Its a Client-Server application. I have to store credit card info and some other private info. I think for Encryption Rijndael would be the best. i have…
Sumit Jain
  • 87
  • 9
1 2 3
28
29