Function libpasta::config::set_keyed_hash [] [src]

pub fn set_keyed_hash(primitive: Primitive)

Use an additional keyed hash function or encryption scheme.

This will only work if no API calls have been previously made

Panics

This will panic if set_primitive is called after hvaing already used the API, e.g. by calling hash_password.