#5665: [with patch, needs work] Bug in ShrinkingGeneratorCipher
------------------------------------------------+---------------------------
Reporter: sbulygin | Owner: kohel
Type: defect | Status: reopened
Priority: minor | Milestone: sage-3.4.2
Component: cryptography | Resolution:
Keywords: stream cipher, shrinking generator |
------------------------------------------------+---------------------------
Comment(by mabshoff):
This ticket needs at least a doctest fix:
{{{
sage -t -long "devel/sage/sage/crypto/stream_cipher.py"
**********************************************************************
File
"/scratch/mabshoff/sage-3.4.2.alpha0/devel/sage/sage/crypto/stream_cipher.py",
line 228:
sage: c.decoding()
Expected:
'\xac\xfa\xfd\xc6\xa7\xe5\x16\x8f\xa2Q\xb8\xb7\xbe\xab'
Got:
"t\xb6\xc1'\x83\x17\xae\xc9ZO\x84V\x7fX"
**********************************************************************
1 items had failures:
1 of 17 in __main__.example_8
}}}
It would also be nice if someone posted a patch giving credit to
Stanislav.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5665#comment:8>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---