fixed bug 'TypeError: no implicit conversion of String into Integer' in ENV and extended to configure ENV['ARMOR_HASH_LENGTH']