Skip to content
This repository has been archived by the owner. It is now read-only.
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Latest Version Build Status MIT licensed Gitter Chat

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

Help and Discussion

Have questions? Want to suggest a feature or change?


Please see the Miscreant Wiki for API documentation.

Security Notice

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

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

For more information, please see


Bug reports and pull requests are welcome on GitHub at


Copyright (c) 2017-2018 The Miscreant Developers. See LICENSE.txt for further details.


C# implementation of Miscreant: misuse-resistant encryption library with AES-SIV (RFC 5297) and AES-PMAC-SIV support





No releases published


No packages published