initialisation of cipher