CTR from https://github.com/calccrypto/Encryptions
Update CTR.