pub fn from_private_key_slice(input: &[u8]) -> Result<Self, InternalPakeError> {
        let sk = Key::from_arr(GenericArray::from_slice(&input))?;
        let pk = Self::public_from_private(&sk);
        Self::new(pk, sk)
    }
/// Obtains a KeyPair from a slice representing the private key
Obtains a KeyPair from a slice representing the private key
Obtains a KeyPair from a slice representing the private key
pub fn from_private_key_slice(input: &[u8]) -> Result<Self, InternalPakeError> {
        let sk = Key::from_arr(GenericArray::from_slice(&input))?;
        let pk = Self::public_from_private(&sk);
        Self::new(pk, sk)
    }
pub fn from_private_key_slice ( input : & [ u8 ] ) -> Result < Self , InternalPakeError > { let sk = Key :: from_arr ( GenericArray :: from_slice ( & input ) ) ? ; let pk = Self :: public_from_private ( & sk ) ; Self :: new ( pk , sk ) }
Obtains a KeyPair from a slice representing the private key
Obtains a KeyPair from a slice representing the private key
input
&[u8]
input
&[u8]