Add scrypt-jane functions from yacoin.
Add scrypt-jane algorithm