rijndaelmanaged Questions
5
Solved
I have a high-level goal of creating a static utility class that encapsulates the encryption for my .NET application. Inside I'd like to minimize the object creations that aren't necessary.
My que...
Branch asked 12/6, 2009 at 0:45
1
Solved
I have a working solution for crypt/decrypt data in my code (below) but when I have upgraded the project to DOTNET6, RijndaelManaged becomes obsolete:
Warning SYSLIB0022 'RijndaelManaged' is obsol...
Pleader asked 3/12, 2021 at 9:31
3
Solved
I am working on a base encryption method. I am using RijndaelManaged. I got this code from somewhere a long time ago, but can't remember where.
I had my code working before, but something changed ...
Homogeny asked 3/6, 2009 at 13:44
3
I'm having some trouble with the code below. I have a file in a temporary location which is in need of encryption, this function encrypts that data which is then stored at the "pathToSave" location...
Octave asked 15/3, 2012 at 17:3
8
I'm running into an issue with an ASP.NET 2.0 application. Our network folks just upped our security, and now I get the floowing error whenever I try to access the app:
"This implementation is n...
Particolored asked 16/12, 2008 at 14:46
4
Solved
I'm trying to figure out how to encrypt / decrypt a string in VB.Net.
I followed the example given here and wrote the following code (below). There's a text box, an "encrypt" button, and a "decryp...
Clematis asked 2/11, 2011 at 15:28
6
Solved
I'm using Rijndael to encrypt some sensitive data in my program.
When the user enters an incorrect password, most of the time a CryptographicException is thrown with the message "Padding is invali...
Ethylene asked 28/4, 2011 at 0:21
3
Right now the only way I can get the RijndaelManaged algorithm to work on a computer with the Local Security Setting for FIPS turned on, is to disable it. It is a government computer, so I'm not su...
Dionysiac asked 2/6, 2009 at 11:37
5
Solved
I have with this code:
RijndaelManaged rijndaelCipher = new RijndaelManaged();
// Set key and IV
rijndaelCipher.Key = Convert.FromBase64String("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst...
Gagne asked 27/5, 2010 at 7:27
2
How do we use Rijndael encryption in a .Net Core class library? (Not a .Net Framework Class Library) We need to create a shared .Net Core library for use in multiple projects and need to implement ...
Mozza asked 12/7, 2016 at 15:54
3
Solved
I'm in a situation where I need to encrypt / decrypt a file of n length securely, ideally using Rijndael, but definitely at 256bit encryption.
I've played around with encryption before and have en...
Orcutt asked 28/7, 2010 at 8:56
4
Solved
I'm trying to encrypt and decrypt a file stream over a socket using RijndaelManaged, but I keep bumping into the exception
CryptographicException: Length of the data to decrypt is invalid.
at Sys...
Al asked 2/6, 2009 at 22:7
10
I can't seem to find a nice clean example of using AES 128 bit encryption.
Does anyone have some sample code?
Elagabalus asked 7/11, 2008 at 20:3
1
Solved
Regarding the method...
RijndaelManaged.CreateDecryptor Method (Byte[], Byte[])
Here it says about the first parameter...
The secret key to be used for the symmetric algorithm. The key size
...
Quality asked 17/12, 2015 at 20:17
0
We are trying to integrate with a legacy c# application that uses RijndaelManaged for symmetric encryption. However it appears that they have used a 13 byte string as an encryption key!
The code i...
Alfieri asked 15/1, 2015 at 13:38
1
I have a question regarding the encryption: basically in my web application I've used Enterprise Library 5.0 where they had a block for cryptography, so basically in the configuration tool provided...
Deboer asked 12/12, 2014 at 10:20
2
Solved
I have been given a Java implementation for encryption but unfortunately we are a .net shop and I have no way of incorporating the Java into our solution. Sadly, I'm also not a Java guy so I've bee...
Reentry asked 19/2, 2014 at 19:47
1
Solved
I'm using the following (trimmed-down) class to encrypt some data before sending it from an iPad app to a WCF web service.
public class FlawedAlgorithm
{
protected static byte[] key = { 42, 42, 4...
Carvajal asked 11/8, 2011 at 14:53
2
Solved
I need to transfer xml files and they are required to be encrypted. I have found some examples think I'm close but when I decrypt the file I end up with trailing junk characters. There are some pos...
Tremolite asked 23/6, 2011 at 21:24
4
Solved
How can I remove the padding from a decrypted string? I'm using RijndaelManaged provider to encrypt and decrypt. When I decrypt there are several /0/0/0/0/0/0 at the end of the string. My question ...
Soloman asked 10/3, 2011 at 22:5
3
Solved
Here is the example that I have run. It has the same Mode, Padding, BlockSize, KeySize. I am using the same init vector, key and data.
Using the RijndaelManaged produces an encrypted value of:
0x8...
Preconception asked 5/6, 2009 at 18:33
2
Solved
I use the following code to initialize encryption...
Dim symmetricKey As New System.Security.Cryptography.RijndaelManaged()
With symmetricKey
.Key = Encoding.ASCII.GetBytes(Key)
.IV = Encoding...
Morlee asked 18/10, 2010 at 20:1
1
Solved
I am spending some time learning how to use the RijndaelManaged library in .NET, and developed the following function to test encrypting text with slight modifications from the MSDN library:
Funct...
Fashionable asked 27/5, 2010 at 15:37
3
Solved
I want to implement the most secure, and most reliable form of symmetric key cryptography in my application. The user should input a password to encrypt/decrypt, and that's all. For RijndaelManaged...
Celaeno asked 27/3, 2010 at 19:26
3
I feel like what I am trying to do is very simple. But for some reason it doesn't want to work:
Here is a complete code snippet to test what I am trying to do:
using System;
using System.Xml;
usi...
Reserved asked 6/5, 2009 at 0:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.