PHP 8.3.31
Preview: ElGamal.pyi Size: 674 B
/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/PublicKey/ElGamal.pyi

from typing import Callable, Union, Tuple, Optional

__all__ = ['generate', 'construct', 'ElGamalKey']

RNG = Callable[[int], bytes]

def generate(bits: int, randfunc: RNG) -> ElGamalKey: ...
def construct(tup: Union[Tuple[int, int, int], Tuple[int, int, int, int]]) -> ElGamalKey: ...

class ElGamalKey(object):
    def __init__(self, randfunc: Optional[RNG]=None) -> None: ...
    def has_private(self) -> bool: ...
    def can_encrypt(self) -> bool: ...
    def can_sign(self) -> bool: ...
    def publickey(self) -> ElGamalKey: ...
    def __eq__(self, other: object) -> bool: ...
    def __ne__(self, other: object) -> bool: ...
    def __getstate__(self) -> None: ...

Directory Contents

Dirs: 1 × Files: 16

Name Size Perms Modified Actions
- drwxr-xr-x 2026-06-08 20:23:13
Edit Download
21.85 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.35 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
63.25 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
2.50 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
8.41 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
674 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
29.26 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
1.98 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
690.90 KB lrwxr-xr-x 2026-04-14 09:45:40
Edit Download
50.15 KB lrwxr-xr-x 2026-04-14 09:45:40
Edit Download
36.18 KB lrwxr-xr-x 2026-04-14 09:45:40
Edit Download
5.01 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
324 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download
23.59 KB lrwxr-xr-x 2026-04-14 09:45:40
Edit Download
3.07 KB lrw-r--r-- 2026-04-14 09:45:17
Edit Download
0 B lrw-r--r-- 2026-04-14 09:45:17
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).