 |
|
 |
Hello pdwolf, the Jet lib team finds your word amazing and would like to include it into our library JETlib. Our library is also free and opensource and we are trying to find and include the best of the best into it. We would like you permission to include this into the library.
Please reply to : akshay.karthik@gmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello,
I spent the last days in searching a implementation of the Twofish-cipher in C#. Luckless!!! Many posts in several forums recommend this XCrypt libary. I am very interested to use this code but I dont know under which license it has released...
I usually dont have a problem to use a dll from other developers, but my current project on work is based on a single file without any dynamic librarys. I want to implement XCrypt in this project so I want to ask for a permission or the conditions to use this code in combination with proprietary code, and hopefully to prevent tons of hours for a own implementation. Why reinventing the wheel????
mfg. Michael Schaller
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I apply apache license for this project. You can use the source code in your own project. but believe or not, you need not "tons of hours" to re-write it if you want to build from scratch 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
You may also be interested in looking at the following, related Code Project articles:
Generic SymmetricAlgorithm Helper[^] This is a generic helper class that exposes simplified Encrypt and Decrypt functionality for strings, byte arrays and streams for any SymmetricAlgorithm derivative (DES, RC2, Rijndael, TripleDES, etc.).
Making TripleDES Simple in VB.NET and C#[^] This is a simple wrapper class that provides an easy interface for encrypting and decrypting byte arrays and strings using the 3DES algorithm.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Stop making ads for your own articles. People can find the articles themselves if they are interested.
|
| Sign In·View Thread·PermaLink | 1.00/5 (3 votes) |
|
|
|
 |
|
 |
I'm sorry you took it that way, as that was definitely not what was intended. I posted that note simply because I assumed that if you took the trouble to write about encryption helpers, you would be interested in seeing other peoples' similar works. I receive similar posts to my own articles and I always read the article and look at the code to understand what was done differently and why. It's a great learning opportunity for contributors and readers alike.
I will try to remember in the future if I see your articles that you would prefer not to have such messages posted.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am trying to decrypt the string encrypted by your application in php. The problem is the result is not correct - I get the first few characters (4-5) wrong, then the rest is correct.
Do you have any idea why this might happen?
Mihaido
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I encrypted my data in visual studio 2003, but when I use the same code to decrypt it in Visual Studio 2005, the return string contains junk. Do you know why?
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
I'm new to encryptiong, so can someone tell me why I am not able to decrypt MD5 or any of the SHA routines? What am I missing?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
MD5 and SHA are hashing methods, not encryption. Hashing is a one-way mechanism (i.e. you take some known data and hash it into an unreadable value, but you are unable to restore it back to the original data). Hashing is typically used for things like password verification, etc. where you create a hash one-time and then prompt the user for the password later and simply re-hash it and verify that they match. It's sometimes preferred over a mechanism that allows you to recreate the data from the encrypted string. Hope this helps.
BTW, to the author of XCrypt: Thanks a million for this code, it's saved me tons of time versus creating my own blowfish routines.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi.
I've noticed that BlowfishAlgorithm::GenerateKey() may generate known weak key. (but the probability is very low.) So I made a little fix to avoid weak keys.
Try this.
public override void GenerateKey() { if (null == m_rng) m_rng = new RNGCryptoServiceProvider();
byte[] buf = new byte[ KeySizeValue / 8 ]; Blowfish bf; do { m_rng.GetBytes(buf); bf = new Blowfish(buf); } while (bf.IsWeakKey);
KeyValue = (byte[])buf.Clone(); }
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I'd like to know what OS you need to use this as a lot of the encryption examples I've seen use MS api's that need Win 2K or XP but I'm looking for something that can be used on Win 98 as well.
Thanks for your help,
Alan.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
That's not completely true. I'ts pure .NET, but it's a class wrapper to the OS API, and, the win9x family of MS Windows doesn't implements any of the api functions the program needs to run.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
I think Rijndael is one of the best in this regard. At least this has been my experience.
Regards, Ashok Dhamija _____________________________ ClickTry
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
No, it's a binary algorithm. You have to replace ASCII with UTF8 for instance. Then the string will be encoded as UTF8 (Unicode) instead of 7-bit ASCII.
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |