Timeline for Implement this key cipher
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Aug 19, 2016 at 17:31 | history | edited | TheBikingViking | CC BY-SA 3.0 |
Explanation and test link added
|
Aug 19, 2016 at 17:12 | history | edited | TheBikingViking | CC BY-SA 3.0 |
Bug fix
|
Aug 19, 2016 at 17:09 | comment | added | TheBikingViking |
@Rod Thanks for pointing out the bug. That won't save any bytes, however, since randint is inclusive, meaning that you would need to do m*10-1 . I've just thought of a way to fix it for the same byte count.
|
|
Aug 19, 2016 at 14:45 | comment | added | Rod |
your key generator do not generates keys starting with 0. increasing the boundaries by a factor of 10 and removing the 1st digit should fix: m=10**len(x);k=str(randint(m,m*10))[1:]; and you even save a byte in the process c:
|
|
Aug 19, 2016 at 14:20 | history | answered | TheBikingViking | CC BY-SA 3.0 |