Reference implementation of SLIP-0039
