Encryption in example + registration example