interface to access block/stream encryption algorithms
