Quantcast
Channel: npoi Discussions Rss Feed
Viewing all articles
Browse latest Browse all 637

New Post: Decrypt Excel 2013 file

$
0
0
Hello,
I'm trying to open a password protected Excel 2013 file with the Decryptor. It seems to support only SHA1 but new Excel files are SHA512.

I tried to update but not so easy :)

Is it normal the Crypt namespace is not anymore in the NuGet package ?
NPOI.POIFS.FileSystem.POIFSFileSystem nfs =
    new NPOI.POIFS.FileSystem.POIFSFileSystem(
    new FileStream(file, FileMode.Open, FileAccess.ReadWrite));

string password = "123";
EncryptionInfo info = new EncryptionInfo(nfs);
Decryptor dc = Decryptor.GetInstance(info);
bool b = dc.VerifyPassword(password);

Viewing all articles
Browse latest Browse all 637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>