Skip to content

Instantly share code, notes, and snippets.

View dwizzzle's full-sized avatar

David "dwizzzle" Weston dwizzzle

View GitHub Profile
// KeyProtectionExample.cpp : Creates machine bound keys in Virtualization Based Security Enclave, see: https://docs.rs/winapi/0.3.8/winapi/um/ncrypt/constant.NCRYPT_USE_VIRTUAL_ISOLATION_FLAG.html
//
#include <iostream>
#include <Windows.h>
#include <ncrypt.h>
#pragma comment(lib, "Ncrypt.lib")

Keybase proof

I hereby claim:

  • I am dwizzzle on github.
  • I am dwizzzle (https://keybase.io/dwizzzle) on keybase.
  • I have a public key ASDQyyNwKFSdkaiTfQPQrFNPhok1CpMxhByhj6NNmQmlfgo

To claim this, I am signing this object: