X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3412.pyi;h=ef278b7fe63ee1536489e4f6bbda098d6538b61f;hb=4277661e11e63906d923827e5c124877f1dc0c8d;hp=5b177435238df71c634c3104398d310f4e1a2108;hpb=34c9c9a4f95eecfee75fc36d75d2ee45d1054a25;p=pygost.git diff --git a/pygost/stubs/pygost/gost3412.pyi b/pygost/stubs/pygost/gost3412.pyi index 5b17743..ef278b7 100644 --- a/pygost/stubs/pygost/gost3412.pyi +++ b/pygost/stubs/pygost/gost3412.pyi @@ -1,4 +1,16 @@ -class GOST3412Kuz(object): +class GOST3412Kuznechik(object): + blocksize = ... # type: int + + def __init__(self, key: bytes) -> None: ... + + def encrypt(self, blk: bytes) -> bytes: ... + + def decrypt(self, blk: bytes) -> bytes: ... + + +class GOST3412Magma(object): + blocksize = ... # type: int + def __init__(self, key: bytes) -> None: ... def encrypt(self, blk: bytes) -> bytes: ...