Accessing hashes in the directory service on macOS