Move Crypto to 2and3 and generate rest of stubs. (#782)

I implemented strong types for Crypto.Cipher
This commit is contained in:
Roy Williams
2016-12-19 20:13:51 -08:00
committed by Łukasz Langa
parent 7e89fc0d49
commit 89da3a4159
61 changed files with 947 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
# Stubs for Crypto.Util.Counter (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from Crypto.Util.py21compat import *
from Crypto.Util.py3compat import *
def new(nbits, prefix: Any = ..., suffix: Any = ..., initial_value: int = ..., overflow: int = ..., little_endian: bool = ..., allow_wraparound: bool = ..., disable_shortcut: bool = ...): ...

View File

@@ -0,0 +1,10 @@
# Stubs for Crypto.Util (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
# Names in __all__ with no definition:
# RFC1751
# asn1
# number
# randpool
# strxor

View File

@@ -0,0 +1,11 @@
# Stubs for Crypto.Util.py3compat (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
__revision__ = ... # type: str
def b(s): ...
def bchr(s): ...
def bstr(s): ...
def bord(s): ...
def tobytes(s): ...