Niyebe, simple and secure pseudo-random string generator for the forgetful.
Generate random string with 46 characters:
$ niyebe 46
FYiM6%F[4"76.Td4<[xH3m2QEk-Pvoi%16H7H9mqEzp3a^
- generate secure random strings based on given length
- using OpenSSL under the hood
Niyebe is using OpenSSL's RAND_bytes
function to generate secure random string.
- Operating System:
- Ubuntu, Debian (64-bit)
- Windows 10 or 11 (64-bit)
- CMake
- MinGW or Cygwin
- OpenSSL
- GNU Compiler Collection
- CMake
- OpenSSL
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