Hi, i am anon, a long-time user of GNU/Linux. I also program in C, Lua, Lisp/Scheme, Java, JavaScript and Bash. This is an example what I do:
/* randomx.h - a C library to generate pseudo-random numbers */
/* Copyright (C) 2025 anon */
/* All rights reserved */
/* https://anon.w10.site/ */
/* Released under the simplified BSD license */
/* last edit: 02-Dec-2025 */
/* begin */
/* Maximum random number (try to change only with another odd number) */
#define RAND_MAX 32767
unsigned int SEED = 1;
unsigned int TIME = 1;
/* Change SEED value */
void srand(unsigned int seed) {
SEED = seed;
TIME = 1;
}
/* Return a pseudo-random number */
int rand(void) {
SEED += TIME;
if(SEED != RAND_MAX) {
while(SEED < RAND_MAX)
SEED *= SEED + 1;
while(SEED >= RAND_MAX)
SEED -= RAND_MAX;
}
TIME++;
return((int)SEED);
}
/* end */
that is a simple C library, an algorithm to generate sequences of pseudo-random numbers. It is easy to port into other languages, this is an example in JavaScript, that is used by this pseudo-random numbers generator and this password generator.
I also provide a lot of software, tools and services, mainly for security, web development and marketing, like this free online URL forwarding service.
Feel free to contact me at: anon@thunix.net