Built in logic to prevent key lengths less then 1.