Implements encrypted and signed logging