HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/opt/imunify360/venv/lib/python3.11/site-packages/Crypto/Hash/SHA512.pyi
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

class SHA512Hash(object):
    digest_size: int
    block_size: int
    oid: str

    def __init__(self,
                 data: Optional[Buffer],
		 truncate: Optional[str]) -> None: ...
    def update(self, data: Buffer) -> None: ...
    def digest(self) -> bytes: ...
    def hexdigest(self) -> str: ...
    def copy(self) -> SHA512Hash: ...
    def new(self, data: Optional[Buffer] = ...) -> SHA512Hash: ...

def new(data: Optional[Buffer] = ...,
        truncate: Optional[str] = ...) -> SHA512Hash: ...
digest_size: int
block_size: int