fix for keyLen == 32
add test for keyLen == 32