encode password hash iterations as hex