crypto & hash tests