If Salsa20 were implemented, this function would definitely make more sense there. Since this is a private function, it can easily be moved later. Since I'm not attempting to implement more than the tiny bit of Salsa20 that is necessary for Scrypt, I think it makes sense to leave it here for now since seeing a file name salsa20.rs would be a bit confusing at the current time..