Add configurable encryption key length