Issue #198: Both algo and hash need to be set