crypto: support more hash algorithms for pbkdf