Niyebe, simple pseudo-random password generator for the forgetful
$ niyebe -l 16 # generate random string with 16 characters
y}n59q\'1W8o=4_i
- generate random custom password
Niyebe is using the Mersenne Twister to generate a pseudo-random number which is provided by the <random>
header in the C++ standard library.
- Operating System: Linux (Ubuntu 64-bit) or Windows 10/11 (64-bit)
- CMake
- MinGW or Cygwin
- OpenSSL
- GNU Compiler Collection
Using cmake
Debug build
> cmake -G "MinGW Makefiles" -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_BUILD_TYPE=Debug -B build/debug
> cmake --build build/debug
> .\build\debug\bin\niyebe.exe
Release build
> cmake -G "MinGW Makefiles" -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_BUILD_TYPE=Release -B build/release
> cmake --build build/release
> .\build\release\bin\niyebe.exe
Using mingw32-make
> mingw32-make
> niyebe.exe
Using cmake
$ cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Debug -B build/debug
$ cmake --build build/debug
$ ./build/debug/bin/niyebe
Using make
$ make
$ ./niyebe
$ sudo make install
This will install/copy the compiled executable to /opt/niyebe
.
To add niyebe
to PATH
$ echo "export PATH="$PATH:/opt/niyebe"" >> ~/.bashrc
$ source ~/.bashrc