String.join#

usencrypt.cipher.String.join(self, arr)#

Returns an encrypted string \(E(x)\) made from the elements of an iterable.

Parameters

arr (list or np.ndarray of usencrypt.cipher.Char) – An iterable of encrypted data to be joined together.

Returns

The combined string.

Return type

usencrypt.cipher.String

Examples
>>> import usencrypt as ue
>>> test = ue.encrypt(['A','B','C','D'])
>>> b = ue.encrypt('')
>>> b.join(test)
>>> b
'ABCD'