The best crypto you've never heard of, brought to you by Phil Rogaway
C# implementation of Miscreant: Advanced symmetric encryption library which provides the AES-SIV (RFC 5297), AES-PMAC-SIV, and STREAM constructions. These algorithms are easy-to-use (or rather, hard-to-misuse) and support encryption of individual messages or message streams.
AES-SIV provides nonce-reuse misuse-resistance (NRMR): accidentally reusing a nonce with this construction is not a security catastrophe, unlike it is with more popular AES encryption modes like AES-GCM. With AES-SIV, the worst outcome of reusing a nonce is an attacker can see you've sent the same plaintext twice, as opposed to almost all other AES modes where it can facilitate chosen ciphertext attacks and/or full plaintext recovery.
For more information, see the toplevel README.md.
Have questions? Want to suggest a feature or change?
- Gitter: web-based chat about miscreant projects including miscreant.net
- Google Group: join via web or email ([email protected])
Please see the Miscreant Wiki for API documentation.
This library has not undergone a thorough security audit, and though it makes an effort to use constant time operations throughout its implementation, actual constant time behavior has not been verified.
Use this library at your own risk.
This library is targeting .NET Standard 1.3. It was tested on .NET Framework 4.7.1 and .NET Core 2.1.2, but it should also work on any of the following platforms:
- .NET Framework 4.6
- .NET Core 1.0
- Mono 4.6
- Xamarin.iOS 10.0
- Xamarin.Mac 3.0
- Xamarin.Android 7.0
- Universal Windows Platform 10.0
We abide by the Contributor Covenant and ask that you do as well.
For more information, please see CODE_OF_CONDUCT.md.
Bug reports and pull requests are welcome on GitHub at https://github.com/miscreant/miscreant
Copyright (c) 2017-2018 The Miscreant Developers. See LICENSE.txt for further details.