Standard cipher implementations.