The purpose of this study is to determine the safety, tolerability and pharmacokinetics of ALN-HBV in healthy adult volunteers and patients with chronic hepatitis B virus (HBV) infection. In addition, the study will assess antiviral efficacy of ALN-HBV in patients with HBV.