Add first stab at the crypto interface.