edit: a quick search found implementations of the described algorithms in c++ (ICU library) and perl (Unicode::Security).