The AquaticPrime framework is a secure registration method for your shareware applications, released as free open-source software.
AquaticPrime uses RSA encryption to provide fairly good security - the same that is used to protect government documents. It is computationally infeasible for an attacker to generate fake serial numbers, despite the entire framework being open-source.