This code should be regarded as being a proof-of-concept, and needs more review before being used in production code. At least one thing is guaranteed to change, and that is the format of a stealth address.