Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix monocypher.argon2i_32 #10

Merged
merged 2 commits into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions c_monocypher.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import warnings


# also edit setup.py
__version__ = '4.0.2.3' # also change setup.py
__version__ = '4.0.2.4' # also change setup.py
__title__ = 'pymonocypher'
__description__ = 'Python ctypes bindings to the Monocypher library'
__url__ = 'https://github.com/jetperch/pymonocypher'
Expand Down Expand Up @@ -325,7 +325,7 @@ def argon2i_32(nb_blocks, nb_iterations, password, salt, key=None, ad=None) -> b

cdef crypto_argon2_config config;
config.algorithm = 1
config.nb_block = nb_blocks
config.nb_blocks = nb_blocks
config.nb_passes = nb_iterations
config.nb_lanes = 1

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import os

MYPATH = os.path.abspath(os.path.dirname(__file__))
VERSION = '4.0.2.3' # also change c_monocypher.pyx
VERSION = '4.0.2.4' # also change c_monocypher.pyx


try:
Expand Down