kenkendk / sharpaescrypt Goto Github PK
View Code? Open in Web Editor NEWA C# implementation of the AESCrypt file format
License: GNU Lesser General Public License v2.1
A C# implementation of the AESCrypt file format
License: GNU Lesser General Public License v2.1
I'm trying to make it work with GZipStream, which requires CanRead be true while reading.
I looked through the code. m_cryptDataStream is closed in Read() when reading to the end. And then, m_cryptDataStream.CanRead becomes false and SharpAESCrypt.CanRead returns false. If Crypto.Closed() is not called, CanRead will stay true.
As far as I know, Streams are usually disposed in Dispose(). Why do you close it in Read()? Is there any other consideration? I tried to commented out the Close() line. It seems work fine as well. But I'm not sure if it is safe or not.
sharpaescrypt/Source/SharpAESCrypt.cs
Line 1795 in 3ec0343
Thank you for the great library! I am using the nuget-package in a ClickOnce application and have problems with deployment because the DLL is not signed with a strong name.
Could you do that for a next release?
I'm using dll version of sharaescrypt in wpf application and getting below error while publishing it via ClickOnce application.
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of D:\Published Apps\xyz\Tool\PrismUploadUI.application resulted in exception. Following failure messages were detected:
+ Reference in the manifest does not match the identity of the downloaded assembly SharpAESCrypt.dll.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
It does work in Unity. I can encrypt data and decrypt it back. However, the resulting file is not compatible with other AES file readers. I always get corrupted file error.
I have run SharpAesCrypt on my mac in console. The encrypted file is ok and can be decrypted with pyAesCrypt and mac aescrypt. However, the file encrypted by SharpAesCrypt in Unity can only be decrypted by itself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.