von_anchor/wallet/wallet.py
async def pack(self, message: str, recip_verkeys: Sequence[str] = None, sender_verkey: str = None) -> bytes:
        """
        Pack a message for one or more recipients (default anchor only).
        Raise AbsentMessage for missing message, or WalletState if wallet is closed.

        :param message: message to pack
        :param recip_verkeys: verification keys of recipients (default anchor's own, only)
        :param sender_verkey: sender verification key (default anonymous encryption)
        :return: packed message
        """

        LOGGER.debug(
            'Wallet.pack >>> message: %s, recip_verkeys: %s, sender_verkey: %s',
            message,
            recip_verkeys,
            sender_verkey)

        if not message:
            LOGGER.debug('Wallet.pack <!< No message to pack')
            raise AbsentMessage('No message to pack')

        rv = await crypto.pack_message(
            self.handle,
            message,
            [recip_verkeys] if isinstance(recip_verkeys, str) else list(recip_verkeys or [self.verkey]),
            sender_verkey)

        LOGGER.debug('Wallet.pack <<< %s', rv)
        return rv

        Pack a message for one or more recipients (default anchor only).
        Raise AbsentMessage for missing message, or WalletState if wallet is closed.

        :param message: message to pack
        :param recip_verkeys: verification keys of recipients (default anchor's own, only)
        :param sender_verkey: sender verification key (default anonymous encryption)
        :return: packed message
        
Pack a message for one or more recipients (default anchor only).
Raise AbsentMessage for missing message, or WalletState if wallet is closed.
Pack a message for one or more recipients ( default anchor only ) . Raise AbsentMessage for missing message or WalletState if wallet is closed .
async def pack(self, message: str, recip_verkeys: Sequence[str] = None, sender_verkey: str = None) -> bytes:
        LOGGER.debug(
            'Wallet.pack >>> message: %s, recip_verkeys: %s, sender_verkey: %s',
            message,
            recip_verkeys,
            sender_verkey)
        if not message:
            LOGGER.debug('Wallet.pack <!< No message to pack')
            raise AbsentMessage('No message to pack')
        rv = await crypto.pack_message(
            self.handle,
            message,
            [recip_verkeys] if isinstance(recip_verkeys, str) else list(recip_verkeys or [self.verkey]),
            sender_verkey)
        LOGGER.debug('Wallet.pack <<< %s', rv)
        return rv
async def pack ( self , message : str , recip_verkeys : Sequence [ str ] = None , sender_verkey : str = None ) -> bytes : LOGGER . debug ( 'Wallet.pack >>> message: %s, recip_verkeys: %s, sender_verkey: %s' , message , recip_verkeys , sender_verkey ) if not message : LOGGER . debug ( 'Wallet.pack <!< No message to pack' ) raise AbsentMessage ( 'No message to pack' ) rv = await crypto . pack_message ( self . handle , message , [ recip_verkeys ] if isinstance ( recip_verkeys , str ) else list ( recip_verkeys or [ self . verkey ] ) , sender_verkey ) LOGGER . debug ( 'Wallet.pack <<< %s' , rv ) return rv
Pack a message for one or more recipients (default anchor only).
Pack a message for one or more recipients ( default anchor only ) .
"""
        Pack a message for one or more recipients (default anchor only).
        Raise AbsentMessage for missing message, or WalletState if wallet is closed.

        :param message: message to pack
        :param recip_verkeys: verification keys of recipients (default anchor's own, only)
        :param sender_verkey: sender verification key (default anonymous encryption)
        :return: packed message
        """
None
self
message
str
message to pack
message to pack
recip_verkeys
Sequence[str]
verification keys of recipients (default anchor's own, only)
verification keys of recipients ( default anchor ' s own only )
sender_verkey
str
sender verification key (default anonymous encryption)
sender verification key ( default anonymous encryption )