Char.upper#
- usencrypt.cipher.Char.upper(self)#
Returns a new instance of the encrypted character \(E(x)\) converted to an uppercase ASCII character.
- Returns
An encrypted character representing
self
converted to an uppercase ASCII character ifself
is lowercase, otherwise it returnsself
.- Return type
See also
- Examples
>>> import usencrypt as ue >>> ue_s = ue.encrypt('USEncryption') >>> ue_c = ue_s[-1] >>> ue.decrypt(ue_c.upper()) N