Use BouncyCastle hashing functions