Skip to main content

AsyncArgon2

Просто собственная библиотека чтобы запускать хэширование в отдельных потоках и не блокировать event loop

Использование

pip install async_argon2
import asyncio

from async_argon2 import AsyncArgon2

hash_manager = AsyncArgon2()

async def main() -> None:
    password_hash = await hash_manager.hash("secret-password")
    print(password_hash) # Хэш пароля

    assert await hash_manager.verify("secret-password", password_hash)
    assert not await hash_manager.verify("wrong-password", password_hash)

if __name__ == "__main__":
    asyncio.run(main())

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async_argon2-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

async_argon2-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file async_argon2-0.1.0.tar.gz.

File metadata

  • Download URL: async_argon2-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for async_argon2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b484f8cb84d80d2124407e5f7fefa51a1a3a464c0661af46af11fd0c2475358
MD5 527f4c89021e99a1c45bff184f47cc98
BLAKE2b-256 b2b49c4ad5bcc156e8f193bd66fdfdb774b9117f1e583e5613d8e4979dd1ce84

See more details on using hashes here.

File details

Details for the file async_argon2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: async_argon2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for async_argon2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3e699b77fece42b2da27900d40f680ca152f81a1f1bbc58ea46741045435579
MD5 15c28b18f8d2b3980dc0774538ef8f1d
BLAKE2b-256 41f304c717bf5e7e404ab7e5a1373753436e429ad01595fbdb016ca6dac7fa7f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page