Refactor out Klarna.digest