add key length

Signed-off-by: wwqgtxx <wwqgtxx@gmail.com>