Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Edward Betts Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python Subject: Bug#1071485: ITP: chacha20poly1305-reuseable -- Reusable ChaCha20Poly1305 for asyncio Date: Mon, 20 May 2024 06:10:01 +0200 Message-ID: X-Original-To: Debian Bug Tracking System X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon May 20 04:09:11 2024 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: 1.2 Reply-To: Edward Betts , 1071485@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1071485 X-Debian-Pr-Package: wnpp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: archive/latest/1838398 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 20 May 2024 05:05:45 +0100 X-Original-Message-ID: Xref: csiph.com linux.debian.bugs.dist:1197990 linux.debian.devel:111823 linux.debian.maint.python:15849 Package: wnpp Severity: wishlist Owner: Edward Betts X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org * Package name : chacha20poly1305-reuseable Version : 0.12.1 Upstream Author : J. Nick Koston * URL : https://github.com/bdraco/chacha20poly1305-reuseable * License : Apache-2.0 Programming Lang: Python Description : Reusable ChaCha20Poly1305 for asyncio Provides a reusable implementation of the ChaCha20Poly1305 encryption algorithm for asyncio. . This allows for efficient encryption and decryption operations within asynchronous Python applications. . Example usage: . >>> from chacha20poly1305_reuseable import ChaCha20Poly1305Reusable >>> key = ChaCha20Poly1305Reusable.generate_key() >>> chacha = ChaCha20Poly1305Reusable(key) >>> nonce = b"0" * 12 >>> ciphertext = chacha.encrypt(nonce, b"some_data", b"") >>> plaintext = chacha.decrypt(nonce, ciphertext, b"") I plan to maintain this package as part of the Python team.