You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, I would like to rework the error handling. Specifically, I think I would like to build a new exception tree, instead of just having Error and LibError.
At the most extreme, we would have an exception for each of the 2 dozen(ish) errors that the libtomcrypt gives us, and they would also inherit from the standard exceptions (usually ValueError or RuntimeError) as appropriate.
Activity
parke commentedon Aug 29, 2013
A quicker (interim?) fix would be to document which ciphers require block length inputs.
mikeboers commentedon Aug 29, 2013
That is something that can be easily done.
In general, I would like to rework the error handling. Specifically, I think I would like to build a new exception tree, instead of just having
ErrorandLibError.At the most extreme, we would have an exception for each of the 2 dozen(ish) errors that the libtomcrypt gives us, and they would also inherit from the standard exceptions (usually
ValueErrororRuntimeError) as appropriate.mikeboers commentedon Aug 29, 2013
For reference, the modes which require a block sized input are:
ecb,cbc, andlrw.