Use The RSA Cryptography?
Mar 29, 2010how can i use the RSA Cryptography in Vb.NET ?i'm looking to how implement the public/private key to protect strings.
View 9 Replieshow can i use the RSA Cryptography in Vb.NET ?i'm looking to how implement the public/private key to protect strings.
View 9 RepliesI need to make some big multiplications for cryptographic reasons in vb.net and overflow the variable as C,C++ and C# does. I have disabled the check of overflow at the vb.net project but when i an doing those multiplications i get as a result 1.#INF
ex. in c:
z^y= 0xFFFFFFFF ^ 0x000003FC= 0xFFFFFC03
in vb.net:
z^y= 0xFFFFFFFF ^ 0x000003FC= 1.#INF
I realize AesCryptoServiceProvider is part of .NET framework 3.5. I do have 3.5 installed. However, (I can't believe I don't know this), how can I utilized Framework 3.5 so I can access the AesCryptoServiceProvider? Currently, it points to 2.0.
View 2 RepliesI have a file called Test.txt with a one line of String equal to 'This is String', and I've created a command line argument to compare the MD5 results, why am I not getting a match?
CODE:
I have used System.Security.Cryptography classes to encrypt and decrypt connection settings but have a question regarding securing the private key needed to decrypt. Given that assemblies can be easily read, what is the preferred method for storing the private key so that it is not visible to anyone who goes looking?
View 1 RepliesI'm working on a basic file encryption by using the Imports System.Security.Cryptography.I was thinking of putting a password as a final security measure.Would i have to store the password inside the file or how will this work?
View 12 RepliesFor my applications I use the following class:
Imports System.Security.Cryptography
Imports System.IO
Imports System.Text
'SymmCrypto is a wrapper of System.Security.Cryptography.SymmetricAlgorithm
[code]....
Most of the time this works as it should, but sometimes it encodes a string and the gives an error on decoding it. The error message is: Invalid length for a Base-64 char array.
System.Security.Cryptography.CryptographicException: Length of the data to decrypt is invalid.
My Code:
' Decrypt textfile with Rijndael encryption
Public
[code].....
I am trying to mimic the results of some C code that uses the OpenSSL library using the system.security.crytography library in the .net 3.5 world, and I can't seem to get it right. part of the issue is my understanding of crytography in general.
Here's what is supposed to happen:
I send a request for authentication to a device.It returns a challenge digest, which I then need to sign with a known key and return The device returns a "success" or "Fail" message.I have the following code snippet that I am trying to "copy":
[Code]...
i wanna generate an HTPASSWD file for my Server to secure a directory. For Crypt im using DesEncrypt Method , here is my Code :
[Code]...