+ $this->secret = $container->getParameter('kernel.secret');
+
+ //Pseudo-random alphabet
+ //XXX: use array flip and keys to workaround php "smart" that cast range('0', '9') as int instead of string
+ //XXX: The key count mismatch, count(alpha)>count(rev), resulted in a data corruption due to duplicate numeric values
+ //TODO: set this as a parameter generated once in a command ?
+ $this->alpha = array_keys(array_flip(array_merge(
+ range('^', '[', -1),
+ range('V', 'Z'),
+ range('9', '7', -1),
+ range('L', 'O'),
+ range('f', 'a', -1),
+ range('_', '`'),
+ range('3', '0', -1),
+ range('E', 'H'),
+ range('v', 'r', -1),
+ range('+', '/'),
+ range('K', 'I', -1),
+ range('g', 'j'),
+ range('=', ':', -1),
+ range('>', '@'),
+ range('m', 'k', -1),
+ range('4', '6'),
+ range('*', '%', -1),
+ range('n', 'q'),
+ range('U', 'P', -1),
+ range(' ', '$'),
+ range('D', 'A', -1),
+ range('w', 'z'),
+ range('~', '!', -1)
+ )));