code: func DoPassword(ctx *cli.Context, password string, salt []byte) (sessionKey []byte, ae *AccessEntry, err error) {
  	ae, err = NewAccessEntryPassword(salt, DefaultKdfParams)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	sessionKey, err = NewSessionKeyPassword(password, ae)
  	if err != nil {
  		return nil, nil, err
  	}
  	return sessionKey, ae, nil
  }
docs: // DoPassword is a helper function to the CLI API that handles the entire business logic for
  // creating a session key and an access entry given the cli context, password and salt.
  // By default - DefaultKdfParams are used as the scrypt params