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 if self is lowercase, otherwise it returns self.

Return type

usencrypt.cipher.Char

Examples
>>> import usencrypt as ue
>>> ue_s = ue.encrypt('USEncryption')
>>> ue_c = ue_s[-1]
>>> ue.decrypt(ue_c.upper())