Get salt using underlying algorithm and advance the counter.
Encrypt/decrypt input with salt supplied by underlying algorithm and advance the counter.