bc-csharp
bc-csharp copied to clipboard
BouncyCastle.NET Cryptography Library (Mirror)
Produces very tight asm ```asm ; Method Encode256:ProcessRounds(byref):this G_M000_IG01: ;; offset=0000H sub rsp, 40 vzeroupper G_M000_IG02: ;; offset=0007H mov rax, gword ptr [rcx+10H] mov ecx, dword ptr [rax+08H] cmp ecx,...
Hello. I have SM2 key pairs which is generated from cipher machine and its type is byte[]. Now I want to use them to generate SM2 Certificate by BouncyCastle. How...
added 3 more rounds of precision in FromString
Apple has ASN.1 times encoded in this format `20171017112741.65904593Z`. If we read it with BC it will throw an exception, because the highest handled precision handled Asn1GeneralizedTime.cs is `case 23:...
Adapted @saucecontrol's [Blake2Fast](https://github.com/saucecontrol/Blake2Fast) intrinsics code to work with the [Konscious.Security.Cryptography](https://github.com/kmaragon/Konscious.Security.Cryptography/pull/52) library and thought it would work here. The [benchmark](https://github.com/TimothyMakkison/bc-csharp/blob/blake2b_benchmark/crypto/benchmark/BouncyCastle.Benchmarks/Program.cs) measured a 6x-13x speed up without additional memory usage. Blake2s or...
I am trying to do single pass encryption and signing but couldn't get it right? Question are, 1. My files are stored in cloud and I get them as stream....
How do **correctly connect** Bouncy Castle Crypto to Titanium-Web-Proxy to allow the changing of TLS Client Hello message and decrypting HTTP and **WebSocket** traffic? Scheme: Firefox -> (Titanium-Web-Proxy + Bouncy...
Hello, I'm trying to implement a verification of clear PGP signature on my project and i took my inspiration from your example "[crypto/test/src/openpgp/examples/ClearSignedFileProcessor.cs](https://github.com/bcgit/bc-csharp/blob/master/crypto/test/src/openpgp/examples/ClearSignedFileProcessor.cs)", so i've got almost the same. It's...
It seems like the OctetString Reader is not capable of reading nested Octet Strings. In our public cert file the SubjectIdentifier is stored as: `0416 0414 06a926722d485a3cf7ac997e47376d478fb61273` The Value of...
Please check if you agree with these added documents: new CONTRIBUTING.md and updated SECURITY.md.