This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Generate a Certificate Authority:
openssl req -new -x509 -days 9999 -keyout ca-key.pem -out ca-crt.pem
class Image | |
def initialize (data) | |
@data = data | |
end | |
#write a method that loops through the existing 2D array and finds the | |
#location of the existing ones. The location of the the existing ones | |
#needs to be stored into memory so they can be iterated over and the | |
#exiting cells around them can be altered. |
'use strict'; | |
import Promise from 'bluebird'; | |
import { | |
zonifyCall, | |
zonifyCatch, | |
zonifyCoroutine, | |
zonifyFirst, | |
zonifyLast, | |
zonifyMiddle, |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
#First released as C++ program by Hiroyuki Tsutsumi as part of the free software suite “Beer” | |
#I thought porting it to Python could be both a challenge and useful | |
from sys import argv, exit, getsizeof | |
from struct import pack_into, unpack_from | |
def ceil4(n): |