Extracted from Till's notes:
Empty keys will panic and keys with a size of many KB should probably be disallowed too.
Adding error types is necessary for empty keys. The upper bound on key size could be set but concerning the actual number, we need to find some reasonable measure to determine this.