String.isalnum#

usencrypt.cipher.String.isalnum(self, end_on_nul=True) usencrypt.cipher._boolean.Boolean#

Checks whether the encrypted string \(E(x)\) contains only encrypted alpha-numeric ASCII characters.

Parameters

end_on_null (bool) – Indicates whether to terminate when a pad is encountered. Defaults to True.

Returns

An encrypted boolean indicating whether the given self is made of only encrypted alpha-numeric ASCII characters.

Return type

usencrypt.cipher.Boolean

Examples
>>> import usencrypt as ue
>>> ue_a = ue.encrypt('abc')
>>> result = ue_a.isalnum()
>>> result
(0x7f23638d6e20) Boolean: 0x69ccd35f8b072ec49f9d6be6d74bf7de532402eae43b4b50740632d5cc489f0c
>>> ue.decrypt(result)
True