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

pls Add SHA256 iteration #21

Open
Noname400 opened this issue Jun 24, 2022 · 2 comments
Open

pls Add SHA256 iteration #21

Noname400 opened this issue Jun 24, 2022 · 2 comments

Comments

@Noname400
Copy link

Good afternoon, please add to the DLL possibly recalculating SHA256 as many times as needed.
e.g. get_sha256(input_bytes, iteration)
get_sha256(b'a', 2048)

@iceland2k14
Copy link
Owner

OK. Will see about it.
Although it is possible to just write a python wrapper function without touching dll, in case.

@Noname400
Copy link
Author

def bin_slowsha(string):
string = from_string_to_bytes(string)
orig_input = string
for i in range(100000):
string = hashlib.sha256(string + orig_input).digest()
return string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants