Add algo, chipher and digest; closes #5