[][src]Function libpasta::migrate_hash

#[must_use]pub fn migrate_hash(hash: &str) -> Option<String>

Migrate the input hash to the current recommended hash.

Note that this does not require the password. This is for batch updating of hashes, where the password is not available. This performs an onion approach, returning new_hash(old_hash).

If the password is also available, the verify_password_update_hash should instead be used.