def password=(new_password)
      if algorithm.kind_of?(Array) then
        @algorithm = Algorithm.algorithm_from_name(Algorithm::CRYPT)
      end
      @digest = calc_digest(new_password)
    end
def password=(new_password)
      if algorithm.kind_of?(Array) then
        @algorithm = Algorithm.algorithm_from_name(Algorithm::CRYPT)
      end
      @digest = calc_digest(new_password)
    end
Internal: Update the password of the entry with its new value

 If we have an array of algorithms, then we set it to CRYPT