prototypical integration of cryptography layer with mock implementation