Home Blogs 2 Wikis 34
Wikis

Blum Blum Shub

June 10, 2022 - Reading time: 5 minutes

Blum Blum Shub is a PRNG algorithm published in 1986.

Formula


The algorithm is very short and simple. Starting from the seed, the next state can be computed by passing the current state through the following formula.

f(x) = x² mod M

In this formula, M is the product of p and q, two large primes.

The complexity in this algorithm is hidden in the parameters; the seed and the modulus M. In order to have a long cycle length and fulfill its security promises, Blum Blum Shub has a few constraints on its parameters.

Read more
Wikis

CardDAV

June 9, 2022 - Reading time: 2 minutes

This page is currently a braindump of CardDAV related information. If there is a library for this in the language you’re using, you’re probably better off using that.

CardDAV has a lot of functionality, but depending on your purposes you can keep your code simple and get the job done easily. With critical information such as address books, it is usually a good idea to keep your access read only. If you mess up with read only access, you just read incorrectly. But if you mess up when trying to read/delete contacts, you risk losing user data.

Read more
Wikis

Daytime Protocol

June 7, 2022 - Reading time: ~1 minute

Daytime is an almost extinct protocol that can be used to get the current time from a server. It is defined by RFC867. It can be used over TCP or UDP.

TCP Connections


The server should listen on TCP port 13. When it accepts a new connection, it should send the current time in an UNSPECIFIED format, discard any received data and close the connection.

Read more
Wikis

Frequency Modulation

May 12, 2022 - Reading time: ~1 minute

Frequency modulation, or FM, is an analog modulation scheme that encodes information by changing the frequency of a carrier wave.

FM is commonly used in

Read more
Wikis

Docker

May 10, 2022 - Reading time: ~1 minute

Docker is a software system for creating and running containers.

Read more
Wikis

Style 12

May 10, 2022 - Reading time: 3 minutes

Style 12 is a type of machine parseable output that many of the FICS interfaces use. The output is documented here for those who wish to write new interfaces. Style 12 is also fully compatible with ICC (The Internet Chess Club).

The data is all on one line (displayed here as two lines, so it will show on your screen). Here is an example: [Note: the beginning and ending quotation marks are not part of the data string; they are needed in this help file because some interfaces cannot display the string when in a text file.]

Read more

About

Thanks for checking out my website. You can read my blogs & wikis and inspect my cv in here also you can look at my projects too.

Hit Counter

1777