Commits

Author Commit Message Labels Comments Date
Gora Khargosh
Clean up imports and optimize symbol lookup. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Remove old pycrypto implementation of integer_to_bytes. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Adds license header to mom.codec.integer. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Updates byte() documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Better error message. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Stronger type checking in integer_to_bytes. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Clean up duplicate calculation of zero leading Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Clean up error message in mom.codec.integer. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes documentation in mom.builtins. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Bleh. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
integer_to_bytes now does a little less calculation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Sometimes we do silly stuff in silly stuff. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
more coverage. adds overflow test for integer_to_bytes. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Adds type error tests for various codecs. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes constants imports. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes references to functions in mom.codec.json documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Moves bytes_to_integer/integer_to_bytes into mom.codec.integer. * Also adds base58_encode/base58_decode wrappers to mom.codec. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Adds ascii_encode and latin1_encode. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Don't test pypy for now. It's dog slow. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fix is_integer and re-enable random tests. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Note about base58 sha1 digests. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Grammar correction. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes stray : in documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Adds tests for base58 decoder to ignore whitespace. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
versioning files requires avoiding URL-rewriting too. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
More grammar checks. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Updates example. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes typo in documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
base58 codec tests successfull in py2k and py3k. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Clearer commentary. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
  1. Prev
  2. Next