Added two distinct functions for chacha with 12 and 20 rounds.