code: func Cost(hash []byte) (Params, error) {
  	params, _, _, err := decodeHash(hash)
  
  	return params, err
  }
docs: // Cost returns the scrypt parameters used to generate the derived key. This
  // allows a package user to increase the cost (in time & resources) used as
  // computational performance increases over time.