Char.isalnum#
- usencrypt.cipher.Char.isalnum(self)#
Checks whether the encrypted character \(E(x)\) represents an alpha-numeric ASCII character.
- Returns
An encrypted boolean that represents
True
ifself
represents an alpha-numeric ASCII character, andFalse
otherwise.- Return type
See also
- Examples
>>> import usencrypt as ue >>> ue_s = ue.encrypt('USEncryption123') >>> ue_c_alpha = ue_s[0] >>> ue_c_digit = ue_s[-1] >>> ue.decrypt(ue_c_alpha.isalnum()) True >>> ue.decrypt(ue_c_digit.isalnum()) True