openwall / yescrypt Goto Github PK
View Code? Open in Web Editor NEWPassword-based key derivation function and password hashing scheme building upon scrypt
Home Page: https://www.openwall.com/yescrypt/
Password-based key derivation function and password hashing scheme building upon scrypt
Home Page: https://www.openwall.com/yescrypt/
Iam trying to change my altcoins algo from Scrypt to yescrypt how do i do that
Here is the status today (19/6/2022).
root@REDACTED:/etc# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
=> We can see above that Ubuntu 22.04 is being used.
root@REDACTED:/etc# grep -irl yescrypt
pam.d/common-password
root@REDACTED:/etc#
=> We can see that login.defs does not yet have yescrypt at all.
Of course it is there in common-password; but that is certainly not the place to set the cost_factor.
Thanks.
Following up on besser82/libxcrypt#152 (which is fixed):
Maybe we need to also consider madvise
for maybe-better performance on recent kernels in default configuration:
https://twitter.com/epcjones/status/1615890036720893954
https://www.evanjones.ca/hugepages-are-a-good-idea.html
"The Linux kernel's implementation of transparent huge pages has been the source of performance problems. When introduced, it was initially enabled for all processes and memory regions by default. This caused a large number of problems, which eventually caused the kernel's default to change to madvise, where programs have to opt-in to use huge pages (see Nelson Elhage's summary (2017), and Ubuntu bug that changed the default (2017/released 2019).
The performance problems are rare high latency (e.g. operations being substantially slower than normal), throughput issues due to excess CPU consumption of the kernel background tasks, or substantial increases in memory usage."
Indeed, transparent huge pages are expected to be slower than explicit ones, but for this usage could still be faster than default page size after a certain allocation size threshold. This needs testing with a variety of kernel versions, hardware, sizes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.