cryptography
C# SHA-256 vs. Java SHA-256. Different results?
I want to convert a some code which is in Java to C#. Java Code: private static final byte[] SALT = \"NJui8*&N823bVvy03^4N\".getBytes();[详细]
2023-03-28 14:20 分类:问答Key for HMAC Algorithm [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-28 04:26 分类:问答Library for working with SHA 256 hash in ActionScript
I\'m looking for an easy way to compute SHA 256 in Action Script on the BlackBerry PlayBook. I saw the mx.data.crypto.SHA256 class that seems fit for the purpose but it looks like it is not available[详细]
2023-03-27 21:37 分类:问答Using RSACryptoServiceProvider in C# to encrypt/decrypt an excel file?
How can I use private/public keys for encryption/decryption of an an excel file in C#.NET? The article RSA Encryption in C# describes a way of doing this encryption, but this example only works for e[详细]
2023-03-27 21:12 分类:问答How to avoid a shared symmetric key and its maintenance issues?
A business partner has implemented the following: Website A uses a symmetric key to encrypt user contact data.[详细]
2023-03-27 19:52 分类:问答md5sum a file that contain the sum itself?
I have written a small app in C++ consisting of a single EXE file. I want to put in its \"about\" dialog the md5sum of the executab开发者_开发知识库le itself. It should be embedded statically into th[详细]
2023-03-27 18:41 分类:问答AES_ctr128_encrypt() "Segmentation fault" (OpenSSL)
i need to decrypt some cypherd text (aes 128 ctr) programming in C using openssl, since libraries version i\'m using don\'t support EVP for aes ctr i\'m tring to use AES_ctr128_encrypt(), but i get se[详细]
2023-03-27 17:37 分类:问答.NET and Java producing different signature
I have a sample code in java which I am trying to convert to .NET c# platform. This code encrypts a string and add signature to it. Java code using BouncyCastle provider and the code for adding signat[详细]
2023-03-27 13:59 分类:问答Calculating a hash code for a large file in parallel
I would like to improve the performance of hashing large files, say for example in the tens of gigabytes in size.[详细]
2023-03-27 08:15 分类:问答Using SSE 4.2 crc32 algorithm in c# ? Is it possible?
I have to calculate cr开发者_开发知识库c32 on a lot of files, and also huge files (several GB). I tried several algo found on the web like Damieng or this one, and it works, but it is slow (more than[详细]
2023-03-27 03:47 分类:问答