public static function importAuthenticationKey(HiddenString $keyData): AuthenticationKey
    {
        return new AuthenticationKey(
            new HiddenString(
                self::getKeyDataFromString(
                    Hex::decode($keyData->getString())
                )
            )
        );
    }
public static function importAuthenticationKey(HiddenString $keyData): AuthenticationKey
    {
        return new AuthenticationKey(
            new HiddenString(
                self::getKeyDataFromString(
                    Hex::decode($keyData->getString())
                )
            )
        );
    }
public static function importAuthenticationKey ( HiddenString $ keyData ) : AuthenticationKey { return new AuthenticationKey ( new HiddenString ( self :: getKeyDataFromString ( Hex :: decode ( $ keyData -> getString ( ) ) ) ) ) ; }
Load a symmetric authentication key from a string

@param HiddenString $keyData
@return AuthenticationKey

@throws InvalidKey
@throws \TypeError
Load a symmetric authentication key from a string