further thoughts in encrypt library optimisation!