if I want to define key=WERGERBNHFDGDVS, how can I replace it
S = SubstitutionCryptosystem(AlphabeticStrings()) K = S.random_key() M = S.encoding("Don't substitute me.") S.deciphering(K, S.enciphering(K, M)) == M True
| 1 | initial version | |
if I want to define key=WERGERBNHFDGDVS, how can I replace it
S = SubstitutionCryptosystem(AlphabeticStrings()) K = S.random_key() M = S.encoding("Don't substitute me.") S.deciphering(K, S.enciphering(K, M)) == M True
if I want to define key=WERGERBNHFDGDVS, key=WERGERBNHFDGDVS, how can I replace it
S = SubstitutionCryptosystem(AlphabeticStrings())
K = S.random_key()
M = S.encoding("Don't substitute me.")
S.deciphering(K, S.enciphering(K, M)) == M
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.