Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 1L4aTxKHVeHHE58oLF5nvTbE6P4xHcv6er https://explorer.blockstack.org/address/1L4aTxKHVeHHE58oLF5nvTbE6P4xHcv6er
Verifying that "xmakina.id" is my Blockstack ID. https://onename.com/xmakina
@xmakina
xmakina / Verifying.txt
Created January 8, 2016 00:14
Verifying that +xmakina is my blockchain ID. https://onename.com/xmakina
Verifying that +xmakina is my blockchain ID. https://onename.com/xmakina
@xmakina
xmakina / ConfigurationDecrypter.cs
Last active July 11, 2018 13:22
Given a certificate and a string, encrypt the string and any related information into a base64 string. The encrypted value should only be retrievable by someone with the certificates private key. You must be able to encrypt without the private key.
namespace Apogee.ConfigurationEncryption
{
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
/*