algorithms
parsing secret key packet