added routines for full crypto hash manipulations