see https://github.com/imperialebola2018/names/blob/50f775abc2fe88da9109f5f1518f7942aa2fe40f/functions.R#L65-L83
- don't use digest for cryptographic purposes
- consider using a slow hash function to make table attacks infeasable (this is really quite slow though!)
- allow salt to be saved between sessions without being recorded in the script
there is also (incomplete) work allowing
- substitutions to be used to patch names - a more flexible version of the name scrubbing
- comparing the hashed and clear names so that the person doing the hashing can see what has been missed
see https://github.com/imperialebola2018/names/blob/50f775abc2fe88da9109f5f1518f7942aa2fe40f/functions.R#L65-L83
there is also (incomplete) work allowing