HRCPP-70 Codec methods are not virtual

Only computeNewHashes needs to be virtual as it is the only one being overridden. I have verified that proper computeNewHashes is indeed being invoked. Also constrained other codec helper methods to be private so we do not accidentally override some of them without first making them virtual (Thanks Radim).