using Buffer instead of void for key2blob storage directly