Grabbed the example from the crypto lib.