Generified Hiero code, now more secure and shorter