String.upper#

usencrypt.cipher.String.upper(self) usencrypt.cipher._string.String#

Returns an instance of the encrypted string \(E(x)\) where all its encrypted characters are converted to encrypted uppercase ASCII characters.

Returns

A copy of the original string with all of its characters converted to encrypted uppercase characters.

Return type

usencrypt.cipher.String

Examples
>>> import usencrypt as ue
>>> ue_s = ue.encrypt('USEncryption')
>>> ue_u = ue_s.upper()
>>> ue.decrypt(ue_u)
'USENCRYPTION'